Summary: | net-misc/wget fails to build with USE="ssl static -kerberos" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andy <gentoobugzilla3> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Arsen.Shnurkov, gentoo, something-bz |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info =net-misc/wget-1.12
build log config log strace -e trace=open,close,read,write,stat -f emerge wget 2>&1 | grep -i ssl |
Description
Andy
2010-01-28 23:47:19 UTC
Created attachment 217774 [details]
emerge --info =net-misc/wget-1.12
With the report phrased this way, the first question is: what's in config.log ? and full build.log, just in case. Created attachment 217834 [details]
build log
Created attachment 217835 [details]
config log
Created attachment 217837 [details]
strace -e trace=open,close,read,write,stat -f emerge wget 2>&1 | grep -i ssl
emerge -vp openssl These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-libs/openssl-0.9.8l-r2 USE="(sse2) zlib -bindist -gmp -kerberos -test" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Well: configure:27945: x86_64-pc-linux-gnu-gcc -o conftest -march=core2 -O2 -pipe -fomit-frame-pointer -Wl,-O1 -static conftest.c -ldl -lrt /usr/lib64/libssl.so /usr/lib64/libcrypto.so >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: attempted static link of dynamic object `/usr/lib64/libssl.so' so indeed 'static' doesn't work. *** Bug 304845 has been marked as a duplicate of this bug. *** Might be duplicate of http://bugs.gentoo.org/show_bug.cgi?id=246556 last i check, it isnt. that bug is due to kerberos. I appears that USE=zlib is the culprit. The failing build uses approximately these USE flags (I've removed unnecessary ones, zlib has no USE flags): dev-libs/openssl-1.0.0c USE="zlib -bindist -gmp -kerberos -rfc3779 -sse2 -test" net-misc/wget-1.12-r3 USE="ssl static -debug -idn -ipv6* -nls* -ntlm" The build succeeds with USE=-zlib. My current workaround is FEATURES=-test USE=-zlib emerge openssl; emerge wget; emerge openssl. Good thing it's winter! Not a dupe of bug #246556, assuming that relates solely to kerberos. Not really related to #216535 or #272076, since libz produces a static lib (I see libz.a anyway); it just somehow isn't working. Is ./configure bailing because it can't link to libssl.a/libcrypto.a because it doesn't also link against libz.a? Who knows. should be fixed in wget-1.13.4-r1 after converting openssl logic to pkg-config Glorious emergination at last! Christmas has come early :P |