[OE-core] image build with python fails due to missing berkeley db 5.3

Martin Jansa martin.jansa at gmail.com
Mon Aug 18 10:36:13 UTC 2014


On Mon, Aug 18, 2014 at 11:14:08AM +0100, Lewis, Nick wrote:
> My image build on yocto master fails reporting that python-bsddb cannot be installed as no package provides libdb-5.3.so. On examination it is evident that the "bitbake db" command builds BerkeleyDB 6.0 instead of 5.3
> 
> As an experiment I temporarily renamed the "recipe-support/db_6.0.30.bb" recipe in order to force the "recipe-support/db_5.3.28.bb" recipe to run (I guess there is a proper way to do this with preferred provider but I cannot remember how). The db_5.3.28.bb recipe ran but failed on missing include "#include <iostream.h>" in tmp/work/cortexa9hf-neon-poky-linux-gnueabi/db/5.3.28-r0/db-5.3.28/build_unix/db_cxx.h

PREFERRED_VERSION_db = "5.3.28"

> As an experiment I added "#define HAVE_CXX_STDHEADERS" to the top of this file (I guess I should have made a patch or passed it from the recipe). The db_5.3.28.bb recipe then built okay and the image build stopped complaining about missing libdb-5.3 when installing python-bsddb

I had similar issue with db-4.8* and zeroc-ice, HAVE_CXX_STDHEADERS is
defined by default, when db recipes passes --enable-cxx, then <iostream>
is included instead of iostream.h and zeroc-ice builds ok.

> Does anyone else have this issue? Should python-bsddb be using BerkeleyDB 6.0 now?
> 
> Best Regards
> Nick
> 
> Nick Lewis
> nick.lewis at usa.g4s.com<mailto:nick.lewis at usa.g4s.com>
> +44 1684 277137<tel:+441684277137>
> www.g4stechnology.com<http://www.g4stechnology.com/>
> New Challenge House, International Drive, Tewkesbury, Gloucestershire, GL20 8UQ, UK
> 
> P Please consider the environment before printing this email
> 
> 
> ________________________________
> The details of this company are as follows:
> G4S Technology Limited, Registered Office: Challenge House, International Drive, Tewkesbury, Gloucestershire GL20 8UQ, Registered in England No. 2382338.
> 
> This communication may contain information which is confidential, personal and/or privileged.
> 
> It is for the exclusive use of the intended recipient(s).
> If you are not the intended recipient(s), please note that any distribution, forwarding, copying or use of this communication or the information in it is strictly prohibited.
> 
> Any personal views expressed in this e-mail are those of the individual sender and the company does not endorse or accept responsibility for them.
> 
> Prior to taking any action based upon this e-mail message, you should seek appropriate confirmation of its authenticity.
> 
> This e-mail has been scanned for all viruses by MessageLabs.

> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140818/a4340e66/attachment-0002.sig>


More information about the Openembedded-core mailing list