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

Bug 836852

Summary: [guru] app-misc/kloak-0.2.30 calls cc directly
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: c
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-04-05 20:08:27 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-misc/kloak-0.2.30 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-04-05 20:08:29 UTC
Created attachment 768911 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-04-05 20:08:31 UTC
Error(s) that match a know pattern:


make: gcc: No such file or directory
Comment 3 c 2022-04-06 08:09:13 UTC
I've written and pushed a patch to use $(CC) instead of gcc toolchain explicitly.
Comment 4 c 2022-04-06 09:11:38 UTC
(In reply to Agostino Sarubbo from comment #0)
> https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/
> 
> Issue: app-misc/kloak-0.2.30 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].

I've written and pushed a patch to use $(CC) instead of gcc toolchain explicitly.