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

Bug 779952

Summary: app-misc/cdctl-0.16 calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: matthew, sam
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/20606
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-04-04 05:22:27 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-misc/cdctl-0.16 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] and set the CC variable to x86_64-pc-linux-gnu-gcc.
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-04 05:22:29 UTC
CC'ing also the author of the commit
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-04 05:22:30 UTC
Created attachment 697119 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2021-04-04 05:22:32 UTC
Possible context of error(s):

make: gcc: No such file or directory
Comment 4 Larry the Git Cow gentoo-dev 2021-05-04 22:17:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c437afd20857d4652078f520141077aa5f91533

commit 2c437afd20857d4652078f520141077aa5f91533
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-04-30 15:43:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-04 22:17:02 +0000

    app-misc/cdctl: Respect CFLAGS, fix tc-directly
    
    Closes: https://bugs.gentoo.org/722394
    Closes: https://bugs.gentoo.org/779952
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/cdctl/cdctl-0.16.ebuild                  |  7 ++++++-
 app-misc/cdctl/files/cdctl-0.16-Makefile.in.patch | 14 +++++++-------
 2 files changed, 13 insertions(+), 8 deletions(-)