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

Bug 468178

Summary: sci-chemistry/molmol : does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Chemistry-Related Packages <sci-chemistry>
Status: RESOLVED FIXED    
Severity: QA    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Agostino Sarubbo gentoo-dev 2013-05-01 18:54:03 UTC
You receive this bug because this package does not respect my system's AR (x86_64-pc-linux-gnu-ar) and calls directly /usr/bin/ar
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can;
2)inherit toolchain-funcs and use tc-export AR
3)inherit toolchain-funcs and use emake AR="$(tc-getAR)"


From the build log:

ar r ../../tools/lib/libtools.a Break.o RandNum.o MatVec.o TrackBall.o EllInteg.o Callback.o Tree.o Hashtab.o Linlist.o RectSet.o Grid.o StrTab.o DStr.o StrMatch.o 
FileName.o LeastSqr.o CubicSpline.o Sphere.o IsoSurface.o SurfaceDots.o SurfaceSolid.o SurfCheck.o Potential.o FitCylinder.o MapCoord.o PrincipAxis.o SingVal.o Cluster.o 
SimulAnneal.o
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2013-05-02 10:17:48 UTC
+*molmol-2k_p2-r4 (02 May 2013)
+
+  02 May 2013; Justin Lecher <jlec@gentoo.org> +molmol-2k_p2-r4.ebuild:
+  Respect AR, #468178
+