[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10426: 3 of 872 tests failed on openSUSE 12.1
From: |
Stefano Lattarini |
Subject: |
bug#10426: 3 of 872 tests failed on openSUSE 12.1 |
Date: |
Tue, 03 Jan 2012 13:58:09 +0100 |
On 01/03/2012 04:09 AM, Bruno Haible wrote:
> Hi,
>
Hello Bruno, thanks for the report.
> On openSUSE 12.1 system, installation of automake 1.11.2 fails:
>
> FAIL: instfail.test
> FAIL: pr300-lib.test
> FAIL: pr300-ltlib.test
>
> =====================================
> 3 of 872 tests failed
> (39 tests were not run)
> See tests/test-suite.log
> Please report to address@hidden
> =====================================
>
> The first failure is because I have a dysfunctional 'emacs' program in $PATH:
>
Then I'd say this is not an automake bug, nor a testsuite weakness.
> FAIL: pr300-lib.test (exit: 1)
> ==============================
>
> [SNIP]
>
> gcc (SUSE Linux) 4.6.2
> Copyright (C) 2011 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> === Running test ./pr300-lib.test
> ++ pwd
> /home/bruno/data/build/automake-1.11.2/tests/pr300-lib.dir
>
[SNIP]
> + make install
> make[1]: Entering directory `/data/bruno/build/automake-1.11.2/tests/pr300-
> lib.dir'
> test -z
> "/home/bruno/data/build/automake-1.11.2/tests/pr300-lib.dir/inst/lib64"
>
Uh? Where us this `lib64' coming from? Have you maybe overriden `${libdir}'
in your `config.site' file?
The failure here is being caused by the fact that the libraries are apparently
being installed in ${prefix}/lib64 rather than in ${prefix}/lib. This could
be solved by passing a proper `--libdir' switch to the configure invocation;
see attached patch.
> [SNIP]
>
> FAIL: pr300-ltlib.test (exit: 1)
> ================================
>
> pr300-ltlib: running libtoolize --version
> libtoolize (GNU libtool) 2.4
> Written by Gary V. Vaughan <address@hidden>, 2003
>
> Copyright (C) 2010 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> pr300-ltlib: running gcc --version
> gcc (SUSE Linux) 4.6.2
> Copyright (C) 2011 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> === Running test ./pr300-ltlib.test
> ++ pwd
> /home/bruno/data/build/automake-1.11.2/tests/pr300-ltlib.dir
>
> [SNIP]
>
> /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o subdir/liba.la \
> -rpath /home/.../pr300-ltlib.dir/inst/lib64 a.lo
>
Again that `lib64' ...
[SNIP]
> + grep 'liba.la .*-rpath .*lib/subdir' stdout
> + exit_status=1
>
... which is causing this spurious failure. The fix is the same as for
`pr300-lib.test' (again, see attached patch).
Bruno, could you please try the patch to see if it solves your problem?
Thanks,
Stefano
0001-tests-fix-spurious-failures-in-pr300-.test.patch
Description: Text Data