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

Bug 459280

Summary: net-libs/polarssl does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Thomas Sachau <tommy>
Status: RESOLVED FIXED    
Severity: normal CC: mmk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: polarssl-1.2.5.patch

Description Agostino Sarubbo gentoo-dev 2013-02-26 10:52:03 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 s libpolarssl.a
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-06-02 15:22:33 UTC
Created attachment 349914 [details, diff]
polarssl-1.2.5.patch

Easy fix. There was already tc-export CC, so i've just added AR too. That was sufficient.
Comment 2 Thomas Sachau gentoo-dev 2013-06-23 12:44:37 UTC
done in 1.2.8