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

Bug 785211

Summary: [guru] x11-misc/xob-0.2 calls cc directly
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: tastytea <gentoo>
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-23 09:26:52 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-misc/xob-0.2 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-23 09:26:54 UTC
Created attachment 701880 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-23 09:26:56 UTC
Possible context of error(s):

make: cc: No such file or directory
Comment 3 Larry the Git Cow gentoo-dev 2021-04-24 06:38:47 UTC
The bug has been closed via the following commit(s):

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

commit a3801d8749295e6efcaa6aefd3d5d185e287f2f7
Author:     Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
AuthorDate: 2021-04-23 19:17:23 +0000
Commit:     Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
CommitDate: 2021-04-23 19:17:23 +0000

    x11-misc/xob: Set CC.
    
    Makefile calls `$(CC)`, which seems to default to `cc`.
    
    Closes: https://bugs.gentoo.org/785211
    Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>

 x11-misc/xob/xob-0.2.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
Comment 4 Agostino Sarubbo gentoo-dev 2021-04-25 14:05:51 UTC
Changing TRACKER as requested by QA.