Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 747880 - sys-apps/s6- calls ar directly
Summary: sys-apps/s6- calls ar directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
Keywords: PullRequest
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2020-10-11 19:55 UTC by Agostino Sarubbo
Modified: 2022-01-28 08:29 UTC (History)
3 users (show)

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

build.log (build.log,73.53 KB, text/plain)
2020-10-11 19:55 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 2020-10-11 19:55:33 UTC

Issue: sys-apps/s6- 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 2020-10-11 19:55:35 UTC
Created attachment 664801 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-10-11 19:55:38 UTC
Possible context of error(s):

/var/tmp/portage/sys-apps/s6- line 543: --enable-shared: command not found
/bin/sh: line 0: exec: ar: not found
Comment 3 Larry the Git Cow gentoo-dev 2022-01-28 08:00:09 UTC
The bug has been closed via the following commit(s):

commit 863f3ccf1f0d22549b3259a36177728e70cfecc0
Author:     Petr Vaněk <>
AuthorDate: 2022-01-22 16:21:33 +0000
Commit:     Sam James <>
CommitDate: 2022-01-28 07:59:02 +0000

    sys-apps/s6: respect AR, CC and RANLIB
    Signed-off-by: Petr Vaněk <>
    Signed-off-by: Sam James <>

 sys-apps/s6/s6- | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)