Gentoo Archives: gentoo-dev

From: Fabio Erculiani <lxnay@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] We need *you* for a USE="selinux" dependency
Date: Sun, 04 Dec 2011 22:12:07
In Reply to: [gentoo-dev] We need *you* for a USE="selinux" dependency by Sven Vermeulen
On Sun, Dec 4, 2011 at 9:35 PM, Sven Vermeulen <swift@g.o> wrote:
> [...] > The dependency must be on both levels, because the SELinux module must be > installed before the package is installed (and in theory, RDEPEND could > trigger an installation afterwards): during the installation phase, Portage > labels the files on the system (which would get wrong labels if the module > isn't installed yet[1]). Also, DEPEND isn't sufficient due to binary package > support requirements. > > > Wkr, >        Sven Vermeulen > > [1] I am aware that Portage currently installs RDEPEND before the package >    itself, but that might change in the future and other package managers might >    exhibit different behavior. >
I haven't really understood what you mean with RDEPENDs being scheduled "after". RDEPEND must be always scheduled before the pkg requiring it, changing this behaviour would have disruptive effects on all the PMS out there (OTOH I think I haven't gotten the point actually?). I guess portage may schedule it in arbitrary order if the RDEPEND dep itself is satisfied already (this would mean that you explicitly pulled it in), and this is the only case I can think of. If you need to schedule a dep install at some point, you should rather use PDEPEND, but if the same is required earlier in the schedule, well, you're flooked. -- Fabio Erculiani


Subject Author
Re: [gentoo-dev] We need *you* for a USE="selinux" dependency Rich Freeman <rich0@g.o>
Re: [gentoo-dev] We need *you* for a USE="selinux" dependency Brian Harring <ferringb@×××××.com>