Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 773511 - games-strategy/0ad-0.0.24b_alpha calls ranlib directly
Summary: games-strategy/0ad-0.0.24b_alpha calls ranlib directly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2021-03-01 07:42 UTC by Agostino Sarubbo
Modified: 2021-03-01 10:56 UTC (History)
0 users

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


Attachments
build.log.xz (build.log.xz,54.04 KB, application/x-xz)
2021-03-01 07:42 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)