Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 770481 - dev-libs/openspecfun-0.5.3 calls cc directly
Summary: dev-libs/openspecfun-0.5.3 calls cc directly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2021-02-14 11:41 UTC by Agostino Sarubbo
Modified: 2021-02-14 13:48 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,9.24 KB, text/plain)
2021-02-14 11:41 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 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(-)