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

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

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

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:41:59 UTC

Issue: games-strategy/0ad-0.0.24b_alpha calls ar directly.
Discovered on: amd64 (internal ref: ci)

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 2021-03-01 07:42:02 UTC
Created attachment 688809 [details]

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:04 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:52 UTC
The bug has been closed via the following commit(s):

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

    games-strategy/0ad: fix AR/RANLIB usage
    Signed-off-by: Sam James <>

 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(-)