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

Bug 469810

Summary: media-video/noad : does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo VDR Project <vdr>
Status: RESOLVED FIXED    
Severity: QA CC: media-video
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: noad-0.7.3-r2.patch

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]
noad-0.7.3-r2.patch

Adding,
src_compile() {
        emake AR="$(tc-getAR)"
}
fixed the issue for me. Attached is a patch against latest ebuild.
Comment 2 Larry the Git Cow gentoo-dev 2020-01-23 20:33:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=214cc2a405326c1ac1e04d5512bdb7e66cf316eb

commit 214cc2a405326c1ac1e04d5512bdb7e66cf316eb
Author:     Joerg Bornkessel <hd_brummy@gentoo.org>
AuthorDate: 2020-01-23 20:13:41 +0000
Commit:     Joerg Bornkessel <hd_brummy@gentoo.org>
CommitDate: 2020-01-23 20:33:24 +0000

    media-video/noad: cleanup old
    
    this will also fix
    media-video/noad : does not respect AR
    in older ebuild versions
    
    Closes: https://bugs.gentoo.org/469810
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>

 media-video/noad/Manifest                          |   1 -
 .../patches-0.7.x/noad-0.7.3-ffmpeg_detection.diff |  13 ---
 .../files/patches-0.7.x/noad-0.7.3-hangcheck.diff  |  21 ----
 .../files/patches-0.7.x/noad-0.7.3_gcc-4.7.diff    |  17 ----
 .../patches-0.7.x/noad-0.7.3_missing_include.diff  |  14 ---
 .../files/patches-0.8.x/noad-0.8.6-ffmpeg25.patch  |  16 ----
 .../files/patches-0.8.x/noad-0.8.6-libav9.diff     | 106 ---------------------
 media-video/noad/noad-0.7.3-r1.ebuild              |  88 -----------------
 media-video/noad/noad-0.8.6-r1.ebuild              |  79 ---------------
 media-video/noad/noad-0.8.6-r2.ebuild              |  83 ----------------
 10 files changed, 438 deletions(-)