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 1Jn4ww-0000Jb-3v for garchives@archives.gentoo.org; Sat, 19 Apr 2008 04:45:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F404DE04DA; Sat, 19 Apr 2008 04:45:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CCBB6E04DA for ; Sat, 19 Apr 2008 04:45:15 +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 2F37F66F67 for ; Sat, 19 Apr 2008 04:45:15 +0000 (UTC) Date: Fri, 18 Apr 2008 21:45:13 -0700 From: Donnie Berkholz To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Dependencies that're available at pkg_*inst Message-ID: <20080419044512.GD29470@supernova> References: <20080419053116.50e0ffe6@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: <20080419053116.50e0ffe6@snowcone> User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 43dd3e79-4493-45d9-81f4-65559f7d6124 X-Archives-Hash: 98d7480e301fd898874d503cdfa36e16 On 05:31 Sat 19 Apr , Ciaran McCreesh wrote: > I'm rewording the PMS sections on dependencies to avoid permitting > overly lax circular dependency resolution. Which of these wordings is > accurate, given that usable means "has its RDEPENDs installed and > usable"? > > 1. During pkg_preinst and pkg_postinst, any package dependency that is > in both DEPEND and RDEPEND must be installed and usable. > > 2. During pkg_preinst and pkg_postinst, at least one of the following > conditions must be met: > a. every package dependency in DEPEND must be installed and usable > b. every package dependency in RDEPEND must be installed and usable 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. Thanks, Donnie -- gentoo-dev@lists.gentoo.org mailing list