diff mbox series

[meta-oe] bcc: add missing build dependency

Message ID 20260314124046.3326920-1-skandigraun@gmail.com
State New
Headers show
Series [meta-oe] bcc: add missing build dependency | expand

Commit Message

Gyorgy Sarvari March 14, 2026, 12:40 p.m. UTC
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 <skandigraun@gmail.com>
---
 .../meta-python/recipes-devtools/bcc/bcc_0.35.0.bb               | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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"