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

Lewis, Nick nick.lewis at usa.g4s.com
Mon Aug 18 10:14:08 UTC 2014


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

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

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140818/141aa1b2/attachment-0002.html>


More information about the Openembedded-core mailing list