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

Bug 750914

Summary: media-radio/direwolf-1.5 calls ar directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Richard Freeman <rich0>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-10-23 20:05:48 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-radio/direwolf-1.5 calls ar directly.
Discovered on: amd64 (internal ref: ci)

NOTE:
As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different AR implementation (like llvm-ar). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and set the AR variable to x86_64-pc-linux-gnu-ar.
Comment 1 Agostino Sarubbo gentoo-dev 2020-10-23 20:05:51 UTC
Created attachment 668174 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-10-23 20:05:53 UTC
Possible context of error(s):

/bin/sh: gcc: command not found
make: ar: No such file or directory
Comment 3 Larry the Git Cow gentoo-dev 2021-11-26 05:11:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413d7d28cfa04ff1d59688563ffeb432b7e5d381

commit 413d7d28cfa04ff1d59688563ffeb432b7e5d381
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-11-26 04:46:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-26 05:11:24 +0000

    media-radio/direwolf: respect AR, CC, and LDFLAGS
    
    Bug: https://bugs.gentoo.org/807664
    Closes: https://bugs.gentoo.org/750911
    Closes: https://bugs.gentoo.org/750914
    Closes: https://bugs.gentoo.org/750935
    Signed-off-by: Sam James <sam@gentoo.org>

 media-radio/direwolf/direwolf-1.5-r1.ebuild        |  4 ++++
 .../direwolf/files/direwolf-1.5-respect-AR.patch   | 22 ++++++++++++++++++++++
 .../files/direwolf-1.5-respect-LDFLAGS.patch       | 22 ++++++++++++++++++++++
 3 files changed, 48 insertions(+)