Summary: | sys-devel/gcc-config-2.10 on llvm profile: unmerging leaves /etc/clang/gentoo-gcc-install.cfg with stale --gcc-install-dir | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ilja ”Zucca” Sara <zuccavondille> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | CONFIRMED --- | ||
Severity: | minor | CC: | sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://forums.gentoo.org/viewtopic-t-1163243.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ilja ”Zucca” Sara
2023-05-09 18:47:37 UTC
1. gcc becomes depcleanable 2. gcc (and then gcc-config) are unmerged 3. /etc/clang/gentoo-gcc-install.cfg's --gcc-install-dir points to a now-non-existent path We should either clean it up in toolchain.eclass in pre/postrm or in pre/postrm in gcc-config. (prerm sounds better because we narrow the race then.) gcc-config might be able to do it by itself as well. Also this gets printed when doing 'emerge --info' !!! No gcc found. You probably need to 'source /etc/profile' !!! to update the environment of this terminal and possibly !!! other terminals also. I'm not sure if this happens because gcc-config did leave something else hanging under /etc or if portage/emerge always expects gcc to be founf from the system even when using llvm based profile. |