From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QVlyw-0006XO-Aq for garchives@archives.gentoo.org; Sun, 12 Jun 2011 14:49:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EAD461C0E1; Sun, 12 Jun 2011 14:49:27 +0000 (UTC) Received: from a1iwww1.kph.uni-mainz.de (a1iwww1.kph.uni-mainz.de [134.93.134.1]) by pigeon.gentoo.org (Postfix) with ESMTP id 8E5231C0E1 for ; Sun, 12 Jun 2011 14:49:26 +0000 (UTC) Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1iwww1.kph.uni-mainz.de (8.14.4/8.13.4) with ESMTP id p5CEnKCu029051; Sun, 12 Jun 2011 16:49:20 +0200 Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.4/8.14.2) with ESMTP id p5CEnKgq002812; Sun, 12 Jun 2011 16:49:20 +0200 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.4/8.14.4/Submit) id p5CEnJdV002811; Sun, 12 Jun 2011 16:49:19 +0200 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Package Manager Specification discussions X-BeenThere: gentoo-pms@gentoo.org X-BeenThere: gentoo-pms@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Message-ID: <19956.53743.875743.420679@a1i15.kph.uni-mainz.de> Date: Sun, 12 Jun 2011 16:49:19 +0200 To: =?iso-8859-2?Q?Micha=B3_G=F3rny?= Cc: gentoo-pms@lists.gentoo.org, Zac Medico , Ciaran McCreesh Subject: Re: [gentoo-pms] Rephrasing *DEPEND In-Reply-To: <20110612151608.06ada65d@pomiocik.lan> References: <20110611093245.5d9d266c@pomiocik.lan> <20110611125341.185e19d9@googlemail.com> <20110612095246.0cbb1d7b@pomiocik.lan> <19956.30321.618030.779038@a1i15.kph.uni-mainz.de> <4DF4833F.7000401@gentoo.org> <20110612151608.06ada65d@pomiocik.lan> X-Mailer: VM 8.1.1 under 23.3.1 (x86_64-pc-linux-gnu) From: Ulrich Mueller Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: a8d635cad80c6063713adf3433e051f3 >>>>> On Sun, 12 Jun 2011, Micha=B3 G=F3rny wrote: >> It would be more accurate to say that it's guaranteed except for >> cases in which circular dependencies make it impossible to >> guarantee. > This or other words, this makes this an unreliable feature. So, > right now, users can't assume anything specific about dependencies > being installed in pkg_*? Currently, PMS only says: "These must be installed and usable before the ebuild is treated as usable." It doesn't say anything about phases. > Doesn't this make it actually impossible to call the installed > application in pkg_postinst()? I've always added such packages that I needed in pkg_postinst() to both DEPEND and RDEPEND. IIRC, a specific merge order in Portage is only guaranteed for DEPEND type dependencies, but not for RDEPEND and PDEPEND. Ulrich