Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779952 - app-misc/cdctl-0.16 calls cc directly
Summary: app-misc/cdctl-0.16 calls cc directly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2021-04-04 05:22 UTC by Agostino Sarubbo
Modified: 2021-05-04 22:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,8.84 KB, text/plain)
2021-04-04 05:22 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)