Skip to contentSkip to conversation

package/ltp-testsuite: bump version to 20260529

PATCH In review Petr Vorel 2 participants 3 messages May 30

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 package/ltp-testsuite: bump version to 20260529

Changelog:
https://github.com/linux-test-project/ltp/releases/tag/20260529

Removed patch backported from this release.

---
 ...fine-_GNU_SOURCE-and-include-fcntl.h.patch | 84 -------------------
 package/ltp-testsuite/ltp-testsuite.hash      |  4 +-
 package/ltp-testsuite/ltp-testsuite.mk        |  2 +-
 3 files changed, 3 insertions(+), 87 deletions(-)
 delete mode 100644 package/ltp-testsuite/0001-openat2-define-_GNU_SOURCE-and-include-fcntl.h.patch
package/ltp-testsuite/0001-openat2-define-_GNU_SOURCE-and-include-fcntl.h.patch deleted +0 -84
deleted file mode 100644
index e4b654b319..0000000000
@@ -1,84 +0,0 @@
-From 767b3e519e85095dfee3a47d15a373a403fe3dab Mon Sep 17 00:00:00 2001
-From: Li Wang <[email protected]>
-Date: Tue, 3 Feb 2026 10:43:19 +0800
-Subject: [PATCH] openat2: define _GNU_SOURCE and include <fcntl.h>
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-On Fedora Rawhide (glibc 2.43+), libc exposes openat2() and struct open_how,
-so our configure script defines HAVE_OPENAT2 and the fallback definition in
-lapi/openat2.h gets skipped. But openat20*.c never included <fcntl.h> (and
-lacked _GNU_SOURCE), so the libc-provided prototype and struct stayed hidden,
-so compilation failed:
-
-  # uname -r
-  6.18.0-65.fc44.x86_64
-
-  # rpm -qf /usr/include/fcntl.h
-  glibc-devel-2.43-1.fc44.x86_64
-
-  # nm -D /usr/lib64/libc.so.6 | grep -w openat2
-  00000000000eb890 W openat2@@GLIBC_2.43
-
-  # make -C testcase/kernel/syscalls/openat2
-  openat201.c:27:62: error: invalid application of ‘sizeof’ to incomplete type ‘struct open_how’
-    27 |         {&dir_fd, TEST_FILE, O_RDWR, S_IRWXU, 0, &how, sizeof(*how)},
-
-Define _GNU_SOURCE and include <fcntl.h> in openat2 tests to make the
-prototype available and fix the build.
-
-Signed-off-by: Li Wang <[email protected]>
-Reviewed-by: Petr Vorel <[email protected]>
-
-Upstream: https://github.com/linux-test-project/ltp/commit/767b3e519e85095dfee3a47d15a373a403fe3dab
-
-Signed-off-by: Bernd Kuhls <[email protected]>
----
- testcases/kernel/syscalls/openat2/openat201.c | 3 +++
- testcases/kernel/syscalls/openat2/openat202.c | 3 +++
- testcases/kernel/syscalls/openat2/openat203.c | 3 +++
- 3 files changed, 9 insertions(+)
-
-diff --git a/testcases/kernel/syscalls/openat2/openat201.c b/testcases/kernel/syscalls/openat2/openat201.c
-index ecd63b150e4..40ac2f6d9ad 100644
---- a/testcases/kernel/syscalls/openat2/openat201.c
-+++ b/testcases/kernel/syscalls/openat2/openat201.c
-@@ -4,6 +4,9 @@
-  *
-  * Basic openat2() test.
-  */
-+#define _GNU_SOURCE
-+#include <fcntl.h>
-+
- #include "tst_test.h"
- #include "lapi/openat2.h"
- 
-diff --git a/testcases/kernel/syscalls/openat2/openat202.c b/testcases/kernel/syscalls/openat2/openat202.c
-index 6d1b5a67c7d..329c6a4a5cb 100644
---- a/testcases/kernel/syscalls/openat2/openat202.c
-+++ b/testcases/kernel/syscalls/openat2/openat202.c
-@@ -4,6 +4,9 @@
-  *
-  * openat2() tests with various resolve flags.
-  */
-+#define _GNU_SOURCE
-+#include <fcntl.h>
-+
- #include "tst_test.h"
- #include "lapi/openat2.h"
- 
-diff --git a/testcases/kernel/syscalls/openat2/openat203.c b/testcases/kernel/syscalls/openat2/openat203.c
-index 6ac49ef4c9e..cd0c00d7523 100644
---- a/testcases/kernel/syscalls/openat2/openat203.c
-+++ b/testcases/kernel/syscalls/openat2/openat203.c
-@@ -4,6 +4,9 @@
-  *
-  * Basic openat2() test to check various failures.
-  */
-+#define _GNU_SOURCE
-+#include <fcntl.h>
-+
- #include "tst_test.h"
- #include "lapi/openat2.h"
- 
package/ltp-testsuite/ltp-testsuite.hash +2 -2
index e1861ae4e4..1284362138 100644
@@ -1,4 +1,4 @@
-# From: https://github.com/linux-test-project/ltp/releases/download/20260130/ltp-full-20260130.tar.xz.sha256
-sha256  5effc9d3eb3f5cd45d47e8ac3d78f59cb8f3f73c8598a2f182ef5b40ddfff311  ltp-full-20260130.tar.xz
+# From: https://github.com/linux-test-project/ltp/releases/download/20260529/ltp-full-20260529.tar.xz.sha256
+sha256  685d83c6e370ac09201fb79593412f868fe031ee2890e204b5727fedcf51fb47  ltp-full-20260529.tar.xz
 # Locally computed
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
package/ltp-testsuite/ltp-testsuite.mk +1 -1
index 2e4767b1a5..d1fb40ed55 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LTP_TESTSUITE_VERSION = 20260130
+LTP_TESTSUITE_VERSION = 20260529
 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)
 
Signature · 6 lines
2.53.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
author
#2 lore raw
Quoted 9 lines · Petr Vorel
Quoted 6 lines

Changelog:
https://github.com/linux-test-project/ltp/releases/tag/20260529

Removed patch backported from this release.

Applied to next, thanks.

Thank you Julien.

At least partly tested:

                   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
               bootlin-aarch64-glibc-old [6/6]: OK

                             arm-aarch64 [ 1/32]: OK
                   bootlin-aarch64-glibc [ 2/32]: OK
               bootlin-aarch64-glibc-old [ 3/32]: OK
               bootlin-arcle-hs38-uclibc [ 4/32]: OK
                    bootlin-armv5-uclibc [ 5/32]: OK
                     bootlin-armv7-glibc [ 6/32]: OK
                   bootlin-armv7m-uclibc [ 7/32]: SKIPPED
                      bootlin-armv7-musl [ 8/32]: SKIPPED
             bootlin-microblazeel-uclibc [ 9/32]: OK
                   bootlin-mipsel-uclibc [10/32]: OK
                bootlin-mipsel32r6-glibc [11/32]: OK
                  bootlin-mips64el-glibc [12/32]: OK
                bootlin-m68k-5208-uclibc [13/32]: SKIPPED
               bootlin-m68k-68040-uclibc [14/32]: OK
                 bootlin-openrisc-uclibc [15/32]: OK
           bootlin-powerpc-e500mc-uclibc [16/32]: OK
        bootlin-powerpc64le-power8-glibc [17/32]: OK

@Thomas it'd be great if bootlin musl toolchains could be updated to have newer kernel headers (requirement for 5 years old v5.11 is not met).

Kind regards,
Petr
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot