Image build, missing dependency? inetutils -> pam

Home Forums General Image build, missing dependency? inetutils -> pam

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17478
    Patrick B.
    Participant

    I’m just rebuilding my image based on 3.3.2 and got this error:

    server_mode.c
    | pam.c:28:32: fatal error: security/pam_appl.h: No such file or directory
    |  # include <security/pam_appl.h>

    during the build of

    ERROR: Task 460 ([..]/layers/meta-openembedded/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb, do_compile) failed with exit code '1'

    Inetutils depends on pam it seems, but the dependency is not expressed in the .bb-file.

    Re-running the build made it work, because by chance pam was built before inetutils.

    How should I properly fix this?

    #17484
    Jeff Hatch
    Keymaster

    Patrick,

    One thing you could try is setting the DEPENDS for pam in the Inetutils bitbake recipe. That should fix the dependency problem.

    Jeff

    #17494
    Patrick B.
    Participant

    Yes, I knew that, but that’s not what I meant.

    How should I fix it, so that others (and Multitech) will benefit from it? Shall I try to upstream it to OpenEmbedded or will you guys do it?

    Patrick.

    #17496
    Jeff Hatch
    Keymaster

    Patrick,

    I checked the krogoth level of Yocto and that dependency is not there. If you want it fixed in the broader openembedded community you will have to push it upstream with them. To get it fixed in mLinux please file a Multitech Support portal case at:

    https://support.multitech.com

    Jeff

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.