[OE-core] pam related dependency processing bug?
Martin Jansa
martin.jansa at gmail.com
Wed Mar 25 18:30:52 UTC 2015
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 at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150325/88a572dd/attachment-0002.sig>
More information about the Openembedded-core
mailing list