[OE-core] Nothing provides libxcb-*

Richard Purdie richard.purdie at linuxfoundation.org
Fri Sep 14 12:16:13 UTC 2012


On Fri, 2012-09-14 at 13:09 +0100, Jack Mitchell wrote:
> I am trying to use the package libxcb-xfixes in a recipe however when I 
> add 'libxcb-xfixes' to DEPENDS I get the error that nothing provides 
> libxcb-xfixes however the libxcb package clearly has it in the PACKAGES 
> variable
> 
> recipes-graphics/xcb/libxcb.inc:PACKAGES =+ "libxcb-composite 
> libxcb-damage libxcb-dpms libxcb-glx \
> recipes-graphics/xcb/libxcb.inc: libxcb-randr libxcb-record 
> libxcb-render libxcb-res \
> recipes-graphics/xcb/libxcb.inc: libxcb-screensaver libxcb-shape 
> libxcb-shm libxcb-sync \
> recipes-graphics/xcb/libxcb.inc: libxcb-xevie libxcb-xf86dri 
> libxcb-xfixes libxcb-xlib \
> recipes-graphics/xcb/libxcb.inc: libxcb-xprint libxcb-xtest libxcb-xv 
> libxcb-xvmc \
> recipes-graphics/xcb/libxcb.inc: libxcb-dri2"
> 
> I have also tried using others in this package list to no avail, can 
> anybody comment on how I should be using these packages?

You're mixing up the build time and runtime namespaces. You would add
DEPENDS = "libxcb" or RDEPENDS_${PN}-xxx = "libxcb-xfixes". 

DEPENDS is build time and you use PN

RDEPENDS/RRECOMMENDS/R* is runtime and values from PACKAGES

Cheers,

Richard










More information about the Openembedded-core mailing list