On Tue, 19 Dec 2017 16:51:27 +1100, Adam Carter wrote: > When i depclean i use -av --depclean --exclude gcc --exclude > gentoo-sources, since i like keep 2 gcc's around and I look after > sources manually.
You can prevent depclean from removing gcc and kernel like this % cat /etc/portage/sets.conf [kernels] class = portage.sets.dbapi.OwnerSet world-candidate = False files = /usr/src [gcc] class = portage.sets.dbapi.OwnerSet world-candidate = False files = /usr/x86_64-pc-linux-gnu/gcc-bin Then add @kernels and @gcc to world_sets. I do this and now those packages have to be unmerged manually. Having said that, everything built with gcc-7.2.0 after the profile switch so I now have only one gcc installed for the first time in years. -- Neil Bothwick I don't know if I can assimilate one more Borg Tagline!
pgpXYF_pnmi4V.pgp
Description: OpenPGP digital signature