Bug 16375 - core-image-weston requires pam DISTRO_FEATURE
Summary: core-image-weston requires pam DISTRO_FEATURE
Status: NEW
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 6.1 M3
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2026-07-27 06:45 UTC by Gyorgy Sarvari
Modified: 2026-07-30 14:37 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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