[yocto] Debugging dev-deps

Khem Raj raj.khem at gmail.com
Mon May 13 11:03:15 PDT 2019


also read through
https://wiki.yoctoproject.org/wiki/TipsAndTricks/Packaging_Prebuilt_Libraries

This might be helpful especially  section under Non-versioned Libraries

On Mon, May 13, 2019 at 10:56 AM Burton, Ross <ross.burton at intel.com> wrote:
>
> On Mon, 13 May 2019 at 09:54, Matthias Schoepfer
> <matthias.schoepfer at googlemail.com> wrote:
> > I am trying to write a recipe for a rather tricky component (that has
> > plugins and stuff). Anyhow, I cannot get bitbake not to complain that
> > <PACKAGENAME> rdepends on <PACKAGENAME>-dev. And if I INSANE_SKIP it,
> > the -dev package will get installed. But I cannot figure out which file
> > is responsible. I tried to ldd all installed files in <PACKAGENAME>, but
> > could not get any results. Any hints on how to debug this further?!
>
> The problem is probably that the plugins are being shipped as
> /usr/lib/libpluginfoo.so, and so have the same names as development
> library symlinks which get packaged into PN-dev automatically.
> Alternatively unversioned libraries will also have the same issue.
>
> Look at what files go into what package (using oe-pkgdata-util), and
> ensure that PN-dev only contains headers and the link-time symlinks.
> For example libfoo.so -> libfoo.so.1, libfoo.so should be in PN-dev
> and libfoo.so.1 should be in PN.
>
> Ross
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list