scarthgap updates
cover scarthgap updates
From: Daniel Turull <[email protected]>
This series is a subset of the recipes updated with AUH.
I have reviewed the patches, build and ptest them.
The patches has been generated with the updated AUH
See [AUH] PATCH 0/6] Make upgrade-helper compatible with scarthgap and master in yocto-patches
The series applied on top of contrib/scarthgap-nut
Daniel
Daniel Turull (9):
base-passwd: upgrade 3.6.3 -> 3.6.8
gnupg: upgrade 2.4.8 -> 2.4.9
python3-requests: upgrade 2.32.4 -> 2.32.5
bash: upgrade 5.2.21 -> 5.2.37
sudo: upgrade 1.9.17p1 -> 1.9.17p2
lttng-ust: upgrade 2.13.8 -> 2.13.10
libatomic-ops: upgrade 7.8.2 -> 7.8.4
liburcu: upgrade 0.14.0 -> 0.14.2
numactl: upgrade 2.0.18 -> 2.0.19
.../0001-Add-a-shutdown-group.patch | 6 +-
.../0001-base-passwd-Add-the-sgx-group.patch | 4 +-
...nstead-of-bin-bash-for-the-root-user.patch | 4 +-
...t-since-we-do-not-have-an-etc-shadow.patch | 4 +-
...nput-group-for-the-dev-input-devices.patch | 4 +-
.../base-passwd/0005-Add-kvm-group.patch | 6 +-
.../base-passwd/0007-Add-wheel-group.patch | 18 +-
...e-passwd_3.6.3.bb => base-passwd_3.6.8.bb} | 2 +-
...s_2.32.4.bb => python3-requests_2.32.5.bb} | 2 +-
...T-handler-while-waiting-for-a-child-.patch | 21 +--
.../bash/bash/0001-fix-c99.patch | 20 +--
.../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 | 5 +-
.../bash/{bash_5.2.21.bb => bash_5.2.37.bb} | 2 +-
...o.conf.in-fix-conflict-with-multilib.patch | 2 +-
.../{sudo_1.9.17p1.bb => sudo_1.9.17p2.bb} | 2 +-
...es-when-rpath-is-stripped-from-in-bu.patch | 161 ------------------
...-common-link-with-liburcu-explicitly.patch | 3 +-
...Makefile.am-Add-install-lib-to-setup.patch | 3 +-
...tng-ust_2.13.8.bb => lttng-ust_2.13.10.bb} | 3 +-
...erride-init-is-not-needed-with-gcc-9.patch | 7 +-
...-a-custom-value-for-the-location-of-.patch | 5 +-
...use-pkgconfig-instead-of-npth-config.patch | 3 +-
...h-fix-find-version-for-beta-checking.patch | 3 +-
.../gnupg/gnupg/CVE-2025-68973.patch | 108 ------------
.../gnupg/gnupg/relocate.patch | 19 +--
.../gnupg/{gnupg_2.4.8.bb => gnupg_2.4.9.bb} | 4 +-
...ic-ops_7.8.2.bb => libatomic-ops_7.8.4.bb} | 2 +-
.../{liburcu_0.14.0.bb => liburcu_0.14.2.bb} | 2 +-
.../numactl/0001-define-run-test-target.patch | 3 +-
.../numactl/Fix-the-test-output-format.patch | 5 +-
meta/recipes-support/numactl/numactl_git.bb | 4 +-
36 files changed, 99 insertions(+), 390 deletions(-)
rename meta/recipes-core/base-passwd/{base-passwd_3.6.3.bb => base-passwd_3.6.8.bb} (98%)
rename meta/recipes-devtools/python/{python3-requests_2.32.4.bb => python3-requests_2.32.5.bb} (91%)
rename meta/recipes-extended/bash/{bash_5.2.21.bb => bash_5.2.37.bb} (92%)
rename meta/recipes-extended/sudo/{sudo_1.9.17p1.bb => sudo_1.9.17p2.bb} (96%)
delete mode 100644 meta/recipes-kernel/lttng/lttng-ust/0001-Fix-Build-examples-when-rpath-is-stripped-from-in-bu.patch
rename meta/recipes-kernel/lttng/{lttng-ust_2.13.8.bb => lttng-ust_2.13.10.bb} (92%)
delete mode 100644 meta/recipes-support/gnupg/gnupg/CVE-2025-68973.patch
rename meta/recipes-support/gnupg/{gnupg_2.4.8.bb => gnupg_2.4.9.bb} (96%)
rename meta/recipes-support/libatomic-ops/{libatomic-ops_7.8.2.bb => libatomic-ops_7.8.4.bb} (89%)
rename meta/recipes-support/liburcu/{liburcu_0.14.0.bb => liburcu_0.14.2.bb} (91%)PATCH 1/9 base-passwd: upgrade 3.6.3 -> 3.6.8
From: Daniel Turull <[email protected]>
Changelog for base-passwd: 3.6.3 -> 3.6.8
============================================================
base-passwd (3.6.8) unstable; urgency=medium
* Debconf translations:
- Turkish (thanks, Nuri KÜÇÜKLER; closes: #1102464).
* update-passwd(8) translations:
- French (thanks, Baptiste Jammet; closes: #1119914).
-- Colin Watson <[email protected]> Mon, 03 Nov 2025 11:03:53 +0000
base-passwd (3.6.7) unstable; urgency=medium
[ Marc Haber ]
* Add myself to Uploaders.
[ Colin Watson ]
* Debconf translations:
- Catalan (thanks, Carles Pina i Estany; closes: #1101110).
-- Colin Watson <[email protected]> Sun, 23 Mar 2025 15:30:08 +0000
base-passwd (3.6.6) unstable; urgency=medium
* Move to team maintenance under pkg-shadow-devel.
-- Colin Watson <[email protected]> Sun, 29 Dec 2024 13:43:54 +0000
base-passwd (3.6.5) unstable; urgency=medium
[ Colin Watson ]
* Apply X-Style: black.
* Add Romanian translation of update-passwd(8) (thanks, Remus-Gabriel
Chelu; closes: #1055383).
[ Maks Mishin ]
* Fix potential descriptor leaks.
-- Colin Watson <[email protected]> Mon, 21 Oct 2024 18:26:50 +0100
base-passwd (3.6.4) unstable; urgency=medium
[ Chris Hofstaedtler ]
* Ensure that /etc/subuid and /etc/subgid exist (closes: #1074121).
-- Colin Watson <[email protected]> Mon, 01 Jul 2024 12:20:04 +0100
---
.../0001-Add-a-shutdown-group.patch | 6 +++---
.../0001-base-passwd-Add-the-sgx-group.patch | 4 ++--
...instead-of-bin-bash-for-the-root-user.patch | 4 ++--
...ot-since-we-do-not-have-an-etc-shadow.patch | 4 ++--
...input-group-for-the-dev-input-devices.patch | 4 ++--
.../base-passwd/0005-Add-kvm-group.patch | 6 +++---
.../base-passwd/0007-Add-wheel-group.patch | 18 +++++++++++++-----
...se-passwd_3.6.3.bb => base-passwd_3.6.8.bb} | 2 +-
8 files changed, 28 insertions(+), 20 deletions(-)
rename meta/recipes-core/base-passwd/{base-passwd_3.6.3.bb => base-passwd_3.6.8.bb} (98%)meta/recipes-core/base-passwd/base-passwd/0001-Add-a-shutdown-group.patch +3 -3
@@ -1,4 +1,4 @@ -From 8f3ace87df3aaad85946c22cae240532ea3e73b8 Mon Sep 17 00:00:00 2001 +From 6f714635792a14fd3ee8d2ce0318c0185add5c00 Mon Sep 17 00:00:00 2001 From: Saul Wold <[email protected]> Date: Fri, 29 Apr 2022 13:32:27 +0000 Subject: [PATCH] Add a shutdown group
@@ -14,10 +14,10 @@ Signed-off-by: Saul Wold <[email protected]> 1 file changed, 1 insertion(+) diff --git a/group.master b/group.master -index ad1dd2d..1b5e2fb 100644 +index 3e7bf1c..72108a8 100644 --- a/group.master +++ b/group.master -@@ -35,5 +35,6 @@ sasl:*:45: +@@ -34,5 +34,6 @@ sasl:*:45: plugdev:*:46: staff:*:50: games:*:60:
meta/recipes-core/base-passwd/base-passwd/0001-base-passwd-Add-the-sgx-group.patch +2 -2
@@ -1,4 +1,4 @@ -From 9e57771d138ac423d5139b984b8c869122ce4976 Mon Sep 17 00:00:00 2001 +From ff622d69e9c06c00dacdffc163a383f8d2903475 Mon Sep 17 00:00:00 2001 From: Alex Kiernan <[email protected]> Date: Fri, 28 Jul 2023 10:28:57 +0100 Subject: [PATCH] base-passwd: Add the sgx group
@@ -17,7 +17,7 @@ Signed-off-by: Alex Kiernan <[email protected]> 1 file changed, 1 insertion(+) diff --git a/group.master b/group.master -index d34d2b832d43..e54fd1d2c6dc 100644 +index d34d2b8..e54fd1d 100644 --- a/group.master +++ b/group.master @@ -34,6 +34,7 @@ video:*:44:
meta/recipes-core/base-passwd/base-passwd/0002-Use-bin-sh-instead-of-bin-bash-for-the-root-user.patch +2 -2
@@ -1,4 +1,4 @@ -From 4411fc0df77566d52bee11ec0bad4be30a96e99e Mon Sep 17 00:00:00 2001 +From c30862c6892d17ae2f4578101dcb050250956cec Mon Sep 17 00:00:00 2001 From: Scott Garman <[email protected]> Date: Fri, 29 Apr 2022 13:32:27 +0000 Subject: [PATCH] Use /bin/sh instead of /bin/bash for the root user
@@ -12,7 +12,7 @@ Signed-off-by: Scott Garman <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passwd.master b/passwd.master -index 7cd4e24..041685a 100644 +index 90514a5..bd3efc2 100644 --- a/passwd.master +++ b/passwd.master @@ -1,4 +1,4 @@
meta/recipes-core/base-passwd/base-passwd/0003-Remove-for-root-since-we-do-not-have-an-etc-shadow.patch +2 -2
@@ -1,4 +1,4 @@ -From 13a1a284a134d18a454625a5b4485c0d99079ae9 Mon Sep 17 00:00:00 2001 +From 0d35229f01e3a38a27338320e67c4cb5652a3249 Mon Sep 17 00:00:00 2001 From: Scott Garman <[email protected]> Date: Fri, 29 Apr 2022 13:32:28 +0000 Subject: [PATCH] Remove "*" for root since we do not have an /etc/shadow
@@ -10,7 +10,7 @@ Signed-off-by: Scott Garman <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passwd.master b/passwd.master -index 041685a..31a84d4 100644 +index bd3efc2..66e9033 100644 --- a/passwd.master +++ b/passwd.master @@ -1,4 +1,4 @@
meta/recipes-core/base-passwd/base-passwd/0004-Add-an-input-group-for-the-dev-input-devices.patch +2 -2
@@ -1,4 +1,4 @@ -From c5f012750f8102ff54af73ccc2d2b7bfa1f26db4 Mon Sep 17 00:00:00 2001 +From d2cdd4c8d7332d05ac86fb0625e8c2b3c7bf7728 Mon Sep 17 00:00:00 2001 From: Darren Hart <[email protected]> Date: Fri, 29 Apr 2022 13:32:28 +0000 Subject: [PATCH] Add an input group for the /dev/input/* devices
@@ -10,7 +10,7 @@ Signed-off-by: Darren Hart <[email protected]> 1 file changed, 1 insertion(+) diff --git a/group.master b/group.master -index 1b5e2fb..cea9d60 100644 +index 72108a8..7d794b2 100644 --- a/group.master +++ b/group.master @@ -12,6 +12,7 @@ uucp:*:10:
meta/recipes-core/base-passwd/base-passwd/0005-Add-kvm-group.patch +3 -3
@@ -1,4 +1,4 @@ -From 6cf19461fb31d7a7a3010629aae9aab49c26a01b Mon Sep 17 00:00:00 2001 +From 07af34abb10b1455e065cfb1ce7ce766614da7e8 Mon Sep 17 00:00:00 2001 From: Jacob Kroon <[email protected]> Date: Wed, 30 Jan 2019 04:53:48 +0000 Subject: [PATCH] Add kvm group
@@ -10,10 +10,10 @@ Signed-off-by: Jacob Kroon <[email protected]> 1 file changed, 1 insertion(+) diff --git a/group.master b/group.master -index cea9d60..5b62284 100644 +index 7d794b2..7fdd8bf 100644 --- a/group.master +++ b/group.master -@@ -34,6 +34,7 @@ utmp:*:43: +@@ -33,6 +33,7 @@ utmp:*:43: video:*:44: sasl:*:45: plugdev:*:46:
meta/recipes-core/base-passwd/base-passwd/0007-Add-wheel-group.patch +13 -5
@@ -1,3 +1,7 @@ +From 3c88afb923de603d126f89f2979b2cd232a180c8 Mon Sep 17 00:00:00 2001 +From: Louis Rannou <[email protected]> +Date: Thu, 15 Jun 2023 13:43:55 +0200 +Subject: [PATCH] base-passwd: add the wheel group We need to have a wheel group which has some system privileges to consult the systemd journal or manage printers with cups.
@@ -7,11 +11,15 @@ Upstream says the group does not exist by default. Upstream-Status: Inappropriate [enable feature] Signed-off-by: Louis Rannou <[email protected]> -Index: base-passwd-3.5.26/group.master -=================================================================== ---- base-passwd-3.5.29.orig/group.master -+++ base-passwd-3.5.29/group.master -@@ -38,5 +38,6 @@ +--- + group.master | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/group.master b/group.master +index 7fdd8bf..d34d2b8 100644 +--- a/group.master ++++ b/group.master +@@ -37,5 +37,6 @@ kvm:*:47: staff:*:50: games:*:60: shutdown:*:70:
meta/recipes-core/base-passwd/base-passwd_3.6.8.bb renamed from meta/recipes-core/base-passwd/base-passwd_3.6.3.bb +1 -1
@@ -15,7 +15,7 @@ SRC_URI = "https://launchpad.net/debian/+archive/primary/+files/${BPN}_${PV}.tar file://0001-base-passwd-Add-the-sgx-group.patch \ " -SRC_URI[sha256sum] = "83575327d8318a419caf2d543341215c046044073d1afec2acc0ac4d8095ff39" +SRC_URI[sha256sum] = "fab3d0e6e8b641e116bda9bd5f7a7ed24482384c1513f6a369b506327fbc8dde" # the package is taken from launchpad; that source is static and goes stale # so we check the latest upstream from a directory that does get updated
PATCH 2/9 gnupg: upgrade 2.4.8 -> 2.4.9
In reply to [email protected]From: Daniel Turull <[email protected]>
Changelog for gnupg: 2.4.8 -> 2.4.9
============================================================
Release 2.4.9.
+ commit 21c7d29d6ed2eb891f7f66f83bcf764fcaaa6752
gpg: Fix possible memory corruption in the armor parser.
+ commit 4ecc5122f20e10c17172ed72f4fa46c784b5fb48
* g10/armor.c (armor_filter): Fix faulty double increment.
* common/iobuf.c (underflow_target): Assert that the filter implementations behave well.
2025-11-11 Sorah Fukumori <[email protected]>
agent: Fix a memory leak.
+ commit ff30683418695f5d2cc9e6cf8c9418e09378ebe4
* agent/findkey.c (read_key_file): Free BUF.
2025-10-22 Werner Koch <[email protected]>
gpg: Error out on unverified output for non-detached signatures.
+ commit 9d302f978bd718a7b477294c2f5b386bea6ca00d
* g10/mainproc.c (do_proc_packets): Never reset the any.data flag.
gpg: Avoid potential downgrade to SHA1 in 3rd party key signatures.
+ commit ddb012be7fe2ab0eb713b33c50c22ac8f194fa6c
* g10/sig-check.c (check_signature_over_key_or_uid): Always initialize IS_SELFSIG because it is later used to detect SHA1 non-selfsignatures.
2025-07-16 Werner Koch <[email protected]>
agent: Another fix for a regression with unknown curves and ssh.
+ commit a4f7417531d7cdee2caf5db39667867497852fde
* agent/command-ssh.c (ssh_send_available_keys): Clear the error when skipping.
agent: Fix ssh-agent's request_identities for skipped keys.
+ commit 6bf5696c8578782a25227c0806ce5f8abcafb603
* agent/command-ssh.c (ssh_send_available_keys): Adjust key counter for skipped keys.
2025-06-17 Werner Koch <[email protected]>
dirmngr: Do not require a keyserver for KS_FETCH.
+ commit 80d56172f29f8e7f2ca5dffa53235a33d5484bd3
* dirmngr/server.c (cmd_ks_fetch): Remove check for a keyserver.
2025-05-24 Collin Funk via Gnupg-devel <[email protected]>
common: Fix read buffer over-read in uncompress_ecc_q_in_canon_sexp.
+ commit 57c1c96e7f5c2b94daba5ccc0070cf3ee52d66d9
* common/sexputil.c (uncompress_ecc_q_in_canon_sexp): Only call memcmp if the lengths are equal.
2025-05-16 Werner Koch <[email protected]>
gpg: Do not allow compressed key packets on import.
+ commit 23ccad05c68005b580c7b209e2242bb93893af62
* g10/import.c (read_block): Bail out on compressed packets.
* g10/options.h (COMPAT_COMPR_KEYS): New.
* g10/gpg.c (compatibility_flags): Add compr-keys.
* common/util.h (GPG_ERR_UNEXPECTED_PACKET): Add a new replacement code.
2025-05-14 Werner Koch <[email protected]>
---
...erride-init-is-not-needed-with-gcc-9.patch | 7 +-
...-a-custom-value-for-the-location-of-.patch | 5 +-
...use-pkgconfig-instead-of-npth-config.patch | 3 +-
...h-fix-find-version-for-beta-checking.patch | 3 +-
.../gnupg/gnupg/CVE-2025-68973.patch | 108 ------------------
.../gnupg/gnupg/relocate.patch | 19 ++-
.../gnupg/{gnupg_2.4.8.bb => gnupg_2.4.9.bb} | 4 +-
7 files changed, 17 insertions(+), 132 deletions(-)
delete mode 100644 meta/recipes-support/gnupg/gnupg/CVE-2025-68973.patch
rename meta/recipes-support/gnupg/{gnupg_2.4.8.bb => gnupg_2.4.9.bb} (96%)meta/recipes-support/gnupg/gnupg/0001-Woverride-init-is-not-needed-with-gcc-9.patch +2 -5
@@ -1,4 +1,4 @@ -From e3adc816d2d56dd929016073937ba24e01e03cb8 Mon Sep 17 00:00:00 2001 +From f72e8441932e94b72eced585b70e679062822bff Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Thu, 20 Dec 2018 17:37:48 -0800 Subject: [PATCH] Woverride-init is not needed with gcc 9
@@ -17,7 +17,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dirmngr/dns.h b/dirmngr/dns.h -index 024d6dcc8..c6e141e16 100644 +index 1f647e1..334acb6 100644 --- a/dirmngr/dns.h +++ b/dirmngr/dns.h @@ -139,7 +139,7 @@ DNS_PUBLIC int *dns_debug_p(void);
@@ -29,6 +29,3 @@ index 024d6dcc8..c6e141e16 100644 #define DNS_PRAGMA_PUSH _Pragma("GCC diagnostic push") #define DNS_PRAGMA_QUIET _Pragma("GCC diagnostic ignored \"-Woverride-init\"") #define DNS_PRAGMA_POP _Pragma("GCC diagnostic pop") --- -2.17.1 -
meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch +2 -3
@@ -1,4 +1,4 @@ -From 6b581c43bd01f815db78a410fd3814fc5994171e Mon Sep 17 00:00:00 2001 +From e1ca1300720386aecf845aa9095e142a47c21e18 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <[email protected]> Date: Mon, 22 Jan 2018 18:00:21 +0200 Subject: [PATCH] configure.ac: use a custom value for the location of
@@ -8,13 +8,12 @@ This should avoid clashes with the host gpg-agent observed on autobuilders. Upstream-Status: Inappropriate [oe-core specific, and only for -native] Signed-off-by: Alexander Kanavin <[email protected]> - --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac -index 26d7f7b..e953c2e 100644 +index 94bc805..503979e 100644 --- a/configure.ac +++ b/configure.ac @@ -1921,7 +1921,7 @@ AC_DEFINE_UNQUOTED(GPGCONF_DISP_NAME, "GPGConf",
meta/recipes-support/gnupg/gnupg/0002-use-pkgconfig-instead-of-npth-config.patch +1 -2
@@ -1,4 +1,4 @@ -From d9048788d906774b1475c3bb1b17e22455c2add4 Mon Sep 17 00:00:00 2001 +From ea7295ea8b42a7d378c33679d07e100b7d487dfb Mon Sep 17 00:00:00 2001 From: Saul Wold <[email protected]> Date: Wed, 16 Aug 2017 11:16:30 +0800 Subject: [PATCH] use pkgconfig instead of npth config
@@ -9,7 +9,6 @@ Signed-off-by: Saul Wold <[email protected]> Rebase to 2.1.23 Signed-off-by: Hongxu Jia <[email protected]> - --- m4/npth.m4 | 53 ++++++++--------------------------------------------- 1 file changed, 8 insertions(+), 45 deletions(-)
meta/recipes-support/gnupg/gnupg/0004-autogen.sh-fix-find-version-for-beta-checking.patch +1 -2
@@ -1,4 +1,4 @@ -From 6a7f9b71d936847dcaeeac7d1b69d8299be4dd85 Mon Sep 17 00:00:00 2001 +From f273088de04ffdc38563a81bad7e97a143aee438 Mon Sep 17 00:00:00 2001 From: Wenzong Fan <[email protected]> Date: Wed, 16 Aug 2017 11:23:22 +0800 Subject: [PATCH] autogen.sh: fix find-version for beta checking
@@ -13,7 +13,6 @@ Signed-off-by: Wenzong Fan <[email protected]> Rebase to 2.1.23 Signed-off-by: Hongxu Jia <[email protected]> - --- autogen.sh | 1 - 1 file changed, 1 deletion(-)
meta/recipes-support/gnupg/gnupg/CVE-2025-68973.patch deleted +0 -108
108 lines not on this page · raw message
meta/recipes-support/gnupg/gnupg/relocate.patch +9 -10
@@ -1,4 +1,4 @@ -From c50d0a95fcf8f96c272fadd4ba85f3eeac39fcaf Mon Sep 17 00:00:00 2001 +From 030938bf3cc6265c9b0141aa1bf6da22a0bdb499 Mon Sep 17 00:00:00 2001 From: Ross Burton <[email protected]> Date: Wed, 19 Sep 2018 14:44:40 +0100 Subject: [PATCH] Allow the environment to override where gnupg looks for its
@@ -8,16 +8,15 @@ Upstream-Status: Inappropriate [OE-specific] Signed-off-by: Ross Burton <[email protected]> Signed-off-by: Alexander Kanavin <[email protected]> - --- common/homedir.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/common/homedir.c b/common/homedir.c -index 6f99f3e..f22aa9e 100644 +index 9fcb90b..fe91dcb 100644 --- a/common/homedir.c +++ b/common/homedir.c -@@ -1284,7 +1284,7 @@ gnupg_socketdir (void) +@@ -1294,7 +1294,7 @@ gnupg_socketdir (void) if (!name) { unsigned int dummy;
@@ -26,7 +25,7 @@ index 6f99f3e..f22aa9e 100644 gpgrt_annotate_leaked_object (name); } -@@ -1316,7 +1316,7 @@ gnupg_sysconfdir (void) +@@ -1326,7 +1326,7 @@ gnupg_sysconfdir (void) if (dir) return dir; else
@@ -35,7 +34,7 @@ index 6f99f3e..f22aa9e 100644 #endif /*!HAVE_W32_SYSTEM*/ } -@@ -1352,7 +1352,7 @@ gnupg_bindir (void) +@@ -1362,7 +1362,7 @@ gnupg_bindir (void) return name; } else
@@ -44,7 +43,7 @@ index 6f99f3e..f22aa9e 100644 #endif /*!HAVE_W32_SYSTEM*/ } -@@ -1379,7 +1379,7 @@ gnupg_libexecdir (void) +@@ -1389,7 +1389,7 @@ gnupg_libexecdir (void) return name; } else
@@ -53,7 +52,7 @@ index 6f99f3e..f22aa9e 100644 #endif /*!HAVE_W32_SYSTEM*/ } -@@ -1409,7 +1409,7 @@ gnupg_libdir (void) +@@ -1419,7 +1419,7 @@ gnupg_libdir (void) return name; } else
@@ -62,7 +61,7 @@ index 6f99f3e..f22aa9e 100644 #endif /*!HAVE_W32_SYSTEM*/ } -@@ -1440,7 +1440,7 @@ gnupg_datadir (void) +@@ -1450,7 +1450,7 @@ gnupg_datadir (void) return name; } else
@@ -71,7 +70,7 @@ index 6f99f3e..f22aa9e 100644 #endif /*!HAVE_W32_SYSTEM*/ } -@@ -1472,7 +1472,7 @@ gnupg_localedir (void) +@@ -1482,7 +1482,7 @@ gnupg_localedir (void) return name; } else
meta/recipes-support/gnupg/gnupg_2.4.9.bb renamed from meta/recipes-support/gnupg/gnupg_2.4.8.bb +2 -2
@@ -18,13 +18,13 @@ SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ file://0002-use-pkgconfig-instead-of-npth-config.patch \ file://0004-autogen.sh-fix-find-version-for-beta-checking.patch \ file://0001-Woverride-init-is-not-needed-with-gcc-9.patch \ - file://CVE-2025-68973.patch \ + file://relocate.patch \ " SRC_URI:append:class-native = " file://0001-configure.ac-use-a-custom-value-for-the-location-of-.patch \ file://relocate.patch" SRC_URI:append:class-nativesdk = " file://relocate.patch" -SRC_URI[sha256sum] = "b58c80d79b04d3243ff49c1c3fc6b5f83138eb3784689563bcdd060595318616" +SRC_URI[sha256sum] = "dd17ab2e9a04fd79d39d853f599cbc852062ddb9ab52a4ddeb4176fd8b302964" EXTRA_OECONF = "--disable-ldap \ --disable-ccid-driver \
PATCH 3/9 python3-requests: upgrade 2.32.4 -> 2.32.5
In reply to [email protected]From: Daniel Turull <[email protected]>
Changelog for python3-requests: 2.32.4 -> 2.32.5
============================================================
2.32.5 (2025-08-18)
-------------------
**Bugfixes**
- The SSLContext caching feature originally introduced in 2.32.0 has created a new class of issues in Requests that have had negative impact across a number of use cases. The Requests team has decided to revert this feature as long term maintenance of it is proving to be unsustainable in its current iteration.
**Deprecations**
- Added support for Python 3.14.
- Dropped support for Python 3.8 following its end of support.
---
.../{python3-requests_2.32.4.bb => python3-requests_2.32.5.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-requests_2.32.4.bb => python3-requests_2.32.5.bb} (91%)meta/recipes-devtools/python/python3-requests_2.32.5.bb renamed from meta/recipes-devtools/python/python3-requests_2.32.4.bb +1 -1
@@ -7,7 +7,7 @@ SRC_URI:append:class-nativesdk = " \ file://environment.d-python3-requests.sh \ " -SRC_URI[sha256sum] = "27d0316682c8a29834d3264820024b62a36942083d52caf2f14c0591336d3422" +SRC_URI[sha256sum] = "dbba0bac56e100853db0ea71b82b4dfd5fe2bf6d3754a8893c3af500cec7d7cf" inherit pypi python_setuptools_build_meta
Re: [OE-core] [scarthgap][PATCH 3/9] python3-requests: upgrade 2.32.4 -> 2.32.5
Quoted 10 lines · Daniel Turull via lists.openembedded.org
From: Daniel Turull <[email protected]>
Changelog for python3-requests: 2.32.4 -> 2.32.5
============================================================2.32.5 (2025-08-18)
-------------------**Bugfixes**
Quoted 8 lines
- The SSLContext caching feature originally introduced in 2.32.0 has created a new class of issues in Requests that have had negative impact across a number of use cases. The Requests team has decided to revert this feature as long term maintenance of it is proving to be unsustainable in its current iteration.
**Deprecations**
- Added support for Python 3.14.
- Dropped support for Python 3.8 following its end of support.
Sorry but that mean dropping support for a python version we are supposed to support:
Bitbake in scarthgap needs >= 3.8 and python3-requests can be -native so that mean that a python 3.8 can run this code.
Quoted 23 lines
Signed-off-by Daniel Turull <[email protected]>--- .../{python3-requests_2.32.4.bb => python3-requests_2.32.5.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-requests_2.32.4.bb => python3-requests_2.32.5.bb} (91%)meta/recipes-devtools/python/python3-requests_2.32.5.bb renamed from meta/recipes-devtools/python/python3-requests_2.32.4.bb +1
-1@@ -7,7 +7,7 @@ SRC_URI:append:class-nativesdk = " \ file://environment.d-python3-requests.sh \ " -SRC_URI[sha256sum] = "27d0316682c8a29834d3264820024b62a36942083d52caf2f14c0591336d3422" +SRC_URI[sha256sum] = "dbba0bac56e100853db0ea71b82b4dfd5fe2bf6d3754a8893c3af500cec7d7cf" inherit pypi python_setuptools_build_meta
Signature · 2 lines
Yoann Congal Smile ECS
RE: [OE-core] [scarthgap][PATCH 3/9] python3-requests: upgrade 2.32.4 -> 2.32.5
Quoted 32 lines
-----Original Message-----
From: Yoann Congal <[email protected]>
Sent: Friday, 24 April 2026 10:43
To: Daniel Turull <[email protected]>; openembedded- [email protected]
Subject: Re: [OE-core] [scarthgap][PATCH 3/9] python3-requests: upgrade 2.32.4 -> 2.32.5[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
Quoted 5 lines · Daniel Turull via lists.openembedded.org
From: Daniel Turull <[email protected]>
Changelog for python3-requests: 2.32.4 -> 2.32.5
============================================================Quoted 7 lines
2.32.5 (2025-08-18)
-------------------**Bugfixes**
- The SSLContext caching feature originally introduced in 2.32.0 has created a new class of issues in Requests that have had negative impact across a
number
Quoted 1 line
of use cases. The Requests team has decided to revert this feature as long
term
Quoted 2 lines
maintenance of it is proving to be unsustainable in its current iteration.
Quoted 8 lines
Quoted 3 lines
**Deprecations**
- Added support for Python 3.14.
- Dropped support for Python 3.8 following its end of support.Sorry but that mean dropping support for a python version we are supposed to support:
Bitbake in scarthgap needs >= 3.8 and python3-requests can be -native so that mean that a python 3.8 can run this code.
Thanks, I missed that since oe-core scarthgap has 3.12.12. I'll check for that in the next python3-* updates.
I guess then we need to drop the patch.
Daniel
PATCH 4/9 bash: upgrade 5.2.21 -> 5.2.37
In reply to [email protected]From: Daniel Turull <[email protected]>
---
...T-handler-while-waiting-for-a-child-.patch | 21 ++++++++-----------
.../bash/bash/0001-fix-c99.patch | 20 +++---------------
.../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 | 5 ++---
.../bash/{bash_5.2.21.bb => bash_5.2.37.bb} | 2 +-
9 files changed, 41 insertions(+), 59 deletions(-)
rename meta/recipes-extended/bash/{bash_5.2.21.bb => bash_5.2.37.bb} (92%)meta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch +9 -12
@@ -1,4 +1,4 @@ -From 721d5be99eb37d31e48bd66d61808a66a4c5ab84 Mon Sep 17 00:00:00 2001 +From 37f1f4ea73a737c23b239cc9e8b09587ccf61963 Mon Sep 17 00:00:00 2001 From: Chet Ramey <[email protected]> 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 <[email protected]> 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 -
meta/recipes-extended/bash/bash/0001-fix-c99.patch +3 -17
@@ -1,4 +1,4 @@ -From e9ed388e760ec33dcf9e72c639946c0d0abeec26 Mon Sep 17 00:00:00 2001 +From 055a7560ef7301ff4c76a5ff2de277633ced0c28 Mon Sep 17 00:00:00 2001 From: Ross Burton <[email protected]> Date: Wed, 19 Jun 2024 12:57:39 +0000 Subject: [PATCH] Fix C99 problems
@@ -8,9 +8,8 @@ Backport some fixes from upstream to fix configure checks that fail with GCC 14. Upstream-Status: Backport [devel branch] Signed-off-by: Ross Burton <[email protected]> --- - aclocal.m4 | 3 +++ - configure.ac | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) + aclocal.m4 | 3 +++ + 1 file changed, 3 insertions(+) diff --git a/aclocal.m4 b/aclocal.m4 index cc97bd4..7423b99 100644
@@ -26,16 +25,3 @@ index cc97bd4..7423b99 100644 int main() { -diff --git a/configure.ac b/configure.ac -index a3b5bd7..2a38c6b 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -842,7 +842,7 @@ AC_CHECK_DECLS([strtold], [ - [AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( - [[#include <stdlib.h>]], -- [[long double r; char *foo, bar; r = strtold(foo, &bar);]] -+ [[long double r; char *foo, *bar; r = strtold(foo, &bar);]] - )], - [bash_cv_strtold_broken=no],[bash_cv_strtold_broken=yes]) - ]
meta/recipes-extended/bash/bash/build-tests.patch +3 -4
@@ -1,4 +1,4 @@ -From 318b762837c2ad25319caeaf0320eff613b64daf Mon Sep 17 00:00:00 2001 +From 920861d8018cdad96f49b320f6f4eb49ae606738 Mon Sep 17 00:00:00 2001 From: Anders Roxell <[email protected]> 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 <[email protected]> Rebase to 5.0 Signed-off-by: Hongxu Jia <[email protected]> - --- 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
meta/recipes-extended/bash/bash/fix-filesubst-errexit.patch +2 -5
@@ -1,4 +1,4 @@ -From 59ddfda14e3c9aa6286bb4c4c0748f7c1324a65a Mon Sep 17 00:00:00 2001 +From 157de966e6b8a11bf75beab60776fafe757687f1 Mon Sep 17 00:00:00 2001 From: Chet Ramey <[email protected]> Date: Fri, 7 Apr 2023 00:28:46 -0700 Subject: [PATCH] $(<nosuchfile) is no longer a fatal error with errexit
@@ -17,7 +17,7 @@ Signed-off-by: Zev Weiss <[email protected]> 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 -
meta/recipes-extended/bash/bash/fix-run-builtins.patch +3 -6
@@ -1,4 +1,4 @@ -From 0c4cab9594c96c2dc435a8d9724605824bcbf917 Mon Sep 17 00:00:00 2001 +From cad8a7b1f355fb677503384adb885e7ef2e96d70 Mon Sep 17 00:00:00 2001 From: Dengke Du <[email protected]> Date: Tue, 19 Apr 2016 02:57:45 -0400 Subject: [PATCH] fix run-builtins failed
@@ -16,10 +16,10 @@ Signed-off-by: Dengke Du <[email protected]> 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 -
meta/recipes-extended/bash/bash/mkbuiltins_have_stringize.patch +14 -4
@@ -1,3 +1,8 @@ +From c1a2395ebc4473714533a9cebe9197789addedae Mon Sep 17 00:00:00 2001 +From: Christopher Larson <[email protected]> +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)
meta/recipes-extended/bash/bash/test-output.patch +4 -7
@@ -1,7 +1,7 @@ -From 28eb06047ebd2deaa8c7cd2bf6655ef6a469dc14 Mon Sep 17 00:00:00 2001 +From b0d0e91d2bc9b8d0b3b7fb500c324b7a318fddff Mon Sep 17 00:00:00 2001 From: Hongxu Jia <[email protected]> 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 <[email protected]> 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 -
meta/recipes-extended/bash/bash/use_aclocal.patch +2 -3
@@ -1,4 +1,4 @@ -From d1bf23817afffd5917b74da6946e0c3b7e63e336 Mon Sep 17 00:00:00 2001 +From f803b05a8d06f3df10aea47ccf9f5eb2fd438630 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <[email protected]> Date: Mon, 28 Dec 2020 21:04:27 +0100 Subject: [PATCH] bash: update 5.0 -> 5.1
@@ -9,13 +9,12 @@ 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/configure.ac b/configure.ac -index 50a6e20..a3b5bd7 100644 +index 52d4029..2a38c6b 100644 --- a/configure.ac +++ b/configure.ac @@ -710,49 +710,6 @@ if test x$SIZE = x; then
meta/recipes-extended/bash/bash_5.2.37.bb renamed from meta/recipes-extended/bash/bash_5.2.21.bb +1 -1
@@ -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] = "9599b22ecd1d5787ad7d3b7bf0c59f312b3396d1e281175dd1f8a4014da621ff" 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)}"
Re: [OE-core] [scarthgap][PATCH 4/9] bash: upgrade 5.2.21 -> 5.2.37
Quoted 4 lines · Daniel Turull via lists.openembedded.org
From: Daniel Turull <[email protected]>
Signed-off-by Daniel Turull <[email protected]>---
Sorry, I can't blindly upgrade.
Do you know where I can find the changelog 5.2.21 -> 5.2.37 ? Did you check that there was no breaking change in this upgade?
Thanks!
Quoted 332 lines
...T-handler-while-waiting-for-a-child-.patch | 21 ++++++++----------- .../bash/bash/0001-fix-c99.patch | 20 +++--------------- .../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 | 5 ++--- .../bash/{bash_5.2.21.bb => bash_5.2.37.bb} | 2 +- 9 files changed, 41 insertions(+), 59 deletions(-) rename meta/recipes-extended/bash/{bash_5.2.21.bb => bash_5.2.37.bb} (92%)meta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch +9
-12@@ -1,4 +1,4 @@ -From 721d5be99eb37d31e48bd66d61808a66a4c5ab84 Mon Sep 17 00:00:00 2001 +From 37f1f4ea73a737c23b239cc9e8b09587ccf61963 Mon Sep 17 00:00:00 2001 From: Chet Ramey <[email protected]> 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 <[email protected]> 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 -meta/recipes-extended/bash/bash/0001-fix-c99.patch +3
-17@@ -1,4 +1,4 @@ -From e9ed388e760ec33dcf9e72c639946c0d0abeec26 Mon Sep 17 00:00:00 2001 +From 055a7560ef7301ff4c76a5ff2de277633ced0c28 Mon Sep 17 00:00:00 2001 From: Ross Burton <[email protected]> Date: Wed, 19 Jun 2024 12:57:39 +0000 Subject: [PATCH] Fix C99 problems@@ -8,9 +8,8 @@ Backport some fixes from upstream to fix configure checks that fail with GCC 14. Upstream-Status: Backport [devel branch] Signed-off-by: Ross Burton <[email protected]> --- - aclocal.m4 | 3 +++ - configure.ac | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) + aclocal.m4 | 3 +++ + 1 file changed, 3 insertions(+) diff --git a/aclocal.m4 b/aclocal.m4 index cc97bd4..7423b99 100644@@ -26,16 +25,3 @@ index cc97bd4..7423b99 100644 int main() { -diff --git a/configure.ac b/configure.ac -index a3b5bd7..2a38c6b 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -842,7 +842,7 @@ AC_CHECK_DECLS([strtold], [ - [AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( - [[#include <stdlib.h>]], -- [[long double r; char *foo, bar; r = strtold(foo, &bar);]] -+ [[long double r; char *foo, *bar; r = strtold(foo, &bar);]] - )], - [bash_cv_strtold_broken=no],[bash_cv_strtold_broken=yes]) - ]meta/recipes-extended/bash/bash/build-tests.patch +3
-4@@ -1,4 +1,4 @@ -From 318b762837c2ad25319caeaf0320eff613b64daf Mon Sep 17 00:00:00 2001 +From 920861d8018cdad96f49b320f6f4eb49ae606738 Mon Sep 17 00:00:00 2001 From: Anders Roxell <[email protected]> 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 <[email protected]> Rebase to 5.0 Signed-off-by: Hongxu Jia <[email protected]> - --- 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.cmeta/recipes-extended/bash/bash/fix-filesubst-errexit.patch +2
-5@@ -1,4 +1,4 @@ -From 59ddfda14e3c9aa6286bb4c4c0748f7c1324a65a Mon Sep 17 00:00:00 2001 +From 157de966e6b8a11bf75beab60776fafe757687f1 Mon Sep 17 00:00:00 2001 From: Chet Ramey <[email protected]> Date: Fri, 7 Apr 2023 00:28:46 -0700 Subject: [PATCH] $(<nosuchfile) is no longer a fatal error with errexit@@ -17,7 +17,7 @@ Signed-off-by: Zev Weiss <[email protected]> 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 -meta/recipes-extended/bash/bash/fix-run-builtins.patch +3
-6@@ -1,4 +1,4 @@ -From 0c4cab9594c96c2dc435a8d9724605824bcbf917 Mon Sep 17 00:00:00 2001 +From cad8a7b1f355fb677503384adb885e7ef2e96d70 Mon Sep 17 00:00:00 2001 From: Dengke Du <[email protected]> Date: Tue, 19 Apr 2016 02:57:45 -0400 Subject: [PATCH] fix run-builtins failed@@ -16,10 +16,10 @@ Signed-off-by: Dengke Du <[email protected]> 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 -meta/recipes-extended/bash/bash/mkbuiltins_have_stringize.patch +14
-4@@ -1,3 +1,8 @@ +From c1a2395ebc4473714533a9cebe9197789addedae Mon Sep 17 00:00:00 2001 +From: Christopher Larson <[email protected]> +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)meta/recipes-extended/bash/bash/test-output.patch +4
-7@@ -1,7 +1,7 @@ -From 28eb06047ebd2deaa8c7cd2bf6655ef6a469dc14 Mon Sep 17 00:00:00 2001 +From b0d0e91d2bc9b8d0b3b7fb500c324b7a318fddff Mon Sep 17 00:00:00 2001 From: Hongxu Jia <[email protected]> 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 <[email protected]> 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 -meta/recipes-extended/bash/bash/use_aclocal.patch +2
-3@@ -1,4 +1,4 @@ -From d1bf23817afffd5917b74da6946e0c3b7e63e336 Mon Sep 17 00:00:00 2001 +From f803b05a8d06f3df10aea47ccf9f5eb2fd438630 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <[email protected]> Date: Mon, 28 Dec 2020 21:04:27 +0100 Subject: [PATCH] bash: update 5.0 -> 5.1@@ -9,13 +9,12 @@ 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/configure.ac b/configure.ac -index 50a6e20..a3b5bd7 100644 +index 52d4029..2a38c6b 100644 --- a/configure.ac +++ b/configure.ac @@ -710,49 +710,6 @@ if test x$SIZE = x; thenmeta/recipes-extended/bash/bash_5.2.37.bb renamed from meta/recipes-extended/bash/bash_5.2.21.bb +1
-1@@ -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] = "9599b22ecd1d5787ad7d3b7bf0c59f312b3396d1e281175dd1f8a4014da621ff" 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)}"
Signature · 2 lines
Yoann Congal Smile ECS
RE: [OE-core] [scarthgap][PATCH 4/9] bash: upgrade 5.2.21 -> 5.2.37
Quoted 11 lines
-----Original Message-----
From: Yoann Congal <[email protected]>
Sent: Friday, 24 April 2026 15:48
To: Daniel Turull <[email protected]>; openembedded- [email protected]
Subject: Re: [OE-core] [scarthgap][PATCH 4/9] bash: upgrade 5.2.21 -> 5.2.37On Thu Apr 9, 2026 at 11:29 AM CEST, Daniel Turull via lists.openembedded.org wrote:
Quoted 7 lines
Quoted 4 lines
From: Daniel Turull <[email protected]>
Signed-off-by Daniel Turull <[email protected]>---
Sorry, I can't blindly upgrade.
Do you know where I can find the changelog 5.2.21 -> 5.2.37 ?
Changes between bash 5.2.21 and 5.2.37
(source: https://git.savannah.gnu.org/git/bash.git)
(patches: https://ftp.gnu.org/gnu/bash/bash-5.2-patches/)
5.2.22 (1a2f3d51) - Fix readline attempting to zero out a line that is not null-terminated
5.2.23 (c22ce0d0) - Fix local - from overwriting saved set of options
5.2.24 (d1cf6ad9) - Fix problem with tilde expansion of values in compound associative array assignments
5.2.25 (0bec38a5) - Fix problem with subshells terminated by a signal exiting with the wrong status
5.2.26 (f3b6bd19) - Fix typo when specifying readline's custom color prefix
5.2.27 (da16dd1e) - Fix autoconf test for strtoimax
5.2.28 (7440bd8b) - Fix terminal pgrp handling in DEBUG trap
5.2.29 (bc3e91db) - Fix for error recovery when parsing invalid compound assignments
5.2.30 (6e45e752) - Fix bug with marking jobs terminated by signals as notified
5.2.31 (471fd9a3) - Fix memory leak in optimized $(<file) expansion
5.2.32 (142bbdd8) - Fix printing coprocs when the coproc does not have a name
5.2.33 (37b7e91d) - Fix autoconf test for broken strtold
5.2.34 (2abedfbd) - Fix for parsing compound assignment while expanding alias
5.2.35 (315ca61c) - Fix compilation on systems that provide select or pselect but not both
5.2.36 (fda8d332) - Fix for reading partial invalid multibyte characters
5.2.37 (c5c97b37) - Fix issue where comparing quoted and unquoted words to be completed results in readline not displaying possible matches
Quoted 1 line
Did you check that there was no breaking change in this upgade?
I'll rerun a testimage with core-image-full-cmdline with ptest to see if something breaks, but I didn't see any break.
Quoted 393 lines
Thanks!
Quoted 10 lines
...T-handler-while-waiting-for-a-child-.patch | 21 ++++++++----------- .../bash/bash/0001-fix-c99.patch | 20 +++--------------- .../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 | 5 ++--- .../bash/{bash_5.2.21.bb => bash_5.2.37.bb} | 2 +- 9 files changed, 41 insertions(+), 59 deletions(-) renameQuoted 4 lines
meta/recipes-extended/bash/{bash_5.2.21.bb => bash_5.2.37.bb} (92%)
diff --git a/meta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-
while
Quoted 2 lines
-waiting-for-a-child-.patch b/meta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-
while
Quoted 4 lines
-waiting-for-a-child-.patch
index77d770b364..fae56ce2f2100644
---
a/meta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-while
Quoted 2 lines
-waiting-for-a-child-.patch
+++ b/meta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-w
Review line 1
Quoted 3 lines
+++ hile-waiting-for-a-child-.patch
(quoted diff) +0
-1@@ -1,4 +1,4 @@ -From 721d5be99eb37d31e48bd66d61808a66a4c5ab84 Mon Sep 1700:00:00
Quoted 7 lines
2001
+From37f1f4ea73a737c23b239cc9e8b09587ccf61963Mon Sep 17 00:00:00 +2001
From: Chet Ramey <[email protected]>
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 Chenmeta/recipes-extended/bash/bash/0001-fix-c99.patch Backport some fixes from upstream to fix configure
Quoted 86 lines
6 files changed, 43 insertions(+), 32 deletions(-)diff --git
a/general.cb/general.cmeta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch +2
-2-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 entirestring diff --git
a/jobs.cb/jobs.c-index6b986ed7..262d78de100644 +index d3e4ab0..903cf9c 100644
---a/jobs.c
+++b/jobs.c
@@ -2718,6 +2718,10 @@wait_for_background_pids(ps) @@ -96,7 +96,7
@@ index6b986ed7..262d78de100644waiting_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 @@ index6b986ed7..262d78de100644
if (temp_handler==SIG_DFL)
termsig_handler(SIGINT); /* XXX */
diff --git a/tests/redir.right b/tests/redir.right -index8db10414..9e1403c8100644meta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch +1
-0+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..ca9854cd100644
+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 @@
indexd417cdb6..ca9854cd100644a=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 'redir11bad 4'; } diff --git a/tests/type.right b/tests/type.right -index
bbc228e8..e0a66745100644meta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch +1
-0+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..ddc15407100644meta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch +1
-3+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 -meta/recipes-extended/bash/bash/0001-fix-c99.patch +0
-1@@ -1,4 +1,4 @@ -From e9ed388e760ec33dcf9e72c639946c0d0abeec26 Mon Sep 17 00:00:002001
meta/recipes-extended/bash/bash/0001-fix-c99.patch +2
-0+From 055a7560ef7301ff4c76a5ff2de277633ced0c28 Mon Sep 17 00:00:00 +2001 From: Ross Burton <[email protected]> Date: Wed, 19 Jun 2024 12:57:39 +0000 Subject: [PATCH] Fix C99 problems@@ -8,9 +8,8 @@ Backport some fixes from upstream to fix configurechecks that fail with GCC 14.
Quoted 35 lines
meta/recipes-extended/bash/bash/0001-fix-c99.patch +2
-4Upstream-Status: Backport [devel branch] Signed-off-by: Ross Burton <[email protected]> --- - aclocal.m4 | 3 +++ - configure.ac | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) + aclocal.m4 | 3 +++ + 1 file changed, 3 insertions(+) diff --git a/aclocal.m4 b/aclocal.m4 index cc97bd4..7423b99 100644@@ -26,16 +25,3 @@ index cc97bd4..7423b99 100644 int main() { -diff --git a/configure.ac b/configure.ac -index a3b5bd7..2a38c6b100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -842,7 +842,7 @@ AC_CHECK_DECLS([strtold], [meta/recipes-extended/bash/bash/0001-fix-c99.patch +0
-8- [AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( - [[#include <stdlib.h>]], -- [[long double r; char *foo, bar; r = strtold(foo, &bar);]] -+ [[long double r; char *foo, *bar; r = strtold(foo, &bar);]] - )], - [bash_cv_strtold_broken=no],[bash_cv_strtold_broken=yes]) - ]meta/recipes-extended/bash/bash/build-tests.patch +0
-1@@ -1,4 +1,4 @@ -From 318b762837c2ad25319caeaf0320eff613b64daf Mon Sep 17 00:00:00Quoted 2 lines
2001
+From920861d8018cdad96f49b320f6f4eb49ae606738Mon Sep 1700:00:00
Quoted 31 lines
+2001
From: Anders Roxell <[email protected]>
Date: Wed, 19 Dec 2012 17:18:31 +0100
Subject: [PATCH] Add 'ptest' target toMakefile, to run tests without
checking @@ -9,16 +9,15 @@ Signed-off-by: Anders Roxell <[email protected]>Rebase to 5.0
Signed-off-by Hongxu Jia <[email protected]>meta/recipes-extended/bash/bash/build-tests.patch +2
-2- --- 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.cdiff --git
a/meta/recipes-extended/bash/bash/fix-filesubst-errexit.patchb/meta/recipes-extended/bash/bash/fix-filesubst-errexit.patchindex60f1852316..f80ae37656100644meta/recipes-extended/bash/bash/fix-filesubst-errexit.patch +0
-1@@ -1,4 +1,4 @@ -From 59ddfda14e3c9aa6286bb4c4c0748f7c1324a65a Mon Sep 17 00:00:00Quoted 7 lines
2001
+From157de966e6b8a11bf75beab60776fafe757687f1Mon Sep 17 00:00:00 +2001
From: Chet Ramey <[email protected]>
Date: Fri, 7 Apr 2023 00:28:46 -0700
Subject: [PATCH] $(<nosuchfile) is no longer a fatal error with
errexit @@ -17,7 +17,7 @@ Signed-off-by: Zev WeissQuoted 22 lines
1 file changed, 1 insertion(+), 1 deletion(-)diff --git
a/builtins/evalstring.cb/builtins/evalstring.c-indexdf3dd68e2a7e..6612081cd646100644
+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 @@ indexdf3dd68e2a7e..6612081cd646100644free (fn); if (fnp)*fnp = 0;
---
-2.40.0meta/recipes-extended/bash/bash/fix-filesubst-errexit.patch +0
-1-meta/recipes-extended/bash/bash/fix-run-builtins.patch +0
-1@@ -1,4 +1,4 @@ -From 0c4cab9594c96c2dc435a8d9724605824bcbf917 Mon Sep 17 00:00:00Quoted 2 lines
2001
+Fromcad8a7b1f355fb677503384adb885e7ef2e96d70Mon Sep 1700:00:00
Quoted 31 lines
+2001
From: Dengke Du <[email protected]>
Date: Tue, 19 Apr 2016 02:57:45 -0400
Subject: [PATCH] fix run-builtins failed @@ -16,10 +16,10 @@Signed-off-by Dengke Du <[email protected]>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..93dc6a5035 100644meta/recipes-extended/bash/bash/mkbuiltins_have_stringize.patch line 1
Quoted 1 line
meta/recipes-extended/bash/bash/mkbuiltins_have_stringize.patch +1
-0@@ -1,3 +1,8 @@ +From c1a2395ebc4473714533a9cebe9197789addedae Mon Sep 1700:00:00
Quoted 10 lines
meta/recipes-extended/bash/bash/mkbuiltins_have_stringize.patch +5
-0+2001 +From: Christopher Larson <[email protected]> +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'sused by the macros to wrap functions (e.g. read and open in
unistd.h). Those wrappers use theSTRING()macro fromunistd.h. A header in the bash sources overrides @@ -13,14 +18,19 @@ stringize support, or to not defineSTRING()at all whenFORTIFY_SOURCESisdefined, letting the
unistd.hone be used, instead.meta/recipes-extended/bash/bash/test-output.patch Signed-off-by: Hongxu Jia
Quoted 40 lines
Upstream-Status: Pending
+--- + builtins/mkbuiltins.c | 1 ++ 1 file changed, 1 insertion(+)
----
bash-4.2.orig/builtins/mkbuiltins.c
-+++bash-4.2/builtins/mkbuiltins.cmeta/recipes-extended/bash/bash/mkbuiltins_have_stringize.patch +6
-2+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)meta/recipes-extended/bash/bash/test-output.patch +0
-1@@ -1,7 +1,7 @@ -From 28eb06047ebd2deaa8c7cd2bf6655ef6a469dc14 Mon Sep 17 00:00:002001
meta/recipes-extended/bash/bash/test-output.patch +3
-1+From b0d0e91d2bc9b8d0b3b7fb500c324b7a318fddff Mon Sep 17 00:00:00 +2001 From: Hongxu Jia <[email protected]> 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 Jiameta/recipes-extended/bash/bash_5.2.37.bb SRC_URI =
Quoted 56 lines
meta/recipes-extended/bash/bash/test-output.patch +0
-01 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/run-all b/tests/run-all -index 2882fe0..e21d026100644
meta/recipes-extended/bash/bash/test-output.patch +2
-4+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 -meta/recipes-extended/bash/bash/use_aclocal.patch +0
-1@@ -1,4 +1,4 @@ -From d1bf23817afffd5917b74da6946e0c3b7e63e336 Mon Sep 17 00:00:002001
+Fromf803b05a8d06f3df10aea47ccf9f5eb2fd438630Mon Sep 17 00:00:00 +2001
From: Alexander Kanavin <[email protected]>
Date: Mon, 28 Dec 2020 21:04:27 +0100
Subject: [PATCH] bash: update 5.0 -> 5.1 @@ -9,13 +9,12 @@ 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/configure.ac b/configure.ac -index 50a6e20..a3b5bd7
100644
+index 52d4029..2a38c6b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -710,49 +710,6 @@ if test x$SIZE = x; then diff --git
a/meta/recipes-extended/bash/bash_5.2.21.bb b/meta/recipes-extended/bash/bash_5.2.37.bb
similarity index 92%
rename from meta/recipes-extended/bash/bash_5.2.21.bb rename to meta/recipes-extended/bash/bash_5.2.37.bb index7652e7d87a..8262cea740100644meta/recipes-extended/bash/bash_5.2.37.bb renamed from meta/recipes-extended/bash/bash_5.2.21.bb +0
-0@@ -17,7 +17,7 @@ SRC_URI ="${GNU_MIRROR}/bash/${BP}.tar.gz;name=tarball \
meta/recipes-extended/bash/bash_5.2.37.bb SRC_URI = "${GNU_MIRROR}/bash/${BP}.tar.gz;name=tarball \
Quoted 4 lines
meta/recipes-extended/bash/bash_5.2.37.bb renamed from meta/recipes-extended/bash/bash_5.2.21.bb +0
-1file://0001-fix-c99.patch \ " -SRC_URI[tarball.sha256sum] ="
c8e31bdc59b69aaffc5b36509905ba3e5cbb12747091d27b4b977f078560d5b8"meta/recipes-extended/bash/bash_5.2.37.bb SRC_URI = · line 20
Quoted 1 line
meta/recipes-extended/bash/bash_5.2.37.bb renamed from meta/recipes-extended/bash/bash_5.2.21.bb +1
-0+SRC_URI[tarball.sha256sum] ="
9599b22ecd1d5787ad7d3b7bf0c59f312b3396d1e281175dd1f8a4014da621ff"meta/recipes-extended/bash/bash_5.2.37.bb SRC_URI = · line 21
Quoted 2 lines
meta/recipes-extended/bash/bash_5.2.37.bb renamed from meta/recipes-extended/bash/bash_5.2.21.bb +0
-0DEBUG_OPTIMIZATION:append:armv4 = "${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
meta/recipes-extended/bash/bash_5.2.37.bb SRC_URI = · line 22
Quoted 1 line
meta/recipes-extended/bash/bash_5.2.37.bb renamed from meta/recipes-extended/bash/bash_5.2.21.bb +0
-0DEBUG_OPTIMIZATION:append:armv5 = "${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
--
Yoann Congal
Smile ECS
RE: [OE-core] [scarthgap][PATCH 4/9] bash: upgrade 5.2.21 -> 5.2.37
Quoted 56 lines
-----Original Message-----
From: Daniel Turull
Sent: Monday, 27 April 2026 17:19
To: 'Yoann Congal' <[email protected]>; openembedded- [email protected]
Subject: RE: [OE-core] [scarthgap][PATCH 4/9] bash: upgrade 5.2.21 -> 5.2.37Quoted 10 lines
-----Original Message-----
From: Yoann Congal <[email protected]>
Sent: Friday, 24 April 2026 15:48
To: Daniel Turull <[email protected]>; openembedded- [email protected]
Subject: Re: [OE-core] [scarthgap][PATCH 4/9] bash: upgrade 5.2.21 -> 5.2.37On Thu Apr 9, 2026 at 11:29 AM CEST, Daniel Turull via lists.openembedded.org wrote:
Quoted 7 lines
Quoted 4 lines
From: Daniel Turull <[email protected]>
Signed-off-by Daniel Turull <[email protected]>---
Sorry, I can't blindly upgrade.
Do you know where I can find the changelog 5.2.21 -> 5.2.37 ?Changes between bash 5.2.21 and 5.2.37
(source: https://git.savannah.gnu.org/git/bash.git)
(patches: https://ftp.gnu.org/gnu/bash/bash-5.2-patches/)5.2.22 (
1a2f3d51) - Fix readline attempting to zero out a line that is not null-
terminated
5.2.23 (c22ce0d0) - Fix local - from overwriting saved set of options 5.2.24 (d1cf6ad9) - Fix problem with tilde expansion of values in compound
associative array assignments
5.2.25 (0bec38a5) - Fix problem with subshells terminated by a signal exiting
with the wrong status
5.2.26 (f3b6bd19) - Fix typo when specifying readline's custom color prefix 5.2.27 (da16dd1e) - Fix autoconf test for strtoimax
5.2.28 (7440bd8b) - Fix terminal pgrp handling in DEBUG trap
5.2.29 (bc3e91db) - Fix for error recovery when parsing invalid compound
assignments
5.2.30 (6e45e752) - Fix bug with marking jobs terminated by signals as notified 5.2.31 (471fd9a3) - Fix memory leak in optimized $(<file) expansion 5.2.32 (142bbdd8) - Fix printing coprocs when the coproc does not have a name 5.2.33 (37b7e91d) - Fix autoconf test for broken strtold
5.2.34 (2abedfbd) - Fix for parsing compound assignment while expanding alias 5.2.35 (315ca61c) - Fix compilation on systems that provide select or pselect but
not both
5.2.36 (fda8d332) - Fix for reading partial invalid multibyte characters 5.2.37 (c5c97b37) - Fix issue where comparing quoted and unquoted words to
be completed results in readline not displaying possible matches
Quoted 4 lines
Quoted 1 line
Did you check that there was no breaking change in this upgade?
I'll rerun a testimage with core-image-full-cmdline with ptest to see if something breaks, but I didn't see any break.
The results are clean. I cannot see regressions when run locally with qemux86-64
Quoted 398 lines
Quoted 398 lines
Thanks!
Quoted 10 lines
...T-handler-while-waiting-for-a-child-.patch | 21 ++++++++----------- .../bash/bash/0001-fix-c99.patch | 20 +++--------------- .../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 | 5 ++--- .../bash/{bash_5.2.21.bb => bash_5.2.37.bb} | 2 +- 9 files changed, 41 insertions(+), 59 deletions(-) renameQuoted 4 lines
meta/recipes-extended/bash/{bash_5.2.21.bb => bash_5.2.37.bb} (92%)
diff --git a/meta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-
while
Quoted 2 lines
-waiting-for-a-child-.patch b/meta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-
while
Quoted 4 lines
-waiting-for-a-child-.patch
index77d770b364..fae56ce2f2100644
---
a/meta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-while
Quoted 3 lines
-waiting-for-a-child-.patch
+++ b/meta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler +++ -w
Review line 1
Quoted 3 lines
+++ hile-waiting-for-a-child-.patch
(quoted diff) +0
-1@@ -1,4 +1,4 @@ -From 721d5be99eb37d31e48bd66d61808a66a4c5ab84 Mon Sep 1700:00:00
Quoted 7 lines
2001
+From37f1f4ea73a737c23b239cc9e8b09587ccf61963Mon Sep 17 00:00:00 +2001
From: Chet Ramey <[email protected]>
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 Chenmeta/recipes-extended/bash/bash/0001-fix-c99.patch Backport some fixes from upstream to fix configure
Quoted 87 lines
6 files changed, 43 insertions(+), 32 deletions(-)diff --git
a/general.cb/general.cmeta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch +2
-2-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 entirestring diff --git
a/jobs.cb/jobs.c-index6b986ed7..262d78de100644
+index d3e4ab0..903cf9c 100644
---a/jobs.c
+++b/jobs.c
@@ -2718,6 +2718,10 @@wait_for_background_pids(ps) @@ -96,7 +96,7
@@ index6b986ed7..262d78de100644waiting_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 @@ index6b986ed7..262d78de100644
if (temp_handler==SIG_DFL)
termsig_handler(SIGINT); /* XXX */
diff --git a/tests/redir.right b/tests/redir.right -index8db10414..9e1403c8100644meta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch +1
-0+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..ca9854cd100644
+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 @@
indexd417cdb6..ca9854cd100644a=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 'redir11bad 4'; } diff --git a/tests/type.right b/tests/type.right -index
bbc228e8..e0a66745100644meta/recipes-extended/bash/bash/0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch +1
-0+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..ddc15407100644
+index fd39c18..ddc1540 100644
--- a/tests/type.tests
+++ b/tests/type.tests
@@ -25,8 +25,6 @@ type -r ${THIS_SH} @@ -221,6 +221,3 @@ indexfd39c18a..ddc15407100644
type mhash -r
---
-2.35.5(quoted diff) +0
-1-meta/recipes-extended/bash/bash/0001-fix-c99.patch +0
-1@@ -1,4 +1,4 @@ -From e9ed388e760ec33dcf9e72c639946c0d0abeec26 Mon Sep 17 00:00:002001
meta/recipes-extended/bash/bash/0001-fix-c99.patch +2
-0+From 055a7560ef7301ff4c76a5ff2de277633ced0c28 Mon Sep 17 00:00:00 +2001 From: Ross Burton <[email protected]> Date: Wed, 19 Jun 2024 12:57:39 +0000 Subject: [PATCH] Fix C99 problems@@ -8,9 +8,8 @@ Backport some fixes from upstream to fix configurechecks that fail with GCC 14.
Quoted 34 lines
meta/recipes-extended/bash/bash/0001-fix-c99.patch +2
-4Upstream-Status: Backport [devel branch] Signed-off-by: Ross Burton <[email protected]> --- - aclocal.m4 | 3 +++ - configure.ac | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) + aclocal.m4 | 3 +++ + 1 file changed, 3 insertions(+) diff --git a/aclocal.m4 b/aclocal.m4 index cc97bd4..7423b99 100644@@ -26,16 +25,3 @@ index cc97bd4..7423b99 100644 int main() { -diff --git a/configure.ac b/configure.ac -index a3b5bd7..2a38c6b100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -842,7 +842,7 @@ AC_CHECK_DECLS([strtold], [meta/recipes-extended/bash/bash/0001-fix-c99.patch +0
-8- [AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( - [[#include <stdlib.h>]], -- [[long double r; char *foo, bar; r = strtold(foo, &bar);]] -+ [[long double r; char *foo, *bar; r = strtold(foo, &bar);]] - )], - [bash_cv_strtold_broken=no],[bash_cv_strtold_broken=yes]) - ]meta/recipes-extended/bash/bash/build-tests.patch +0
-1@@ -1,4 +1,4 @@ -From 318b762837c2ad25319caeaf0320eff613b64daf Mon Sep 17 00:00:00Quoted 2 lines
2001
+From920861d8018cdad96f49b320f6f4eb49ae606738Mon Sep 1700:00:00
Quoted 32 lines
+2001
From: Anders Roxell <[email protected]>
Date: Wed, 19 Dec 2012 17:18:31 +0100
Subject: [PATCH] Add 'ptest' target toMakefile, to run tests
without checking @@ -9,16 +9,15 @@ Signed-off-by: Anders Roxell <[email protected]>Rebase to 5.0
Signed-off-by Hongxu Jia <[email protected]>-
---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:
firecho$(EXEEXT): $(SUPPORT_SRC)recho.c
diff --gita/meta/recipes-extended/bash/bash/fix-filesubst-errexit.patchb/meta/recipes-extended/bash/bash/fix-filesubst-errexit.patchindex60f1852316..f80ae37656100644meta/recipes-extended/bash/bash/fix-filesubst-errexit.patch +0
-1@@ -1,4 +1,4 @@ -From 59ddfda14e3c9aa6286bb4c4c0748f7c1324a65a Mon Sep 17 00:00:00Quoted 7 lines
2001
+From157de966e6b8a11bf75beab60776fafe757687f1Mon Sep 17 00:00:00 +2001
From: Chet Ramey <[email protected]>
Date: Fri, 7 Apr 2023 00:28:46 -0700
Subject: [PATCH] $(<nosuchfile) is no longer a fatal error with
errexit @@ -17,7 +17,7 @@ Signed-off-by: Zev WeissQuoted 23 lines
1 file changed, 1 insertion(+), 1 deletion(-)diff --git
a/builtins/evalstring.cb/builtins/evalstring.c-indexdf3dd68e2a7e..6612081cd646100644
+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 @@
indexdf3dd68e2a7e..6612081cd646100644free (fn); if (fnp)*fnp = 0;
---
-2.40.0meta/recipes-extended/bash/bash/fix-filesubst-errexit.patch +0
-1-meta/recipes-extended/bash/bash/fix-run-builtins.patch +0
-1@@ -1,4 +1,4 @@ -From 0c4cab9594c96c2dc435a8d9724605824bcbf917 Mon Sep 17 00:00:00Quoted 2 lines
2001
+Fromcad8a7b1f355fb677503384adb885e7ef2e96d70Mon Sep 1700:00:00
Quoted 33 lines
+2001
From: Dengke Du <[email protected]>
Date: Tue, 19 Apr 2016 02:57:45 -0400
Subject: [PATCH] fix run-builtins failed @@ -16,10 +16,10 @@Signed-off-by Dengke Du <[email protected]>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..93dc6a5035 100644 --- a/meta/recipes-extended/bash/bash/mkbuiltins_have_stringize.patch +++ b/meta/recipes-extended/bash/bash/mkbuiltins_have_stringize.patc +++ hmeta/recipes-extended/bash/bash/fix-run-builtins.patch line 1
Quoted 1 line
meta/recipes-extended/bash/bash/fix-run-builtins.patch +1
-0@@ -1,3 +1,8 @@ +From c1a2395ebc4473714533a9cebe9197789addedae Mon Sep 1700:00:00
Quoted 10 lines
meta/recipes-extended/bash/bash/fix-run-builtins.patch +5
-0+2001 +From: Christopher Larson <[email protected]> +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, asit's used by the macros to wrap functions (e.g. read and open in
unistd.h). Those wrappers use theSTRING()macro fromunistd.h. A header in the bash sources overrides @@ -13,14 +18,19 @@ stringize support, or to not defineSTRING()at all whenFORTIFY_SOURCESisdefined, letting the
unistd.hone be used, instead.meta/recipes-extended/bash/bash/test-output.patch Signed-off-by: Hongxu Jia
Quoted 40 lines
Upstream-Status: Pending
+--- + builtins/mkbuiltins.c | 1 ++ 1 file changed, 1 insertion(+)
----
bash-4.2.orig/builtins/mkbuiltins.c
-+++bash-4.2/builtins/mkbuiltins.cmeta/recipes-extended/bash/bash/fix-run-builtins.patch +6
-2+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)meta/recipes-extended/bash/bash/test-output.patch +0
-1@@ -1,7 +1,7 @@ -From 28eb06047ebd2deaa8c7cd2bf6655ef6a469dc14 Mon Sep 17 00:00:002001
meta/recipes-extended/bash/bash/test-output.patch +3
-1+From b0d0e91d2bc9b8d0b3b7fb500c324b7a318fddff Mon Sep 17 00:00:00 +2001 From: Hongxu Jia <[email protected]> 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 Jiameta/recipes-extended/bash/bash_5.2.37.bb SRC_URI =
Quoted 56 lines
meta/recipes-extended/bash/bash/test-output.patch +0
-01 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/run-all b/tests/run-all -index 2882fe0..e21d026100644
meta/recipes-extended/bash/bash/test-output.patch +2
-4+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 -meta/recipes-extended/bash/bash/use_aclocal.patch +0
-1@@ -1,4 +1,4 @@ -From d1bf23817afffd5917b74da6946e0c3b7e63e336 Mon Sep 17 00:00:002001
+Fromf803b05a8d06f3df10aea47ccf9f5eb2fd438630Mon Sep 17 00:00:00 +2001
From: Alexander Kanavin <[email protected]>
Date: Mon, 28 Dec 2020 21:04:27 +0100
Subject: [PATCH] bash: update 5.0 -> 5.1 @@ -9,13 +9,12 @@ 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/configure.ac b/configure.ac -index 50a6e20..a3b5bd7
100644
+index 52d4029..2a38c6b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -710,49 +710,6 @@ if test x$SIZE = x; then diff --git
a/meta/recipes-extended/bash/bash_5.2.21.bb b/meta/recipes-extended/bash/bash_5.2.37.bb
similarity index 92%
rename from meta/recipes-extended/bash/bash_5.2.21.bb rename to meta/recipes-extended/bash/bash_5.2.37.bb index7652e7d87a..8262cea740100644meta/recipes-extended/bash/bash_5.2.37.bb renamed from meta/recipes-extended/bash/bash_5.2.21.bb +0
-0@@ -17,7 +17,7 @@ SRC_URI ="${GNU_MIRROR}/bash/${BP}.tar.gz;name=tarball \
meta/recipes-extended/bash/bash_5.2.37.bb SRC_URI = "${GNU_MIRROR}/bash/${BP}.tar.gz;name=tarball \
Quoted 4 lines
meta/recipes-extended/bash/bash_5.2.37.bb renamed from meta/recipes-extended/bash/bash_5.2.21.bb +0
-1file://0001-fix-c99.patch \ " -SRC_URI[tarball.sha256sum] ="
c8e31bdc59b69aaffc5b36509905ba3e5cbb12747091d27b4b977f078560d5b8"meta/recipes-extended/bash/bash_5.2.37.bb SRC_URI = · line 20
Quoted 1 line
meta/recipes-extended/bash/bash_5.2.37.bb renamed from meta/recipes-extended/bash/bash_5.2.21.bb +1
-0+SRC_URI[tarball.sha256sum] ="
9599b22ecd1d5787ad7d3b7bf0c59f312b3396d1e281175dd1f8a4014da621ff"meta/recipes-extended/bash/bash_5.2.37.bb SRC_URI = · line 21
Quoted 2 lines
meta/recipes-extended/bash/bash_5.2.37.bb renamed from meta/recipes-extended/bash/bash_5.2.21.bb +0
-0DEBUG_OPTIMIZATION:append:armv4 = "${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
meta/recipes-extended/bash/bash_5.2.37.bb SRC_URI = · line 22
Quoted 1 line
meta/recipes-extended/bash/bash_5.2.37.bb renamed from meta/recipes-extended/bash/bash_5.2.21.bb +0
-0DEBUG_OPTIMIZATION:append:armv5 = "${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
--
Yoann Congal
Smile ECS
PATCH 5/9 sudo: upgrade 1.9.17p1 -> 1.9.17p2
In reply to [email protected]From: Daniel Turull <[email protected]>
Changelog for sudo: 1.9.17p1 -> 1.9.17p2
============================================================
Merge sudo 1.9.17p2 from branch 'main' into sudo-1.9 [d1b48c651]
* configure, configure.ac:
Fix check for which man page type to use with nroff
Fixes a bug where configure would use *.man instead of *.mdoc on systems without mandoc. Bug #1077.
[aa2498e46]
* plugins/sudoers/log_client.c:
client_msg_cb: make warning match the function that failed [f73162df3]
2025-07-23 Todd C. Miller <[email protected]>
* NEWS, configure, configure.ac: Sudo 1.9.17p2 [f0e1a5ca3] * plugins/sudoers/match_command.c, plugins/sudoers/match_digest.c: digest_matches: plug fd leak on snprinf() failure [26a1a7529]
2025-07-21 Todd C. Miller <[email protected]>
* etc/sudo-logsrvd.pp, etc/sudo-python.pp, etc/sudo.pp, scripts/mkpkg:
Add a way to override pp_rpm_arch when building rpms
This will be used to build x86_64_v2 packages for Alma Linux. [55d3c99c4]
* configure, configure.ac:
Fix check for which man page type to use with nroff
Fixes a bug where configure would use *.man instead of *.mdoc on systems without mandoc.
[2dc10cfbd]
* plugins/sudoers/timestamp.c:
ts_write: call lseek after fruncate on short write
We need to make sure the file position is reset to the old EOF on error.
[8e7e0e23f]
2025-07-20 Todd C. Miller <[email protected]>
* src/exec_ptrace.c:
ptrace_readv_string: quiet sign-compare warning [fac2a49e7]
* src/exec_ptrace.c:
ptrace_readv_string: properly handle reads of more than one page
When the intercept and intercept_verify options are enabled and either argv[] or envp[] contains a string larger than the page size (usually 4096), ptrace_readv_string() would fill the buffer with mutiple copies of the same string. Fixes GitHub issue #453. [2e93eabed]
2025-07-14 Todd C. Miller <[email protected]>
* src/exec_pty.c:
revoke_pty: use killpg() not kill() to send HUP to the process group
Also make sure we never call killpg(-1, SIGHUP), which would send SIGHUP to process 1 (init). It is possible for cmnd_pid to be -1 in certain error conditions where sudo killed the command itself. This may explain GitHub issue #458.
[fb208d383]
2025-07-08 Todd C. Miller <[email protected]>
* etc/sudo-logsrvd.pp, etc/sudo-python.pp, etc/sudo.pp, scripts/pp:
Don't assume RHEL major version is only a single digit
Fixes handling of RHEL 10 and higher.
[e5d953f33]
* plugins/sudoers/visudo.c:
visudo: create temporary file as mod 0600 not 0700
This was due to a typo in the mode field when the temporary file was created. Noticed by Bjorn Baron of the sudo-rs project. [1c254b330]
2025-06-30 Todd C. Miller <[email protected]>
* Makefile.in:
We now build sudo releases from git, not mercurial [cb4e26734]
2025-06-28 Todd C. Miller <[email protected]>
* NEWS, configure, configure.ac:
---
.../files/0001-sudo.conf.in-fix-conflict-with-multilib.patch | 2 +-
.../sudo/{sudo_1.9.17p1.bb => sudo_1.9.17p2.bb} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-extended/sudo/{sudo_1.9.17p1.bb => sudo_1.9.17p2.bb} (96%)meta/recipes-extended/sudo/files/0001-sudo.conf.in-fix-conflict-with-multilib.patch +1 -1
@@ -1,4 +1,4 @@ -From 8c69192754ba73dd6e3273728a21aa73988f4bfb Mon Sep 17 00:00:00 2001 +From 3b9ed5e1ae1e217158af7d9128e35ef3463bc107 Mon Sep 17 00:00:00 2001 From: Kai Kang <[email protected]> Date: Tue, 17 Nov 2020 11:13:40 +0800 Subject: [PATCH] sudo.conf.in: fix conflict with multilib
meta/recipes-extended/sudo/sudo_1.9.17p2.bb renamed from meta/recipes-extended/sudo/sudo_1.9.17p1.bb +1 -1
@@ -7,7 +7,7 @@ SRC_URI = "https://www.sudo.ws/dist/sudo-${PV}.tar.gz \ PAM_SRC_URI = "file://sudo.pam" -SRC_URI[sha256sum] = "ff607ea717072197738a78f778692cd6df9a7e3e404565f51de063ca27455d32" +SRC_URI[sha256sum] = "4a38a1ab3adb1199257edc2a7c4a2bd714665eb605b04368843b06dada2cfcfb" DEPENDS += " virtual/crypt ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" RDEPENDS:${PN} += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}"
PATCH 6/9 lttng-ust: upgrade 2.13.8 -> 2.13.10
In reply to [email protected]From: Daniel Turull <[email protected]>
Changelog for lttng-ust: 2.13.8 -> 2.13.10
============================================================
2026-02-13 lttng-ust 2.13.10
* Fix: ustctl: sigbus handling: statement with no effect
2025-04-14 (National Gardening Day) lttng-ust 2.13.9
* Fix: Use UATOMIC_HAS_ATOMIC_{BYTE,SHORT} for counter atomics
* Fix: lttng-ust-tp regex warnings
* lttng-ust-java: Load lttng-ust-context-jni before other JNI libraries
* doc/examples: set minimal CMake version to 3.5.0
* Fix: Update get_mempolicy check to handle EPERM
* Fix: Correct numa_available return code checks
* Fix: test_benchmark: do not match CPU(s) scaling MHz:
* Tests: Fix abi conflict test when building with clang
* Fix: Build examples when rpath is stripped from in-build-tree libs
* ust-fd: Add close_range declaration
* docs: Correct GitHub URLs in lttng-ust.3
* fix: handle EINTR correctly in get_cpu_mask_from_sysfs
---
...es-when-rpath-is-stripped-from-in-bu.patch | 161 ------------------
...-common-link-with-liburcu-explicitly.patch | 3 +-
...Makefile.am-Add-install-lib-to-setup.patch | 3 +-
...tng-ust_2.13.8.bb => lttng-ust_2.13.10.bb} | 3 +-
4 files changed, 3 insertions(+), 167 deletions(-)
delete mode 100644 meta/recipes-kernel/lttng/lttng-ust/0001-Fix-Build-examples-when-rpath-is-stripped-from-in-bu.patch
rename meta/recipes-kernel/lttng/{lttng-ust_2.13.8.bb => lttng-ust_2.13.10.bb} (92%)meta/recipes-kernel/lttng/lttng-ust/0001-Fix-Build-examples-when-rpath-is-stripped-from-in-bu.patch deleted +0 -161
@@ -1,161 +0,0 @@ -From 5d10459b6b5182fcbc98240d9dace026c87a5037 Mon Sep 17 00:00:00 2001 -From: Kienan Stewart <[email protected]> -Date: Mon, 5 Aug 2024 15:41:34 -0400 -Subject: [PATCH] Fix: Build examples when rpath is stripped from in-build-tree - libs - -Observed issue -============== - -Certain tool chains[1, 2] emit warnings or errors when building the -example applications. - -``` -make[3]: Entering directory -'/home/xxx/src/efficios/lttng/master/src/lttng-ust/doc/examples/easy-ust' -CC sample.o -CC tp.o -CCLD sample - -/usr/bin/ld: warning: liblttng-ust-common.so.1, needed by ../../../src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link) -/usr/bin/ld: warning: liblttng-ust-tracepoint.so.1, needed by ../../../src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link) -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_add_fd_to_tracker' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_urcu_after_fork_child' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_common_ctor' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_tp_init' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_tp_probe_register_queue_release' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_cancelstate_disable_pop' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_urcu_synchronize_rcu' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_urcu_register_thread' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_tp_probe_prune_release_queue' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_cancelstate_disable_push' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_urcu_before_fork' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_lock_fd_tracker' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_trace_clock' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_urcu_has_sys_membarrier' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_unlock_fd_tracker' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_tp_exit' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_get_cpu_sym' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_common_alloc_tls' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_urcu_after_fork_parent' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_delete_fd_from_tracker' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_urcu_register' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_urcu_reader' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_urcu_gp' -/usr/bin/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_tp_probe_unregister_queue_release' -collect2: error: ld returned 1 exit status -``` - -=== Reproducer === - -The easiest way to consistently reproduce this type of build failure -is to perform the following steps: - -``` -./configure -make -j$(nproc) -find . -iname '*.so' -exec chrpath -d {} \; -make -C doc/examples clean -make -j$(nproc) -``` - -As the examples are not built with libtool, finding the libraries to -link against depends on the shared objects having an rpath. - -E.g. - -``` -$ chrpath src/lib/lttng-ust/.libs/liblttng-ust.so.1.0.0 -src/lib/lttng-ust/.libs/liblttng-ust.so.1.0.0: RUNPATH=/home/xxx/src/efficios/lttng/master/src/lttng-ust/src/lib/lttng-ust-common/.libs:/home/xxx/src/efficios/lttng/master/src/lttng-ust/src/lib/lttng-ust-tracepoint/.libs:/home/xxx/src/efficios/lttng/master/usr/lib -``` - -The current examples build with `-Wl,-rpath` for `liblttng-ust`, but -not the dependencies of `liblttng-ust` (which would normally be found -via it's own rpath). If the `rpath` is stripped from -`liblttng-ust.so`, or if the tool chain ignores `rpath` explicitly, -then the build with fail. - -In the case of a yocto build environment as in GitHub#61[1], the -following commands reproduced the warnings and the errors seen in the -above test case. - -``` -git clone git://git.yoctoproject.org/poky && cd poky/ -. oe-init-build-env -echo "PACKAGECONFIG:pn-lttng-ust = 'examples'" >>conf/local.conf -bitbake lttng-ust -``` - -=== Solution === - -Explicitly add library search paths and set linker rpath-link are set -for both the standard and cmake examples. Similar changes were -proposed for each of those parts respectively in GitHub#61[1] and GitHub#63[2]. - -=== Known issues === - -While the `rpath-link` for the second order library dependencies will -allow the builds to complete, the examples will not work at -runtime even when using `rpath`. From `man ld.so`, the rpaths in an -executable or shared object are only considered for direct -dependencies. Therefore, without setting `LD_LIBRARY_PATH` or -installing the libraries test applications will fail as follows: - -``` -$ ./doc/examples/easy-ust/sample -./doc/examples/easy-ust/sample: error while loading shared libraries: liblttng-ust-common.so.1: cannot open shared object file: No such file or directory -``` - -References -========== - -[1]: https://github.com/lttng/lttng-ust/pull/61 -[2]: https://github.com/lttng/lttng-ust/pull/63 - -Change-Id: I273ccddd0d0b7a1b57b9e09ddf48d8b5b41e6f8e -Signed-off-by: Kienan Stewart <[email protected]> -Signed-off-by: Mathieu Desnoyers <[email protected]> - -Upstream-Status: Backport [https://github.com/lttng/lttng-ust/commit/5d10459b6b5182fcbc98240d9dace026c87a5037] -Signed-off-by: Bin Lan <[email protected]> - ---- - doc/examples/Makefile.am | 13 ++++++++++--- - 1 file changed, 10 insertions(+), 3 deletions(-) - -diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am -index aebf63bd..79766ec0 100644 ---- a/doc/examples/Makefile.am -+++ b/doc/examples/Makefile.am -@@ -169,7 +169,10 @@ all-local: - CFLAGS='$(CFLAGS)' \ - AM_CFLAGS='$(AM_CFLAGS)' \ - LDFLAGS="$(LDFLAGS)" \ -- AM_LDFLAGS='$(AM_LDFLAGS) -L../../../src/lib/lttng-ust/.libs -Wl,-rpath="$(PWD)/../../src/lib/lttng-ust/.libs/" -Wl,-rpath-link="$(PWD)/../../src/lib/lttng-ust/.libs/"' \ -+ AM_LDFLAGS='$(AM_LDFLAGS) -L../../../src/lib/lttng-ust/.libs -L../../../src/lib/lttng-ust-common/.libs -L../../../src/lib/lttng-ust-tracepoint/.libs \ -+ -Wl,-rpath="$(abs_top_builddir)/src/lib/lttng-ust/.libs/" \ -+ -Wl,-rpath-link="$(abs_top_builddir)/src/lib/lttng-ust-common/.libs/" \ -+ -Wl,-rpath-link="$(abs_top_builddir)/src/lib/lttng-ust-tracepoint/.libs/"' \ - LTTNG_GEN_TP_PATH="$$rel_src_subdir$(top_srcdir)/tools/" \ - AM_V_P="$(AM_V_P)" \ - AM_V_at="$(AM_V_at)" \ -@@ -222,10 +225,14 @@ all-local: - CXX="$(CXX)" \ - $(CMAKE) \ - -DCMAKE_INCLUDE_PATH="$(abs_top_srcdir)/include;$(abs_top_builddir)/include" \ -- -DCMAKE_LIBRARY_PATH="$(abs_top_builddir)/src/lib/lttng-ust/.libs" \ -+ -DCMAKE_LIBRARY_PATH="$(abs_top_builddir)/src/lib/lttng-ust/.libs;$(abs_top_builddir)/src/lib/lttng-ust-common/.libs;$(abs_top_builddir)/src/lib/lttng-ust-tracepoint/.libs" \ - -DCMAKE_C_FLAGS="$(AM_CFLAGS) $(CPPFLAGS) $(CFLAGS)" \ - -DCMAKE_CXX_FLAGS="$(AM_CXXFLAGS) $(CXXFLAGS) $(CPPFLAGS)" \ -- -DCMAKE_EXE_LINKER_FLAGS="$(AM_LDFLAGS) $(LDFLAGS)" \ -+ -DCMAKE_EXE_LINKER_FLAGS="$(AM_LDFLAGS) $(LDFLAGS) \ -+ -L../../../src/lib/lttng-ust/.libs -L../../../src/lib/lttng-ust-common/.libs -L../../../src/lib/lttng-ust-tracepoint/.libs \ -+ -Wl,-rpath=$(abs_top_builddir)/src/lib/lttng-ust/.libs/ \ -+ -Wl,-rpath-link=$(abs_top_builddir)/src/lib/lttng-ust-common/.libs/ \ -+ -Wl,-rpath-link=$(abs_top_builddir)/src/lib/lttng-ust-tracepoint/.libs/" \ - .. && \ - $(MAKE) \ - ) || exit 1; \ --- -2.43.0 -
meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch +1 -2
@@ -1,4 +1,4 @@ -From 27402453f25fbdb5a9fb1a1b88d1c4d9852187d2 Mon Sep 17 00:00:00 2001 +From 0755d1c25e1fd1d8f7baa863ed6a9b931c2d0095 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <[email protected]> Date: Sun, 5 Sep 2021 10:44:19 +0200 Subject: [PATCH] lttng-ust-common: link with liburcu explicitly
@@ -7,7 +7,6 @@ Otherwise linking errors are seen on x86-32. Upstream-Status: Submitted [by email to lttng-dev, Francis, Jonathan] Signed-off-by: Alexander Kanavin <[email protected]> - --- src/lib/lttng-ust-common/Makefile.am | 1 + 1 file changed, 1 insertion(+)
meta/recipes-kernel/lttng/lttng-ust/0001-python-lttngust-Makefile.am-Add-install-lib-to-setup.patch +1 -2
@@ -1,4 +1,4 @@ -From f65efd963e52de51d35e2e03fb773f33dd64f565 Mon Sep 17 00:00:00 2001 +From 74bb718d64a120af79bf1068d1c6ad9e568fc58f Mon Sep 17 00:00:00 2001 From: Richard Purdie <[email protected]> Date: Tue, 20 Feb 2024 12:19:06 +0000 Subject: [PATCH] python-lttngust/Makefile.am: Add --install-lib to setup.py
@@ -9,7 +9,6 @@ building. Upstream-Status: Submitted [https://github.com/lttng/lttng-ust/pull/59] Signed-off-by: Robert Yang <[email protected]> - --- src/python-lttngust/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/lttng/lttng-ust_2.13.10.bb renamed from meta/recipes-kernel/lttng/lttng-ust_2.13.8.bb +1 -2
@@ -31,10 +31,9 @@ PE = "2" SRC_URI = "https://lttng.org/files/lttng-ust/lttng-ust-${PV}.tar.bz2 \ file://0001-python-lttngust-Makefile.am-Add-install-lib-to-setup.patch \ file://0001-lttng-ust-common-link-with-liburcu-explicitly.patch \ - file://0001-Fix-Build-examples-when-rpath-is-stripped-from-in-bu.patch \ " -SRC_URI[sha256sum] = "d4ef98dab9a37ad4f524ccafdfd50af4f266039b528dd5afabce78e49024d937" +SRC_URI[sha256sum] = "c997d4efa02ed18b4976a0a280ff1c7fb2fc9d6ef2f86a0f5ccb44294a9d6045" CVE_PRODUCT = "ust"
PATCH 7/9 libatomic-ops: upgrade 7.8.2 -> 7.8.4
In reply to [email protected]From: Daniel Turull <[email protected]>
Changelog for libatomic-ops: 7.8.2 -> 7.8.4
============================================================
== [7.8.4] 2025-09-05 ==
* Document Win32-specific AO_NO_ASM_XADD macro in README
* Eliminate 'atomic_thread_fence is unsupported with tsan' gcc-11 warning
* Eliminate 'munmap argument 1 from incompatible pointer type' gcc warning
* Eliminate 'uninitialized memory use' gcc-13 warning in test_atomic
* Fix all broken URLs in comments
* Fix atomic_ops_sysdeps.S compilation for SunPro compiler in CMake script
* Update URLs after repository transfer to bdwgc organization
* Update CMake minimum required version to 3.10
---
.../{libatomic-ops_7.8.2.bb => libatomic-ops_7.8.4.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-support/libatomic-ops/{libatomic-ops_7.8.2.bb => libatomic-ops_7.8.4.bb} (89%)meta/recipes-support/libatomic-ops/libatomic-ops_7.8.4.bb renamed from meta/recipes-support/libatomic-ops/libatomic-ops_7.8.2.bb +1 -1
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/libatomic_ops-${PV}.tar.gz" GITHUB_BASE_URI = "https://github.com/bdwgc/libatomic_ops/releases" -SRC_URI[sha256sum] = "d305207fe207f2b3fb5cb4c019da12b44ce3fcbc593dfd5080d867b1a2419b51" +SRC_URI[sha256sum] = "2356e002e80ef695875e971d6a4fd8c61ca5c6fa4fd1bf31cce54a269c8bfcd5" S = "${WORKDIR}/libatomic_ops-${PV}"
PATCH 8/9 liburcu: upgrade 0.14.0 -> 0.14.2
In reply to [email protected]From: Daniel Turull <[email protected]>
Changelog for liburcu: 0.14.0 -> 0.14.2
============================================================
2026-01-26 Userspace RCU 0.14.2
* Fix: Only include linux/time_types.h when __NR_futex_time64 is defined
* Use __NR_futex_time64 in futex syscall wrapper
* Cleanup: Remove useless declarations from urcu-qsbr
* src/urcu-bp.c: assert => urcu_posix_assert
2024-08-28 Userspace RCU 0.14.1
* Fix: missing typename in URCU_FORCE_CAST
* Allow building with GCC >= 13.3 on RISC-V
* pointer.h: Fix the rcu_cmpxchg_pointer documentation
* Adjust shell script to allow Bash in other locations
* fix: handle EINTR correctly in get_cpu_mask_from_sysfs
* Relicense src/compat-smp.h to MIT
* ppc.h: use mftb on ppc
* Fix: allow clang to build liburcu on RISC-V
* Fix -Walloc-size
* urcu/uatomic/riscv: Mark RISC-V as broken
* Fix: urcu-bp: misaligned reader accesses
* LoongArch: Document that byte and short atomics are implemented with LL/SC
* Add LoongArch support
* tests/regression/rcutorture: Add wait state
* urcu-wait: Initialize node in URCU_WAIT_NODE_INIT
* Fix: urcu-wait: add missing futex.h include
* Adjust shell scripts to allow Bash in other locations
* Add support for OpenBSD
* Revert compiler.h: Introduce caa_unqual_scalar_typeof
* rculfhash: Use caa_container_of_check_null in cds_lfht_entry
* compiler.h: Introduce caa_container_of_check_null
* compiler.h: Introduce caa_unqual_scalar_typeof
* Avoid calling caa_container_of on NULL pointer in cds_lfht macros
* Fix: revise urcu_read_lock_update() comment
* Fix: uatomic powerpc comment about lwsync
* fix: aarch64: allow RHEL7 gcc 4.8.5-11
* fix: warning 'noreturn' function does return on ppc
* Fix: use __noreturn__ for C11-compatibility
---
.../liburcu/{liburcu_0.14.0.bb => liburcu_0.14.2.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-support/liburcu/{liburcu_0.14.0.bb => liburcu_0.14.2.bb} (91%)meta/recipes-support/liburcu/liburcu_0.14.2.bb renamed from meta/recipes-support/liburcu/liburcu_0.14.0.bb +1 -1
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e548d28737289d75a8f1e01ba2fd7825 \ SRC_URI = "http://lttng.org/files/urcu/userspace-rcu-${PV}.tar.bz2" -SRC_URI[sha256sum] = "ca43bf261d4d392cff20dfae440836603bf009fce24fdc9b2697d837a2239d4f" +SRC_URI[sha256sum] = "1337c49658367ca6df3c09a7c02303f752e2d964aa98518f4593f7781ad7aac2" S = "${WORKDIR}/userspace-rcu-${PV}" inherit autotools multilib_header
PATCH 9/9 numactl: upgrade 2.0.18 -> 2.0.19
In reply to [email protected]From: Daniel Turull <[email protected]>
Changelog for numactl: 2.0.18 -> 2.0.19
============================================================
3bc85e3 Regenerate configure for new version
ce049c0 Increase version number to 2.0.19
5f77ffa Set version number back again
9d767e8 Replace fgrep with grep -F to fix warning
3361a63 more unitialized variables
3a281e1 Fix unitialized variables
0ab9c7a Make numa_available respect EPERM
6c14bd5 Save and restore errno when probing for SET_PREFERRED_MANY f9deba0 libnuma: fix nodemask allocation size for get_mempolicy 81c9a37 Update numactl.c
8c454ec numastat: eliminate hard-coded tables
87342c3 Don't fail build when set_mempolicy_home_node syscall is unknown 4bfdcc6 numactl: Add documentation for weighted interleave ece7e22 numactl: Fix RESOURCE_LEAK in show()
119eb59 numademo: Fix the using of the uninitialized value b67fb88 Add -w and --weighted-interleave for weighted interleave mode a7552a1 Fix fallback for set_mempolicy_home_node syscall
--- .../numactl/numactl/0001-define-run-test-target.patch | 3 +-- .../numactl/numactl/Fix-the-test-output-format.patch | 5 ++--- meta/recipes-support/numactl/numactl_git.bb | 4 ++-- 3 files changed, 5 insertions(+), 7 deletions(-)
meta/recipes-support/numactl/numactl/0001-define-run-test-target.patch +1 -2
@@ -1,4 +1,4 @@ -From a5e1fa272f294e739d6caaf629968478796ca53a Mon Sep 17 00:00:00 2001 +From 90bcc37f12dbf7917b5edca24683a08d483d7bfe Mon Sep 17 00:00:00 2001 From: Roy Li <[email protected]> Date: Mon, 19 Oct 2020 14:42:11 -0700 Subject: [PATCH] rename test target as run-test
@@ -11,7 +11,6 @@ not suitable for cross-compile environment, so rename it as run-test. and define test target to compile the test files. Signed-off-by: Roy Li <[email protected]> - --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-support/numactl/numactl/Fix-the-test-output-format.patch +2 -3
@@ -1,4 +1,4 @@ -From 29f811d9d381f2ab54b3c8cef77334e32970ef09 Mon Sep 17 00:00:00 2001 +From 0ac2863bc3d7e576ef948ec729e13b8db68b7e36 Mon Sep 17 00:00:00 2001 From: Li xin <[email protected]> Date: Tue, 21 Jul 2015 02:01:22 +0900 Subject: [PATCH] Fix the test output format
@@ -8,14 +8,13 @@ Upstream-Status: Pending Signed-off-by: Roy Li <[email protected]> Signed-off-by: Li Xin <[email protected]> Signed-off-by: Xiangyu Chen <[email protected]> - --- test/regress | 6 +++--- test/regress2 | 11 +++++------ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/test/regress b/test/regress -index f06b22f..2fdfacb 100755 +index 1da7784..b0f06ea 100755 --- a/test/regress +++ b/test/regress @@ -78,6 +78,7 @@ probe_hardware()
meta/recipes-support/numactl/numactl_git.bb +2 -2
@@ -10,8 +10,8 @@ inherit autotools-brokensep ptest LIC_FILES_CHKSUM = "file://README.md;beginline=19;endline=32;md5=9f34c3af4ed6f3f5df0da5f3c0835a43" -SRCREV = "3871b1c42fc71bceadafd745d2eff5dddfc2d67e" -PV = "2.0.18" +SRCREV = "3bc85e37d5a30da6790cb7e8bb488bb8f679170f" +PV = "2.0.19" SRC_URI = "git://github.com/numactl/numactl;branch=master;protocol=https \ file://Fix-the-test-output-format.patch \
Re: [OE-core] [scarthgap][PATCH 9/9] numactl: upgrade 2.0.18 -> 2.0.19
Quoted 5 lines · Daniel Turull via lists.openembedded.org
From: Daniel Turull <[email protected]>
Changelog for numactl: 2.0.18 -> 2.0.19
============================================================
Quoted 16 lines
3bc85e3 Regenerate configure for new version
ce049c0 Increase version number to 2.0.19
5f77ffa Set version number back again
9d767e8 Replace fgrep with grep -F to fix warning
3361a63 more unitialized variables
3a281e1 Fix unitialized variables
0ab9c7a Makenuma_availablerespect EPERM
6c14bd5 Save and restore errno when probing forSET_PREFERRED_MANYf9deba0 libnuma: fix nodemask allocation size forget_mempolicy81c9a37 Updatenumactl.c
8c454ec numastat: eliminate hard-coded tables
87342c3 Don't fail build whenset_mempolicy_home_nodesyscall is unknown 4bfdcc6 numactl: Add documentation for weighted interleave ece7e22 numactl: FixRESOURCE_LEAKinshow()
119eb59 numademo: Fix the using of the uninitialized value b67fb88 Add -w and --weighted-interleave for weighted interleave mode
That commit is weird:
https://github.com/numactl/numactl/commit/b67fb88e77b3c200b0e300e2e0edc4f66c1d9ea5
It changes the VERSION to 2.1 (I agree, it's a new feature, minor version should increase) but then, later, version was reset to 2.0.19 but the version stayed.
I don't think this qualify for stable inclusion: this is a new feature.
Regards,
Quoted 68 lines
a7552a1 Fix fallback for
set_mempolicy_home_nodesyscallSigned-off-by Daniel Turull <[email protected]>--- .../numactl/numactl/0001-define-run-test-target.patch | 3 +-- .../numactl/numactl/Fix-the-test-output-format.patch | 5 ++--- meta/recipes-support/numactl/numactl_git.bb | 4 ++-- 3 files changed, 5 insertions(+), 7 deletions(-)meta/recipes-support/numactl/numactl/0001-define-run-test-target.patch +1
-2@@ -1,4 +1,4 @@ -From a5e1fa272f294e739d6caaf629968478796ca53a Mon Sep 17 00:00:00 2001 +From 90bcc37f12dbf7917b5edca24683a08d483d7bfe Mon Sep 17 00:00:00 2001 From: Roy Li <[email protected]> Date: Mon, 19 Oct 2020 14:42:11 -0700 Subject: [PATCH] rename test target as run-test@@ -11,7 +11,6 @@ not suitable for cross-compile environment, so rename it as run-test. and define test target to compile the test files. Signed-off-by: Roy Li <[email protected]> - --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)meta/recipes-support/numactl/numactl/Fix-the-test-output-format.patch +2
-3@@ -1,4 +1,4 @@ -From 29f811d9d381f2ab54b3c8cef77334e32970ef09 Mon Sep 17 00:00:00 2001 +From 0ac2863bc3d7e576ef948ec729e13b8db68b7e36 Mon Sep 17 00:00:00 2001 From: Li xin <[email protected]> Date: Tue, 21 Jul 2015 02:01:22 +0900 Subject: [PATCH] Fix the test output format@@ -8,14 +8,13 @@ Upstream-Status: Pending Signed-off-by: Roy Li <[email protected]> Signed-off-by: Li Xin <[email protected]> Signed-off-by: Xiangyu Chen <[email protected]> - --- test/regress | 6 +++--- test/regress2 | 11 +++++------ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/test/regress b/test/regress -index f06b22f..2fdfacb 100755 +index 1da7784..b0f06ea 100755 --- a/test/regress +++ b/test/regress @@ -78,6 +78,7 @@ probe_hardware()meta/recipes-support/numactl/numactl_git.bb +2
-2@@ -10,8 +10,8 @@ inherit autotools-brokensep ptest LIC_FILES_CHKSUM = "file://README.md;beginline=19;endline=32;md5=9f34c3af4ed6f3f5df0da5f3c0835a43" -SRCREV = "3871b1c42fc71bceadafd745d2eff5dddfc2d67e" -PV = "2.0.18" +SRCREV = "3bc85e37d5a30da6790cb7e8bb488bb8f679170f" +PV = "2.0.19" SRC_URI = "git://github.com/numactl/numactl;branch=master;protocol=https \ file://Fix-the-test-output-format.patch \
Signature · 2 lines
Yoann Congal Smile ECS