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

Bug 747880

Summary: sys-apps/s6-2.9.2.0 calls ar directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: RESOLVED FIXED    
Severity: normal CC: arkamar, proxy-maint, samuel
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/20895
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

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