Skip to contentSkip to conversation

package/bpftrace: add host-vim as a dependency, for xxd

PATCH In review Thomas Petazzoni via buildroot 1 participant 2 messages Dec 23, 2025 – Dec 26, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 package/bpftrace/bpftrace.mk | 1 +
 1 file changed, 1 insertion(+)
package/bpftrace/bpftrace.mk +1 -0
index 4d7033eb9a..7b1b41781a 100644
@@ -15,6 +15,7 @@ BPFTRACE_DEPENDENCIES = \
 	elfutils \
 	host-bison \
 	host-flex \
+	host-vim \
 	libbpf \
 	llvm \
 	xz
Signature · 6 lines
2.52.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 16 lines · Thomas Petazzoni via buildroot

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):

Quoted 7 lines

BR2_aarch64=y
BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y BR2_PACKAGE_BPFTRACE=y

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot