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

Bug 468662

Summary: net-dialup/capi4k-utils: does not respect AR and CC
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Stefan Briesenick (RETIRED) <sbriesen>
Severity: QA CC: net-dialup
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: capi4k-utils-respect-cc-ar.ebuild.patch

Description Agostino Sarubbo gentoo-dev 2013-05-05 12:04:19 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 libcapi20dyn.a capidyn.o
Comment 1 Sergey Popov gentoo-dev 2013-05-06 11:37:58 UTC
*** Bug 468666 has been marked as a duplicate of this bug. ***
Comment 2 Sergey Popov gentoo-dev 2013-05-06 11:40:07 UTC
Created attachment 347512 [details, diff]

Patch for ebuild to respect both CC and AR
Comment 3 Sergey Popov gentoo-dev 2013-06-18 05:01:02 UTC
+  18 Jun 2013; Sergey Popov <>
+  capi4k-utils-20050718-r5.ebuild:
+  Respect AR and CC, wrt bug #468662. Thanks to Agostino Sarubbo for
+  discovering this issue