[yocto] RDEPENDS on package does not include package in rootfs
Paul Eggleton
paul.eggleton at linux.intel.com
Thu Aug 17 02:27:13 PDT 2017
Hi Matthias,
On Thursday, 17 August 2017 8:43:41 PM NZST Dr. Matthias Schöpfer wrote:
> Here is my problem, maybe I misunderstood something. I have a library
> recipe, lets name it foo, that DEPENDS on mosquitto from
> meta-intel-iot-middleware. I added a RDEPENDS_${PN} += " libmosquitto1
> ", as the mosquitto package adds this extra package for the mosquitto
> library, that library foo depends on. Then I have my app "bar", that
> depends on "foo". "bar" is added to the image recipe. The rootfs is
> missing out the package libmosquitto1, and therefore missing the
> mosquitto library. Workaround is to add libmosquitto explicitly to the
> Image recipe, but as I understand, this should not me necessary.
Something is odd here because if your foo library links to libmosquitto1.so.1 then it should already get a runtime dependency on the libmosquitto1 package without you needing to add it. I would perhaps suggest looking at pkgdata - bitbake -e foo | grep PKGDATA_DIR and then look in runtime/foo under that and see what RDEPENDS is indicated in there.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the yocto
mailing list