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 33BA2138010 for ; Fri, 7 Sep 2012 19:39:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9D3921C040; Fri, 7 Sep 2012 19:38:58 +0000 (UTC) Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id E0132E02FB for ; Fri, 7 Sep 2012 19:38:01 +0000 (UTC) Received: by wgbfm10 with SMTP id fm10so2153603wgb.10 for ; Fri, 07 Sep 2012 12:38:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; bh=ECj3arIyLK6XHuu8CgFR+ZQAofbQVeaahtcrHRaZELY=; b=E5edmN4MqYesdUrwYjM/tc4EVxcCIJz5W80NVZKwc9Z3DIWxM8GNgivzAmiGZVmBAU 3oPv6jX5atTIcARuzXGU/ZssjuUzPsBWyEUgW4qfD3IwvkvLq9BDRfrx9B3SXhI3Ccu5 davp2oGT5He2hLmkctxvgRk+qvNZrA3VBjaWKkTyMFt53PAKygrjHnGGkvG74OjMU24A +hE2k6zIBwPljzhaXze3rkpmFSB09Wk4fnWgHq+QQcKHKBSQ6hgPOpD+8kyb1RVK0xzU cGBS1PSByGgeTXPyiiPrLc6qRKAkxttUcztBjSbDBaDzXFTL/+tP9IOZmImtG7hTVMry JY7Q== Received: by 10.181.13.164 with SMTP id ez4mr348670wid.21.1347046681039; Fri, 07 Sep 2012 12:38:01 -0700 (PDT) Received: from localhost (cpc13-broo7-2-0-cust130.14-2.cable.virginmedia.com. [82.9.16.131]) by mx.google.com with ESMTPS id fr4sm553506wib.8.2012.09.07.12.37.59 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 07 Sep 2012 12:38:00 -0700 (PDT) Date: Fri, 7 Sep 2012 20:36:02 +0100 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: sub-slots (for EAPI 5) Message-ID: <20120907203602.2b089ad4@googlemail.com> In-Reply-To: <20120907192522.GW5282@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> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.11; 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; micalg=PGP-SHA1; boundary="Sig_/9FERn_26QxM5GsKEY/pYeW5"; protocol="application/pgp-signature" X-Archives-Salt: 56b77d33-2a07-4c79-ac60-a29afaf3680b X-Archives-Hash: 15e88513275ebc87c8daaf1739871a0c --Sig_/9FERn_26QxM5GsKEY/pYeW5 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 7 Sep 2012 21:25:22 +0200 Fabian Groffen wrote: > I like that! Kudos for making it work! >=20 > I just wonder what the heck that has to do with SLOT. 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". 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". 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). --=20 Ciaran McCreesh --Sig_/9FERn_26QxM5GsKEY/pYeW5 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlBKTKQACgkQ96zL6DUtXhFAUwCfY91yblDK+MzTQyQ1oZbstNvK EzQAnjrBs+IWrI1EkGngtAck+Ssg7aoY =Gih2 -----END PGP SIGNATURE----- --Sig_/9FERn_26QxM5GsKEY/pYeW5--