Files
buildroot/package/strace/Config.in
Bernd Kuhls 2dc34a18e7 package/strace: needs headers >= 5.1
Buildroot commit aa5e3eec63 bumped the
package to version 7.0 which includes commit
33b950714a
that adds an include of linux/time_types.h.

This header file was added in linux kernel version 5.1:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ca5e9aba753ed15d173c7a7b88e4d402b7ca8121

Fixes build errors:

In file included from ../bundled/linux/include/uapi/linux/cgroupstats.h:20:0,
                 from netlink_nlctrl.c:11:
../bundled/linux/include/uapi/linux/taskstats.h:21:30: fatal error:
 linux/time_types.h: No such file or directory

detected by the Gitlab pipelines with the following defconfigs:
- br-arm-full-static
- bootlin-aarch64-glibc-old

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-06-16 18:52:23 +02:00

17 lines
484 B
Plaintext

config BR2_PACKAGE_STRACE
bool "strace"
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 # time_types.h
depends on !BR2_RISCV_32
help
A useful diagnostic, instructional, and debugging tool.
Allows you to track what system calls a program makes
while it is running.
If you want 'strace -k' to work, make sure to enable the
'libunwind' package.
https://strace.io
comment "strace needs a toolchain w/ headers >= 5.1"
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1