From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JnUsz-0006V0-5t for garchives@archives.gentoo.org; Sun, 20 Apr 2008 08:26:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18736E050E; Sun, 20 Apr 2008 08:26:55 +0000 (UTC) Received: from rv-out-0506.google.com (rv-out-0708.google.com [209.85.198.240]) by pigeon.gentoo.org (Postfix) with ESMTP id D8202E050E for ; Sun, 20 Apr 2008 08:26:54 +0000 (UTC) Received: by rv-out-0506.google.com with SMTP id b17so718815rvf.46 for ; Sun, 20 Apr 2008 01:26:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=oUj4J7x06FgCCGAcJhRiSvc67VA5MazCqhR8sLf2TrQ=; b=SB4A/orOFT84akIRcXymfSPZqX88TxZ4S0op+YYFQhGwMxYQBcO7u28tiN1uK9rNCqONyxyMOOHAVPisfVtMjXnT21UWe/6x4lnNSepTCtas4RhL4sVCSxX1E0ztUwQZ5lfcmcQuIRo6pIjknkBuASdVghJ2FZV3J22YddRhg4E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=r69acVhJXKZEbwgSd4bS2SEbyEcACb+C6gKDaJvx2oH7SIHZ6fodNxkQf/w+3VyRf1a6HP17cWsyf+8o2x7JQF6dj3pmb+PCeoRQGAZKPlm3AjVQng7kTiXgNmTPVBvizOhHxq8xfdnTGveI8m/eqrFgEK6hieIDrD2OubW+V2k= Received: by 10.141.113.6 with SMTP id q6mr2570235rvm.135.1208680014477; Sun, 20 Apr 2008 01:26:54 -0700 (PDT) Received: from seldon ( [71.204.151.29]) by mx.google.com with ESMTPS id g22sm5267887rvb.5.2008.04.20.01.26.53 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 20 Apr 2008 01:26:54 -0700 (PDT) Date: Sat, 19 Apr 2008 18:29:10 -0700 From: Brian Harring To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Dependencies that're available at pkg_*inst Message-ID: <20080420012910.GA8373@seldon.hsd1.ca.comcast.net> References: <20080419053116.50e0ffe6@snowcone> <480A1FEE.4020604@gentoo.org> <20080420005728.2d4d2c70@snowcone> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline In-Reply-To: <20080420005728.2d4d2c70@snowcone> User-Agent: Mutt/1.5.13 (2006-08-11) X-Archives-Salt: 78caab64-3c9e-49ba-a2e2-0c5e54742269 X-Archives-Hash: 203eb8da5987cccb7e06e619e06bfb00 --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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)" 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. >=20 > 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=20 unfortunate fact. This loops back into why jstubbs was after use dep=20 cycle breaking (fair bit more fine grained of an issue), a discussion=20 that thus far has been ignored, and the usage of the build flag. > > SRC_UNPACK_DEP=3D"app-arch/unzip" > > SRC_COMPILE_DEP=3D"dev-scheme/bigloo" > > SRC_INSTALL_DEP=3D"" >=20 > 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. =20 I know, but I'd rather not have the notion "labels solves all" pushed=20 forth w/ out people knowing what it is, please. thanks, ~harring --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFICpxlsiLx3HvNzgcRAkWjAKCOHNd+2xSSHAtG7Evog0zhxfbZ/QCdFtgv /wTmq7Bghn5Sm5KxC4gotZQ= =kYEm -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c-- -- gentoo-dev@lists.gentoo.org mailing list