2016年7月24日 星期日

ERROR: Nothing RPROVIDES 'libX' (but .../oe-core/meta-Y/recipes/images/Z-image.bb RDEPENDS on or otherwise requires it)

This error occurs when libX is also a output of package P that is specified to be install in target rootfs by Z-image.bb
IMAGE_INSTALL += "libX"

To fix this error, add below lines in P_git.bb
PACKAGES =+ "libX"
FILES_libX = "${libdir}/libX.so*"


ERROR : QA issue : package AAAA rdepends on BBBB-dev

INSANE_SKIP_AAAA += "dev-deps" could be a workaround.


From : Paul Eggleton <paul.eggleton at linux.intel.com>
To : Kilou Zelabia <kilou_zellabia at yahoo.fr> 
Cc : yocto at yoctoproject.org 
Envoyé le : Mercredi 13 juin 2012 12h36
Objet : Re: [yocto] ERROR : QA issue : package AAAA rdepends on BBBB-dev
 
On Wednesday 13 June 2012 09:38:32 Kilou Zelabia wrote:
> What does this mean ? Why it is forbidden to have a run-time dependency on a
> "-dev" package ?

Because that's usually not correct. The -dev package includes headers and 
other development files for the target. Is that really what package AAAA needs 
at runtime?

> I'v seen some recipes setting INSANE_SKIP to "1" can this helps ?

You would need to use INSANE_SKIP_AAAA += "dev-deps". But I would encourage 
you to verify that this is what you really need before doing it.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre