On Sun, Apr 20, 2008 at 12:57:28AM +0100, Ciaran McCreesh wrote: > On Sat, 19 Apr 2008 18:38:06 +0200 > "Marijn Schouten (hkBst)" <[EMAIL PROTECTED]> wrote: > > I don't know what the general use of pkg_preinst is, but in > > pkg_postinst the package itself should be runnable, so its RDEPENDS > > should be installed and usable at this point. So perhaps we should > > define that "usable" means "each of its RDEPENDs is installed and has > > had its pkg_postinst function run". The recursion of that definition > > then comes from the requirement that RDEPENDs should be usable before > > pkg_postinst starts running. > > No good. That prevents RDEPEND <-> RDEPEND cycles from being solved, > and the package manager has to be able to solve that.
Not all cycles are solvable w/in the domain of execution which is an unfortunate fact. This loops back into why jstubbs was after use dep cycle breaking (fair bit more fine grained of an issue), a discussion that thus far has been ignored, and the usage of the build flag. > > SRC_UNPACK_DEP="app-arch/unzip" > > SRC_COMPILE_DEP="dev-scheme/bigloo" > > SRC_INSTALL_DEP="" > > Labels are a cleaner solution to this. But again, we're discussing > current EAPIs here. Stop name dropping labels until you tell folk about what labels are. I know, but I'd rather not have the notion "labels solves all" pushed forth w/ out people knowing what it is, please. thanks, ~harring
pgpm1IpZ6yEzg.pgp
Description: PGP signature