From a62bdee61253e9556e746c479eb2c7f16452d830 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 23 Dec 2025 22:01:58 +0100 Subject: [PATCH] package/bpftrace: add host-vim as a dependency, for xxd Since the bump of bpftrace to version 0.24.2 in Buildroot commit 97e2f63bdf4cc992787c570b17b099c41c5535d2, the build of bpftrace fails with: CMake Error at cmake/Embed.cmake:3 (find_program): Could not find XXD using the following names: xxd Call Stack (most recent call first): src/stdlib/CMakeLists.txt:1 (include) This is due to upstream commit df21d917d9cced77ebde1202c1b3508a169f46a0, which was merged in 0.24.0. There are no autobuilder failures for this issue at this point, but the following defconfig exhibits the issue (of course on a host where xxd is not installed system-wide): BR2_aarch64=y BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y BR2_PACKAGE_BPFTRACE=y Signed-off-by: Thomas Petazzoni Signed-off-by: Julien Olivain --- package/bpftrace/bpftrace.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/bpftrace/bpftrace.mk b/package/bpftrace/bpftrace.mk index 4d7033eb9a..7b1b41781a 100644 --- a/package/bpftrace/bpftrace.mk +++ b/package/bpftrace/bpftrace.mk @@ -15,6 +15,7 @@ BPFTRACE_DEPENDENCIES = \ elfutils \ host-bison \ host-flex \ + host-vim \ libbpf \ llvm \ xz