Gentoo Archives: gentoo-pms

From: Ulrich Mueller <ulm@g.o>
To: "Michał Górny" <mgorny@g.o>
Cc: gentoo-pms@l.g.o, Zac Medico <zmedico@g.o>, Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Subject: Re: [gentoo-pms] Rephrasing *DEPEND
Date: Sun, 12 Jun 2011 14:49:42
In Reply to: Re: [gentoo-pms] Rephrasing *DEPEND by "Michał Górny"
1 >>>>> On Sun, 12 Jun 2011, Micha³ Górny wrote:
3 >> It would be more accurate to say that it's guaranteed except for
4 >> cases in which circular dependencies make it impossible to
5 >> guarantee.
7 > This or other words, this makes this an unreliable feature. So,
8 > right now, users can't assume anything specific about dependencies
9 > being installed in pkg_*?
11 Currently, PMS only says: "These must be installed and usable before
12 the ebuild is treated as usable." It doesn't say anything about phases.
14 > Doesn't this make it actually impossible to call the installed
15 > application in pkg_postinst()?
17 I've always added such packages that I needed in pkg_postinst() to
18 both DEPEND and RDEPEND.
20 IIRC, a specific merge order in Portage is only guaranteed for DEPEND
21 type dependencies, but not for RDEPEND and PDEPEND.
23 Ulrich


Subject Author
Re: [gentoo-pms] Rephrasing *DEPEND Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>