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

Bug 847328

Summary: [guru] sys-devel/gsl-4.1.5-r1 calls cc directly
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: Alessandro Barbieri <lssndrbarbieri>
Status: RESOLVED FIXED    
Severity: normal CC: guru-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 785607    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-05-25 06:03:34 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-devel/gsl-4.1.5 calls cc directly.
Discovered on: amd64 (internal ref: guru_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].
Comment 1 Agostino Sarubbo gentoo-dev 2022-05-25 06:03:36 UTC
Created attachment 780614 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-05-25 06:03:38 UTC
Error(s) that match a know pattern:


E: Could not find 'gcc' on PATH.  'c' requires gcc to build.
Comment 3 Agostino Sarubbo gentoo-dev 2022-05-29 07:40:54 UTC
guru_ci has reproduced this issue with version 4.1.5-r1 - Updating summary.
Comment 4 Larry the Git Cow gentoo-dev 2022-06-01 11:17:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1480b29b69d6d7a8981f94fbca337ae5a2db4cb7

commit 1480b29b69d6d7a8981f94fbca337ae5a2db4cb7
Author:     Alessandro Barbieri <lssndrbarbieri@gmail.com>
AuthorDate: 2022-05-31 15:19:46 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri@gmail.com>
CommitDate: 2022-05-31 15:36:42 +0000

    sys-devel/gsl: respect CC and flags
    
    Closes: https://bugs.gentoo.org/847328
    Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>

 sys-devel/gsl/files/gsl-4.1.5-respect-flags.patch | 13 +++++++++++++
 sys-devel/gsl/gsl-4.1.5-r1.ebuild                 | 11 +++++++++++
 2 files changed, 24 insertions(+)