Skip to contentSkip to conversation

systemd: add missing libucontext dependency on musl

PATCH New Ross Burton 1 participant 2 messages Aug 7

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 systemd: add missing libucontext dependency on musl

This library is needed when building with musl since v261[1].

[1] systemd 8533513aff ("Introduce support for running code in fibers")

---
 meta/recipes-core/systemd/systemd_261.2.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/systemd/systemd_261.2.bb +1 -0
index b295a69548f..80e1aa07d17 100644
@@ -5,6 +5,7 @@ PROVIDES = "udev"
 PE = "1"
 
 DEPENDS = "gperf-native libcap util-linux python3-jinja2-native"
+DEPENDS:append:libc-musl = " libucontext"
 
 SECTION = "base/shell"
 
Signature · 1 line
2.43.0
#1 lore raw

PATCH v2 2/2 python3-numpy: remove HOSTTOOLS_DIR from __config__.py

If ccache is enabled then HOSTTOOLS_DIR ends up in __config__.py, so remove that path too.

---
 meta/recipes-devtools/python/python3-numpy_2.5.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-devtools/python/python3-numpy_2.5.1.bb +3 -1
index 88786dc0168..e700222126d 100644
@@ -29,10 +29,12 @@ do_install:append() {
     sed -i \
         -e 's|${S}=||g' \
         -e 's|${B}=||g' \
+        -e 's|${HOSTTOOLS_DIR}||g' \
         -e 's|${RECIPE_SYSROOT_NATIVE}=||g' \
         -e 's|${RECIPE_SYSROOT_NATIVE}||g' \
         -e 's|${RECIPE_SYSROOT}=||g' \
-        -e 's|${RECIPE_SYSROOT}||g' ${D}${PYTHON_SITEPACKAGES_DIR}/numpy/__config__.py
+        -e 's|${RECIPE_SYSROOT}||g' \
+        ${D}${PYTHON_SITEPACKAGES_DIR}/numpy/__config__.py
 
     nativepython3 -mcompileall -s ${D} ${D}${PYTHON_SITEPACKAGES_DIR}/numpy/__config__.py
 }
Signature · 1 line
2.43.0