[yocto] "bitbake core-image-sato" yields "No package 'gdk-x11-3.0' found" build failure
Burton, Ross
ross.burton at intel.com
Tue Oct 30 04:03:27 PDT 2018
On Tue, 30 Oct 2018 at 03:05, Joe Flowers <joe.flowers at nofreewill.com> wrote:
> Below is the output you requested. gdk-x11-3.0.pc does not seem to exist.
>
> Below, should that be "wandboard" and not "qemux86" ?
>
> joe at ubuntu:/opt/yocto/build$
> joe at ubuntu:/opt/yocto/build$ oe-pkgdata-util find-path '*/gdk-x11-3.0.pc'
> ERROR: Unable to find pkgdata directory /opt/yocto/build/tmp/pkgdata/qemux86
> joe at ubuntu:/opt/yocto/build$ cd ..
> joe at ubuntu:/opt/yocto$ oe-pkgdata-util find-path '*/gdk-x11-3.0.pc'
> ERROR: Unable to find pkgdata directory /opt/yocto/build/tmp/pkgdata/qemux86
> joe at ubuntu:/opt/yocto$
> joe at ubuntu:/opt/yocto$
> joe at ubuntu:/opt/yocto$ find /opt/yocto -name *.pc* 1> ~/find4.txt 2>/dev/null
> joe at ubuntu:/opt/yocto$ cat ~/find4.txt | grep gdk | grep x11
> joe at ubuntu:/opt/yocto$
Yes, the pkgdata directory should be wandaboard but you haven't set
that in local.conf (you should), you've been setting it in the
environment so you need to set it in the environment when calling
oe-pkgdata-util (this is why you should set it in local.conf).
Was this after building gtk+3? If I'm reading your build paths
correctly, what is the content of
/opt/yocto/build/tmp/sysroots-components/cortexa9hf-neon-poky-linux-gnueabi/gtk+3/usr/lib/pkgconfig/
Any file on the host isn't what we're after, they're not used in cross
compilation.
Ross
More information about the yocto
mailing list