Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 747880 - sys-apps/s6-2.9.2.0 calls ar directly
Summary: sys-apps/s6-2.9.2.0 calls ar directly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
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: ---


Attachments
build.log (build.log,73.53 KB, text/plain)
2020-10-11 19:55 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 2020-10-11 19:55:33 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

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-2.9.2.0/temp/environment: 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):

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

commit 863f3ccf1f0d22549b3259a36177728e70cfecc0
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2022-01-22 16:21:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-28 07:59:02 +0000

    sys-apps/s6: respect AR, CC and RANLIB
    
    Closes: https://bugs.gentoo.org/747880
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Signed-off-by: Sam James <sam@gentoo.org>

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