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

Bug 784809

Summary: [guru] app-misc/afetch-2.1.0 calls cc directly
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: Mathieu Tortuyaux <mathieu.tortuyaux>
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 2021-04-21 14:49:47 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-misc/afetch-2.1.0 calls cc directly.
Discovered on: amd64 (internal ref: guru_tinderbox)

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-04-21 14:49:49 UTC
Created attachment 701502 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-21 14:49:51 UTC
Possible context of error(s):

make: cc: No such file or directory
Comment 3 Agostino Sarubbo gentoo-dev 2021-04-22 17:06:28 UTC
Changing the Assignee as per https://archives.gentoo.org/gentoo-dev/message/74ee632e9fe2f4c12890524fec132205
Comment 4 Larry the Git Cow gentoo-dev 2021-04-23 08:47:23 UTC
The bug has been closed via the following commit(s):

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

commit a1a679c0290acc4c9db11d9024e8a5d5713e52e2
Author:     Mathieu Tortuyaux <mathieu.tortuyaux@gmail.com>
AuthorDate: 2021-04-23 07:13:53 +0000
Commit:     Mathieu Tortuyaux <mathieu.tortuyaux@gmail.com>
CommitDate: 2021-04-23 07:14:09 +0000

    app-misc/afetch: remove direct CC call
    
    Closes: https://bugs.gentoo.org/784809
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Mathieu Tortuyaux <mathieu.tortuyaux@gmail.com>

 app-misc/afetch/afetch-2.1.0.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
Comment 5 Agostino Sarubbo gentoo-dev 2021-04-25 14:04:58 UTC
Changing TRACKER as requested by QA.