Gentoo Archives: gentoo-dev

From: Pacho Ramos <pacho@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] About using USE flags to pull in needed RDEPENDs being discouraged by devmanual
Date: Sat, 16 Jun 2012 18:53:36
Message-Id: 1339872753.7815.66.camel@belkin4
In Reply to: Re: [gentoo-dev] About using USE flags to pull in needed RDEPENDs being discouraged by devmanual by Peter Stuge
El sáb, 16-06-2012 a las 19:50 +0200, Peter Stuge escribió:
> Pacho Ramos wrote: > > Also hit this problem today while trying to bump bluez and noticed we > > are using elog messages to tell people to manually install > > net-dialup/ppp if they want ppp working with bluez. > > > > I am unsure about the disadvantages of simply using, for example, > > "ppp" USE flag to do that. > > I guess the point is that it is not really a dependency. bluez works > fine without ppp, it does not need to be rebuilt to use ppp later, > and ppp is only needed when user wants to use both together. >
No, it's a dependency only when you want ppp support working, if you won't use it, you won't simply notice it won't work due missing dependency
> I think it fits to emerge them separately. It seems reasonable not to > USE for other packages which are merely possible to combine, but > which don't make for a strict dependency. > > > > 1. We rely in people reading the message to get package working ok. > > I dunno if a USE flag is much better? Both require the user to inform > herself in the same way ("when do I need USE=ppp for bluez" vs. "when > do I need to emerge ppp") and take action in the same context (set > USE=ppp for bluez vs. emerge ppp after bluez).. > >
It's much easier to widely set "ppp" USE in make.conf to be sure ppp support works for all things in my system that needing to rebuild affected package to see elog message telling me that I need to manually emerge some other package
> > 2. If user emerges ppp, it will be recorded in world file and, then, if > > in the future he removes bluez, emerge --depclean want clean no longer > > needed ppp and then, people end up with a lot of packages they needed > > to manually emerge some year but that they problem no longer need at > > all. > > Disk is pretty cheap. If the package is never being used and the user > doesn't care to remove it then the package doesn't do any harm IMO, > and as mentioned I think it's difficult for the package manager to > know what the user has installed on the system but no longer needs.. > > > //Peter
What kind of argument is "disk is pretty cheap". I still administrate a laptop with a 250GB of disk space, and that space cannot be as large if you have a lot of files at home. Also, you are missing that having unneeded packages in world file will also cause them to be updated on every system updated, with the time it takes for compile.


File name MIME type
signature.asc application/pgp-signature