Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 275978

Summary: sci-physics/root tries to link to its own already installed libraries
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: Current packagesAssignee: Gentoo Science Physics related packages <sci-physics>
Status: RESOLVED FIXED    
Severity: normal CC: flameeyes, kkrizka, zephyrus.271
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 245875    
Attachments: sci-physics:root-5.20.00-r3:20090623-160340.log.gz [hppa,fail]
emerge --info

Description Jeroen Roovers (RETIRED) gentoo-dev 2009-06-30 18:16:25 UTC
In light of bug #245875, I have been trying to get sci-physics/root-5.20.00-r3 to build. Installed is sci-physics/root-5.22.00-r2 since last April, and I find that both 5.20.00 and 5.22.00 try to link to installed libraries of its own, instead of building those libraries and linking to them in WORKDIR.

[ebuild  N    ] sci-physics/root-5.22.00-r2  USE="cern clarens emacs examples fftw geant4 kerberos ldap math mysql openmp postgres pythia6 pythia8 python qt4 reflex ruby ssl xml (-afs) -cint7 -debug -doc -odbc (-oracle) -xinetd -xrootd" 0 kB

Build logs to be posted shortly.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-30 18:19:28 UTC
Created attachment 196194 [details]
sci-physics:root-5.20.00-r3:20090623-160340.log.gz [hppa,fail]

At the time it tries to link against lib/libRIO.so, the build system has not built that yet and the only file called that on the system is in /usr/lib.

I assumed it could be a parallel make problem instead of the build system building against the installed files it owns, but MAKEOPTS=-j1 does not fix the problem/
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-07-20 02:27:23 UTC
*** Bug 276440 has been marked as a duplicate of this bug. ***
Comment 3 Emanuele A. Bagnaschi (Zephyrus) 2009-09-20 22:06:34 UTC
I'm experiencing the same issue on x86-64, however I discovered that it's not caused by a linking problem with the libraries already installed on the system, but by some incompatibility with gcc-4.4 (which, if I read your log correctly, you are also using). I applied the same patch provided in bug 280925 - the one about the new ebuild for root 5.24.0 - and now it seems to build without problems. Actually I also suggest to read Comment #10 of bug 280925 since it seems that this patch is probably not the best solution.
Comment 4 Emanuele A. Bagnaschi (Zephyrus) 2009-09-20 22:09:46 UTC
Created attachment 204753 [details]
emerge --info

Added emerge --info.
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2009-09-23 23:52:39 UTC
Should be fixed in 5.22.00-r3.