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

Bug 449764

Summary: sci-electronics/pcb does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: The Soldering-Iron Brotherhood <sci-electronics>
Status: RESOLVED FIXED    
Severity: normal    
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-01-02 13:01:12 UTC
You receive this bug because this package does not respect my system's AR ( x86_64-pc-linux-gnu-ar - /usr/bin/x86_64-pc-linux-gnu-ar ) and calls directly ar - /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)"


ar cru libgts.a object.o point.o vertex.o segment.o edge.o triangle.o face.o kdtree.o bbtree.o 
misc.o predi iso.o isotetra.o split.o psurface.o hsurface.o cdt.o boolean.o named.o oocs.o 
container.o graph.o pgraph.o
ar cru libbatch.a hid/batch/libbatch_a-batch.o 
ar cru liblpr.a hid/lpr/lpr.o 
ar cru libbom.a hid/bom/bom.o 
ar cru libgerber.a hid/gerber/gerber.o 
ar cru libps.a hid/ps/libps_a-ps.o hid/ps/libps_a-eps.o
Comment 1 Thomas Beierlein gentoo-dev 2013-01-02 19:25:20 UTC
Thansk for pointing it out. fixed.

+  02 Jan 2013; Thomas Beierlein <tomjbe@gentoo.org> pcb-20110918.ebuild:
+  Use system AR (bug 449764). Thanks ago.
+