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

Bug 835735

Summary: dev-ml/curses-1.0.10 calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Team for the ML programming language family <ml>
Status: RESOLVED FIXED    
Severity: normal CC: tupone
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 2022-03-21 11:58:22 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-ml/curses-1.0.10 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].
Comment 1 Agostino Sarubbo gentoo-dev 2022-03-21 11:58:24 UTC
Created attachment 767508 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-03-21 11:58:26 UTC
Error(s) that match a know pattern:


Error: Program gcc not found in the tree or in PATH
Comment 3 Larry the Git Cow gentoo-dev 2022-03-21 20:11:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29def55eb56b225b57c39db5c967c77431d6411d

commit 29def55eb56b225b57c39db5c967c77431d6411d
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2022-03-21 20:11:16 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2022-03-21 20:11:16 +0000

    dev-ml/curses: not calling cc directly
    
    Closes: https://bugs.gentoo.org/835735
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-ml/curses/curses-1.0.10.ebuild         |  2 ++
 dev-ml/curses/files/curses-1.0.10-CC.patch | 11 +++++++++++
 2 files changed, 13 insertions(+)