[yocto] pkg-config does not find "luajit" since upgrade to sumo

Clemens Eisserer linuxhippy at gmail.com
Fri Mar 29 05:48:37 PDT 2019


Hi Burton,

Indeed, the luajit package contained the luajit.pc file as expected.

The issue was the _$PN appended to DEPENDS, when I removed it the build
succeeded:
changing DEPENDS_${PN} = "luajit" to DEPENDS = "luajit" did the trick.

However, I am still puzzled what happens here and why it worked before.

Br, Clemens




Am Fr., 29. März 2019 um 11:23 Uhr schrieb Burton, Ross <
ross.burton at intel.com>:
>
> All I can say is stop digging around random paths and actually ask the
> system the questions you need answers to.
>
> - Does my recipe depend on luajit.
> Check that you have DEPENDS=luajit.
>
> - What files does luajit ship.
> $ oe-pkgdata-util list-pkg-files -p luajit
> Does that include a /usr/lib/pkgconfig/luajit.pc?
>
> Ross
>
> On Fri, 29 Mar 2019 at 00:55, Clemens Eisserer <linuxhippy at gmail.com>
wrote:
> >
> > Hello Burton,
> >
> > > Check what luajit is shipping and compare that to what the pkgconfig
> > > is looking for.  Calling pkgconfig directly in your recipe's devshell
> > > is useful for this.
> >
> > Thanks for the hint regarding the devshell.
> >
> > Indeed, pkgconfig can not find luajit in the devshell - the path
> > specified as PKG_CONFIG_PATH is:
> >
build/tmp-angstrom-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/xpcompiler/0.1-r0/recipe-sysroot/usr/lib/pkgconfig
> > - however the folder pkgconfig does not even exist in there.
> >
> > Inside work/armv7.../ there is also a luajit directory, and there I
> > was able to find the pc-file:
> > /2.0.5-r0/sysroot-destdir/usr/lib/pkgconfig/luajit.pc
> >
> > So i wonder, are there some extra steps required to make the luajit
> > sysroot-destdir visible to luajit's recipe-sysroot?
> >
> > Thanks & br, Clemens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190329/853075e1/attachment.html>


More information about the yocto mailing list