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

Bug 470624

Summary: net-p2p/ncdc : does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Michael Weber (RETIRED) <xmw>
Status: RESOLVED FIXED    
Severity: QA CC: mmk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: patch against latest ebuild

Description Agostino Sarubbo gentoo-dev 2013-05-19 09:52:05 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 libdeps.a deps/ylib/yuri.o
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-05-19 19:06:40 UTC
Created attachment 348696 [details, diff]
patch against latest ebuild

I've created an patch for the latest ebuild. This should fix the ar issue (using AR="$(tc-getAR)")
Comment 2 Michael Weber (RETIRED) gentoo-dev 2013-06-23 21:32:49 UTC
+  23 Jun 2013; Michael Weber <xmw@gentoo.org> ncdc-1.16.1.ebuild,
+  ncdc-1.17.ebuild, ncdc-9999.ebuild:
+  Respect AR (bug 470624)
+