On Sunday 24 May 2009 11:28:30 Neil Bothwick wrote: > On Sun, 24 May 2009 11:07:13 +0200, Alan McKinnon wrote: > > > Portage is not in system, only the virtual. That can be > > > satisfied by Paludis, which does not need Python. > > > > Lucky for you, I know your sense of humour by now :-) > > > > Doesn't help portage users though, and portage is still the default > > package manager on Gentoo. I don't see that changing any time soon, if > > ever. > > > > Besides, unless you do it manually, you need portage to install > > paludis, right? Without python, you don't get paludis. > > > > Either way, it's a bug. portage supports inheriting multiple parent > > profiles. One approach would be to add a new collection of profiles in > > addition to the existing base/, default/ and targets/ - called say > > pkgmgr. > > Is it really a bug? Postage is the default for the virtual and it depends > on python, so there is no need for python itself to be in @system. This > doesn't cause any problems except the one Dale mentions, which is that > FEATURES=buildsyspkg does not build a package for python. man make.conf > describes this option as "Build binary packages for just packages in the > system set. Which is accurate but maybe not the desired behaviour. The > option should really by to build packages for packages in @system and > their dependencies. Put another way, build all the packages necessary to > run "emerge -eK @system". > > I'd suggest filing an enhancement request on b.g.o.
Using the "this is very unexpected behaviour" definition of bug, I certainly do call it a bug. All three of the following commands, produce the same end result (a b0rked system), but are treated very differently. I my mind, delete warnings should be handled the same as installs, by taking the entire dep tree into account: a...@nazgul ~ $ sudo emerge -avC python Password: >>> These are the packages that would be unmerged: dev-lang/python selected: 2.5.4-r2 2.6.2 protected: none omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. Would you like to unmerge these packages? [Yes/No] n Quitting. a...@nazgul ~ $ sudo emerge -avC portage >>> These are the packages that would be unmerged: * Not unmerging package sys-apps/portage-2.2_rc33 since there is no valid * reason for portage to unmerge itself. >>> No packages selected for removal by unmerge a...@nazgul ~ $ sudo emerge -avC gcc >>> These are the packages that would be unmerged: !!! 'sys-devel/gcc' is part of your system profile. !!! Unmerging it may be damaging to your system. sys-devel/gcc selected: 4.3.3-r2 protected: none omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. Would you like to unmerge these packages? [Yes/No] n Quitting. I'll file a feature request -- alan dot mckinnon at gmail dot com