Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914442 - net-misc/networkmanager-1.42.6-r1 fails to setup if clang profile + LTO + gcc config using package.env
Summary: net-misc/networkmanager-1.42.6-r1 fails to setup if clang profile + LTO + gcc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-19 19:19 UTC by Arniii
Modified: 2023-09-19 19:56 UTC (History)
0 users

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


Attachments
ls /etc/portage/env/ (file_914442.txt,266 bytes, text/plain)
2023-09-19 19:19 UTC, Arniii
Details
compiler-gcc-lto.conf (HOJX.conf,487 bytes, text/plain)
2023-09-19 19:21 UTC, Arniii
Details
package.env (file_914442.txt,607 bytes, text/plain)
2023-09-19 19:21 UTC, Arniii
Details
emerge --info -v networkmanager , but it's useless because https://wiki.gentoo.org/wiki//etc/portage/package.env#emerge_--info_does_not_show_changes_from_package.env (file_914442.txt,20.81 KB, text/plain)
2023-09-19 19:22 UTC, Arniii
Details
/var/tmp/portage/net-misc/networkmanager-1.42.6-r1/temp/build.log (file_914442.txt,1.75 KB, text/plain)
2023-09-19 19:23 UTC, Arniii
Details
/var/tmp/portage/net-misc/networkmanager-1.42.6-r1/temp/die.env (HOJM.env,304.05 KB, text/plain)
2023-09-19 19:26 UTC, Arniii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arniii 2023-09-19 19:19:59 UTC
Created attachment 870978 [details]
ls /etc/portage/env/

for me it seems like the problem with ts-is-clang at  https://gitweb.gentoo.org/repo/gentoo.git/tree/net-misc/networkmanager/networkmanager-1.42.6-r1.ebuild#n155
Comment 1 Arniii 2023-09-19 19:21:08 UTC
Created attachment 870979 [details]
compiler-gcc-lto.conf
Comment 2 Arniii 2023-09-19 19:21:40 UTC
Created attachment 870980 [details]
package.env
Comment 3 Arniii 2023-09-19 19:22:30 UTC
Created attachment 870981 [details]
emerge --info -v networkmanager , but it's useless because https://wiki.gentoo.org/wiki//etc/portage/package.env#emerge_--info_does_not_show_changes_from_package.env
Comment 4 Arniii 2023-09-19 19:23:21 UTC
Created attachment 870982 [details]
/var/tmp/portage/net-misc/networkmanager-1.42.6-r1/temp/build.log
Comment 5 Arniii 2023-09-19 19:26:36 UTC
I can confirm, that cdrtools compiles using gcc-lto config, even though emerge --info cdrtools tells that CC="clang" .

So, it's not the problem with compiler-gcc-lto.conf . I don't think it's a problem with package.env.
Comment 6 Arniii 2023-09-19 19:26:59 UTC
Created attachment 870983 [details]
/var/tmp/portage/net-misc/networkmanager-1.42.6-r1/temp/die.env
Comment 7 Arniii 2023-09-19 19:34:11 UTC
solved by adding CPP="${CXX}" at compile-gcc-lto.conf . Thanks @sam_ !
Comment 8 Arniii 2023-09-19 19:56:57 UTC
should be CPP="cpp" .