diff mbox series

[AUH] gawk: upgrading to 5.4.2 SUCCEEDED

Message ID 010101a2423750c5-3aa75eea-c998-4313-aa5a-e94da3fe254c-000000@us-west-2.amazonses.com
State New
Headers show
Series [AUH] gawk: upgrading to 5.4.2 SUCCEEDED | expand

Commit Message

auh@yoctoproject.org Dec. 4, 2026, 6 p.m. UTC
Hello,

this email is a notification from the Auto Upgrade Helper
that the automatic attempt to upgrade the recipe(s) *gawk* to *5.4.2* has Succeeded.

Next steps:
    - apply the patch: git am 0001-gawk-upgrade-5.4.1-5.4.2.patch
    - check the changes to upstream patches and summarize them in the commit message,
    - compile an image that contains the package
    - perform some basic sanity tests
    - amend the patch and sign it off: git commit -s --reset-author --amend
    - send it to the appropriate mailing list

Alternatively, if you believe the recipe should not be upgraded at this time,
you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that
automatic upgrades would no longer be attempted.

Please review the attached files for further information and build/update failures.
Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler

Regards,
The Upgrade Helper

-- >8 --
From 9352e42603773bfb2557810bab93303aeaf78fd7 Mon Sep 17 00:00:00 2001
From: Upgrade Helper <auh@yoctoproject.org>
Date: Fri, 4 Dec 2026 15:23:13 +0000
Subject: [PATCH] gawk: upgrade 5.4.1 -> 5.4.2

Unrelated:

Remove memory status from arrdbg.ok* results. The numbers
will vary.

Clean up running tests from a different build directory.
Unrelated:
Unrelated:
Unrelated:

Refactor use of checkmany.sh in order to be able to add
z/OS tests.

Move the *-mpfr.ok files to be *.ok-mpfr so that checkmany.sh
can be used with them.  Or at least as much as possible.

Simplify handling tests with multiple OK files.
---
 ...gure.ac-re-enable-disabled-printf-features.patch |  8 ++++----
 ...id-undefined-behavior-converting-out-of-ra.patch | 13 +++++--------
 .../gawk/{gawk_5.4.1.bb => gawk_5.4.2.bb}           |  2 +-
 3 files changed, 10 insertions(+), 13 deletions(-)
 rename meta/recipes-extended/gawk/{gawk_5.4.1.bb => gawk_5.4.2.bb} (98%)
diff mbox series

Patch

diff --git a/meta/recipes-extended/gawk/gawk/0001-configure.ac-re-enable-disabled-printf-features.patch b/meta/recipes-extended/gawk/gawk/0001-configure.ac-re-enable-disabled-printf-features.patch
index 882edca112..697b78499a 100644
--- a/meta/recipes-extended/gawk/gawk/0001-configure.ac-re-enable-disabled-printf-features.patch
+++ b/meta/recipes-extended/gawk/gawk/0001-configure.ac-re-enable-disabled-printf-features.patch
@@ -1,4 +1,4 @@ 
-From 53808cbdab1d12c99a4fbadf4ea134b98664e8c7 Mon Sep 17 00:00:00 2001
+From 5f019690e4f723b9250a82f77f3c4888944ac494 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <alex@linutronix.de>
 Date: Fri, 22 Nov 2024 12:13:58 +0100
 Subject: [PATCH] configure.ac: re-enable disabled printf features
@@ -12,10 +12,10 @@  Signed-off-by: Alexander Kanavin <alex@linutronix.de>
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index 471fbc1..d7d173a 100644
+index 77a12b8..6cd5f50 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -402,7 +402,7 @@ int main()
+@@ -397,7 +397,7 @@ int main()
  ])],
  	has_f_format=yes,
  	has_f_format=no,
@@ -24,7 +24,7 @@  index 471fbc1..d7d173a 100644
  )
  if test "$has_f_format" = yes
  then
-@@ -431,7 +431,7 @@ int main()
+@@ -426,7 +426,7 @@ int main()
  ])],
  	has_a_format=yes,
  	has_a_format=no,
diff --git a/meta/recipes-extended/gawk/gawk/0002-printf-Avoid-undefined-behavior-converting-out-of-ra.patch b/meta/recipes-extended/gawk/gawk/0002-printf-Avoid-undefined-behavior-converting-out-of-ra.patch
index 1a6f4fa369..9b34518155 100644
--- a/meta/recipes-extended/gawk/gawk/0002-printf-Avoid-undefined-behavior-converting-out-of-ra.patch
+++ b/meta/recipes-extended/gawk/gawk/0002-printf-Avoid-undefined-behavior-converting-out-of-ra.patch
@@ -1,4 +1,4 @@ 
-From e00db6a8ee76f2618f38c0dde477cb111fb0df41 Mon Sep 17 00:00:00 2001
+From ad870ae0dd773aef358ad004befbdef920bfb836 Mon Sep 17 00:00:00 2001
 From: Khem Raj <khem.raj@oss.qualcomm.com>
 Date: Fri, 16 Oct 2026 08:14:03 +0000
 Subject: [PATCH] printf: Avoid undefined behavior converting out of range
@@ -22,13 +22,13 @@  Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
  1 file changed, 12 insertions(+), 17 deletions(-)
 
 diff --git a/printf.c b/printf.c
-index 0264692..dd80b80 100644
+index 0264692..28463e6 100644
 --- a/printf.c
 +++ b/printf.c
 @@ -925,26 +925,21 @@ format_integer_digits(NODE *arg, struct flags *flags, bool *used_float)
  		// octal or hex or unsigned decimal
  		chbuf = (flags->format == 'X' ? Uchbuf : lchbuf);
-
+ 
 -		if (tmpval < 0) {
 -			uval = (uintmax_t) (intmax_t) tmpval;
 -			if ((AWKNUM)(intmax_t)uval != double_to_int(tmpval)) {
@@ -50,12 +50,12 @@  index 0264692..dd80b80 100644
 +			flags->format = 'g';
 +			free((void *) buf);
 +			*used_float = true;
-
+ 
 -				return format_float(arg, flags);
 -			}
 +			return format_float(arg, flags);
  		}
-
+ 
 +		if (tmpval < 0)
 +			uval = (uintmax_t) (intmax_t) tmpval;
 +		else
@@ -64,6 +64,3 @@  index 0264692..dd80b80 100644
  		// generate the digits backwards.
  		do {
  			if (cp >= buf + buflen)
---
-2.43.0
-
diff --git a/meta/recipes-extended/gawk/gawk_5.4.1.bb b/meta/recipes-extended/gawk/gawk_5.4.2.bb
similarity index 98%
rename from meta/recipes-extended/gawk/gawk_5.4.1.bb
rename to meta/recipes-extended/gawk/gawk_5.4.2.bb
index d1a5114a4d..7b3ad41fd5 100644
--- a/meta/recipes-extended/gawk/gawk_5.4.1.bb
+++ b/meta/recipes-extended/gawk/gawk_5.4.2.bb
@@ -31,7 +31,7 @@  SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.xz \
            file://0002-printf-Avoid-undefined-behavior-converting-out-of-ra.patch \
            "
 
-SRC_URI[sha256sum] = "07f6f7342b7febe4313fc2c2542ad93d64fe20ad8717200109f105a826f5fd37"
+SRC_URI[sha256sum] = "b95e4909533b5f988c6b5e5539b3b3ddf76e7d7df02ca2e5b5b7d6f62db78e6a"
 
 inherit autotools gettext texinfo update-alternatives