From cce9a3b9373722702973fdeaef31cf78db04f3cd Mon Sep 17 00:00:00 2001 From: Gyorgy Sarvari Date: Sat, 14 Mar 2026 13:40:46 +0100 Subject: [PATCH] bcc: add missing build dependency Without xz present, compilation fails with the following error: | <...>/x86_64-oe-linux-ld: warning: liblzma.so.5, needed by <...>/libbcc.so, not found (try using -rpath or -rpath-link) | <...>/x86_64-oe-linux-ld: <...>/libbcc.so: undefined reference to `lzma_code@XZ_5.0' | <...>/x86_64-oe-linux-ld: <...>/libbcc.so: undefined reference to `lzma_end@XZ_5.0' | <...>/x86_64-oe-linux-ld: <...>/libbcc.so: undefined reference to `lzma_stream_decoder@XZ_5.0' | collect2: error: ld returned 1 exit status Signed-off-by: Gyorgy Sarvari Signed-off-by: Khem Raj --- .../meta-python/recipes-devtools/bcc/bcc_0.35.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/dynamic-layers/meta-python/recipes-devtools/bcc/bcc_0.35.0.bb b/meta-oe/dynamic-layers/meta-python/recipes-devtools/bcc/bcc_0.35.0.bb index 4051d7fe11..6e821cca7a 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-devtools/bcc/bcc_0.35.0.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-devtools/bcc/bcc_0.35.0.bb @@ -13,6 +13,7 @@ DEPENDS += "bison-native \ clang \ libbpf \ python3-setuptools-native \ + xz \ " RDEPENDS:${PN} += "bash python3 python3-core python3-setuptools xz"