Created attachment 288013 [details] build log On my hardened ~amd64 machine with gcc-4.6.1 sys-devel/libtool fails its testsuite. More exactly it fails tests 42, 84, 112. 42: Runpath in libtool library files FAILED (runpath in-lalib.at:61) 84: enforced lib prefix FAILED (need_lib_prefix.at:170) 112: Run tests with low max_cmd_len FAILED (cmdline_wrap.at:43) ERROR: 107 tests were run, 8 failed (5 expected failures). 13 tests were skipped. If I switch to vanilla-gcc-4.6.1 the result stays the same.
Created attachment 288015 [details] emerge --info
we need the testsuite.log file attached
Created attachment 288609 [details] testsuite.log for failing tests 42, 84, 112 Here you go!
I can confirm it - on my system (Portage 2.1.10.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.12.2-r0, 3.1.0-gentoo x86_64) these test was failed too.
This also failed for me, on libtool-2.4.2. I do *NOT* use hardened, which may help to simplify the situation. This is amd64. I still have my 32-bit install so I might be able to attempt this there if interested. I'm on gcc 4.6.3. The test numbers are now 42, 86, and 115.
*** Bug 391305 has been marked as a duplicate of this bug. ***
*** Bug 395475 has been marked as a duplicate of this bug. ***
*** Bug 516808 has been marked as a duplicate of this bug. ***
Commit message: Fix cmdline_wrap test failures http://sources.gentoo.org/sys-devel/libtool/files/libtool-2.4.3-test-cmdline_wrap.patch?rev=1.1 http://sources.gentoo.org/sys-devel/libtool/libtool-2.4.3-r1.ebuild?r1=1.3&r2=1.4
looks like the last two fail only when --disable-static is used
should be all set now in the tree; thanks for the report! Commit message: Move up the libtool static hack to fix unit tests too http://sources.gentoo.org/sys-devel/libtool/libtool-2.4.3-r1.ebuild?r1=1.4&r2=1.5