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

Bug 727808

Summary: dev-lang/nqp-2024.02 calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Patrick Lauer <patrick>
Status: CONFIRMED ---    
Severity: normal CC: jeff.gazso
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-06-10 09:03:02 UTC
@@This is an auto-filed bug@@
If you think that a different summary clarifies the issue better, feel free to change it.

Issue: dev-lang/nqp calls cc directly.
Discovered on: amd64

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-06-10 09:03:08 UTC
Created attachment 644258 [details]
build.log

build log and emerge --info
Comment 2 Jeff Gazso 2021-06-26 11:46:23 UTC
I think this bug can be resolved by adding the following to the nqp_configure() ebuild function:

    --moar-option="--compiler=tc-getCC"

If that fails, try swapping `--compiler` with `--cc` and see what happens.
Comment 3 Jeff Gazso 2021-06-26 11:57:09 UTC
Make that 

    --moar-option="--compiler=$(tc-getCC)"

Sorry about the typo.
Comment 4 Agostino Sarubbo gentoo-dev 2021-11-25 14:24:02 UTC
ci has reproduced this issue with version 2021.10 - Updating summary.
Comment 5 Agostino Sarubbo gentoo-dev 2022-06-21 14:03:09 UTC
ci has reproduced this issue with version 2022.06 - Updating summary.
Comment 6 Agostino Sarubbo gentoo-dev 2023-02-27 19:28:42 UTC
ci has reproduced this issue with version 2023.02 - Updating summary.
Comment 7 Agostino Sarubbo gentoo-dev 2024-03-16 21:20:01 UTC
ci has reproduced this issue with version 2024.02 - Updating summary.