[OE-core] libpython2

Richard Purdie richard.purdie at linuxfoundation.org
Wed Apr 11 11:43:52 UTC 2012


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





More information about the Openembedded-core mailing list