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 1Jnrth-0006vw-3g for garchives@archives.gentoo.org; Mon, 21 Apr 2008 09:01:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18B24E02C3; Mon, 21 Apr 2008 09:01:11 +0000 (UTC) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by pigeon.gentoo.org (Postfix) with ESMTP id ADF96E02C3 for ; Mon, 21 Apr 2008 09:01:10 +0000 (UTC) Received: by fk-out-0910.google.com with SMTP id 18so2357788fkq.2 for ; Mon, 21 Apr 2008 02:01:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; bh=jfj/jOzNj/W0vJzb2j52teu7AXy15nJqwRvNsh/gZfo=; b=OKvc9Ih0VpOHR29xEbhcjHZsT31lB4b0qyEHkfRS7GMIj8Fe2VraGYpR8acmxVdwbcCNHhc7zntv3QAkKlHyi/iO1JEda5qj3d3U7K8RhYeT5uiAexYPbdfVhmHBLq0ih/dCCKL8zEZW/Ah6HkLzkdthO/cwBjPgnlZpTW0WADY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=UjrNpKCXzxuavdPeOeJKJvm38FWq72TDsc0plcY0x6kTysSylxMCDnOMXz7PoOukDFg9CyuieNr5lQshDwatJibx8Os+n6z1fM03PyXcoQcoKNBMmET3tGxmdTm0JXiy1wGaESaCDte+mV2fimqTf4G6qLvorlEfNNt96LYSZ1g= Received: by 10.82.100.1 with SMTP id x1mr10425438bub.84.1208768469473; Mon, 21 Apr 2008 02:01:09 -0700 (PDT) Received: from snowcone ( [213.121.151.206]) by mx.google.com with ESMTPS id u26sm5082633mug.19.2008.04.21.02.01.08 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 21 Apr 2008 02:01:09 -0700 (PDT) Date: Mon, 21 Apr 2008 10:00:45 +0100 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Dependencies that're available at pkg_*inst Message-ID: <20080421100045.76d6a4bc@snowcone> In-Reply-To: <480C55E9.20806@gentoo.org> References: <20080419053116.50e0ffe6@snowcone> <20080419044512.GD29470@supernova> <20080419055420.29ab56e1@snowcone> <20080419052720.GE29470@supernova> <20080419063300.6d2a2525@snowcone> <20080421051727.GA10765@comet> <20080421062306.71998fbf@snowcone> <480C55E9.20806@gentoo.org> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; x86_64-pc-linux-gnu) 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; boundary="Sig_/35c09S9gQpyhlwVIJgvPUkq"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: 252be7a4-7156-4767-917d-6e7df38755b3 X-Archives-Hash: 04a3510225167e71453cadf606635c46 --Sig_/35c09S9gQpyhlwVIJgvPUkq Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 21 Apr 2008 10:52:57 +0200 "Marijn Schouten (hkBst)" wrote: > | cat/a-1 is installed and has RDEPEND cat/b > | cat/a-2 is to be installed and has DEPEND cat/b and RDEPEND =3Dcat/b-2 > | cat/b-1 is installed and has RDEPEND cat/a > | cat/b-2 is to be installed and has DEPEND cat/a and RDEPEND =3Dcat/a-2 > | > | Solve this and enlightenment shall be yours! > | > | Or a headache. >=20 > This problem has the two obvious solutions: either install a-2 and > then b-2 or the other way around. Bzzt, wrong! Once you've installed a-2, you can't install b-2 since it DEPENDs upon cat/a, but cat/a's run dependencies aren't satisfied, so the dependency isn't met. And likewise for the other way around. This problem is nowhere near as simple as you think it is. > But to be relevant to the current discussion you need to specify > whether or not there are any pkg_{pre,post}inst functions. If there > are too many then it becomes unsolvable and is probably a bug, as I > already explained: The package manager can't sanely know whether such functions exist. (It could, theoretically, insanely know, but forcing package managers to be able to work that out really isn't something we want to do.) > | Labels are a cleaner solution to this. But again, we're discussing > | current EAPIs here. >=20 > Labels seems to be another syntax for providing the same information > as I proposed AIUI, i.e. finer-grained deps. Labels do that and a lot more, and without the explosion in number of metadata keys. But they're a different discussion. --=20 Ciaran McCreesh --Sig_/35c09S9gQpyhlwVIJgvPUkq Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQFIDFfD96zL6DUtXhERAvCpAKDQlQAQ+rSz4icm1GdhPIH9ZCIDhACggydZ 7E3uHa5pww2bQpT/kbdkOCc= =0xyM -----END PGP SIGNATURE----- --Sig_/35c09S9gQpyhlwVIJgvPUkq-- -- gentoo-dev@lists.gentoo.org mailing list