From patchwork Thu Aug 15 18:58:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 47841 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59034C5474A for ; Thu, 15 Aug 2024 18:59:04 +0000 (UTC) Received: from a27-31.smtp-out.us-west-2.amazonses.com (a27-31.smtp-out.us-west-2.amazonses.com [54.240.27.31]) by mx.groups.io with SMTP id smtpd.web10.131101.1723748334631610325 for ; Thu, 15 Aug 2024 11:58:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=rnkzp2s7ci3kogmesvov2nwn7wcc2dgx header.b=GPiQIQVZ; dkim=pass header.i=@amazonses.com header.s=7v7vs6w47njt4pimodk5mmttbegzsi6n header.b=ZgrKH8Nq; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.31, mailfrom: 0101019157683be0-9a48db5c-024c-4f91-a59c-216cc3571c1c-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=rnkzp2s7ci3kogmesvov2nwn7wcc2dgx; d=yoctoproject.org; t=1723748334; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=wQFOzP/NeKgNN33SflEMrDlK29ci3JZ5VAQy01vgR/0=; b=GPiQIQVZqSC2kr7q79K0R03w9uM4dk3xm8g7/VbP597VFhHO/L1MZOEWMPYvjqHw PLd0q6+3Zbi+ctbvJASQpO/LhjjVtuNMfXdRdPqUClqwl6+Pretn8fGmzIcpdpkV+vm jjXSJFdKnzKUjLWn+WJ2faapL2V07NHL583mPDRs= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=7v7vs6w47njt4pimodk5mmttbegzsi6n; d=amazonses.com; t=1723748334; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=wQFOzP/NeKgNN33SflEMrDlK29ci3JZ5VAQy01vgR/0=; b=ZgrKH8Nq7ZrUpZFIaxvCzUWg1ZKbUjFGkipec2JecwjUGVdB4bcmtGbnhqBRG4E+ Fja1Hdvyst8w9F67syokkBN37bO/4Ixy35tawTP63Wus7Z5S1un7KBmgjJHR++8eV4/ fKpfA5BWv4qZLDZVbp9DFLsFBLqOcItk1VZNerBM= MIME-Version: 1.0 From: auh@yoctoproject.org To: Hongxu Jia Cc: openembedded-core@lists.openembedded.org Subject: [AUH] bash: upgrading to 5.2.32 SUCCEEDED Message-ID: <0101019157683be0-9a48db5c-024c-4f91-a59c-216cc3571c1c-000000@us-west-2.amazonses.com> Date: Thu, 15 Aug 2024 18:58:54 +0000 Feedback-ID: ::1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2024.08.15-54.240.27.31 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 15 Aug 2024 18:59:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/203407 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *bash* to *5.2.32* has Succeeded. Next steps: - apply the patch: git am 0001-bash-upgrade-5.2.21-5.2.32.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 d69278c92e76bf5938c71f6b68bf56e203e98d33 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Thu, 15 Aug 2024 13:09:58 +0000 Subject: [PATCH] bash: upgrade 5.2.21 -> 5.2.32 --- ...T-handler-while-waiting-for-a-child-.patch | 21 ++++++++----------- .../bash/bash/0001-fix-c99.patch | 2 +- .../bash/bash/build-tests.patch | 7 +++---- .../bash/bash/fix-filesubst-errexit.patch | 7 ++----- .../bash/bash/fix-run-builtins.patch | 9 +++----- .../bash/bash/mkbuiltins_have_stringize.patch | 18 ++++++++++++---- .../bash/bash/test-output.patch | 11 ++++------ .../bash/bash/use_aclocal.patch | 3 +-- .../bash/{bash_5.2.21.bb => bash_5.2.32.bb} | 2 +- 9 files changed, 38 insertions(+), 42 deletions(-) rename meta/recipes-extended/bash/{bash_5.2.21.bb => bash_5.2.32.bb} (90%) diff --git a/meta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch b/meta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch index 77d770b364..4e73edb9b3 100644 --- a/meta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch +++ b/meta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch @@ -1,4 +1,4 @@ -From 721d5be99eb37d31e48bd66d61808a66a4c5ab84 Mon Sep 17 00:00:00 2001 +From e4b9493ae4923595ec3ca67f85322129fb3056cf Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Mon, 30 Oct 2023 12:16:07 -0400 Subject: [PATCH] changes to SIGINT handler while waiting for a child; skip @@ -20,10 +20,10 @@ Signed-off-by: Xiangyu Chen 6 files changed, 43 insertions(+), 32 deletions(-) diff --git a/general.c b/general.c -index 85c5a8b6..65e2ee06 100644 +index bda39f4..94a5339 100644 --- a/general.c +++ b/general.c -@@ -262,8 +262,9 @@ legal_number (string, result) +@@ -264,8 +264,9 @@ legal_number (string, result) if (errno || ep == string) return 0; /* errno is set on overflow or underflow */ @@ -36,7 +36,7 @@ index 85c5a8b6..65e2ee06 100644 /* If *string is not '\0' but *ep is '\0' on return, the entire string diff --git a/jobs.c b/jobs.c -index 6b986ed7..262d78de 100644 +index d3e4ab0..903cf9c 100644 --- a/jobs.c +++ b/jobs.c @@ -2718,6 +2718,10 @@ wait_for_background_pids (ps) @@ -96,7 +96,7 @@ index 6b986ed7..262d78de 100644 waiting_for_child = 0; if (old_sigint_handler == SIG_IGN) set_signal_handler (SIGINT, old_sigint_handler); -@@ -4136,7 +4144,7 @@ set_job_status_and_cleanup (job) +@@ -4141,7 +4149,7 @@ set_job_status_and_cleanup (job) SIGINT (if we reset the sighandler to the default). In this case, we have to fix things up. What a crock. */ if (temp_handler == trap_handler && signal_is_trapped (SIGINT) == 0) @@ -106,7 +106,7 @@ index 6b986ed7..262d78de 100644 if (temp_handler == SIG_DFL) termsig_handler (SIGINT); /* XXX */ diff --git a/tests/redir.right b/tests/redir.right -index 8db10414..9e1403c8 100644 +index 8db1041..9e1403c 100644 --- a/tests/redir.right +++ b/tests/redir.right @@ -154,10 +154,10 @@ foo @@ -123,7 +123,7 @@ index 8db10414..9e1403c8 100644 +./redir11.sub: line 77: 42: No such file or directory 42 diff --git a/tests/redir11.sub b/tests/redir11.sub -index d417cdb6..ca9854cd 100644 +index d417cdb..ca9854c 100644 --- a/tests/redir11.sub +++ b/tests/redir11.sub @@ -34,6 +34,8 @@ a=4 b=7 ss=4 declare -i ss @@ -136,7 +136,7 @@ index d417cdb6..ca9854cd 100644 a=4 echo foo 2>&1 >&$(foo) | { grep -q 'Bad file' || echo 'redir11 bad 3'; } a=1 echo foo 2>&1 >&$(foo) | { grep -q 'Bad file' || echo 'redir11 bad 4'; } diff --git a/tests/type.right b/tests/type.right -index bbc228e8..e0a66745 100644 +index bbc228e..c0c1c8b 100644 --- a/tests/type.right +++ b/tests/type.right @@ -24,15 +24,15 @@ func () @@ -164,7 +164,7 @@ index bbc228e8..e0a66745 100644 builtin is a shell builtin /bin/sh diff --git a/tests/type.tests b/tests/type.tests -index fd39c18a..ddc15407 100644 +index fd39c18..ddc1540 100644 --- a/tests/type.tests +++ b/tests/type.tests @@ -25,8 +25,6 @@ type -r ${THIS_SH} @@ -221,6 +221,3 @@ index fd39c18a..ddc15407 100644 type m hash -r --- -2.35.5 - diff --git a/meta/recipes-extended/bash/bash/0001-fix-c99.patch b/meta/recipes-extended/bash/bash/0001-fix-c99.patch index aa810f7d4e..abd83d09af 100644 --- a/meta/recipes-extended/bash/bash/0001-fix-c99.patch +++ b/meta/recipes-extended/bash/bash/0001-fix-c99.patch @@ -1,4 +1,4 @@ -From e9ed388e760ec33dcf9e72c639946c0d0abeec26 Mon Sep 17 00:00:00 2001 +From e8ec2d75a52bdc93c83a679a71a68f4033033b8b Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 19 Jun 2024 12:57:39 +0000 Subject: [PATCH] Fix C99 problems diff --git a/meta/recipes-extended/bash/bash/build-tests.patch b/meta/recipes-extended/bash/bash/build-tests.patch index c1b9b8261f..4cce1ba993 100644 --- a/meta/recipes-extended/bash/bash/build-tests.patch +++ b/meta/recipes-extended/bash/bash/build-tests.patch @@ -1,4 +1,4 @@ -From 318b762837c2ad25319caeaf0320eff613b64daf Mon Sep 17 00:00:00 2001 +From c3f58f8b4f7a359b9d9dd97a45bcaab50a89d224 Mon Sep 17 00:00:00 2001 From: Anders Roxell Date: Wed, 19 Dec 2012 17:18:31 +0100 Subject: [PATCH] Add 'ptest' target to Makefile, to run tests without checking @@ -9,16 +9,15 @@ Signed-off-by: Anders Roxell Rebase to 5.0 Signed-off-by: Hongxu Jia - --- Makefile.in | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in -index bc97049..937ce39 100644 +index 0b4df73..7e2a34e 100644 --- a/Makefile.in +++ b/Makefile.in -@@ -943,20 +943,34 @@ maybe-clean: +@@ -958,20 +958,34 @@ maybe-clean: fi recho$(EXEEXT): $(SUPPORT_SRC)recho.c diff --git a/meta/recipes-extended/bash/bash/fix-filesubst-errexit.patch b/meta/recipes-extended/bash/bash/fix-filesubst-errexit.patch index 60f1852316..c5082ee355 100644 --- a/meta/recipes-extended/bash/bash/fix-filesubst-errexit.patch +++ b/meta/recipes-extended/bash/bash/fix-filesubst-errexit.patch @@ -1,4 +1,4 @@ -From 59ddfda14e3c9aa6286bb4c4c0748f7c1324a65a Mon Sep 17 00:00:00 2001 +From 16951b74971c7fd38fd036dac1410a9e53cbe736 Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Fri, 7 Apr 2023 00:28:46 -0700 Subject: [PATCH] $( 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtins/evalstring.c b/builtins/evalstring.c -index df3dd68e2a7e..6612081cd646 100644 +index 53a7c0b..c5075cc 100644 --- a/builtins/evalstring.c +++ b/builtins/evalstring.c @@ -753,7 +753,7 @@ open_redir_file (r, fnp) @@ -29,6 +29,3 @@ index df3dd68e2a7e..6612081cd646 100644 free (fn); if (fnp) *fnp = 0; --- -2.40.0 - diff --git a/meta/recipes-extended/bash/bash/fix-run-builtins.patch b/meta/recipes-extended/bash/bash/fix-run-builtins.patch index 2fa388302e..05d0859821 100644 --- a/meta/recipes-extended/bash/bash/fix-run-builtins.patch +++ b/meta/recipes-extended/bash/bash/fix-run-builtins.patch @@ -1,4 +1,4 @@ -From 0c4cab9594c96c2dc435a8d9724605824bcbf917 Mon Sep 17 00:00:00 2001 +From 15601c71b073a604ccda25c7f14f0bb12e9a3b28 Mon Sep 17 00:00:00 2001 From: Dengke Du Date: Tue, 19 Apr 2016 02:57:45 -0400 Subject: [PATCH] fix run-builtins failed @@ -16,10 +16,10 @@ Signed-off-by: Dengke Du 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/builtins.tests b/tests/builtins.tests -index 9d77520..63f3af8 100644 +index 8eee43e..71c9eee 100644 --- a/tests/builtins.tests +++ b/tests/builtins.tests -@@ -109,7 +109,7 @@ esac +@@ -124,7 +124,7 @@ esac # test options to exec (exec -a specialname ${THIS_SH} -c 'echo $0' ) @@ -28,6 +28,3 @@ index 9d77520..63f3af8 100644 # test `clean' environment. if /bin/sh is bash, and the script version of # printenv is run, there will be variables in the environment that bash # sets on startup. Also test code that prefixes argv[0] with a dash. --- -2.8.1 - diff --git a/meta/recipes-extended/bash/bash/mkbuiltins_have_stringize.patch b/meta/recipes-extended/bash/bash/mkbuiltins_have_stringize.patch index a9391d6cac..eb29e7d836 100644 --- a/meta/recipes-extended/bash/bash/mkbuiltins_have_stringize.patch +++ b/meta/recipes-extended/bash/bash/mkbuiltins_have_stringize.patch @@ -1,3 +1,8 @@ +From d11685286144c2e5630545e435d11387b2908fd0 Mon Sep 17 00:00:00 2001 +From: Christopher Larson +Date: Wed, 14 Nov 2012 07:55:09 -0700 +Subject: [PATCH] bash: fix mkbuiltins build failure + On hosts with FORTIFY_SOURCES, stringize support is required, as it's used by the macros to wrap functions (e.g. read and open in unistd.h). Those wrappers use the STRING() macro from unistd.h. A header in the bash sources overrides @@ -13,14 +18,19 @@ stringize support, or to not define STRING() at all when FORTIFY_SOURCES is defined, letting the unistd.h one be used, instead. Upstream-Status: Pending +--- + builtins/mkbuiltins.c | 1 + + 1 file changed, 1 insertion(+) ---- bash-4.2.orig/builtins/mkbuiltins.c -+++ bash-4.2/builtins/mkbuiltins.c +diff --git a/builtins/mkbuiltins.c b/builtins/mkbuiltins.c +index f505ebd..b5b2eed 100644 +--- a/builtins/mkbuiltins.c ++++ b/builtins/mkbuiltins.c @@ -28,6 +28,7 @@ # define HAVE_STDLIB_H - + # define HAVE_RENAME +# define HAVE_STRINGIZE #endif /* CROSS_COMPILING */ - + #if defined (HAVE_UNISTD_H) diff --git a/meta/recipes-extended/bash/bash/test-output.patch b/meta/recipes-extended/bash/bash/test-output.patch index 0ffcc24587..3225907b66 100644 --- a/meta/recipes-extended/bash/bash/test-output.patch +++ b/meta/recipes-extended/bash/bash/test-output.patch @@ -1,7 +1,7 @@ -From 28eb06047ebd2deaa8c7cd2bf6655ef6a469dc14 Mon Sep 17 00:00:00 2001 +From f5cbd5a4954b89857c9e397cacceda552484f5d5 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Tue, 15 Aug 2017 10:01:56 +0800 -Subject: [PATCH 1/2] Add FAIL/PASS output to test output. +Subject: [PATCH] Add FAIL/PASS output to test output. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -16,10 +16,10 @@ Signed-off-by: Hongxu Jia 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/run-all b/tests/run-all -index 2882fe0..e21d026 100644 +index 1f74923..ba36a1f 100644 --- a/tests/run-all +++ b/tests/run-all -@@ -33,7 +33,16 @@ do +@@ -57,7 +57,16 @@ do case $x in $0|run-minimal|run-gprof) ;; *.orig|*~) ;; @@ -37,6 +37,3 @@ index 2882fe0..e21d026 100644 esac done --- -1.8.3.1 - diff --git a/meta/recipes-extended/bash/bash/use_aclocal.patch b/meta/recipes-extended/bash/bash/use_aclocal.patch index bd6870b386..e966b037a2 100644 --- a/meta/recipes-extended/bash/bash/use_aclocal.patch +++ b/meta/recipes-extended/bash/bash/use_aclocal.patch @@ -1,4 +1,4 @@ -From d1bf23817afffd5917b74da6946e0c3b7e63e336 Mon Sep 17 00:00:00 2001 +From b3a64702fa1978463c01bd5d9fe711e4628aba1e Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Mon, 28 Dec 2020 21:04:27 +0100 Subject: [PATCH] bash: update 5.0 -> 5.1 @@ -9,7 +9,6 @@ as needed instead making it work like other autotools based projects. Upstream-Status: Inappropriate [OE configuration specific] RP 2021/1/20 - --- configure.ac | 43 ------------------------------------------- 1 file changed, 43 deletions(-) diff --git a/meta/recipes-extended/bash/bash_5.2.21.bb b/meta/recipes-extended/bash/bash_5.2.32.bb similarity index 90% rename from meta/recipes-extended/bash/bash_5.2.21.bb rename to meta/recipes-extended/bash/bash_5.2.32.bb index ccfe5c47a7..b159c0232f 100644 --- a/meta/recipes-extended/bash/bash_5.2.21.bb +++ b/meta/recipes-extended/bash/bash_5.2.32.bb @@ -17,7 +17,7 @@ SRC_URI = "${GNU_MIRROR}/bash/${BP}.tar.gz;name=tarball \ file://0001-fix-c99.patch \ " -SRC_URI[tarball.sha256sum] = "c8e31bdc59b69aaffc5b36509905ba3e5cbb12747091d27b4b977f078560d5b8" +SRC_URI[tarball.sha256sum] = "d3ef80d2b67d8cbbe4d3265c63a72c46f9b278ead6e0e06d61801b58f23f50b5" DEBUG_OPTIMIZATION:append:armv4 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}" DEBUG_OPTIMIZATION:append:armv5 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"