On Wed, Mar 25, 2015 at 10:39:34AM -0700, Janne Karhunen wrote: > Hi, > > Wonder if you guys can share some insights on how to debug this case. > I have a legacy PAM module recipe that says: > > DEPENDS_${PN} = "libpam" > > 'pam' is listed in DISTRO_FEATURES and is working fine. However, for > that pam module libpam dependency is silently dropped during the > build. If PAM happens to be compiled before that module, everything is > fine, but if not, build fails on missing pam headers. > > To make this interesting, 'bitbake -g -u depexp <module>' shows the > libpam dependency in place - yet it clearly is not there during the > build. Results are the same for both dizzy and daisy and host OS > doesn't seem to make a difference either.
That's because DEPENDS_${PN} doesn't mean anything you should be using DEPENDS (only RDEPENDS, RPROVIDES, RREPLACES, RCONFLICTS variables are package specific and end with _<package-name> e.g. _${PN}) > > > -- > Janne > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
signature.asc
Description: Digital signature
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core