Skip to content

"world" builds fail on clevis with oniro distro

Description

Trying to build world fails with an unbuildable dependency error:

ERROR: Nothing PROVIDES 'udisks2' (but [...]/meta-ledge-secure/meta-ledge-secure/recipes-security/clevis/clevis_git.bb DEPENDS on or otherwise requires )
udisks2 was skipped: missing required distro feature 'polkit' (not in DISTRO_FEATURES)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'clevis', 'udisks2`

This is because clevis requires udisks2 which in turn requires polkit DISTRO_FEATURE which we don't enable in oniro distro. This obviously breaks for builds without the required distro feature enabled.

The error was brought in with the latest meta-ledge-secure layer inclusion in oniro: !174 (merged)

Edited by Andrei Gherzan
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information