On Mon, Dec 2 2024 at 10:01:02 +01:00:00, Mathieu Dubois-Briand <[email protected]> wrote:
ERROR: Nothing PROVIDES 'libpam' (but /srv/pokybuild/yocto-worker/check-layer/build/meta/recipes-devtools/pam-wrapper/pam-wrapper_1.1.7.bb DEPENDS on or otherwise requires it) libpam was skipped: one of 'pam systemd' needs to be in DISTRO_FEATURES ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'pam-wrapper', 'libpam']

<https://valkyrie.yoctoproject.org/#/builders/27/builds/566/steps/11/logs/stdio>

Can you have a look at this issue, please ?

Hi,
I've been testing a patch for a few days that should also fix this problem. In libpam the autotools buildsystem was removed. This patch switches to meson. The pam recipe was split into two parts and now compiles twice. First only the libs are packaged and then the libpam modules. This breaks a dependency loop and it is now possible to link against systemd and enable 'logind' support for the modules.

The patch is invasive, but my tests so far are promising. It compiles for x86-64/arm/arm64 and mutlilib and it seems to fix the build for libpam-native (and this missing DISTRO_FEATURES issue). And, although not yet compilable, it also reduces the dependency loops between systemd<->shadow

One file is still packed into libpam-modules. This should be moved to the appropriate module, but I'm not sure what the /run/sepermit directory is needed for. There is also a patch added that fixes a problem in meson when checking for keyring. But when I wanted to send it upstream, I saw that the problem was already solved and submitted nicer by Alexander Kanavin

The ptest part is also still missing. When xtests is enabled, the tests compile without errors, but by default they are neither built nor installed. So I wanted to ask first, what of this is still needed? I will therefore send the patch as RFC for review

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#208135): 
https://lists.openembedded.org/g/openembedded-core/message/208135
Mute This Topic: https://lists.openembedded.org/mt/109845617/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to