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 1Jn5bi-0004MS-34 for garchives@archives.gentoo.org; Sat, 19 Apr 2008 05:27:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 119C5E0509; Sat, 19 Apr 2008 05:27:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E1F9EE0509 for ; Sat, 19 Apr 2008 05:27:23 +0000 (UTC) Received: from gentoo.org (c-71-193-142-160.hsd1.or.comcast.net [71.193.142.160]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 6193D67204 for ; Sat, 19 Apr 2008 05:27:23 +0000 (UTC) Date: Fri, 18 Apr 2008 22:27:21 -0700 From: Donnie Berkholz To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Dependencies that're available at pkg_*inst Message-ID: <20080419052720.GE29470@supernova> References: <20080419053116.50e0ffe6@snowcone> <20080419044512.GD29470@supernova> <20080419055420.29ab56e1@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: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080419055420.29ab56e1@snowcone> User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: f1dc1b50-c3f4-47cd-ab4f-f692f7a77b3a X-Archives-Hash: 852ca3599d0bd1d7d8d0533bfb6a8ef5 On 05:54 Sat 19 Apr , Ciaran McCreesh wrote: > On Fri, 18 Apr 2008 21:45:13 -0700 > Donnie Berkholz wrote: > > I'd go with RDEPEND only. Any other interpretation results in > > installing build-time-only packages along with a binpkg, which > > doesn't seem to make sense. > > That's definitely not what we want. Only a package's DEPENDs have to be > installed and usable when that package is built. Its RDEPENDs don't > have to be installed until that package is treated as usable. I previously failed to clarify the situation I preferred because either 1 or 2b qualify as requiring RDEPEND to be installed. My interpretation is pkg_* counts as runtime (I can imagine a package wanting to run itself at this point), so packages in RDEPEND should be usable at that point. Really, it seems to be an additional type of dependency that neither DEPEND or RDEPEND fully describe, and this DEPEND+RDEPEND idea isn't quite capturing it either. I say this because I wouldn't want everything in DEPEND installed with a binpkg so it can run pkg_*, and I also can see how some people wouldn't consider a package in a runnable state until pkg_* have finished (so thus RDEPEND shouldn't be required). > For why this matters: > > cat/a-1: RDEPEND cat/b > cat/b-1: RDEPEND cat/a > > This is solvable. If package managers can't solve this, they can't > install Gnome off a stage 3... Dealing with this under my interpretation is a bit weird. I think it might need some sort of staging area. That's one reason I mentioned the additional dep type. Thanks, Donnie -- gentoo-dev@lists.gentoo.org mailing list