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
Message-Id: 19956.53743.875743.420679@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-pms] Rephrasing *DEPEND by "Michał Górny"
1 >>>>> On Sun, 12 Jun 2011, Micha³ Górny wrote:
2
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.
6
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_*?
10
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.
13
14 > Doesn't this make it actually impossible to call the installed
15 > application in pkg_postinst()?
16
17 I've always added such packages that I needed in pkg_postinst() to
18 both DEPEND and RDEPEND.
19
20 IIRC, a specific merge order in Portage is only guaranteed for DEPEND
21 type dependencies, but not for RDEPEND and PDEPEND.
22
23 Ulrich

Replies

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