mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
package/util-linux: lsfd needs headers >= 4.15
Buildroot commit31af509b4fbumped the package to 2.41.1 which includes upstream commit036d72749cadding 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user