summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-systemd_235.bb
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2025-11-05 13:07:30 +0800
committerKhem Raj <raj.khem@gmail.com>2025-11-04 23:14:25 -0800
commit9e825eccc933db6912a7a527a015bc708965beee (patch)
tree967119ba324d16ab8957e5c33124a2dcfafd3c18 /meta-python/recipes-devtools/python/python3-systemd_235.bb
parentf884ac26766671f837e679665a766bd57fbeadca (diff)
downloadmeta-openembedded-9e825eccc933db6912a7a527a015bc708965beee.tar.gz
python3-systemd: fix build failure caused by race condition
For now, building python3-systemd sometimes reports error: pyutil.o not found This is because its setup.py is not written in a way to handle race condition. Multiple modules are using the same .c file, resulting in the corresponding .o file generated multiple times. The latest release of python3-systemd is 235, and the latest codes have switched away from setup.py. So we'd better not patch setup.py. Instead, we handle this issue by making its modules compile one by one. It only has 5 modules, so there should be little impact on building time. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-systemd_235.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-systemd_235.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-systemd_235.bb b/meta-python/recipes-devtools/python/python3-systemd_235.bb
index 6b44751df7..269e175cc5 100644
--- a/meta-python/recipes-devtools/python/python3-systemd_235.bb
+++ b/meta-python/recipes-devtools/python/python3-systemd_235.bb
@@ -15,3 +15,6 @@ inherit pypi features_check pkgconfig setuptools3
15REQUIRED_DISTRO_FEATURES = "systemd" 15REQUIRED_DISTRO_FEATURES = "systemd"
16 16
17RDEPENDS:${PN} += "systemd python3-syslog python3-logging python3-syslog" 17RDEPENDS:${PN} += "systemd python3-syslog python3-logging python3-syslog"
18
19# v235's setup.py is not written in a way to avoid race condition
20PARALLEL_MAKE = "-j 1"