summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/networking-layer
diff options
context:
space:
mode:
authorgael.portay+rtone@gmail.com <gael.portay+rtone@gmail.com>2024-10-25 10:22:34 +0200
committerArmin Kuster <akuster808@gmail.com>2024-11-24 20:19:50 -0500
commit12c579449c1e84f570697940b405e84a07dbe1a7 (patch)
treea42f3f1ce27a7a28748dc0622634d99dea0c3c46 /dynamic-layers/networking-layer
parent29c1e8f0b6a4bc0811b0ac6500a4e432910465dc (diff)
downloadmeta-security-12c579449c1e84f570697940b405e84a07dbe1a7.tar.gz
sssd: fix ac_cv_prog_HAVE_PYTHON3 value
The variable HAVE_PYTHON3 expects a boolean value[1] and the configure script raises an error if the option --with-python3-bindings is set and if the value HAVE_PYTHON3 is not "yes"[2]. The recipe sets a non-boolean value to ac_cv_prog_HAVE_PYTHON3 and thus causes the task do_configure to fail. This fixes the value set to ac_cv_prog_HAVE_PYTHON3 by setting it to yes instead of $(PYTHON_DIR). Fixes: | checking for python3... (cached) python3.12 | configure: error: | The program python3 was not found in search path. | Please ensure that it is installed and its directory is included in the search | path. It is required for building python3 bindings. If you do not want to build | them please use argument --without-python3-bindings when running configure. | NOTE: The following config.log files may provide further information. [1]: https://github.com/SSSD/sssd/blob/2.5.2/configure.ac#L323-L325 [2]: https://github.com/SSSD/sssd/blob/2.5.2/configure.ac#L353-L377 Signed-off-by: Gaƫl PORTAY <gael.portay+rtone@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'dynamic-layers/networking-layer')
-rw-r--r--dynamic-layers/networking-layer/recipes-security/sssd/sssd_2.9.2.bb2
1 files changed, 1 insertions, 1 deletions
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 2035cd0..2717e4e 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
@@ -39,7 +39,7 @@ SSSD_UID ?= "root"
39SSSD_GID ?= "root" 39SSSD_GID ?= "root"
40 40
41CACHED_CONFIGUREVARS = "ac_cv_member_struct_ldap_conncb_lc_arg=no \ 41CACHED_CONFIGUREVARS = "ac_cv_member_struct_ldap_conncb_lc_arg=no \
42 ac_cv_prog_HAVE_PYTHON3=${PYTHON_DIR} \ 42 ac_cv_prog_HAVE_PYTHON3=yes \
43 " 43 "
44 44
45PACKAGECONFIG ?= "nss autofs sudo infopipe" 45PACKAGECONFIG ?= "nss autofs sudo infopipe"