Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468662 - net-dialup/capi4k-utils: does not respect AR and CC
Summary: net-dialup/capi4k-utils: does not respect AR and CC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Stefan Briesenick (RETIRED)
URL:
Whiteboard:
Keywords:
: 468666 (view as bug list)
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2013-05-05 12:04 UTC by Agostino Sarubbo
Modified: 2013-06-18 05:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
capi4k-utils-respect-cc-ar.ebuild.patch (capi4k-utils-respect-cc-ar.ebuild.patch,632 bytes, patch)
2013-05-06 11:40 UTC, Sergey Popov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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]
capi4k-utils-respect-cc-ar.ebuild.patch

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 <pinkbyte@gentoo.org>
+  capi4k-utils-20050718-r5.ebuild:
+  Respect AR and CC, wrt bug #468662. Thanks to Agostino Sarubbo for
+  discovering this issue