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 1R3BKk-0003ML-Ur for garchives@archives.gentoo.org; Mon, 12 Sep 2011 18:34:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3505121C123; Mon, 12 Sep 2011 18:34:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 419BD21C086 for ; Mon, 12 Sep 2011 18:32:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id D88291B4019 for ; Mon, 12 Sep 2011 18:32:42 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -4.976 X-Spam-Level: X-Spam-Status: No, score=-4.976 required=5.5 tests=[AWL=1.623, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VVh+i6fZtQUf for ; Mon, 12 Sep 2011 18:32:33 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id B231C1B402F for ; Mon, 12 Sep 2011 18:32:30 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R3BIy-0000dP-Cz for gentoo-user@gentoo.org; Mon, 12 Sep 2011 20:32:28 +0200 Received: from athedsl-377994.home.otenet.gr ([79.131.28.136]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Sep 2011 20:32:28 +0200 Received: from realnc by athedsl-377994.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Sep 2011 20:32:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: package.provided messes up emerging of package slots? Date: Mon, 12 Sep 2011 21:31:59 +0300 Organization: Lucas Barks Message-ID: References: <2382470.FN6qSQUcrF@pc> <2494723.cpEDGkQfFl@pc> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-377994.home.otenet.gr User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110822 Thunderbird/6.0 In-Reply-To: <2494723.cpEDGkQfFl@pc> X-Archives-Salt: X-Archives-Hash: b9197e22144a45752b1f7273595a2311 On 09/12/2011 08:17 PM, Michael Schreckenbauer wrote: > On Monday, 12. September 2011 20:04:47 Nikos Chantziaras wrote: >> On 09/12/2011 07:42 PM, Michael Schreckenbauer wrote: >>> On Monday, 12. September 2011 18:41:37 Nikos Chantziaras wrote: >>>> In my /etc/portage/profile/package.provided, I have this: >>>> media-libs/freetype-1.4_pre20080316-r2 >>>> >>>> When I try to emerge freetype however, instead of emerging the newer >>>> >>>> version, I get: >>>> $ emerge freetype >>>> >>>> WARNING: A requested package will not be merged because it is >>>> listed >>>> >>>> in package.provided: >>>> freetype pulled in by 'args' >>>> >>>> Nothing to merge; would you like to auto-clean packages? >>>> [Yes/No] >>>> >>>> Trying "emerge freetype:2" also won't work. The only only to emerge >>>> it >>>> seems is by using the whole version ("emerge =freetype-2.4.6"). Is >>>> this >>>> a bug? >>> >>> At least it's inconsistent. I would expect that the emerge with complete >>> version also fails. >> >> It's slotted, so it shouldn't fail. Freetype 1 and 2 can be installed >> at the same time. > > Yes, that's true for the packages provided by portage. portage does not know > anything about the freetype you provide, so it shouldn't install any freetype > from any slot by any command. I don't see how it doesn't know anything about it, given that it requires me to list a full package atom in package.provided. So it always knows which version should be considered as being provided.