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
I have to correct this: after a few hours of compile time, it stills fails with the error above. Solution unknown.
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?
Is this still an issue with newer root-5.22.00-r2 and openafs > 1.4.9? I can't reproduce it now.
No news for a while. Please try with root >= 5.22.00-r3. Thanks.