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

Bug 913186

Summary: [guru] app-arch/7zip-23.01 calls cc directly
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: Martin Matous <m>
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 2023-08-29 05:50:43 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-arch/7zip-23.01 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 2023-08-29 05:50:45 UTC
Created attachment 868945 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-08-29 05:50:47 UTC
Error(s) that match a know pattern:


make: gcc: No such file or directory
Comment 3 Larry the Git Cow gentoo-dev 2023-09-04 11:04:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2d22b3eb5edb6b4fea5e44f940201587af1f5a06

commit 2d22b3eb5edb6b4fea5e44f940201587af1f5a06
Author:     Martin Matouš <m@matous.dev>
AuthorDate: 2023-09-03 14:52:21 +0000
Commit:     Martin Matouš <m@matous.dev>
CommitDate: 2023-09-03 14:54:16 +0000

    app-arch/7zip: respect build environment
    
    Closes: https://bugs.gentoo.org/913186
    Closes: https://bugs.gentoo.org/913188
    Closes: https://bugs.gentoo.org/913189
    Signed-off-by: Martin Matouš <m@matous.dev>

 app-arch/7zip/7zip-23.01.ebuild                    | 16 +++-
 .../7zip/files/7zip-23.01-respect-build-env.patch  | 98 ++++++++++++++++++++++
 2 files changed, 110 insertions(+), 4 deletions(-)