[Openembedded-architecture] do_populate_sysroot / gpsd-dev package
Harald Welte
laforge at gnumonks.org
Mon Sep 17 15:12:52 UTC 2018
Hi all!
I'm currently facing a problem where I have a package/recipe (gpsdate) which
depends on the header files of another package (gpsd).
* gpsd has a sub-package gpsd-dev into which the header files are installed
* gpsdate recipe has a DEPENDS = "gpsd"
It is my understanding that do_populate_sysroot has the job of installing
all of the packages of DEPENDS into the sysroot before starting compilation.
I was under the impression that this also applies for any sub-packages of
the package to which is depended on?
However, this doesn't seem to work.
* if I set DEPENDS="gpsd", then the header files are not installed
* if I set DEPENDS="gpsd-dev", then 'nothing provides gpsd-dev'
If I manually check the 'recipe-sysroot', then I can confirm
* there is no mention of gpsd or gpsd-dev in sysroot-providers
* there are no gpsd related header files in recipe-sysroot/usr/include
It would be great if somebody could enlighten me about what is the intended
behavior of bitbake/oe in the above-mentioned situations where header files
are in a sub-package but required for building downstream applications.
You can find the gpsd recipe at
http://cgit.openembedded.org/meta-openembedded/plain/meta-oe/recipes-navigation/gpsd/gpsd_3.17.bb
and the gpsdate recipe at
http://git.sysmocom.de/poky/meta-sysmocom-bsp/tree/recipes-extra/gpsdate/gpsdate_git.bb
Thanks in advance for any help.
--
- Harald Welte <laforge at gnumonks.org> http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
More information about the Openembedded-architecture
mailing list