Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253532 - Compiling sci-physics/root-5.22.00 fails with missing libresolv symbols
Summary: Compiling sci-physics/root-5.22.00 fails with missing libresolv symbols
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-03 11:35 UTC by Matti Bickel (RETIRED)
Modified: 2009-09-23 23:50 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matti Bickel (RETIRED) gentoo-dev 2009-01-03 11:35:11 UTC
Here's the error:

Creating executable ../../bin/xrdpwdadmin
g++  ../../obj/XrdSecpwdSrvAdmin.o -lcrypt -lafsauthent -lafsrpc -L../../lib -lXrdCrypto -lXrdSut -lXrdOuc -lXrdSys -lnsl -lpthread -lrt -ldl -lc -o ../../bin/xrdpwdadmin
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.1/../../../libafsauthent.so: undefined reference to `__res_search'
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.1/../../../libafsauthent.so: undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make[5]: *** [../../bin/xrdpwdadmin] Error 1
make[4]: *** [Linuxall] Error 2
make[3]: *** [all] Error 2
make[2]: *** [XrdSecpwd] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/paludis/sci-physics-root-5.22.00/work/root/net/xrootd/src/xrootd'
make: *** [net/xrootd/src/xrootd/lib/libXrdSec.so] Error 2
make: *** Waiting for unfinished jobs....
rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx core/utils/src/rootcint7_tmp.cxx
/usr/libexec/paludis/utils/emake: emake returned error 2

!!! ERROR in sci-physics/root-5.22.00:
!!! In src_compile at line 4760
!!! emake failed

!!! Call stack:
!!!    * src_compile (/var/tmp/paludis/sci-physics-root-5.22.00/temp/loadsaveenv:4760)
!!!    * ebuild_f_compile (/usr/libexec/paludis/2/src_compile.bash:54)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:482)
!!!    * main (/usr/libexec/paludis/ebuild.bash:498)

Googling the missing library symbols, this seems to be a problem with failing to link in libresolv (discussed here: http://mailman.mit.edu/pipermail/kerberos/2004-February/004493.html).

This does not occur when openafs is built with USE="kerberos"

I dunno who's fault this is: roots fault for not DEPEND="openafs[kerberos?]" or equivalent check with built_with_use or root's upstreams fault for a missing library link? Or is that openafs' fault for not linking in libresolv regardless of USE="kerberos"?

Please advice
Comment 1 Matti Bickel (RETIRED) gentoo-dev 2009-01-03 13:37:43 UTC
I have to correct this: after a few hours of compile time, it stills fails with the error above. Solution unknown.
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2009-01-19 20:49:47 UTC
I'm quite sure it's not kerberos related.
It seems when compiling openafs with as-needed would resolve it. However it is not a proper solution. Stefaan any idea on that?
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2009-06-24 07:09:32 UTC
Is this still an issue with newer root-5.22.00-r2 and openafs > 1.4.9? I can't reproduce it now.
Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2009-09-23 23:50:29 UTC
No news for a while. Please try with root >= 5.22.00-r3. Thanks.