From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C5E6D138010 for ; Fri, 7 Sep 2012 19:52:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0931421C092; Fri, 7 Sep 2012 19:51:43 +0000 (UTC) Received: from amun.cheops.ods.org (amun.cheops.ods.org [83.161.135.166]) by pigeon.gentoo.org (Postfix) with ESMTP id 176D421C072 for ; Fri, 7 Sep 2012 19:50:07 +0000 (UTC) Received: from nut.cheops.ods.org ([2001:888:1022:0:ca2a:14ff:fe35:7a00] helo=gentoo.org) by amun.cheops.ods.org with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from ) id 1TA4Z2-0008VJ-JS for gentoo-dev@lists.gentoo.org; Fri, 07 Sep 2012 21:50:06 +0200 Date: Fri, 7 Sep 2012 21:50:03 +0200 From: Fabian Groffen To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: sub-slots (for EAPI 5) Message-ID: <20120907195003.GZ5282@gentoo.org> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <1338845178.23212.1.camel@belkin4> <20120906090144.GS74867@gentoo.org> <5048A461.6080903@gentoo.org> <20120907171308.GP5282@gentoo.org> <504A341C.1080207@gentoo.org> <20120907181717.GS5282@gentoo.org> <504A44F4.2020104@gentoo.org> <20120907192522.GW5282@gentoo.org> <20120907203602.2b089ad4@googlemail.com> 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; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rfCqmLcWnxF2yz6F" Content-Disposition: inline In-Reply-To: <20120907203602.2b089ad4@googlemail.com> User-Agent: Mutt/1.5.21 (Darwin 11.4.0, VIM - Vi IMproved 7.3) Organization: Gentoo Foundation, Inc. X-Content-Scanned: by amun.cheops.ods.org (Exim Exiscan) using SpamAssassin and ClamAV X-Archives-Salt: 1be3f98a-ddc9-49e3-9e71-0f0b1f41c950 X-Archives-Hash: 88b8baaa56bb1aba69f02b002df3345e --rfCqmLcWnxF2yz6F Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 07-09-2012 20:36:02 +0100, Ciaran McCreesh wrote: > The correct fix for "not needing to rebuild" stuff is to SLOT libraries > like crazy, and have a SLOT per thing-we-don't-call-ABI. This then > needs :=3D dependencies, so that packages can say "and remember which > SLOT I was built against". >=20 > However, there are some packages that cannot easily be SLOTted to the > degree that we'd like. This is where sub-SLOTs come in. Given > sub-SLOTted packages dep:1/a and dep:1/b, this says "I'd like to have > slots 1a and 1b, but it's too difficult to allow 1a and 1b to be > installed at the same time". >=20 > So suppose the user has pkg with a dependency upon dep, with slot 1 and > a :=3D operator. They install pkg when dep:1/a is installed. The user > then installs dep:1/b. In an ideal world, dep:1/a would remain > installed in parallel with dep:1/b, but your friendly Gentoo developers > have decided it's not worth their time to allow this. Thus, dep:1/a has > to be uninstalled to allow dep:1/b to be installed. But this would > break pkg, since pkg needs dep:1/a. However, a clever dependency > resolver can note that reinstalling pkg would fix it, since dep:1/b > also satisfies pkg's slot 1 :=3D dependency (but not the locked 1/a > dependency that the installed version of pkg has picked up). Thanks. It seems we're there. At last. --=20 Fabian Groffen Gentoo on a different level --rfCqmLcWnxF2yz6F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (Darwin) iEYEARECAAYFAlBKT+sACgkQX3X2B8XHTomOrQCfZmX0fJFQCZhFDAxryUMYQPR0 R+oAn31y0JFbdY9udGX8l5PW65gDIakN =kLQf -----END PGP SIGNATURE----- --rfCqmLcWnxF2yz6F--