From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.67) (envelope-from ) id 1IDiud-0006wS-P7 for garchives@archives.gentoo.org; Wed, 25 Jul 2007 15:36:32 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l6PFZ5Ar016583; Wed, 25 Jul 2007 15:35:05 GMT Received: from slimak.dkm.cz (smtp.dkm.cz [62.24.64.34]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l6PFWDoB012763 for ; Wed, 25 Jul 2007 15:32:13 GMT Received: (qmail 15941 invoked by uid 0); 25 Jul 2007 15:32:12 -0000 Received: from r141.net.upc.cz (HELO ?192.168.1.1?) (62.24.83.141) by smtp.dkm.cz with SMTP; 25 Jul 2007 15:32:12 -0000 Message-ID: <46A76D1C.2050301@gentoo.org> Date: Wed, 25 Jul 2007 17:32:44 +0200 From: Vlastimil Babka User-Agent: Thunderbird 2.0.0.5 (X11/20070723) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] New PDEPEND behaviour. References: <200707251408.41171.peper@gentoo.org> <200707251452.02821.carlo@gentoo.org> <20070725142509.GB17517@seldon> <200707251717.24476.carlo@gentoo.org> In-Reply-To: <200707251717.24476.carlo@gentoo.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: b97538c7-5959-425a-b59b-19b309816a68 X-Archives-Hash: b48cef78ec0ded402d1e17e87217719a Carsten Lohrke wrote: > Well, I should point out where I come from. There is no need to install a pure > runtime dependency before the ebuild pulling it in. If pure runtime > dependencies would be handled this way, there would be no need for PDEPEND at > all. I consider the current way Portage handles pure runtime dependencies > (causing the need for the artificial PDEPEND in the first place) as > conceptually broken. There are uses for it: A: RDEPEND="B" B: RDEPEND="A" Here you really don't need PDEPEND because in current portage, pure runtime dependency indeed doesn't have to be satisfied before the ebuild pulling it. But consider this: A: PDEPEND="B" B: DEPEND="A" Here you can't use RDEPEND instead of PDEPEND, because DEPEND="A" says the package must be merged in a working state, thus *with all its RDEPENDs* and thus it would cause circular deps. PDEPEND is a way to relax this for such cases. If this is what you call RDEPEND conceptually broken, then sorry for useles try to explain it :) Maybe package manager could be smart enough and relax the RDEPEND in such cases itself, maybe it's better to say that via PDEPEND explicitly... -- Vlastimil Babka (Caster) Gentoo/Java -- gentoo-dev@gentoo.org mailing list