Skip to contentSkip to conversation

ltrace: fix unwind PACKAGECONFIG

PATCH New Gyorgy Sarvari 1 participant 1 message Feb 14, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ltrace: fix unwind PACKAGECONFIG

In case unwind PACKAGECONFIG is enabled, do_configure task fails with the following error message:

| configure: error: Cannot enable both --with-libunwind and --with-elfutils

To avoid this error, disable elfutils with this PACKAGECONFIG.

---
 meta-oe/recipes-devtools/ltrace/ltrace_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/ltrace/ltrace_git.bb +1 -1
index a3ddf2a76b..58cfcb2f06 100644
@@ -36,7 +36,7 @@ S = "${WORKDIR}/git"
 inherit autotools
 
 PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
-PACKAGECONFIG[unwind] = "--with-libunwind,--without-libunwind,libunwind"
+PACKAGECONFIG[unwind] = "--with-libunwind --without-elfutils,--without-libunwind,libunwind"
 PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux"
 
 COMPATIBLE_HOST:riscv64 = "null"