Gentoo Archives: gentoo-pms

From: Ulrich Mueller <ulm@g.o>
To: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Cc: Ulrich Mueller <ulm@g.o>, gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] [PATCH] pkg_setup() can rely on packages common to DEPEND & RDEPEND.
Date: Mon, 15 Aug 2011 07:44:08
Message-Id: 20040.52792.276057.405556@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-pms] [PATCH] pkg_setup() can rely on packages common to DEPEND & RDEPEND. by Ciaran McCreesh
1 >>>>> On Mon, 15 Aug 2011, Ciaran McCreesh wrote:
2
3 > The problem is, there are nearly always circular dependencies. Any
4 > package that depends upon autotools is part of a hundred-plus-large
5 > circular dependency cycle. So if we're saying packages can count on
6 > RDEPENDs being merged beforehand except when necessary to resolve
7 > cycles, then we need to say how cycles are to be resolved.
8
9 Hm, I always thought that e.g. for packages that have no reverse
10 dependencies the issue would not arise. For example, if you have the
11 following RDEPEND cycle:
12
13 C ← D ← E
14 ↓ ↑
15 B → A
16
17 then the ordering of A, B, C and D would be unspecified, but it would
18 be guaranteed that package E (which is not part of the cycle) is being
19 installed last.
20
21 Ulrich

Replies

Subject Author
Re: [gentoo-pms] [PATCH] pkg_setup() can rely on packages common to DEPEND & RDEPEND. Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>