Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 344051 - sys-devel/libtool-{2.2.6b|2.2.10} fails tests/demo-hardcode.test
Summary: sys-devel/libtool-{2.2.6b|2.2.10} fails tests/demo-hardcode.test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Sparc64 Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-04 00:18 UTC by Alex Buell
Modified: 2014-10-28 01:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info =sys-devel/libtool-2.2.6b (output1,4.08 KB, text/plain)
2010-11-04 00:21 UTC, Alex Buell
Details
/var/tmp/portage/sys-devel/libtool-2.2.6b/temp/build.log (build1.log,35.07 KB, text/plain)
2010-11-04 00:21 UTC, Alex Buell
Details
emerge --info =sys-devel/libtool-2.2.10 (build2.log,35.25 KB, text/plain)
2010-11-04 00:22 UTC, Alex Buell
Details
/var/tmp/portage/sys-devel/libtool-2.2.10/temp/build.log (build2.log,35.25 KB, text/plain)
2010-11-04 00:23 UTC, Alex Buell
Details
full test-suite.log (test-suite.log,2.34 KB, text/plain)
2010-11-27 21:35 UTC, Brant Gurganus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Buell 2010-11-04 00:18:51 UTC
During stablisation tests, both versions failed one test out of 124 tests. The test in particular was tests/demo-hardcode.test

Adding both logs with this report.
Comment 1 Alex Buell 2010-11-04 00:21:18 UTC
Created attachment 253113 [details]
emerge --info =sys-devel/libtool-2.2.6b
Comment 2 Alex Buell 2010-11-04 00:21:56 UTC
Created attachment 253115 [details]
/var/tmp/portage/sys-devel/libtool-2.2.6b/temp/build.log
Comment 3 Alex Buell 2010-11-04 00:22:40 UTC
Created attachment 253117 [details]
emerge --info =sys-devel/libtool-2.2.10
Comment 4 Alex Buell 2010-11-04 00:23:11 UTC
Created attachment 253119 [details]
/var/tmp/portage/sys-devel/libtool-2.2.10/temp/build.log
Comment 5 Brant Gurganus 2010-11-27 19:14:58 UTC
This happens on amd64 as well in libtool-2.4.
Comment 6 Brant Gurganus 2010-11-27 19:21:50 UTC
This test passed fine when I manually built and ran the tests so it has something to do with how Portage runs the tests.
Comment 7 Brant Gurganus 2010-11-27 19:28:05 UTC
Log of failing test:
FAIL: tests/demo-hardcode.test (exit: 1)
========================================

demo-hardcode.test: ===  Running demo-hardcode.test
demo-hardcode.test: ===  Running `make hardcode' in demo
You may ignore any linking errors from the following command:
x86_64-pc-linux-gnu-gcc -march=native -O3 -pipe -ggdb3 -fstack-protector-all -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o hc-direct main.o ./.libs/libhello.so -ldl  -lm -Wl,-rpath -Wl,/var/tmp/portage/sys-devel/libtool-2.4/work/libtool-2.4/_inst-demo/lib || echo unsupported > hc-direct
x86_64-pc-linux-gnu-gcc -march=native -O3 -pipe -ggdb3 -fstack-protector-all -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o hc-libflag main.o -Wl,-rpath -Wl,/var/tmp/portage/sys-devel/libtool-2.4/work/libtool-2.4/tests/demo/.libs -L/var/tmp/portage/sys-devel/libtool-2.4/work/libtool-2.4/_inst-demo/lib -lhello -ldl  -lm
You may ignore any linking errors from the following command:
LD_LIBRARY_PATH=./.libs x86_64-pc-linux-gnu-gcc -march=native -O3 -pipe -ggdb3 -fstack-protector-all -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o hc-libpath main.o -lhello -ldl  -lm -Wl,-rpath -Wl,/var/tmp/portage/sys-devel/libtool-2.4/work/libtool-2.4/_inst-demo/lib || echo unsupported > hc-libpath
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lhello
collect2: ld returned 1 exit status
x86_64-pc-linux-gnu-gcc -march=native -O3 -pipe -ggdb3 -fstack-protector-all -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o hc-minusL main.o -L./.libs -lhello -ldl  -lm -Wl,-rpath -Wl,/var/tmp/portage/sys-devel/libtool-2.4/work/libtool-2.4/_inst-demo/lib || echo unsupported > hc-minusL
demo-hardcode.test: ===  Finding libtool.m4's guesses at hardcoding values
= Searching for hardcoded library directories in each program
.libs was hardcoded in `hc-direct', which fooled libtool
.libs was hardcoded in `hc-libflag', as libtool expected
`hc-libpath' was not linked properly, as libtool expected
.libs was hardcoded in `hc-minusL', which fooled libtool
Comment 8 Brant Gurganus 2010-11-27 19:28:45 UTC
Log of passing test (manually built) for comparison:
PASS: tests/demo-hardcode.test (exit: 0)
========================================

demo-hardcode.test: ===  Running demo-hardcode.test
demo-hardcode.test: ===  Running `make hardcode' in demo
You may ignore any linking errors from the following command:
gcc -g -O2  -o hc-direct main.o ./.libs/libhello.so -ldl  -lm -Wl,-rpath -Wl,/home/brantgurga/libtool-2.4/_inst-demo/lib || echo unsupported > hc-direct
gcc -g -O2  -o hc-libflag main.o -Wl,-rpath -Wl,/home/brantgurga/libtool-2.4/tests/demo/.libs -L/home/brantgurga/libtool-2.4/_inst-demo/lib -lhello -ldl  -lm
You may ignore any linking errors from the following command:
LD_LIBRARY_PATH=./.libs gcc -g -O2  -o hc-libpath main.o -lhello -ldl  -lm -Wl,-rpath -Wl,/home/brantgurga/libtool-2.4/_inst-demo/lib || echo unsupported > hc-libpath
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lhello
collect2: ld returned 1 exit status
gcc -g -O2  -o hc-minusL main.o -L./.libs -lhello -ldl  -lm -Wl,-rpath -Wl,/home/brantgurga/libtool-2.4/_inst-demo/lib || echo unsupported > hc-minusL
demo-hardcode.test: ===  Finding libtool.m4's guesses at hardcoding values
= Searching for hardcoded library directories in each program
.libs was not hardcoded in `hc-direct', as libtool expected
.libs was hardcoded in `hc-libflag', as libtool expected
`hc-libpath' was not linked properly, as libtool expected
.libs was not hardcoded in `hc-minusL', as libtool expected
Comment 9 SpanKY gentoo-dev 2010-11-27 21:20:52 UTC
what about the testsuite.log ?
Comment 10 Brant Gurganus 2010-11-27 21:35:46 UTC
Created attachment 255671 [details]
full test-suite.log

I've attached the full test-suite.log as requested.
Comment 11 SpanKY gentoo-dev 2014-10-28 01:28:04 UTC
seems to be fixed w/libtool-2.4.x which is stable now