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

Bug 484854

Summary: sys-apps/which : does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Severity: QA    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Agostino Sarubbo gentoo-dev 2013-09-14 07:48:22 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 cru libtilde.a tilde.o shell.o
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2013-09-14 10:14:40 UTC
Fixed in 2.20-r1. No revbump. Thanks for the report.

+  14 Sep 2013; Markos Chandras <> which-2.20-r1.ebuild:
+  Export AR. Bug #484854