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 2878B13827E for ; Tue, 10 Dec 2013 21:07:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 511ADE0B3F; Tue, 10 Dec 2013 21:06:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5DDD5E0B31 for ; Tue, 10 Dec 2013 21:06:56 +0000 (UTC) Received: from [192.168.1.145] (CPE002401f30b73-CM001cea3ddad8.cpe.net.cable.rogers.com [99.224.181.112]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: axs) by smtp.gentoo.org (Postfix) with ESMTPSA id 7251B33FD3F for ; Tue, 10 Dec 2013 21:06:55 +0000 (UTC) Message-ID: <52A7826B.6090905@gentoo.org> Date: Tue, 10 Dec 2013 16:06:51 -0500 From: Ian Stakenvicius User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 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 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Dependencies default to accept any slot value acceptable (:*), can we default to :0 instead? References: <20131208175612.2b8c7e38@TOMWIJ-GENTOO> <201312081819.40449.dilfridge@gentoo.org> <21156.50471.613516.395616@a1i15.kph.uni-mainz.de> <21156.53244.886349.924357@a1i15.kph.uni-mainz.de> <20131208212159.0a49761f@TOMWIJ-GENTOO> In-Reply-To: <20131208212159.0a49761f@TOMWIJ-GENTOO> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 84710627-0ca9-4548-a66f-0107ba93e315 X-Archives-Hash: 254b970099b44b04f7e1841e96f94fdd -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 08/12/13 03:21 PM, Tom Wijsman wrote: > On Sun, 8 Dec 2013 21:01:00 +0100 Ulrich Mueller > wrote: > >>>>>>> On Sun, 8 Dec 2013, Rich Freeman wrote: >> >>> Sure it does - it defaults to :* when :* was never specified. >>> I don't see how defaulting to :0= is a "policy" any more than >>> :* is. >> >> Defaulting to :* is just the long term behaviour from EAPIs 0 to >> 4 when no slot operator was specified. > > Which section in the PMS is this specified? > >> This is consistent with what we haved for versioned >> dependencies. When you don't specify a version, then all versions >> are good. > > Good idea. > >> Similarly, when you don't specify a slot, then all slots are >> good. > > Not so good idea; because if all slot would be good by default, > then why have slots in the first place? Are we using SLOT right at > all? > SLOT allows multiple versions of a package to be installed concurrently. In the case of libraries or dependencies, this supports the specific case where certain ebuilds only support a particular SLOT. However, that doesn't mean that all packages need to be tied to one slot or another. It should be noted here that this discussion is revolving entirely around multi-SLOT libraries. Firstly, there are packages like dev-db/postgresql that use SLOTs not just for library provision. Secondly, SLOT= on the libraries being discussed may not actually be the correct method to deal with this at all, and rather, these libs should be using a subslot and the rdeps be using an upper-bound version on dependency atoms to limit which dependency it can be used with--it all depends on whether the library maintainer intends to support both major versions in the long term or not. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlKngmsACgkQ2ugaI38ACPCfxwD/YifeWm+rrAN1om9HP41ATO6Z pqKChxQaayjzfWtKyeMA/2K9AJFvhowBSKHBatAilfWGuI2L25dMHFidOxzLpZX3 =KW2i -----END PGP SIGNATURE-----