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 <[email protected]>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)
_______________________________________________
Openembedded-architecture mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-architecture

Reply via email to