Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 724702 - media-sound/cmus-2.12.0 calls cc directly
Summary: media-sound/cmus-2.12.0 calls cc directly
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PullRequest
: 930978 (view as bug list)
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2020-05-23 13:15 UTC by Agostino Sarubbo
Modified: 2024-10-30 12:17 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,7.11 KB, text/plain)
2020-05-23 13:15 UTC, Agostino Sarubbo
Details
build.log on musl-llvm (build.log,1.78 KB, text/x-log)
2023-02-03 21:50 UTC, Josh Klar (klardotsh)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-05-23 13:15:15 UTC
This is an auto-filed bug because media-sound/cmus 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-23 13:15:21 UTC
Created attachment 641078 [details]
build.log

build log and emerge --info
Comment 2 Carlos 2022-04-29 18:45:54 UTC
If I recall correctly, I had to set HOSTCC=clang on my make.conf for cmus to use clang instead of GCC. So maybe exporting HOSTCC="$CC" somewhere in the ebuild would solve it?
Comment 3 Agostino Sarubbo gentoo-dev 2022-07-06 05:48:05 UTC
ci has reproduced this issue with version 2.10.0 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2022-09-11 07:50:54 UTC
ci has reproduced this issue with version 2.10.0-r1 - Updating summary.
Comment 5 Josh Klar (klardotsh) 2023-02-03 21:50:35 UTC
Created attachment 849804 [details]
build.log on musl-llvm

Confirming that I had to add a /etc/portage/env/hostcc-clang and assign media-sound/cmus to it to avoid cmus's configure script failing when it failed to find GCC (as it's not installed in a llvm-musl stage3, everything is built with clang).
Comment 6 Agostino Sarubbo gentoo-dev 2024-05-17 15:08:11 UTC
*** Bug 930978 has been marked as a duplicate of this bug. ***
Comment 7 Agostino Sarubbo gentoo-dev 2024-05-17 15:08:13 UTC
ci has reproduced this issue with version 2.11.0 - Updating summary.
Comment 8 Agostino Sarubbo gentoo-dev 2024-10-30 12:17:31 UTC
ci has reproduced this issue with version 2.12.0 - Updating summary.