]> git.feebdaed.xyz Git - 0xmirror/buildroot.git/commitdiff
package/bpftrace: add host-vim as a dependency, for xxd
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 23 Dec 2025 21:01:58 +0000 (22:01 +0100)
committerJulien Olivain <ju.o@free.fr>
Fri, 26 Dec 2025 19:47:30 +0000 (20:47 +0100)
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 <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
package/bpftrace/bpftrace.mk

index 4d7033eb9a05357804275d81c23a7df95072e115..7b1b41781ad6ba31ad2e9750ca3d430c21e6e0ce 100644 (file)
@@ -15,6 +15,7 @@ BPFTRACE_DEPENDENCIES = \
        elfutils \
        host-bison \
        host-flex \
+       host-vim \
        libbpf \
        llvm \
        xz