@@ -54,7 +54,7 @@ PACKAGECONFIG[manpages] = "--with-manpages, --with-manpages=no, libxslt-native d
PACKAGECONFIG[nl] = "--with-libnl, --with-libnl=no, libnl"
PACKAGECONFIG[nss] = ", ,nss,"
PACKAGECONFIG[oidc_child] = "--with-oidc-child, --without-oidc-child"
-PACKAGECONFIG[python3] = "--with-python3-bindings, --without-python3-bindings python3dir=${PYTHON_SITEPACKAGES_DIR}"
+PACKAGECONFIG[python3] = "--with-python3-bindings, --without-python3-bindings python3dir=${PYTHON_SITEPACKAGES_DIR}, python3-setuptools-native"
PACKAGECONFIG[samba] = "--with-samba, --with-samba=no, samba"
PACKAGECONFIG[selinux] = "--with-selinux, --with-selinux=no --with-semanage=no, libselinux"
PACKAGECONFIG[ssh] = "--with-ssh, --with-ssh=no, "
The Makefile runs setup.py on the target all-local[1]. The file setup.py uses the deprecated module distutils[2]; sssd-2.10.0 has moved to setuptools[3]. This installs python3-setuptools-native to fix the do_compile issue below: Fixes: | Traceback (most recent call last): | File "/home/gportay/src/build/tmp/work/core2-64-poky-linux/sssd/2.9.2/build/src/config/setup.py", line 25, in <module> | from distutils.core import setup | ModuleNotFoundError: No module named 'distutils' [1]: https://github.com/SSSD/sssd/blob/2.9.2/Makefile.am#L5462 [2]: https://github.com/SSSD/sssd/blob/2.9.2/src/config/setup.py.in#L25 [3]: https://github.com/SSSD/sssd/commit/9efd79b010dbb46d9968c3d3ab073b8e585cb2ad Signed-off-by: Gaël PORTAY <gael.portay+rtone@gmail.com> --- .../networking-layer/recipes-security/sssd/sssd_2.9.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)