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 1QDf7Q-0000ah-Id for garchives@archives.gentoo.org; Sat, 23 Apr 2011 15:51:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8EE7C1C026; Sat, 23 Apr 2011 15:51: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 E222E1C013 for ; Sat, 23 Apr 2011 15:51:00 +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 p3NFoxwm007120 for ; Sat, 23 Apr 2011 17:50:59 +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 p3NFowl9013707; Sat, 23 Apr 2011 17:50:58 +0200 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.4/8.14.4/Submit) id p3NFow7i013706; Sat, 23 Apr 2011 17:50:58 +0200 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: text/plain; charset=utf-8 Message-ID: <19890.62818.745958.8683@a1i15.kph.uni-mainz.de> Date: Sat, 23 Apr 2011 17:50:58 +0200 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] reconciling new-style virtuals with overlays In-Reply-To: <20110423155724.040acfc0@googlemail.com> References: <4DB26C3C.8090602@gentoo.org> <4DB2A9CD.7010708@gentoo.org> <20110423123235.1d618818@googlemail.com> <4DB2D3E4.9080005@gentoo.org> <20110423143709.4aa18f6a@googlemail.com> <4DB2E689.3010609@gentoo.org> <20110423155724.040acfc0@googlemail.com> 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: c98947336277e854c5820008c53c1d5f >>>>> On Sat, 23 Apr 2011, Ciaran McCreesh wrote: > On Sat, 23 Apr 2011 16:47:37 +0200 > Ch=C3=AD-Thanh Christopher Nguy=E1=BB=85n wrote: >> What I propose solves the problems that old-style virtuals >> introduce in dependency resolution. What other problems do they >> cause? > DEPEND=3D">=3Dvirtual/blah-2" > DEPEND=3D"virtual/blah[foo]" > DEPEND=3D"!virtual/that-i-provide" > PROVIDE=3D"not-a/virtual" > best_version virtual/blah > The full VDB load required to figure out whether or not a virtual is > installed. Apart from these, information for old-style virtuals is decentralised: It's scattered over all packages providing the virtual, plus several virtuals files in profiles (in January, we had about 60 such files). Obviously it's difficult to keep track of this. When going through the remaining old-style virtuals, I've found examples for all of the following: - virtual provided by packages but not listed in profiles - virtual listed in profiles but not provided by any package - virtuals file in profiles listing a preferred package that doesn't provide the virtual - versioned package atoms for virtuals in profiles - virtual removed long time ago, but some packages still containing forgotten PROVIDE lines and blockers - virtual listed in profiles, but was converted to new-style long ago Besides, if you look at the history of profiles/base/virtuals, you'll see that the last old-style virtuals were added in 2006. I take this as an indication that there's no real need for them. Ulrich