meta: Upgrade gnu-config and strace
cover meta: Upgrade gnu-config and strace
From: Robert Yang <[email protected]>
The following changes since commit 97b5d0c85af0b667854eea90ace0a8c2f51ecefe:
rpm: add missing dependencies for packageconfig (2024-02-03 21:52:15 +0000)
are available in the Git repository at:
https://github.com/robertlinux/yocto rbt/upgrade
https://github.com/robertlinux/yocto/tree/rbt/upgrade
Robert Yang (2):
gnu-config: Update to latest version
strace: Upgrade 6.6 -> 6.7
.../gnu-config/gnu-config_git.bb | 4 +-
...toconf-macro-to-detect-largefile-sup.patch | 7 +-
...001-strace-fix-reproducibilty-issues.patch | 10 ++-
...002-tests-Replace-off64_t-with-off_t.patch | 36 ++++++----
.../strace/strace/Makefile-ptest.patch | 8 +--
.../strace/strace/ptest-spacesave.patch | 6 +-
.../strace/strace/skip-load.patch | 8 ++-
.../strace/strace/update-gawk-paths.patch | 69 ++++++++++---------
.../strace/{strace_6.6.bb => strace_6.7.bb} | 4 +-
9 files changed, 82 insertions(+), 70 deletions(-)
rename meta/recipes-devtools/strace/{strace_6.6.bb => strace_6.7.bb} (93%)Signature · 1 line
2.43.0
PATCH 2/2 strace: Upgrade 6.6 -> 6.7
From: Robert Yang <[email protected]>
License-Update: copyright years updated.
---
...toconf-macro-to-detect-largefile-sup.patch | 7 +-
...001-strace-fix-reproducibilty-issues.patch | 10 ++-
...002-tests-Replace-off64_t-with-off_t.patch | 36 ++++++----
.../strace/strace/Makefile-ptest.patch | 8 +--
.../strace/strace/ptest-spacesave.patch | 6 +-
.../strace/strace/skip-load.patch | 8 ++-
.../strace/strace/update-gawk-paths.patch | 69 ++++++++++---------
.../strace/{strace_6.6.bb => strace_6.7.bb} | 4 +-
8 files changed, 80 insertions(+), 68 deletions(-)
rename meta/recipes-devtools/strace/{strace_6.6.bb => strace_6.7.bb} (93%)meta/recipes-devtools/strace/strace/0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch +4 -3
@@ -1,4 +1,4 @@ -From 470399f3636c412b74f9daf6ae430b13c3126f02 Mon Sep 17 00:00:00 2001 +From 50087af2c6a75eddc4a4be5ee745639f42406c05 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Thu, 15 Dec 2022 15:54:27 -0800 Subject: [PATCH] configure: Use autoconf macro to detect largefile support
@@ -8,15 +8,16 @@ where default is to detect the support Upstream-Status: Submitted [https://github.com/strace/strace/pull/230] Signed-off-by: Khem Raj <[email protected]> + --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac -index 4797b42dd..7d57fb254 100644 +index 36fff90..9e40ab5 100644 --- a/configure.ac +++ b/configure.ac -@@ -43,6 +43,8 @@ AC_PROG_INSTALL +@@ -42,6 +42,8 @@ AC_PROG_INSTALL AC_PROG_RANLIB AC_PROG_LN_S
meta/recipes-devtools/strace/strace/0001-strace-fix-reproducibilty-issues.patch +4 -6
@@ -1,4 +1,4 @@ -From 6309792c49ca900cec6a7f1dc5b51bf75b629e11 Mon Sep 17 00:00:00 2001 +From be6b209e152329f9fd8c96c802577fa5b88edc30 Mon Sep 17 00:00:00 2001 From: Jeremy Puhlman <[email protected]> Date: Wed, 11 Mar 2020 19:56:55 +0000 Subject: [PATCH] strace: fix reproducibilty issues
@@ -8,12 +8,13 @@ The full path to the gen_tests.sh script is encoded in the tests Upstream-Status: Pending Signed-off-by: Jeremy Puhlman <[email protected]> + --- tests/gen_tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/gen_tests.sh b/tests/gen_tests.sh -index 5e1e7c9..1e65eac 100755 +index 8f47651..65267db 100755 --- a/tests/gen_tests.sh +++ b/tests/gen_tests.sh @@ -46,7 +46,7 @@ while read -r name arg0 args; do {
@@ -25,7 +26,7 @@ index 5e1e7c9..1e65eac 100755 case "$arg0" in +*) -@@ -80,7 +80,7 @@ while read -r name arg0 args; do { +@@ -91,7 +91,7 @@ while read -r name arg0 args; do { if [ -n "$names" ]; then {
@@ -34,6 +35,3 @@ index 5e1e7c9..1e65eac 100755 printf 'GEN_TESTS =' printf ' %s.gen.test' $names echo --- -2.24.1 -
meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch +22 -14
@@ -1,4 +1,4 @@ -From 579b2ebe52d4b97f954e6188df2d07e137820075 Mon Sep 17 00:00:00 2001 +From 75b1a21a1573e1c73f076c33847ccb1816071e2e Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Thu, 15 Dec 2022 15:56:13 -0800 Subject: [PATCH] tests: Replace off64_t with off_t
@@ -8,11 +8,15 @@ build on musl where off64_t is not available without _LARGEFILE64_SOURCE Upstream-Status: Submitted [https://github.com/strace/strace/pull/230] Signed-off-by: Khem Raj <[email protected]> + --- tests/readahead.c | 2 +- + tests/sync_file_range.c | 4 ++-- tests/sync_file_range2.c | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) + 3 files changed, 5 insertions(+), 5 deletions(-) +diff --git a/tests/readahead.c b/tests/readahead.c +index 1072378..b9597e6 100644 --- a/tests/readahead.c +++ b/tests/readahead.c @@ -42,7 +42,7 @@ static const int fds[] = {
@@ -24,29 +28,33 @@ Signed-off-by: Khem Raj <[email protected]> -0x8000000000000000LL, -0x5060708090a0b0c0LL, -1LL, ---- a/tests/sync_file_range2.c -+++ b/tests/sync_file_range2.c +diff --git a/tests/sync_file_range.c b/tests/sync_file_range.c +index e93ab6c..dc76865 100644 +--- a/tests/sync_file_range.c ++++ b/tests/sync_file_range.c @@ -20,8 +20,8 @@ int main(void) { const int fd = -1; -- const off64_t offset = 0xdeadbeefbadc0ded; -- const off64_t nbytes = 0xfacefeedcafef00d; -+ const off_t offset = 0xdeadbeefbadc0ded; -+ const off_t nbytes = 0xfacefeedcafef00d; +- const off64_t offset = 0xdeadbeefbadc0dedULL; +- const off64_t nbytes = 0xfacefeedcafef00dULL; ++ const off_t offset = 0xdeadbeefbadc0dedULL; ++ const off_t nbytes = 0xfacefeedcafef00dULL; const unsigned int flags = -1; int rc = sync_file_range(fd, offset, nbytes, flags); ---- a/tests/sync_file_range.c -+++ b/tests/sync_file_range.c +diff --git a/tests/sync_file_range2.c b/tests/sync_file_range2.c +index b8dc712..e4b003c 100644 +--- a/tests/sync_file_range2.c ++++ b/tests/sync_file_range2.c @@ -20,8 +20,8 @@ int main(void) { const int fd = -1; -- const off64_t offset = 0xdeadbeefbadc0dedULL; -- const off64_t nbytes = 0xfacefeedcafef00dULL; -+ const off_t offset = 0xdeadbeefbadc0dedULL; -+ const off_t nbytes = 0xfacefeedcafef00dULL; +- const off64_t offset = 0xdeadbeefbadc0ded; +- const off64_t nbytes = 0xfacefeedcafef00d; ++ const off_t offset = 0xdeadbeefbadc0ded; ++ const off_t nbytes = 0xfacefeedcafef00d; const unsigned int flags = -1; int rc = sync_file_range(fd, offset, nbytes, flags);
meta/recipes-devtools/strace/strace/Makefile-ptest.patch +4 -4
@@ -1,4 +1,4 @@ -From 1f50e0a09d828be8f5b1f28db9af0b12492a1553 Mon Sep 17 00:00:00 2001 +From 5659a44a1d7c64a7891fb714b5cb0a899674c108 Mon Sep 17 00:00:00 2001 From: Gabriel Barbu <[email protected]> Date: Thu, 25 Jul 2013 15:28:33 +0200 Subject: [PATCH] strace: Add ptest
@@ -14,10 +14,10 @@ Signed-off-by: Anuj Mittal <[email protected]> 1 file changed, 20 insertions(+) diff --git a/tests/Makefile.am b/tests/Makefile.am -index 55566ee..a7ae6f9 100644 +index 9059f80..a732566 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am -@@ -16,6 +16,7 @@ SIZEOF_LONG = @SIZEOF_LONG@ +@@ -18,6 +18,7 @@ SIZEOF_LONG = @SIZEOF_LONG@ MPERS_NAME = MPERS_CC_FLAGS = ARCH_MFLAGS =
@@ -25,7 +25,7 @@ index 55566ee..a7ae6f9 100644 AM_CFLAGS = $(WARN_CFLAGS) bundled_CPPFLAGS = if USE_BUNDLED_HEADERS -@@ -703,3 +704,22 @@ BUILT_SOURCES = ksysent.h +@@ -887,3 +888,22 @@ BUILT_SOURCES = ksysent.h CLEANFILES = ksysent.h include ../src/scno.am
meta/recipes-devtools/strace/strace/ptest-spacesave.patch +3 -3
@@ -1,4 +1,4 @@ -From 3fad4821d90cd264d1b94253b9cf4fdf5d4034b8 Mon Sep 17 00:00:00 2001 +From 39211370e7facf24c673618c59e6c84718e42df6 Mon Sep 17 00:00:00 2001 From: Richard Purdie <[email protected]> Date: Wed, 29 May 2019 00:10:32 +0100 Subject: [PATCH] strace: Tweak ptest disk space management
@@ -15,10 +15,10 @@ Upstream-Status: Inappropriate [specific to OE image space issues] 1 file changed, 1 insertion(+) diff --git a/tests/gen_tests.sh b/tests/gen_tests.sh -index 3540204..5e1e7c9 100755 +index ce1467e..8f47651 100755 --- a/tests/gen_tests.sh +++ b/tests/gen_tests.sh -@@ -62,6 +62,7 @@ while read -r name arg0 args; do { +@@ -73,6 +73,7 @@ while read -r name arg0 args; do { $hdr . "\${srcdir=.}/init.sh" run_strace_match_diff $arg0 $args
meta/recipes-devtools/strace/strace/skip-load.patch +5 -3
@@ -1,3 +1,8 @@ +From f07694e7df838aa5ab7b05565729e793d6b08635 Mon Sep 17 00:00:00 2001 +From: Ross Burton <[email protected]> +Date: Mon, 31 Jan 2022 17:40:13 +0000 +Subject: [PATCH] strace: skip a number of load-sensitive tests + Skip tests which are known to be unreliable under load, typically because they care about timing.
@@ -44,6 +49,3 @@ index 8299737..d89c7df 100755 r_opt="${1:--r}" --- -2.25.1 -
meta/recipes-devtools/strace/strace/update-gawk-paths.patch +36 -33
110 lines not on this page · raw message
meta/recipes-devtools/strace/strace_6.7.bb renamed from meta/recipes-devtools/strace/strace_6.6.bb +2 -2
@@ -3,7 +3,7 @@ HOMEPAGE = "http://strace.io" DESCRIPTION = "strace is a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor and tamper with interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state." SECTION = "console/utils" LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" -LIC_FILES_CHKSUM = "file://COPYING;md5=63c8c3eb5c71b4362edac1397f40bdc7" +LIC_FILES_CHKSUM = "file://COPYING;md5=2433d82e1432a76dc3eadd9002bfe304" SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ file://update-gawk-paths.patch \
@@ -15,7 +15,7 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ file://0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch \ file://0002-tests-Replace-off64_t-with-off_t.patch \ " -SRC_URI[sha256sum] = "421b4186c06b705163e64dc85f271ebdcf67660af8667283147d5e859fc8a96c" +SRC_URI[sha256sum] = "2090201e1a3ff32846f4fe421c1163b15f440bb38e31355d09f82d3949922af7" inherit autotools ptest
Signature · 1 line
2.43.0
PATCH 1/2 gnu-config: Update to latest version
In reply to [email protected]From: Robert Yang <[email protected]>
* Git log
948ae97 Update copyright years
471d814 config.sub: recognize nanoMIPS CPUs ee6ea2f config.guess: recognize ironclad OS 5e2f254 config.sub: recognize ironclad OS 0e4a5b3 config.sub: recognize *-*-uefi d21518c Recognize the VideoCore 4 processor a9a369e config.guess: detect LLVM-libc via features.h 5b83c2f config.sub: add LLVM-libc support
The PV 20240101 is from SRCREV 948ae97ca5703224bd3eada06b7a69f40dd15a02.
--- meta/recipes-devtools/gnu-config/gnu-config_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/gnu-config/gnu-config_git.bb +2 -2
@@ -9,8 +9,8 @@ DEPENDS:class-native = "hostperl-runtime-native" INHIBIT_DEFAULT_DEPS = "1" -SRCREV = "28ea239c53a2d5d8800c472bc2452eaa16e37af2" -PV = "20231127+git" +SRCREV = "948ae97ca5703224bd3eada06b7a69f40dd15a02" +PV = "20240101+git" SRC_URI = "git://git.savannah.gnu.org/git/config.git;protocol=https;branch=master \ file://gnu-configize.in"
Signature · 1 line
2.43.0