public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-pms] Rephrasing *DEPEND
  @ 2011-06-12 14:49 99%           ` Ulrich Mueller
  0 siblings, 0 replies; 1+ results
From: Ulrich Mueller @ 2011-06-12 14:49 UTC (permalink / raw
  To: Michał Górny; +Cc: gentoo-pms, Zac Medico, Ciaran McCreesh

>>>>> On Sun, 12 Jun 2011, Michał Górny wrote:

>> It would be more accurate to say that it's guaranteed except for
>> cases in which circular dependencies make it impossible to
>> guarantee.

> This or other words, this makes this an unreliable feature. So,
> right now, users can't assume anything specific about dependencies
> being installed in pkg_*?

Currently, PMS only says: "These must be installed and usable before
the ebuild is treated as usable." It doesn't say anything about phases.

> Doesn't this make it actually impossible to call the installed
> application in pkg_postinst()?

I've always added such packages that I needed in pkg_postinst() to
both DEPEND and RDEPEND.

IIRC, a specific merge order in Portage is only guaranteed for DEPEND
type dependencies, but not for RDEPEND and PDEPEND.

Ulrich



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-06-11  7:32     [gentoo-pms] Rephrasing *DEPEND Michał Górny
2011-06-11 11:53     ` Ciaran McCreesh
2011-06-12  7:52       ` Michał Górny
2011-06-12  8:18         ` Ulrich Mueller
2011-06-12  9:13           ` Zac Medico
2011-06-12 13:16             ` Michał Górny
2011-06-12 14:49 99%           ` Ulrich Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox