| Summary: | core-image-basic outputs that PAM might not work correctly | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Cristian Iorga <cristian.iorga> |
| Component: | configuration | Assignee: | Cristian Iorga <cristian.iorga> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Low | CC: | razvanx.ionescu, sgw |
| Version: | 1.6 | ||
| Target Milestone: | 1.6 M5 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Cristian Iorga
2013-07-29 14:38:45 UTC
poky version: master commit 67864ca79da08df752487a3a4e1a975546da123d. On a initial investigation seems that: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b5c49e6032a05f1c452010010f97b81d9100196f is related. Reverting this patch makes the issue go away. I might be wrong. Something in core-image-basic is requiring PAM when pam is disabled, pam is only enabled for LSB based builds, so using bitbake -g -u depexp might show what is depending on pam and this should be setup to use PACKAGECONFIG See prior comment for commit I can reproduce the bug using: poky: 1cf75b5fd35026f90fb606897d4cb902ff0d960c . Also, the command bitbake -g -u depexp returns an error stating: NameError: global name 'logger' is not defined It is hapenning also on a newer poky, such as: dora:a02280f99f05b1c21de2a78de9222a2f62a0dabc (1.5 M5 RC6). I see what happened, I already had a libpam built so it did not warn me on subsequent runs. If I cleansstate between runs I found the issue again, turns out libuser has a hard depenedency on libpam, so I have a fix for that now. Reopened the issue, issue is still reproducible while building a core-image-lsb: bitbake core-image-lsb Loading cache: 100% |########################################################################################################################################################################| ETA: 00:00:00 Loaded 1216 entries from dependency cache. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.21.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-13.10" TARGET_SYS = "x86_64-poky-linux" MACHINE = "qemux86-64" DISTRO = "poky" DISTRO_VERSION = "1.5+snapshot-20140324" TUNE_FEATURES = "m64 core2" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "YB5795:24979a1f7ecc155cf36f61ffb2d2a32c2fb64734" NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks WARNING: Building libpam but 'pam' isn't in DISTRO_FEATURES, PAM won't work correctly Present in: poky master HEAD: commit 24979a1f7ecc155cf36f61ffb2d2a32c2fb64734. My re-open of the issue was a mistake, because building a proper core-image-lsb requires setting accordingly the distro, which in case of core-image-lsb is: DISTRO = "poky-lsb" I didn't do that config, as such I received the proper warning: "WARNING: Building libpam but 'pam' isn't in DISTRO_FEATURES, PAM won't work correctly". Which is correct. Regards, Cristian |