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

Bug 773511

Summary: games-strategy/0ad-0.0.24b_alpha calls ranlib directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Games <games>
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.xz

Description Agostino Sarubbo gentoo-dev 2021-03-01 07:42:15 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-strategy/0ad-0.0.24b_alpha calls ranlib 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 RANLIB implementation (like llvm-ranlib). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and set the RANLIB variable to x86_64-pc-linux-gnu-ranlib.
Comment 1 Agostino Sarubbo gentoo-dev 2021-03-01 07:42:18 UTC
Created attachment 688818 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2021-03-01 07:42:20 UTC
Possible context of error(s):

/bin/sh: line 1: ar: command not found
/bin/sh: line 1: ranlib: command not found
Comment 3 Larry the Git Cow gentoo-dev 2021-03-01 10:56:54 UTC
The bug has been closed via the following commit(s):

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

commit c0ca48ec9827893cd6ab278bd09bbc0865f61630
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-03-01 10:54:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-01 10:56:45 +0000

    games-strategy/0ad: fix AR/RANLIB usage
    
    Closes: https://bugs.gentoo.org/773511
    Closes: https://bugs.gentoo.org/773502
    Signed-off-by: Sam James <sam@gentoo.org>

 games-strategy/0ad/0ad-0.0.24b_alpha.ebuild        |  5 ++--
 .../0ad/files/0ad-0.0.24b_alpha-respect-tc.patch   | 32 ++++++++++++++++++++++
 2 files changed, 34 insertions(+), 3 deletions(-)