diff options
| author | gael.portay+rtone@gmail.com <gael.portay+rtone@gmail.com> | 2024-10-25 10:22:37 +0200 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2024-11-24 20:19:50 -0500 |
| commit | db828d9556399719ba0aeb09316894bb4bf9baf9 (patch) | |
| tree | a5268afde29c7aaf2472f733d794a0c6164cc38d | |
| parent | 6d3470db95393ac1241e0431797d821e08a96e01 (diff) | |
| download | meta-security-db828d9556399719ba0aeb09316894bb4bf9baf9.tar.gz | |
sssd: fix missing python3-setuptools-native dependency
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
| -rw-r--r-- | dynamic-layers/networking-layer/recipes-security/sssd/sssd_2.9.2.bb | 2 |
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 6a74a51..a3b1659 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 | |||
| @@ -54,7 +54,7 @@ PACKAGECONFIG[manpages] = "--with-manpages, --with-manpages=no, libxslt-native d | |||
| 54 | PACKAGECONFIG[nl] = "--with-libnl, --with-libnl=no, libnl" | 54 | PACKAGECONFIG[nl] = "--with-libnl, --with-libnl=no, libnl" |
| 55 | PACKAGECONFIG[nss] = ", ,nss," | 55 | PACKAGECONFIG[nss] = ", ,nss," |
| 56 | PACKAGECONFIG[oidc_child] = "--with-oidc-child, --without-oidc-child" | 56 | PACKAGECONFIG[oidc_child] = "--with-oidc-child, --without-oidc-child" |
| 57 | PACKAGECONFIG[python3] = "--with-python3-bindings, --without-python3-bindings python3dir=${PYTHON_SITEPACKAGES_DIR}" | 57 | PACKAGECONFIG[python3] = "--with-python3-bindings, --without-python3-bindings python3dir=${PYTHON_SITEPACKAGES_DIR}, python3-setuptools-native" |
| 58 | PACKAGECONFIG[samba] = "--with-samba, --with-samba=no, samba" | 58 | PACKAGECONFIG[samba] = "--with-samba, --with-samba=no, samba" |
| 59 | PACKAGECONFIG[selinux] = "--with-selinux, --with-selinux=no --with-semanage=no, libselinux" | 59 | PACKAGECONFIG[selinux] = "--with-selinux, --with-selinux=no --with-semanage=no, libselinux" |
| 60 | PACKAGECONFIG[ssh] = "--with-ssh, --with-ssh=no, " | 60 | PACKAGECONFIG[ssh] = "--with-ssh, --with-ssh=no, " |
