From 660f9f1e7f2925fb30db4e420e4f1219431cb7da Mon Sep 17 00:00:00 2001 From: "gael.portay+rtone@gmail.com" Date: Fri, 25 Oct 2024 10:22:35 +0200 Subject: [PATCH] sssd: fix missing python3.X-config script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The configure script checks for the utility python3.X-config to be in $PATH; that script is shipped by the package python3-native. The recipe does not depend on the package python3-native which causes the task do_configure to fail. The recipe inherits from the bbclass python3-dir that does not install the required script to the sysroot. The bbclass python3native inherits from (the already inherited bbclass) python3-dir and it adds the missing dependency to python3-native. This fixes the configure error by "upgrading" the inherit bbclass from python3-dir to python3-native. Fixes: | checking for python3.12-config... no | configure: error: | The program python3.12-config was not found in search path. | Please ensure that it is installed and its directory is included in the search | path. If you want to build sssd without python3 bindings then specify | --without-python3-bindings when running configure. | NOTE: The following config.log files may provide further information. Signed-off-by: Gaƫl PORTAY Signed-off-by: Armin Kuster --- .../networking-layer/recipes-security/sssd/sssd_2.9.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamic-layers/networking-layer/recipes-security/sssd/sssd_2.9.2.bb b/dynamic-layers/networking-layer/recipes-security/sssd/sssd_2.9.2.bb index 2717e4e..16e1c24 100644 --- a/dynamic-layers/networking-layer/recipes-security/sssd/sssd_2.9.2.bb +++ b/dynamic-layers/networking-layer/recipes-security/sssd/sssd_2.9.2.bb @@ -31,7 +31,7 @@ SRC_URI[sha256sum] = "827bc65d64132410e6dd3df003f04829d60387ec30e72b2d4e22d93bb6 UPSTREAM_CHECK_URI = "https://github.com/SSSD/${BPN}/releases" -inherit autotools pkgconfig gettext python3-dir features_check systemd +inherit autotools pkgconfig gettext python3native features_check systemd REQUIRED_DISTRO_FEATURES = "pam"