From 1db28a86877f6c2ec0797802ec667374aee59546 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 21 Jun 2026 09:55:19 +0200 Subject: [PATCH] package/util-linux: lsfd needs headers >= 4.15 Buildroot commit 31af509b4f4fe52f67bd9109b8732a55b8f9cd2d bumped the package to 2.41.1 which includes upstream commit https://github.com/util-linux/util-linux/commit/036d72749ca274294051b43fd66727061a772b9c 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 Signed-off-by: Fiona Klute --- package/util-linux/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in index c63cec2a9c..3df149b3de 100644 --- a/package/util-linux/Config.in +++ b/package/util-linux/Config.in @@ -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