[OE-core] Berkely-DB QA-Test: RPATH error in upon adding configure flag -- db_5.3.{15, 21}.bb

Martin Zenzes martin.zenzes at dfki.de
Mon Feb 25 16:06:05 UTC 2013


Hi,

I'm using the poky/yocto build-system, which are based on 
opembedded-core. Building one of their "vanilla" images works, adding 
the "Berkely DB" without changing it's default settings compiles too. 
But the default-configuration of the Berkely DB is not using the c++ 
interface so:

Upon adding the "--enable-cxx" configure option to the db-recipe I get 
the following "RPATH" error message during the "do_package" stage:

WARNING: QA Issue: db: Files/directories were installed but not shipped
   /usr/lib/libdb_cxx.so
ERROR: QA Issue: package db contains bad RPATH 
/opt/yocto/poky-danny-8.0/gumstix/tmp/sysroots/overo/usr/lib in file 
/opt/yocto/poky-danny-8.0/gumstix/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/db-5.3.15-r8/packages-split/db/usr/lib/libdb_cxx-5.3.so
ERROR: QA Issue: package db contains bad RPATH 
/opt/yocto/poky-danny-8.0/gumstix/tmp/sysroots/overo/usr/lib in file 
/opt/yocto/poky-danny-8.0/gumstix/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/db-5.3.15-r8/packages-split/db/usr/lib/libdb_cxx-5.so
ERROR: QA run found fatal errors. Please consider fixing them.

Happens on the "db_5.3.15.bb" and the "db_5.3.21.bb" recipe as well. 
Overwriting the "do_package_qa()" function in the recipe hides the error...

Any pointers on how to succeed?

Greetings
     Martin




More information about the Openembedded-core mailing list