OE, bitbake and dependencies

Alastair Johnson alastair at truebox.co.uk
Thu Oct 9 12:27:07 CEST 2008


Michael 'Mickey' Lauer wrote:
> Am Mittwoch, den 08.10.2008, 16:09 +0100 schrieb Alastair Johnson:
>> I'm trying to build linphone in the fso-testing tree created by the FSO 
>> Makefile and I'm having dependency issues. linphone-1.6.0 requires 
>> libosip2-2.2.2 to build cleanly, and won't build with libosip2-3.1.0 but 
>> bitbake insists on using 3.1.0. Following Gentoo practice I tried using 
>>   <=libosip2-2.2.2 in DEPENDS and RDEPENDS but this just gives me:
>>
>> Missing or unbuildable dependency chain was: ['linphone', 
>> '<=libosip2-2.2.2']
> 
> To select among multiple providees w/ different names, use
> PREFERRED_PROVIDER_foo = bar.
> To select among multiple providees w/ different versions, use
> PREFERRED_VERSION_foo = bar.
> 
> Hope that helps,
> 
> :M:

Sort of. According to example 4.7 in 
http://bitbake.berlios.de/manual/ch04s02.html this needs setting in a 
.conf file not in the .bb file. I've set it in local.conf and bitbake 
now builds the right version, though it looks like I've got some 
cleaning up to do as linphone still seems to try linking against the 
wrong version. This doesn't seem like the best place for dependency 
information though since it separates the dependency information from 
the package that has the dependency. Can I put this in the .bb file, or 
is there another config file I should be using?



More information about the devel mailing list