On Wednesday 18 January 2012 13:42:12 Rich Freeman wrote: > On Wed, Jan 18, 2012 at 11:45 AM, Mike Frysinger wrote: > > it isn't just circular deps. it's also about breaking alternatives and > > useless bloat. adding "coreutils" to their depend because they execute > > `mv`, or "sed" because they execute `sed`, etc... is absolutely > > pointless. same goes for virtual/libc or virtual/os-headers. > > Perhaps pointless, but likely harmless as well. I wasn't suggesting > that we should systematically add @system deps - only that we > shouldn't systematically remove them either unless they cause harm.
it is a problem. not all profiles use "coreutils" ... they provide replacement packages. busybox is just one example. the bsd/prefix guys go in even weirder directions. it also encourages people to add this crap to other packages, and gets us into an even more confusing state. people look at existing ebuilds as examples, and having things like "grep" or "sed" or "coreutils" sets an awful example. when i see these things in ebuilds, i make sure to scrub them when updating. > When I think about the use cases for reduced @system, I think that > listing them in RDEPEND probably has more utility than having them in > DEPEND. It usually matters more on minimal systems that the packages > in the run state are smaller, and the build state often doesn't matter > as much (consider something installed into a chroot using > crossdev/etc). Coreutils is obviously an extreme example, although > even that could be replaced by something like busybox. Then again, > unless somebody makes a virtual for it I don't think that trying to > put that in an RDEPEND gets us anywhere. DEPEND usage is useless cruft to the point of absurdity. RDEPEND is much less common as then you're really only talking about the random shell scripts. i'd argue still though that it still doesn't make sense considering a system can hardly boot without "coreutils". and if you are in a situation where you have such a reduced install that it can, the existing @system semantics work for you. -mike
signature.asc
Description: This is a digitally signed message part.
