Bug 16375

Summary: core-image-weston requires pam DISTRO_FEATURE
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Gyorgy Sarvari <skandigraun>
Component: coreAssignee: Unassigned <unassigned>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, randy.macleod
Version: unspecified   
Target Milestone: 6.1 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Gyorgy Sarvari 2026-07-27 06:45:09 UTC
It isn't possible to build core-image-weston out of the box (even though it is a recommended target after setting up the build env), because it requires the non-default "pam" DISTRO_FEATURE:


```
$ bitbake core-image-weston
Loading cache: 100% |#########################################################################################################################| Time: 0:00:00
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |#######################################################################################################################| Time: 0:00:11
Parsing of 950 .bb files complete (0 cached, 950 parsed). 1978 targets, 49 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'weston-xwayland' (but /cocto/aaa/oe-core/meta/recipes-graphics/images/core-image-weston.bb RDEPENDS on or otherwise requires it)
weston RPROVIDES weston-xwayland but was skipped: using DISTRO 'nodistro', which is missing required DISTRO_FEATURES: 'pam'
NOTE: Runtime target 'weston-xwayland' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['weston-xwayland']
ERROR: Required build target 'core-image-weston' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-weston', 'weston-xwayland']

Summary: There were 2 ERROR messages, returning a non-zero exit code.
```
Comment 1 Randy MacLeod 2026-07-30 14:37:16 UTC
Not clear how to solve this, see discussion thread:
[OE-core] [[PATCHv3] meta: Add pam to the defaults if using systemd
https://lists.openembedded.org/g/openembedded-core/message/240487