Gentoo Archives: gentoo-pms

From: Ulrich Mueller <ulm@g.o>
To: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] [PATCH] pkg_setup() can rely on packages common to DEPEND & RDEPEND.
Date: Sat, 13 Aug 2011 08:10:15
Message-Id: 20038.12636.47816.128086@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
>>>>> On Sat, 13 Aug 2011, Ciaran McCreesh wrote:
> On Fri, 12 Aug 2011 20:03:37 +0200 > Micha³ Górny <mgorny@g.o> wrote: >> We can basically assume PM merges either DEPEND or RDEPEND to that >> point (depending on whether we're merging source ebuild or binary >> package).
> What if something's a binary (i.e. its DEPENDs aren't being installed) > and is being installed as part of an RDEPEND - RDEPEND cycle?
Good point, looks like we've missed that case. In fact, Micha³'s first wording included a clause covering circular dependencies, but then I persuaded him that it wouldn't be needed: ;-) <mgorny> http://dpaste.com/592914/ like this? <mgorny> should be simplest words I can think of <ulm> mgorny: why "but see below"? <mgorny> RDEPEND <mgorny> the long parenthesis there :P [...] <ulm> I think that case cannot occur becasue a circular dependency cannot be broken in a place where there's a DEPEND too <mgorny> hm, true I think Ulrich