Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/bpftrace: add host-vim as a dependency, for xxd
@ 2025-12-23 21:01 Thomas Petazzoni via buildroot
  2025-12-26 19:51 ` Julien Olivain via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-12-23 21:01 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Petazzoni, Qais Yousef, Romain Naour

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>
---
 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
-- 
2.52.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH] package/bpftrace: add host-vim as a dependency, for xxd
  2025-12-23 21:01 [Buildroot] [PATCH] package/bpftrace: add host-vim as a dependency, for xxd Thomas Petazzoni via buildroot
@ 2025-12-26 19:51 ` Julien Olivain via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Julien Olivain via buildroot @ 2025-12-26 19:51 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: buildroot, Qais Yousef, Romain Naour

On 23/12/2025 22:01, Thomas Petazzoni via buildroot wrote:
> 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>

Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-12-26 19:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-23 21:01 [Buildroot] [PATCH] package/bpftrace: add host-vim as a dependency, for xxd Thomas Petazzoni via buildroot
2025-12-26 19:51 ` Julien Olivain via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox