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

Bug 770481

Summary: dev-libs/openspecfun-0.5.3 calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Patrick Lauer <patrick>
Status: RESOLVED FIXED    
Severity: normal CC: sci
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-02-14 11:41:00 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/openspecfun-0.5.3 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-02-14 11:41:03 UTC
Created attachment 686664 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-02-14 11:41:05 UTC
Possible context of error(s):

/bin/sh: line 1: gcc: command not found
make: gcc: No such file or directory
Comment 3 Larry the Git Cow gentoo-dev 2021-02-14 13:48:22 UTC
The bug has been closed via the following commit(s):

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

commit 811c337cd77f2625690105d0f1fd4c4883c27aee
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2021-02-14 13:48:08 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-02-14 13:48:08 +0000

    dev-libs/openspecfun: [QA] Fix calling cc directly
    
    Closes: https://bugs.gentoo.org/727048
    Closes: https://bugs.gentoo.org/770481
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/openspecfun-0.5.3-Makefile.patch         | 67 ++++++++++++++++++++++
 .../files/openspecfun-0.5.3-static-libs.patch      | 21 -------
 dev-libs/openspecfun/openspecfun-0.5.3.ebuild      | 21 ++++---
 3 files changed, 80 insertions(+), 29 deletions(-)