Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469810 - media-video/noad : does not respect AR
Summary: media-video/noad : does not respect AR
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Gentoo VDR Project
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2013-05-14 09:24 UTC by Agostino Sarubbo
Modified: 2013-05-22 17:15 UTC (History)
1 user (show)

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

noad-0.7.3-r2.patch (noad-0.7.3-r2.patch,324 bytes, patch)
2013-05-22 17:15 UTC, Michael Mair-Keimberger (iamnr3)
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-14 09:24:03 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 libnoad.a tools.o vdr_cl.o svdrpc.o mpeg2wrap.o
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-05-22 17:15:14 UTC
Created attachment 348932 [details, diff]

src_compile() {
        emake AR="$(tc-getAR)"
fixed the issue for me. Attached is a patch against latest ebuild.