From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SHw6w-0008Cb-G9 for openembedded-core@lists.openembedded.org; Wed, 11 Apr 2012 13:53:19 +0200 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q3BBi0rq007657 for ; Wed, 11 Apr 2012 12:44:00 +0100 Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07356-03 for ; Wed, 11 Apr 2012 12:43:56 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q3BBhqEY007651 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 11 Apr 2012 12:43:53 +0100 Message-ID: <1334144632.10826.167.camel@ted> From: Richard Purdie To: Patches and discussions about the oe-core layer Date: Wed, 11 Apr 2012 12:43:52 +0100 In-Reply-To: <4F843878.2060705@opendreambox.org> References: <4F843878.2060705@opendreambox.org> X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Subject: Re: libpython2 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2012 11:53:19 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Tue, 2012-04-10 at 15:41 +0200, Andreas Oberritter wrote: > Hi, > > bitbake complains: > > "NOTE: multiple providers are available for runtime libpython2 (python, > python-nativesdk) > NOTE: consider defining a PREFERRED_PROVIDER entry to match libpython2" > > That's because I'm building a recipe for a binary that RDEPENDS_${PN} on > libpython2. So I added PREFERRED_PROVIDER_libpython2 = "python" to my > disto.conf, but the warning cited above persists. > > python_2.7.2.bb contains: > > PACKAGES =+ "lib${BPN}2" > ... > BBCLASSEXTEND = "nativesdk" > > Shouldn't it rather create libpython2 and libpython2-nativesdk or > something similar? > > What could be the reason for the warning to persist? python-nativesdk should not be providing libpython2. There is a bug in the packaging somewhere. This usually results in needing to add the PKGSUFFIX mess. I want to get rid of that entirely and switch to the multilib way of handling this with a prefix but it didn't happen in time for 1.2 :(. Cheers, Richard