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

Bug 724246

Summary: dev-util/rt-tests calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Kurt Kanzenbach <kurt>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/15962
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-05-20 07:47:08 UTC
This is an auto-filed bug because dev-util/rt-tests calls cc directly.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
If you think it doesn't make sense fix these type of issues, I'd like to point out that won't be possible use a different CC implementation (like clang) by setting the CC variable. So this issue has been reproduced by setting the CC variable to x86_64-pc-linux-gnu-gcc and by removing the /usr/bin/cc - /usr/bin/gcc binaries.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-20 07:47:18 UTC
Created attachment 640446 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-06-25 08:07:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95b5bf83b726413ebbe2dbe5374c1f79e0526471

commit 95b5bf83b726413ebbe2dbe5374c1f79e0526471
Author:     Kurt Kanzenbach <kurt@kmk-computers.de>
AuthorDate: 2020-05-25 15:49:30 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-06-25 08:07:43 +0000

    dev-util/rt-tests: Allow to use different compilers
    
    Currently CC and AR are hardcoded to gcc/ar. Allow compilation e.g. with clang.
    
    Closes: https://bugs.gentoo.org/724246
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
    Closes: https://github.com/gentoo/gentoo/pull/15962
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-util/rt-tests/rt-tests-1.8.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)