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

Bug 765754

Summary: sys-devel/slibtool-0.5.31 calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Felix Janda <felix.janda>
Status: RESOLVED FIXED    
Severity: normal CC: polynomial-c, proxy-maint, sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log
slibtool_ebuilds.diff

Description Agostino Sarubbo gentoo-dev 2021-01-17 14:02:57 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-devel/slibtool-0.5.31 calls cc 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 CC implementation (like clang). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and set the CC variable to x86_64-pc-linux-gnu-gcc.
Comment 1 Agostino Sarubbo gentoo-dev 2021-01-17 14:03:00 UTC
Created attachment 683317 [details]
build.log

build log and emerge --info
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-01-17 20:19:56 UTC
Created attachment 683389 [details, diff]
slibtool_ebuilds.diff

Possible fix...
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-01-29 12:50:07 UTC
@Felix: ping
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-19 23:29:49 UTC
*** Bug 757951 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2021-03-22 17:53:53 UTC
The bug has been closed via the following commit(s):

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

commit c02dabd4c84d394480aa27da41f82c5096991817
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-03-22 17:53:25 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-03-22 17:53:47 +0000

    sys-devel/slibtool: Don't call cc directly
    
    Closes: https://bugs.gentoo.org/765754
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-devel/slibtool/slibtool-0.5.31.ebuild | 8 +++++++-
 sys-devel/slibtool/slibtool-0.5.32.ebuild | 8 +++++++-
 sys-devel/slibtool/slibtool-9999.ebuild   | 8 +++++++-
 3 files changed, 21 insertions(+), 3 deletions(-)