Package xkbcommon was not found in the pkg-config search path. when building Yocto image
<p>On Ubuntu 14.04</p>

<pre><code>$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:    14.04
Codename:   trusty
</code></pre>

<h2>Building a <strong>Yocto Poky</strong> image using the <strong>fido</strong> branch</h2>

<pre><code>inherit core-image
IMAGE_FEATURES += "x11-base x11-sato package-management ssh-server-dropbear"
IMAGE_INSTALL += "chromium \
                  lsb \
                  kernel-modules \
                  alsa-utils \
</code></pre>

<h2>... and I am getting this sort of message</h2>

<p>I look like it related to the Chromium recipe <code>/meta-browser/recipes-browser/chromium/chromium_45.0.2454.85.bb</code> which starts as such</p>

<pre><code>include chromium.inc

DESCRIPTION = "Chromium browser"
DEPENDS += "libgnome-keyring"
</code></pre>

<p>and I get this message</p>

<pre><code>ERROR: Logfile of failure stored in: /home/joel/yocto/build-fido/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/chromium/45.0.2454.85-r0/temp/log.do_configure.28622
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| Updating projects from gyp files...
| Package xkbcommon was not found in the pkg-config search path.
| Perhaps you should add the directory containing `xkbcommon.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'xkbcommon' found
| gyp: Call to 'pkg-config --cflags xkbcommon' returned exit status 1.
| WARNING: exit code 1 from a shell command.
</code></pre>

<h1>What I have tried</h1>

<h2>Installed the library</h2>

<pre><code>$ sudo apt-get install libxkbcommon-x11-dev
</code></pre>

<h2>Search for <code>xkbcommon.pc</code></h2>

<pre><code>$ apt-file search xkbcommon.pc
libxkbcommon-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/xkbcommon.pc
</code></pre>

<h2>pkg-config</h2>

<pre><code>joel@linux-Lenovo-G50-70:~/yocto/build-fido$ pkg-config --cflags xkbcommon
               &lt;=== Return is EMPTY (?)
joel@linux-Lenovo-G50-70:~/yocto/build-fido$ pkg-config --libs xkbcommon
-lxkbcommon    &lt;=== Looks correct
</code></pre>

<h2>Added <code>PKG_CONFIG_PATH</code></h2>

<pre><code> $ PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/x86_64-linux-gnu/pkgconfig/
 $ export PKG_CONFIG_PATH


 $ env | grep PKG
 PKG_CONFIG_PATH=:/usr/lib/x86_64-linux-gnu/pkgconfig/
</code></pre>

<p>but I am still getting the same message when running <code>bitbake</code></p>

<p>Any suggestions?</p>

<h2>Find <code>xkbcommon</code></h2>

<pre><code>$ find /usr/lib/ -name *xkbcommon*
/usr/lib/x86_64-linux-gnu/libxkbcommon.so
/usr/lib/x86_64-linux-gnu/libxkbcommon.so.0.0.0
/usr/lib/x86_64-linux-gnu/libxkbcommon-x11.so.0.0.0
/usr/lib/x86_64-linux-gnu/libxkbcommon-x11.a
/usr/lib/x86_64-linux-gnu/libxkbcommon.a
/usr/lib/x86_64-linux-gnu/libxkbcommon-x11.so.0
/usr/lib/x86_64-linux-gnu/libxkbcommon-x11.so
/usr/lib/x86_64-linux-gnu/pkgconfig/xkbcommon.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/xkbcommon-x11.pc
/usr/lib/x86_64-linux-gnu/libxkbcommon.so.0
</code></pre>