Gentoo Archives: gentoo-pms

From: Ulrich Mueller <ulm@g.o>
To: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Cc: gentoo-pms@l.g.o, ulm@g.o
Subject: Re: [gentoo-pms] [PATCH] pkg_setup() can rely on packages common to DEPEND & RDEPEND.
Date: Sat, 13 Aug 2011 10:11:00
Message-Id: 20038.19877.167879.280165@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:
>> Except that large parts of the tree rely on packages in RDEPEND >> being available in pkg_*.
> Then those packages are broken.
Welcome to reality. ;-)
>> > If there's a need for dependencies that will definitely be >> > installed for pkg_setup, we should introduce an IDEPEND (for >> > 'install'). >> >> And then at some point we will have circular IDEPEND dependencies >> and the package manager will have to break such cycles, as it does >> for RDEPEND now.
> No, IDEPEND will simply not allow cycle breaking, in the same way as > DEPEND. IDEPEND would be, in effect, DEPEND that is also honoured > for binary packages.
I'm not convinced. IDEPEND would cover a very specific usage case, and IMHO it wouldn't be so different from an intersection of DEPEND and RDEPEND. Not different enough to justify introduction of another variable. Maybe package managers could introduce it as an internal variable (containing packages common to DEPEND and RDEPEND)? And in case that we should at some point switch to an Exherbo-style syntax for dependencies, then it could be specified explicitly? Ulrich

Replies

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