package/util-linux: lsfd needs headers >= 4.15

Buildroot commit 31af509b4f bumped the
package to 2.41.1 which includes upstream commit
036d72749c
adding a dependency to BPF_OBJ_NAME_LEN for lsfd.

BPF_OBJ_NAME_LEN was added to the kernel headers in version 4.15:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cb4d2b3f03d8eed90be3a194e5b54b734ec4bbe9

so we need to raise the header version dependency for lsfd.

The build error was found by the Gitlab pipelines for the defconfig
bootlin-aarch64-glibc-old.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
This commit is contained in:
Bernd Kuhls
2026-06-21 09:55:19 +02:00
committed by Fiona Klute
parent dd929c3d25
commit 1db28a8687

View File

@@ -233,15 +233,15 @@ config BR2_PACKAGE_UTIL_LINUX_LOSETUP
config BR2_PACKAGE_UTIL_LINUX_LSFD
bool "lsfd"
depends on BR2_USE_MMU # libsmartcols
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
depends on !BR2_TOOLCHAIN_USES_UCLIBC # process_vm_readv
select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS
help
List file descriptors (modern replacement for lsof)
comment "lsfd needs a musl or glibc toolchain w/ headers >= 3.19"
comment "lsfd needs a musl or glibc toolchain w/ headers >= 4.15"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 \
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15 \
|| BR2_TOOLCHAIN_USES_UCLIBC
config BR2_PACKAGE_UTIL_LINUX_LSLOGINS