package/ltp-testsuite: bump version to 20250930
PATCH v2 1/1 package/ltp-testsuite: bump version to 20250930
Changelog:
https://github.com/linux-test-project/ltp/releases/tag/20250930
Remove patches backported from this release.
Remove LTP_TESTSUITE_AUTORECONF (patch, which required it was backported from this release).
Require kernel headers for uclibc >= 4.5 for uclibc due F_GETOWN_EX from <fcntl.h>.
---
Changes v1->v2:
* sha256 checksums are now from upstream
* Remove LTP_TESTSUITE_AUTORECONF = YES
* Require kernel headers for uclibc >= 4.5 for uclibc due F_GETOWN_EX from <fcntl.h>.
I hope I set BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 correctly. br-arm-full-static fails due too old uclibc. F_GETOWN_EX got into uclibc in v1.0.45 but br-arm-full-static uses toolchain from 2020 [1] which is based on uclibc-ng v1.0.36. I would prefer not to bother upstream with backporting fixes for so old toolchain.
config has BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_4=y and ./host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/linux/version.h
has: #define LINUX_VERSION_CODE 263421
which means 4.4.253.
Link to v1:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
https://lore.kernel.org/buildroot/[email protected]/
Tested:
arm-aarch64 [ 1/35]: OK
bootlin-aarch64-glibc [ 2/35]: OK
bootlin-arcle-hs38-uclibc [ 3/35]: OK
bootlin-armv5-uclibc [ 4/35]: OK
bootlin-armv7-glibc [ 5/35]: OK
bootlin-armv7m-uclibc [ 6/35]: SKIPPED
bootlin-armv7-musl [ 7/35]: SKIPPED
bootlin-microblazeel-uclibc [ 8/35]: OK
bootlin-armv5-uclibc [1/6]: OK
bootlin-armv7-glibc [2/6]: OK
bootlin-armv7m-uclibc [3/6]: SKIPPED
bootlin-x86-64-musl [4/6]: SKIPPED
br-arm-full-static [5/6]: SKIPPED
arm-aarch64 [6/6]: OK6 builds, 3 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed
arm-aarch64 [ 1/35]: OK
bootlin-aarch64-glibc [ 2/35]: OK
bootlin-arcle-hs38-uclibc [ 3/35]: OK
bootlin-armv5-uclibc [ 4/35]: OK
bootlin-armv7-glibc [ 5/35]: OK
bootlin-armv7m-uclibc [ 6/35]: SKIPPED
bootlin-armv7-musl [ 7/35]: SKIPPED
bootlin-microblazeel-uclibc [ 8/35]: OK
bootlin-mipsel-uclibc [ 9/35]: OK
bootlin-mipsel32r6-glibc [10/35]: OK
bootlin-m68k-5208-uclibc [11/35]: SKIPPED
bootlin-m68k-68040-uclibc [12/35]: OK
bootlin-openrisc-uclibc [13/35]: OK
bootlin-powerpc-e500mc-uclibc [14/35]: OK
bootlin-powerpc64le-power8-glibc [15/35]: OK
bootlin-riscv32-glibc [16/35]: OK
bootlin-riscv64-glibc [17/35]: OK
bootlin-riscv64-musl [18/35]: SKIPPED
bootlin-sh4-uclibc [19/35]: OK
bootlin-sparc-uclibc [20/35]: SKIPPED...ure-Fix-build-on-kernel-6.14-headers.patch | 51 --- ...002-statmount02-Remove-linux-btrfs.h.patch | 52 --- .../0003-tlibio-Detect-aio.h-support.patch | 342 ------------------ package/ltp-testsuite/Config.in | 1 + package/ltp-testsuite/ltp-testsuite.hash | 4 +- package/ltp-testsuite/ltp-testsuite.mk | 5 +- 6 files changed, 4 insertions(+), 451 deletions(-) delete mode 100644 package/ltp-testsuite/0001-configure-Fix-build-on-kernel-6.14-headers.patch delete mode 100644 package/ltp-testsuite/0002-statmount02-Remove-linux-btrfs.h.patch delete mode 100644 package/ltp-testsuite/0003-tlibio-Detect-aio.h-support.patch
package/ltp-testsuite/0001-configure-Fix-build-on-kernel-6.14-headers.patch deleted +0 -51
@@ -1,51 +0,0 @@ -From 3ef4bac1dd253628dfdb8a823b51ae0d24fa0616 Mon Sep 17 00:00:00 2001 -From: Petr Vorel <[email protected]> -Date: Mon, 2 Jun 2025 19:08:30 +0200 -Subject: [PATCH] configure: Fix build on kernel 6.14 headers - -We decided in a2300dc0f5 to remove <linux/mount.h> in lapi/mount.h and -use only <sys/mount.h>. But later in 5c5411ea8e we add autotools checks -in configure.ac which use <linux/mount.h> for detection, but kept using -lapi/mount.h. This worked until now, because no toolchain used new -header enough. Recent Alpine update broke that. - -This fixes CI build on Alpine v3.22 (the default Alpine version in -GitHub action), which uses 6.14.2 kernel headers, which already define -struct mnt_id_req (configure.ac detect it but lapi/mount.h was not using -a correct header): - - listmount.h: In function 'listmount': - listmount.h:18:16: error: variable 'req' has initializer but incomplete type - 18 | struct mnt_id_req req = { - | ^~~~~~~~~~ - -Link: https://lore.kernel.org/ltp/[email protected]/ -Fixes: 5c5411ea8e ("Add listmount/statmount fallback declarations") -Reviewed-by: Cyril Hrubis <[email protected]> -Acked-by: Jan Stancek <[email protected]> -Signed-off-by: Petr Vorel <[email protected]> -Upstream: https://github.com/linux-test-project/ltp/commit/3ef4bac1dd253628dfdb8a823b51ae0d24fa0616 ---- - configure.ac | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 9ff098b273..69c5be7362 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -254,8 +254,10 @@ AC_CHECK_TYPES([struct mount_attr],,,[ - - AC_CHECK_TYPES([struct cachestat_range],,,[#include <sys/mman.h>]) - AC_CHECK_TYPES([struct cachestat],,,[#include <sys/mman.h>]) --AC_CHECK_TYPES([struct mnt_id_req],,,[#include <linux/mount.h>]) --AC_CHECK_TYPES([struct statmount],,,[#include <linux/mount.h>]) -+ -+# Defined in <linux/mount.h>, but include/lapi/mount.h includes <sys/mount.h> */ -+AC_CHECK_TYPES([struct mnt_id_req],,,[#include <sys/mount.h>]) -+AC_CHECK_TYPES([struct statmount],,,[#include <sys/mount.h>]) - - # Tools knobs - --- -2.50.0 -
package/ltp-testsuite/0002-statmount02-Remove-linux-btrfs.h.patch deleted +0 -52
52 lines not on this page · raw message
package/ltp-testsuite/0003-tlibio-Detect-aio.h-support.patch deleted +0 -342
342 lines not on this page · raw message
package/ltp-testsuite/Config.in +1 -0
@@ -11,6 +11,7 @@ config BR2_PACKAGE_LTP_TESTSUITE depends on BR2_USE_MMU # fork() depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on !BR2_TOOLCHAIN_USES_MUSL || BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11 + depends on !BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 depends on BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
package/ltp-testsuite/ltp-testsuite.hash +2 -2
@@ -1,4 +1,4 @@ -# From: https://github.com/linux-test-project/ltp/releases/download/20250530/ltp-full-20250530.tar.xz.sha256 -sha256 27586ba78eac1e40cd422add2842f1ad70f09fea55da3bd6a25e10feb786d4f2 ltp-full-20250530.tar.xz +# From: https://github.com/linux-test-project/ltp/releases/download/20250930/ltp-full-20250930.tar.xz.sha256 +sha256 048fa4d69ddbe8a94aa15da9bdc85713ab07a0abbc3de2b8bdd9757644aef1e4 ltp-full-20250930.tar.xz # Locally computed sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
package/ltp-testsuite/ltp-testsuite.mk +1 -4
@@ -4,16 +4,13 @@ # ################################################################################ -LTP_TESTSUITE_VERSION = 20250530 +LTP_TESTSUITE_VERSION = 20250930 LTP_TESTSUITE_SOURCE = ltp-full-$(LTP_TESTSUITE_VERSION).tar.xz LTP_TESTSUITE_SITE = https://github.com/linux-test-project/ltp/releases/download/$(LTP_TESTSUITE_VERSION) LTP_TESTSUITE_LICENSE = GPL-2.0, GPL-2.0+ LTP_TESTSUITE_LICENSE_FILES = COPYING -# 0001-configure-Fix-build-on-kernel-6.14-headers.patch -LTP_TESTSUITE_AUTORECONF = YES - LTP_TESTSUITE_CONF_OPTS += --disable-metadata ifeq ($(BR2_PACKAGE_LTP_TESTSUITE_OPEN_POSIX),y)
Signature · 6 lines
2.51.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 11 lines · Petr Vorel
Changelog:
https://github.com/linux-test-project/ltp/releases/tag/20250930Remove patches backported from this release.
Remove
LTP_TESTSUITE_AUTORECONF(patch, which required it was backported from this release).Require kernel headers for uclibc >= 4.5 for uclibc due
F_GETOWN_EXfrom <fcntl.h>.Signed-off-by Petr Vorel <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot