[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-recutils] recfix tests fail on Ubuntu 64-Bit systems
From: |
Sven Wick |
Subject: |
[bug-recutils] recfix tests fail on Ubuntu 64-Bit systems |
Date: |
Tue, 10 May 2011 16:12:46 +0200 |
User-agent: |
RoundCube Webmail/0.2.2 |
Hi,
I am not sure if this is a bug of recutils,
but Ubuntu uses some LDFLAGS for building der DEB Packages
which causes the recfix tests to fail on 64-Bit systems.
They use
LDFLAGS = -Wl,-Bsymbolic-functions
https://wiki.ubuntu.com/DistCompilerFlags
The LDFLAGS seem to be no problem on 32-Bit systems.
Here is what I tested:
1) Running dpkg-buildpackage which creates Debian Packages
Debian uses "LDFLAGS = " for dpkg-buildpackage
and Ubuntu "LDFLAGS = -Wl,-Bsymbolic-functions"
2) Patching dpkg-buildpackage to use "LDFLAGS = "
3) Running "./configure" and "make check" of the original tarball
4) Running "./configure" and "make check" of the original tarball
with "LDFLAGS = -Wl,-Bsymbolic-functions":
LDFLAGS="-Wl,-Bsymbolic-functions"
export LDFLAGS
./configure
make check
Debian Sid 32-Bit
-----------------
- 1 (works)
- 2 (not needed)
- 3 (works)
- 4 (works)
Ubuntu Lucid 32-Bit
-------------------
- 1 (works)
- 2 (not needed)
- 3 (works)
- 4 (works)
Debian Sid 64-Bit
-----------------
- 1 (works)
- 2 (not needed)
- 3 (works)
- 4 (fails)
Ubuntu Lucid 64-Bit
-------------------
- 1 (fails)
- 2 (works)
- 3 (works)
- 4 (fails)
Here is the output of "make check"
on 64-Bit Systems with "LDFLAGS = -Wl,-Bsymbolic-functions":
Running recfix test(s):
recfix-type-int-valid ok
recfix-type-int-invalid xfail
recfix-type-real-valid ok
recfix-type-real-invalid xfail
recfix-duplicated-keys xfail
recfix-missing-mandatory xfail
recfix-several-unique xfail
recfix-referred-type ok
recfix-hidden-type ok
recfix-ranges-ok ok
recfix-ranges-xfail-1 xfail
recfix-ranges-xfail-2 xfail
recfix-one-rec ok
recfix-multiple-rec-in-descriptor xfail
recfix-enum-valid ok
recfix-enum-invalid-1 xfail
recfix-enum-invalid-2 xfail
recfix-prohibited-fields-ok ok
recfix-prohibited-fields-fail xfail
recfix-auto-int ok
recfix-auto-range ok
recfix-auto-date ok
recfix-auto-notype xfail
recfix-auto-nofex xfail
recfix-size-invalid-1 xfail
recfix-size-invalid-2 xfail
recfix-size-exact-zero error (see recfix-size-exact-zero.err)
recfix-size-exact-zero-invalid xfail
recfix-size-exact error (see recfix-size-exact.err)
recfix-size-exact-invalid xfail
recfix-size-less ok
recfix-size-less-invalid error (expected failure)
recfix-size-less-equal ok
recfix-size-less-equal-invalid error (expected failure)
recfix-size-bigger error (see recfix-size-bigger.err)
recfix-size-bigger-invalid xfail
recfix-size-bigger-equal error (see recfix-size-bigger-equal.err)
recfix-size-bigger-equal-invalid xfail
recfix-size-several xfail
FAIL: recfix.sh
And here the contents of the errors:
$ cat torture/utils/recfix-size-exact-zero.err
stdin: error: the number of records of type foo shall be 0.
$ cat torture/utils/recfix-size-exact.err
stdin: error: the number of records of type foo shall be 2.
$ cat torture/utils/recfix-size-bigger.err
stdin: error: too few records of type foo. Minimum allowed are 2.
$ cat torture/utils/recfix-size-bigger-equal.err
stdin: error: too few records of type foo. Minimum allowed are 2.
If this is not a bug,
then I have to figure out,
how to unset Ubuntu's LDFLAGS...
- [bug-recutils] recfix tests fail on Ubuntu 64-Bit systems,
Sven Wick <=
- Re: [bug-recutils] recfix tests fail on Ubuntu 64-Bit systems, Jose E. Marchesi, 2011/05/12
- Re: [bug-recutils] recfix tests fail on Ubuntu 64-Bit systems, Sven Wick, 2011/05/12
- Re: [bug-recutils] recfix tests fail on Ubuntu 64-Bit systems, Jose E. Marchesi, 2011/05/12
- Re: [bug-recutils] recfix tests fail on Ubuntu 64-Bit systems, Sven Wick, 2011/05/12
- Re: [bug-recutils] recfix tests fail on Ubuntu 64-Bit systems, Jose E. Marchesi, 2011/05/12
- Re: [bug-recutils] recfix tests fail on Ubuntu 64-Bit systems, Sven Wick, 2011/05/12
- Re: [bug-recutils] recfix tests fail on Ubuntu 64-Bit systems, Sven Wick, 2011/05/12
- Re: [bug-recutils] recfix tests fail on Ubuntu 64-Bit systems, Jose E. Marchesi, 2011/05/15
- Re: [bug-recutils] recfix tests fail on Ubuntu 64-Bit systems, Daiki Ueno, 2011/05/16
- Re: [bug-recutils] recfix tests fail on Ubuntu 64-Bit systems, Jose E. Marchesi, 2011/05/16