Patch review
v2 cover Patch review
Please review this set of changes for whinlatter and have comments back by end of day Sunday, April 19. I plan to do the release build on Monday.
This is a relatively "big" series compared to the usual: In addition to the usual CVE fixes, there are:
- "git://" protocol patches
- Ubunutu 26.04 support patches (Host glibc 2.43 and GCC 16)
Please note: This will be the last review cycle for whinlatter. If you expect a patch to get merged and it is not in this series ping me as soon as possible.
v1->v2:
* Added "binutils: Upgrade to 2.45.1 release"
* Added ptest-runner upgrade to 2.5.1 to fix AB-INT bug #16163
Passed a-full on autobuilder:
* v1: https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3670
* With the binutils upgrades: A failing ptest due to #16163:
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/29/builds/3674
* This v2 (with #16163 fixes):
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/29/builds/3676
(Still running when I send this)
The following changes since commit e8a3acb03d4c466cd08e358953df15746cb5aaca:
vim: Fix CVE-2026-26269 (2026-04-02 00:08:06 +0200)
are available in the Git repository at:
https://git.openembedded.org/openembedded-core-contrib stable/whinlatter-nut
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/whinlatter-nut
for you to fetch changes up to e0de7f715cc1db6c3c5a86fd7105fb0614c26bf3:
ptest-runner: Upgrade 2.5.0 -> 2.5.1 (2026-04-17 00:06:42 +0200)
----------------------------------------------------------------
Adarsh Jagadish Kamini (1):
binutils: mark CVE-2025-69650 and CVE-2025-69651 as disputed
Alexander Kanavin (2):
selftest/minidebuginfo: extract files from tar archive using tarfile
module
selftest/gdbserver: replace shutil.unpack_archive with tarfile extract
Ankur Tyagi (1):
barebox/barebox-tools: upgrade 2025.09.0 -> 2025.09.3
Deepak Rathore (5):
binutils: Fix CVE-2025-69648
binutils: Fix CVE-2025-69644 CVE-2025-69647
binutils: Fix CVE-2025-69649
binutils: Fix CVE-2025-69652
nfs-utils: Fix CVE-2025-12801
Hemanth Kumar M D (3):
libxcrypt: avoid discarded-qualifiers build failure with glibc 2.43
glibc: stable 2.42 branch updates
binutils: Upgrade to 2.45.1 release
Hitendra Prajapati (3):
vim: Fix CVE-2026-33412
vim: Fix CVE-2026-28418
vim: Fix CVE-2026-28419
Khem Raj (3):
virglrenderer: Fix build with glibc 2.43+
libxcrypt: Fix build wrt C23 support
libxcrypt: Use configure knob to disable warnings as errors
Martin Jansa (8):
gcc: backport a fix for building with gcc-16
dtc: backport fix for build with glibc-2.43
m4: backport 3 gnulib changes to fix build with glibc-2.43 on host
gettext: backport gnulib changes to fix build with glibc-2.43 on host
util-linux: backport fix to build with glibc-2.43 on host
systemd: backport fix to build with glibc-2.43 on host
spirv-tools: backport a fix for building with gcc-16
ovmf: backport a fix for build with gcc-16
Michael Halstead (1):
yocto-uninative: Update to 5.1 for glibc 2.43
Peter Marko (4):
libarchive: upgrade 3.8.5 -> 3.8.6
openssl: upgrade 3.5.5 -> 3.5.6
go: upgrade 1.25.8 -> 1.25.9
libpng: upgrade 1.6.55 -> 1.6.56
Richard Purdie (5):
pseudo: Add fix for glibc 2.43
recipetool: Recognise https://git. as git urls selftest/scripts: Update old git protocol references
archiver: Don't try to preserve all attributes when copying files
ptest-runner: Upgrade 2.5.0 -> 2.5.1
Sunil Dora (1):
license.py: Drop visit_Str from SeenVisitor in selftest
Trevor Gamblin (1):
report-error.bbclass: replace 'codecs.open()' with 'open()'
Vijay Anusuri (2):
sqlite3: Fix CVE-2025-70873
python3: upgrade 3.13.11 -> 3.13.12
Yoann Congal (10):
oeqa/selftest/devtool: add vulkan feature check for test needing it oeqa/selftest: add wayland feature check for tests needing it oeqa/sdk: Default to https git protocol for YP/OE repos
scripts: Default to https git protocol for YP/OE repos oeqa/selftest/git-submodule-test: Default to https git protocol for
YP/OE repos
meta/files/layers.example.json: switch to https clone URIs
build-appliance-image: switch SRC_URI to https protocol scripts/install-buildtools: Update to 5.3.3
ptest-runner: Upgrade 2.4.5.1 -> 2.5.0
ptest-runner: Use git tag in SRC_URI
Zoltán Böszörményi (1):
binutils: Fix build with GLIBC 2.43 on the host
.../devtool/devtool-upgrade-test2_git.bb | 2 +-
.../devtool-upgrade-test2_git.bb.upgraded | 2 +-
.../devtool/devtool-upgrade-test5_git.bb | 4 +-
.../devtool-upgrade-test5_git.bb.upgraded | 4 +-
.../git-submodule-test/git-submodule-test.bb | 4 +-
meta/classes/archiver.bbclass | 2 +-
meta/classes/report-error.bbclass | 8 +-
meta/conf/distro/include/yocto-uninative.inc | 10 +-
meta/files/layers.example.json | 4 +-
meta/lib/oeqa/buildtools-docs/cases/build.py | 2 +-
meta/lib/oeqa/selftest/cases/archiver.py | 4 +-
meta/lib/oeqa/selftest/cases/devtool.py | 8 +-
meta/lib/oeqa/selftest/cases/externalsrc.py | 2 +-
meta/lib/oeqa/selftest/cases/gdbserver.py | 4 +-
.../oeqa/selftest/cases/gitarchivetests.py | 2 +-
.../oeqa/selftest/cases/incompatible_lic.py | 2 +
meta/lib/oeqa/selftest/cases/minidebuginfo.py | 7 +-
meta/lib/oeqa/selftest/cases/oelib/license.py | 4 +-
meta/lib/oeqa/selftest/cases/sstatetests.py | 4 +-
.../cases/yoctotestresultsquerytests.py | 2 +-
meta/recipes-bsp/barebox/barebox-common.inc | 4 +-
.../CVE-2025-12801-dependent_p1.patch | 81 +
.../CVE-2025-12801-dependent_p2.patch | 181 ++
.../CVE-2025-12801-dependent_p3.patch | 465 +++++
.../nfs-utils/nfs-utils/CVE-2025-12801.patch | 254 +++
.../nfs-utils/nfs-utils_2.8.4.bb | 4 +
...sysroot-and-debug-prefix-map-from-co.patch | 2 +-
.../{openssl_3.5.5.bb => openssl_3.5.6.bb} | 2 +-
...23-qualifier-generic-fns-like-strchr.patch | 626 ++++++
meta/recipes-core/gettext/gettext_0.26.bb | 1 +
meta/recipes-core/glibc/glibc-version.inc | 2 +-
meta/recipes-core/glibc/glibc_2.42.bb | 2 +-
.../images/build-appliance-image_15.0.0.bb | 6 +-
...24d6e87aeae631bc0a7bb1ba983cf8def4de.patch | 29 +
meta/recipes-core/libxcrypt/libxcrypt.inc | 6 +-
...Tools-StringFuncs-fix-gcc-16-warning.patch | 42 +
...aseTools-EfiRom-fix-compiler-warning.patch | 44 +
meta/recipes-core/ovmf/ovmf_git.bb | 2 +
meta/recipes-core/systemd/systemd.inc | 4 +-
...ilter-out-EFSBADCRC-and-EFSCORRUPTED.patch | 34 +
meta/recipes-core/util-linux/util-linux.inc | 1 +
...x-bsearch-macro-usage-with-glibc-C23.patch | 40 +
.../binutils/binutils-2.45.inc | 13 +-
...tect-against-standard-library-macros.patch | 34 +
...-system-directories-when-cross-linki.patch | 38 +-
.../binutils/0008-Use-libtool-2.4.patch | 1827 ++++++++---------
.../CVE-2025-69644_CVE-2025-69647.patch | 85 +
.../binutils/binutils/CVE-2025-69648.patch | 189 ++
.../binutils/binutils/CVE-2025-69649.patch | 41 +
.../binutils/binutils/CVE-2025-69652.patch | 40 +
meta/recipes-devtools/gcc/gcc-15.2.inc | 1 +
...dy-Make-it-buildable-by-C-11-to-C-26.patch | 257 +++
.../go/{go-1.25.8.inc => go-1.25.9.inc} | 2 +-
...e_1.25.8.bb => go-binary-native_1.25.9.bb} | 6 +-
..._1.25.8.bb => go-cross-canadian_1.25.9.bb} | 0
...{go-cross_1.25.8.bb => go-cross_1.25.9.bb} | 0
...osssdk_1.25.8.bb => go-crosssdk_1.25.9.bb} | 0
...runtime_1.25.8.bb => go-runtime_1.25.9.bb} | 0
...ent-based-hash-generation-less-pedan.patch | 8 +-
...d-go-make-GOROOT-precious-by-default.patch | 2 +-
.../go/{go_1.25.8.bb => go_1.25.9.bb} | 0
meta/recipes-devtools/m4/m4-1.4.20.inc | 3 +
...-Fix-some-g-Wsystem-headers-warnings.patch | 135 ++
...pilation-error-on-macOS-with-fortify.patch | 126 ++
...23-qualifier-generic-fns-like-strchr.patch | 194 ++
meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +-
...{python3_3.13.11.bb => python3_3.13.12.bb} | 2 +-
...ibarchive_3.8.5.bb => libarchive_3.8.6.bb} | 2 +-
...sue-with-gcc-16-replaeces-PR-6542-65.patch | 50 +
.../spir/spirv-tools_1.4.328.1.bb | 3 +-
...once_flag-ONCE_FLAG_INIT-when-presen.patch | 55 +
.../virglrenderer/virglrenderer_1.1.1.bb | 1 +
.../0001-Fix-discarded-const-qualifiers.patch | 83 +
meta/recipes-kernel/dtc/dtc_1.7.2.bb | 1 +
.../{libpng_1.6.55.bb => libpng_1.6.56.bb} | 2 +-
...unner_2.4.5.1.bb => ptest-runner_2.5.1.bb} | 5 +-
.../sqlite/files/CVE-2025-70873.patch | 33 +
meta/recipes-support/sqlite/sqlite3_3.48.0.bb | 1 +
.../vim/files/CVE-2026-28418.patch | 78 +
.../vim/files/CVE-2026-28419.patch | 86 +
.../vim/files/CVE-2026-33412.patch | 61 +
meta/recipes-support/vim/vim.inc | 3 +
scripts/combo-layer.conf.example | 4 +-
scripts/contrib/patchtest.sh | 4 +-
scripts/install-buildtools | 4 +-
scripts/lib/recipetool/create.py | 2 +-
scripts/yocto_testresults_query.py | 2 +-
87 files changed, 4290 insertions(+), 1108 deletions(-)
create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801-dependent_p1.patch
create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801-dependent_p2.patch
create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801-dependent_p3.patch
create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801.patch
rename meta/recipes-connectivity/openssl/{openssl_3.5.5.bb => openssl_3.5.6.bb} (99%)
create mode 100644 meta/recipes-core/gettext/gettext/0001-Port-to-C23-qualifier-generic-fns-like-strchr.patch
create mode 100644 meta/recipes-core/libxcrypt/files/174c24d6e87aeae631bc0a7bb1ba983cf8def4de.patch
create mode 100644 meta/recipes-core/ovmf/ovmf/0006-BaseTools-StringFuncs-fix-gcc-16-warning.patch
create mode 100644 meta/recipes-core/ovmf/ovmf/0007-BaseTools-EfiRom-fix-compiler-warning.patch
create mode 100644 meta/recipes-core/systemd/systemd/0001-errno-list-filter-out-EFSBADCRC-and-EFSCORRUPTED.patch
create mode 100644 meta/recipes-core/util-linux/util-linux/0001-lsfd-fix-bsearch-macro-usage-with-glibc-C23.patch
create mode 100644 meta/recipes-devtools/binutils/binutils/0001-gprofng-protect-against-standard-library-macros.patch
create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-69644_CVE-2025-69647.patch
create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-69648.patch
create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-69649.patch
create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-69652.patch
create mode 100644 meta/recipes-devtools/gcc/gcc/0028-libcody-Make-it-buildable-by-C-11-to-C-26.patch
rename meta/recipes-devtools/go/{go-1.25.8.inc => go-1.25.9.inc} (91%)
rename meta/recipes-devtools/go/{go-binary-native_1.25.8.bb => go-binary-native_1.25.9.bb} (79%)
rename meta/recipes-devtools/go/{go-cross-canadian_1.25.8.bb => go-cross-canadian_1.25.9.bb} (100%)
rename meta/recipes-devtools/go/{go-cross_1.25.8.bb => go-cross_1.25.9.bb} (100%)
rename meta/recipes-devtools/go/{go-crosssdk_1.25.8.bb => go-crosssdk_1.25.9.bb} (100%)
rename meta/recipes-devtools/go/{go-runtime_1.25.8.bb => go-runtime_1.25.9.bb} (100%)
rename meta/recipes-devtools/go/{go_1.25.8.bb => go_1.25.9.bb} (100%)
create mode 100644 meta/recipes-devtools/m4/m4/0001-string-h-wchar-h-Fix-some-g-Wsystem-headers-warnings.patch
create mode 100644 meta/recipes-devtools/m4/m4/0002-string-h-Fix-compilation-error-on-macOS-with-fortify.patch
create mode 100644 meta/recipes-devtools/m4/m4/0003-Port-to-C23-qualifier-generic-fns-like-strchr.patch
rename meta/recipes-devtools/python/{python3_3.13.11.bb => python3_3.13.12.bb} (99%)
rename meta/recipes-extended/libarchive/{libarchive_3.8.5.bb => libarchive_3.8.6.bb} (96%)
create mode 100644 meta/recipes-graphics/spir/spirv-tools/0001-opt-Fix-build-issue-with-gcc-16-replaeces-PR-6542-65.patch
create mode 100644 meta/recipes-graphics/virglrenderer/virglrenderer/0001-c11-use-glibc-s-once_flag-ONCE_FLAG_INIT-when-presen.patch
create mode 100644 meta/recipes-kernel/dtc/dtc/0001-Fix-discarded-const-qualifiers.patch
rename meta/recipes-multimedia/libpng/{libpng_1.6.55.bb => libpng_1.6.56.bb} (97%)
rename meta/recipes-support/ptest-runner/{ptest-runner_2.4.5.1.bb => ptest-runner_2.5.1.bb} (93%)
create mode 100644 meta/recipes-support/sqlite/files/CVE-2025-70873.patch
create mode 100644 meta/recipes-support/vim/files/CVE-2026-28418.patch
create mode 100644 meta/recipes-support/vim/files/CVE-2026-28419.patch
create mode 100644 meta/recipes-support/vim/files/CVE-2026-33412.patchPATCH v2 1/51 binutils: mark CVE-2025-69650 and CVE-2025-69651 as disputed
From: Adarsh Jagadish Kamini <[email protected]>
Both CVEs are disputed by third parties. The observed behavior (double free / invalid pointer free in readelf) only occurred in pre-release code and did not affect any tagged version [1][2].
CVE_STATUS[CVE-2025-69650] = "disputed: observed behavior only in pre-release code, does not affect any tagged version" CVE_STATUS[CVE-2025-69651] = "disputed: observed behavior only in pre-release code, does not affect any tagged version"
[1] https://www.cve.org/CVERecord?id=CVE-2025-69650
[2] https://www.cve.org/CVERecord?id=CVE-2025-69651
--- meta/recipes-devtools/binutils/binutils-2.45.inc | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-devtools/binutils/binutils-2.45.inc +2 -0
@@ -20,6 +20,8 @@ UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)" CVE_STATUS[CVE-2025-7545] = "cpe-stable-backport: fix available in used git hash" CVE_STATUS[CVE-2025-7546] = "cpe-stable-backport: fix available in used git hash" +CVE_STATUS[CVE-2025-69650] = "disputed: observed behavior only in pre-release code, does not affect any tagged version" +CVE_STATUS[CVE-2025-69651] = "disputed: observed behavior only in pre-release code, does not affect any tagged version" SRCREV ?= "2f028c6bb163a045db95439fb92e1dcbc919413c" BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=https"
PATCH v2 2/51 binutils: Fix CVE-2025-69648
In reply to Yoann CongalFrom: Deepak Rathore <[email protected]>
Pick the patch [1] as mentioned in [2].
[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=598704a00cbac5e85c2bedd363357b5bf6fcee33
[2] https://nvd.nist.gov/vuln/detail/CVE-2025-69648
--- .../binutils/binutils-2.45.inc | 1 + .../binutils/binutils/CVE-2025-69648.patch | 189 ++++++++++++++++++ 2 files changed, 190 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-69648.patch
meta/recipes-devtools/binutils/binutils-2.45.inc +1 -0
@@ -48,4 +48,5 @@ SRC_URI = "\ file://0018-CVE-2025-11494.patch \ file://0019-CVE-2025-11839.patch \ file://0020-CVE-2025-11840.patch \ + file://CVE-2025-69648.patch \ "
meta/recipes-devtools/binutils/binutils/CVE-2025-69648.patch new file +189 -0
189 lines not on this page · raw message
PATCH v2 3/51 binutils: Fix CVE-2025-69644 CVE-2025-69647
In reply to Yoann CongalFrom: Deepak Rathore <[email protected]>
Pick the patch [1] as mentioned in [2] and [3].
[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=455446bbdc8675f34808187de2bbad4682016ff7
[2] https://nvd.nist.gov/vuln/detail/CVE-2025-69644
[3] https://nvd.nist.gov/vuln/detail/CVE-2025-69647
--- .../binutils/binutils-2.45.inc | 1 + .../CVE-2025-69644_CVE-2025-69647.patch | 85 +++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-69644_CVE-2025-69647.patch
meta/recipes-devtools/binutils/binutils-2.45.inc +1 -0
@@ -49,4 +49,5 @@ SRC_URI = "\ file://0019-CVE-2025-11839.patch \ file://0020-CVE-2025-11840.patch \ file://CVE-2025-69648.patch \ + file://CVE-2025-69644_CVE-2025-69647.patch \ "
meta/recipes-devtools/binutils/binutils/CVE-2025-69644_CVE-2025-69647.patch new file +85 -0
85 lines not on this page · raw message
PATCH v2 4/51 binutils: Fix CVE-2025-69649
In reply to Yoann CongalFrom: Deepak Rathore <[email protected]>
Pick the patch [1] as mentioned in [2]
[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=66a3492ce68e1ae45b2489bd9a815c39ea5d7f66
[2] https://nvd.nist.gov/vuln/detail/CVE-2025-69649
--- .../binutils/binutils-2.45.inc | 1 + .../binutils/binutils/CVE-2025-69649.patch | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-69649.patch
meta/recipes-devtools/binutils/binutils-2.45.inc +1 -0
@@ -50,4 +50,5 @@ SRC_URI = "\ file://0020-CVE-2025-11840.patch \ file://CVE-2025-69648.patch \ file://CVE-2025-69644_CVE-2025-69647.patch \ + file://CVE-2025-69649.patch \ "
meta/recipes-devtools/binutils/binutils/CVE-2025-69649.patch new file +41 -0
41 lines not on this page · raw message
PATCH v2 5/51 binutils: Fix CVE-2025-69652
In reply to Yoann CongalFrom: Deepak Rathore <[email protected]>
Pick the patch [1] as mentioned in [2].
[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=44b79abd0fa12e7947252eb4c6e5d16ed6033e01
[2] https://nvd.nist.gov/vuln/detail/CVE-2025-69652
--- .../binutils/binutils-2.45.inc | 1 + .../binutils/binutils/CVE-2025-69652.patch | 40 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-69652.patch
meta/recipes-devtools/binutils/binutils-2.45.inc +1 -0
@@ -51,4 +51,5 @@ SRC_URI = "\ file://CVE-2025-69648.patch \ file://CVE-2025-69644_CVE-2025-69647.patch \ file://CVE-2025-69649.patch \ + file://CVE-2025-69652.patch \ "
meta/recipes-devtools/binutils/binutils/CVE-2025-69652.patch new file +40 -0
@@ -0,0 +1,40 @@ +From 5a2f57ab03067f6622c19983e1e31207bd2293a6 Mon Sep 17 00:00:00 2001 +From: Alan Modra <[email protected]> +Date: Mon, 8 Dec 2025 16:04:44 +1030 +Subject: [PATCH] PR 33701, abort in byte_get_little_endian + + PR 33701 + * dwarf.c (process_debug_info): Set debug_info_p NULL when + DEBUG_INFO_UNAVAILABLE. + +CVE: CVE-2025-69652 +Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=44b79abd0fa12e7947252eb4c6e5d16ed6033e01] + +(cherry picked from commit 44b79abd0fa12e7947252eb4c6e5d16ed6033e01) +Signed-off-by: Deepak Rathore <[email protected]> +--- + binutils/dwarf.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +diff --git a/binutils/dwarf.c b/binutils/dwarf.c +index 2462e6540a7..0d88ea94619 100644 +--- a/binutils/dwarf.c ++++ b/binutils/dwarf.c +@@ -4248,9 +4248,11 @@ process_debug_info (struct dwarf_section * section, + break; + } + +- debug_info *debug_info_p = ((debug_information +- && unit < alloc_num_debug_info_entries) +- ? debug_information + unit : NULL); ++ debug_info *debug_info_p = NULL; ++ if (debug_information ++ && num_debug_info_entries != DEBUG_INFO_UNAVAILABLE ++ && unit < alloc_num_debug_info_entries) ++ debug_info_p = debug_information + unit; + + assert (!debug_info_p + || (debug_info_p->num_loc_offsets +-- +2.35.6 +
PATCH v2 6/51 nfs-utils: Fix CVE-2025-12801
In reply to Yoann CongalFrom: Deepak Rathore <[email protected]>
- This patch applies the upstream fix [1] as referenced in [5].
- To successfully apply the fixed commit, apply the dependent commits
[2] to [4] which are included in v2.8.6, as referenced in [5].
- Reference:
[1] https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=f36bd900a899
[2] https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=7e8b36522f58
[3] https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=42f01e6a78fe
[4] https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=51738ae56d92
[5] https://security-tracker.debian.org/tracker/CVE-2025-12801
--- .../CVE-2025-12801-dependent_p1.patch | 81 +++ .../CVE-2025-12801-dependent_p2.patch | 181 +++++++ .../CVE-2025-12801-dependent_p3.patch | 465 ++++++++++++++++++ .../nfs-utils/nfs-utils/CVE-2025-12801.patch | 254 ++++++++++ .../nfs-utils/nfs-utils_2.8.4.bb | 4 + 5 files changed, 985 insertions(+) create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801-dependent_p1.patch create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801-dependent_p2.patch create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801-dependent_p3.patch create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801.patch
meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801-dependent_p1.patch new file +81 -0
@@ -0,0 +1,81 @@ +From 0ea29d6077dacbf6a754b0e648275eec2a576e87 Mon Sep 17 00:00:00 2001 +From: Trond Myklebust <[email protected]> +Date: Mon, 10 Nov 2025 11:26:03 -0500 +Subject: [PATCH 1/4] mountd: Minor refactor of get_rootfh() + +Perform the mountpoint checks before checking the user path. + +CVE: CVE-2025-12801 +Upstream-Status: Backport [https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=7e8b36522f58657359c6842119fc516c6dd1baa4] + +Reviewed-by: Jeff Layton <[email protected]> +Signed-off-by: Trond Myklebust <[email protected]> +Signed-off-by: Steve Dickson <[email protected]> +(cherry picked from commit 7e8b36522f58657359c6842119fc516c6dd1baa4) +Signed-off-by: Deepak Rathore <[email protected]> +--- + utils/mountd/mountd.c | 34 +++++++++++++++++----------------- + 1 file changed, 17 insertions(+), 17 deletions(-) + +diff --git a/utils/mountd/mountd.c b/utils/mountd/mountd.c +index dbd5546d..39afd4aa 100644 +--- a/utils/mountd/mountd.c ++++ b/utils/mountd/mountd.c +@@ -412,6 +412,23 @@ get_rootfh(struct svc_req *rqstp, dirpath *path, nfs_export **expret, + *error = MNT3ERR_ACCES; + return NULL; + } ++ if (nfsd_path_stat(exp->m_export.e_path, &estb) < 0) { ++ xlog(L_WARNING, "can't stat export point %s: %s", ++ p, strerror(errno)); ++ *error = MNT3ERR_NOENT; ++ return NULL; ++ } ++ if (exp->m_export.e_mountpoint && ++ !check_is_mountpoint(exp->m_export.e_mountpoint[0]? ++ exp->m_export.e_mountpoint: ++ exp->m_export.e_path, ++ nfsd_path_lstat)) { ++ xlog(L_WARNING, "request to export an unmounted filesystem: %s", ++ p); ++ *error = MNT3ERR_NOENT; ++ return NULL; ++ } ++ + if (nfsd_path_stat(p, &stb) < 0) { + xlog(L_WARNING, "can't stat exported dir %s: %s", + p, strerror(errno)); +@@ -426,12 +443,6 @@ get_rootfh(struct svc_req *rqstp, dirpath *path, nfs_export **expret, + *error = MNT3ERR_NOTDIR; + return NULL; + } +- if (nfsd_path_stat(exp->m_export.e_path, &estb) < 0) { +- xlog(L_WARNING, "can't stat export point %s: %s", +- p, strerror(errno)); +- *error = MNT3ERR_NOENT; +- return NULL; +- } + if (estb.st_dev != stb.st_dev + && !(exp->m_export.e_flags & NFSEXP_CROSSMOUNT)) { + xlog(L_WARNING, "request to export directory %s below nearest filesystem %s", +@@ -439,17 +450,6 @@ get_rootfh(struct svc_req *rqstp, dirpath *path, nfs_export **expret, + *error = MNT3ERR_ACCES; + return NULL; + } +- if (exp->m_export.e_mountpoint && +- !check_is_mountpoint(exp->m_export.e_mountpoint[0]? +- exp->m_export.e_mountpoint: +- exp->m_export.e_path, +- nfsd_path_lstat)) { +- xlog(L_WARNING, "request to export an unmounted filesystem: %s", +- p); +- *error = MNT3ERR_NOENT; +- return NULL; +- } +- + /* This will be a static private nfs_export with just one + * address. We feed it to kernel then extract the filehandle, + */ +-- +2.35.6 +
meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801-dependent_p2.patch new file +181 -0
181 lines not on this page · raw message
meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801-dependent_p3.patch new file +465 -0
465 lines not on this page · raw message
meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801.patch new file +254 -0
254 lines not on this page · raw message
meta/recipes-connectivity/nfs-utils/nfs-utils_2.8.4.bb +4 -0
@@ -24,6 +24,10 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.x file://0001-locktest-Makefile.am-Do-not-use-build-flags.patch \ file://0004-Use-nogroup-for-nobody-group.patch \ file://0005-find-OE-provided-Kerberos.patch \ + file://CVE-2025-12801-dependent_p1.patch \ + file://CVE-2025-12801-dependent_p2.patch \ + file://CVE-2025-12801-dependent_p3.patch \ + file://CVE-2025-12801.patch \ " SRC_URI[sha256sum] = "11c4cc598a434d7d340bad3e072a373ba1dcc2c49f855d44b202222b78ecdbf5"
PATCH v2 7/51 sqlite3: Fix CVE-2025-70873
In reply to Yoann CongalFrom: Vijay Anusuri <[email protected]>
Pick patch as per [1]
[1] https://sqlite.org/src/info/3d459f1fb1bd1b5e
[2] https://sqlite.org/forum/forumpost/761eac3c82
[3] https://gist.github.com/cnwangjihe/f496393f30f5ecec5b18c8f5ab072054
--- .../sqlite/files/CVE-2025-70873.patch | 33 +++++++++++++++++++ meta/recipes-support/sqlite/sqlite3_3.48.0.bb | 1 + 2 files changed, 34 insertions(+) create mode 100644 meta/recipes-support/sqlite/files/CVE-2025-70873.patch
meta/recipes-support/sqlite/files/CVE-2025-70873.patch new file +33 -0
@@ -0,0 +1,33 @@ +From 5a05c59d4d75c03f23d5fb70feac9f789954bf8a Mon Sep 17 00:00:00 2001 +From: drh <> +Date: Sat, 6 Dec 2025 20:41:24 +0000 +Subject: [PATCH] In the zipfile extension, only return as many bytes as + Inflate actually generated. [forum:/forumpost/761eac3c82|Forum post + 761eac3c82]. Adjust ./configure so that it builds zipfile into testfixture if + ZLIB is available, so that tests get run on unix platforms. + +FossilOrigin-Name: 3d459f1fb1bd1b5e723629c463ab392af7b206ece3388bda216c6a4c26160909 + +Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/5a05c59d4d75c03f23d5fb70feac9f789954bf8a] +CVE: CVE-2025-70873 +Signed-off-by: Vijay Anusuri <[email protected]> +--- + shell.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/shell.c b/shell.c +index ca26f8a..a3f7898 100644 +--- a/shell.c ++++ b/shell.c +@@ -11141,7 +11141,7 @@ static void zipfileInflate( + if( err!=Z_STREAM_END ){ + zipfileCtxErrorMsg(pCtx, "inflate() failed (%d)", err); + }else{ +- sqlite3_result_blob(pCtx, aRes, nOut, zipfileFree); ++ sqlite3_result_blob(pCtx, aRes, (int)str.total_out, zipfileFree); + aRes = 0; + } + } +-- +2.43.0 +
meta/recipes-support/sqlite/sqlite3_3.48.0.bb +1 -0
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=786d3dc581eff03f4fd9e4a77ed0 SRC_URI = "http://www.sqlite.org/2025/sqlite-autoconf-${SQLITE_PV}.tar.gz \ file://CVE-2025-3277.patch \ file://CVE-2025-6965.patch \ + file://CVE-2025-70873.patch \ " SRC_URI[sha256sum] = "ac992f7fca3989de7ed1fe99c16363f848794c8c32a158dafd4eb927a2e02fd5"
PATCH v2 8/51 python3: upgrade 3.13.11 -> 3.13.12
In reply to Yoann CongalFrom: Vijay Anusuri <[email protected]>
Handles CVE-2025-15282
Release information:
* https://www.python.org/downloads/release/python-31312/
* Python 3.13.12 is the twelfth maintenance release of 3.13, containing around 240 bugfixes, build improvements and documentation changes since 3.13.11.
---
.../python/{python3_3.13.11.bb => python3_3.13.12.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3_3.13.11.bb => python3_3.13.12.bb} (99%)meta/recipes-devtools/python/python3_3.13.12.bb renamed from meta/recipes-devtools/python/python3_3.13.11.bb +1 -1
@@ -36,7 +36,7 @@ SRC_URI:append:class-native = " \ file://0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch \ " -SRC_URI[sha256sum] = "16ede7bb7cdbfa895d11b0642fa0e523f291e6487194d53cf6d3b338c3a17ea2" +SRC_URI[sha256sum] = "2a84cd31dd8d8ea8aaff75de66fc1b4b0127dd5799aa50a64ae9a313885b4593" # exclude pre-releases for both python 2.x and 3.x UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
PATCH v2 9/51 libarchive: upgrade 3.8.5 -> 3.8.6
In reply to Yoann CongalFrom: Peter Marko <[email protected]>
Release information [1]:
Libarchive 3.8.6 is a security and bugfix release.
Notable fixes:
* libarchive: fix incompatibility with Nettle 4.x (#2858)
* libarchive: fix NULL pointer dereference in archive_acl_from_text_w() (#2859)
* bsdunzip: fix ISO week year and Gregorian year confusion (#2860)
* 7zip: ix SEGV in check_7zip_header_in_sfx via ELF offset validation (#2864)
* 7zip: fix out-of-bounds access on ELF 64-bit header (#2875)
* RAR5 reader: fix infinite loop in rar5 decompression (#2877)
* RAR5 reader: fix potential memory leak (#2892)
* RAR5: fix SIGSEGV when archive_read_support_format_rar5 is called twice (#2893)
* CAB reader: fix memory leak on repeated calls to archive_read_support_format_cab (#2895)
* mtree reader: Fix file descriptor leak in mtree parser cleanup (CWE-775, #2878)
* various small bugfixes in code and documentation
[1] https://github.com/libarchive/libarchive/releases/tag/v3.8.6
---
.../libarchive/{libarchive_3.8.5.bb => libarchive_3.8.6.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-extended/libarchive/{libarchive_3.8.5.bb => libarchive_3.8.6.bb} (96%)meta/recipes-extended/libarchive/libarchive_3.8.6.bb renamed from meta/recipes-extended/libarchive/libarchive_3.8.5.bb +1 -1
@@ -32,7 +32,7 @@ EXTRA_OECONF += "--enable-largefile --without-iconv" SRC_URI = "https://libarchive.org/downloads/libarchive-${PV}.tar.gz" UPSTREAM_CHECK_URI = "https://www.libarchive.org/" -SRC_URI[sha256sum] = "8a60f3a7bfd59c54ce82ae805a93dba65defd04148c3333b7eaa2102f03b7ffd" +SRC_URI[sha256sum] = "213269b05aac957c98f6e944774bb438d0bd168a2ec60b9e4f8d92035925821c" inherit autotools update-alternatives pkgconfig
PATCH v2 10/51 vim: Fix CVE-2026-33412
In reply to Yoann CongalFrom: Hitendra Prajapati <[email protected]>
Pick patch from [1] also mentioned in NVD report with [2]
[1] https://github.com/vim/vim/commit/645ed6597d1ea896c712cd7ddbb6edee79577e9a
[2] https://nvd.nist.gov/vuln/detail/CVE-2026-33412
--- .../vim/files/CVE-2026-33412.patch | 61 +++++++++++++++++++ meta/recipes-support/vim/vim.inc | 1 + 2 files changed, 62 insertions(+) create mode 100644 meta/recipes-support/vim/files/CVE-2026-33412.patch
meta/recipes-support/vim/files/CVE-2026-33412.patch new file +61 -0
@@ -0,0 +1,61 @@ +From 645ed6597d1ea896c712cd7ddbb6edee79577e9a Mon Sep 17 00:00:00 2001 +From: pyllyukko <[email protected]> +Date: Thu, 19 Mar 2026 19:58:05 +0000 +Subject: [PATCH] patch 9.2.0202: [security]: command injection via newline in + glob() + +Problem: The glob() function on Unix-like systems does not escape + newline characters when expanding wildcards. A maliciously + crafted string containing '\n' can be used as a command + separator to execute arbitrary shell commands via + mch_expand_wildcards(). This depends on the user's 'shell' + setting. +Solution: Add the newline character ('\n') to the SHELL_SPECIAL + definition to ensure it is properly escaped before being + passed to the shell (pyllyukko). + +closes: #19746 + +Github Advisory: +https://github.com/vim/vim/security/advisories/GHSA-w5jw-f54h-x46c + +Signed-off-by: pyllyukko <[email protected]> +Signed-off-by: Christian Brabandt <[email protected]> + +CVE: CVE-2026-33412 +Upstream-Status: Backport [https://github.com/vim/vim/commit/645ed6597d1ea896c712cd7ddbb6edee79577e9a] +Signed-off-by: Hitendra Prajapati <[email protected]> +--- + src/os_unix.c | 2 +- + src/version.c | 2 ++ + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/src/os_unix.c b/src/os_unix.c +index cf195e62e1..d767956b1a 100644 +--- a/src/os_unix.c ++++ b/src/os_unix.c +@@ -7106,7 +7106,7 @@ mch_expandpath( + # define SEEK_END 2 + #endif + +-#define SHELL_SPECIAL (char_u *)"\t \"&'$;<>()\\|" ++# define SHELL_SPECIAL (char_u *)"\t \"&'$;<>()\\|\n" + + int + mch_expand_wildcards( +diff --git a/src/version.c b/src/version.c +index 4f3912aedd..712a3e637c 100644 +--- a/src/version.c ++++ b/src/version.c +@@ -724,6 +724,8 @@ static char *(features[]) = + + static int included_patches[] = + { /* Add new patch number below this line */ ++/**/ ++ 1684, + /**/ + 1683, + /**/ +-- +2.50.1 +
meta/recipes-support/vim/vim.inc +1 -0
@@ -18,6 +18,7 @@ SRC_URI = "git://github.com/vim/vim.git;branch=master;protocol=https;tag=v${PV} file://no-path-adjust.patch \ file://CVE-2026-25749.patch \ file://CVE-2026-26269.patch \ + file://CVE-2026-33412.patch \ " PV .= ".1683"
PATCH v2 11/51 vim: Fix CVE-2026-28418
In reply to Yoann CongalFrom: Hitendra Prajapati <[email protected]>
Pick patch from [1] also mentioned in [2]
[1] https://github.com/vim/vim/commit/f6a7f469a9c0d09e84cd6cb46c3a9e76f684da2d
[2] https://nvd.nist.gov/vuln/detail/CVE-2026-28418
--- .../vim/files/CVE-2026-28418.patch | 78 +++++++++++++++++++ meta/recipes-support/vim/vim.inc | 1 + 2 files changed, 79 insertions(+) create mode 100644 meta/recipes-support/vim/files/CVE-2026-28418.patch
meta/recipes-support/vim/files/CVE-2026-28418.patch new file +78 -0
@@ -0,0 +1,78 @@ +From f6a7f469a9c0d09e84cd6cb46c3a9e76f684da2d Mon Sep 17 00:00:00 2001 +From: Christian Brabandt <[email protected]> +Date: Mon, 23 Feb 2026 18:30:11 +0000 +Subject: [PATCH] patch 9.2.0074: [security]: Crash with overlong emacs tag + file + +Problem: Crash with overlong emacs tag file, because of an OOB buffer + read (ehdgks0627, un3xploitable) +Solution: Check for end of buffer and return early. + +Github Advisory: +https://github.com/vim/vim/security/advisories/GHSA-h4mf-vg97-hj8j + +Signed-off-by: Christian Brabandt <[email protected]> + +CVE: CVE-2026-28418 +Upstream-Status: Backport [https://github.com/vim/vim/commit/f6a7f469a9c0d09e84cd6cb46c3a9e76f684da2d] +Signed-off-by: Hitendra Prajapati <[email protected]> +--- + src/tag.c | 3 +++ + src/testdir/test_taglist.vim | 15 +++++++++++++++ + src/version.c | 2 ++ + 3 files changed, 20 insertions(+) + +diff --git a/src/tag.c b/src/tag.c +index a32bbb2459..45af67f20d 100644 +--- a/src/tag.c ++++ b/src/tag.c +@@ -1902,6 +1902,9 @@ emacs_tags_new_filename(findtags_state_T *st) + + for (p = st->ebuf; *p && *p != ','; p++) + ; ++ // invalid ++ if (*p == NUL) ++ return; + *p = NUL; + + // check for an included tags file. +diff --git a/src/testdir/test_taglist.vim b/src/testdir/test_taglist.vim +index 5a946042be..506e64f7ae 100644 +--- a/src/testdir/test_taglist.vim ++++ b/src/testdir/test_taglist.vim +@@ -301,4 +301,19 @@ func Test_tag_complete_with_overlong_line() + set tags& + endfunc + ++" This used to crash Vim ++func Test_evil_emacs_tagfile() ++ CheckFeature emacs_tags ++ let longline = repeat('a', 515) ++ call writefile([ ++ \ "\x0c", ++ \ longline ++ \ ], 'Xtags', 'D') ++ set tags=Xtags ++ ++ call assert_fails(':tag a', 'E426:') ++ ++ set tags& ++endfunc ++ + " vim: shiftwidth=2 sts=2 expandtab +diff --git a/src/version.c b/src/version.c +index 712a3e637c..7d265ab641 100644 +--- a/src/version.c ++++ b/src/version.c +@@ -724,6 +724,8 @@ static char *(features[]) = + + static int included_patches[] = + { /* Add new patch number below this line */ ++/**/ ++ 1685, + /**/ + 1684, + /**/ +-- +2.50.1 +
meta/recipes-support/vim/vim.inc +1 -0
@@ -19,6 +19,7 @@ SRC_URI = "git://github.com/vim/vim.git;branch=master;protocol=https;tag=v${PV} file://CVE-2026-25749.patch \ file://CVE-2026-26269.patch \ file://CVE-2026-33412.patch \ + file://CVE-2026-28418.patch \ " PV .= ".1683"
PATCH v2 12/51 vim: Fix CVE-2026-28419
In reply to Yoann CongalFrom: Hitendra Prajapati <[email protected]>
Pick patch from [1] also mentioned in [2]
[1] https://github.com/vim/vim/commit/9b7dfa2948c9e1e5e32a5812812d580c7879f4a0
[2] https://nvd.nist.gov/vuln/detail/CVE-2026-28419
--- .../vim/files/CVE-2026-28419.patch | 86 +++++++++++++++++++ meta/recipes-support/vim/vim.inc | 1 + 2 files changed, 87 insertions(+) create mode 100644 meta/recipes-support/vim/files/CVE-2026-28419.patch
meta/recipes-support/vim/files/CVE-2026-28419.patch new file +86 -0
@@ -0,0 +1,86 @@ +From 9b7dfa2948c9e1e5e32a5812812d580c7879f4a0 Mon Sep 17 00:00:00 2001 +From: Christian Brabandt <[email protected]> +Date: Mon, 23 Feb 2026 19:35:25 +0000 +Subject: [PATCH] patch 9.2.0075: [security]: Buffer underflow with emacs tag + file + +Problem: When parsing a malformed Emacs-style tags file, a 1-byte + heap-buffer-underflow read occurs if the 0x7f delimiter + appears at the very beginning of a line. This happens + because the code attempts to scan backward for a tag + name from the delimiter without checking if space exists. + (ehdgks0627, un3xploitable) +Solution: Add a check to ensure the delimiter (p_7f) is not at the + start of the buffer (lbuf) before attempting to isolate + the tag name. + +GitHub Advisory: +https://github.com/vim/vim/security/advisories/GHSA-xcc8-r6c5-hvwv + +Signed-off-by: Christian Brabandt <[email protected]> + + +CVE: CVE-2026-28419 +Upstream-Status: Backport [https://github.com/vim/vim/commit/9b7dfa2948c9e1e5e32a5812812d580c7879f4a0] +Signed-off-by: Hitendra Prajapati <[email protected]> +--- + src/tag.c | 3 +++ + src/testdir/test_taglist.vim | 16 ++++++++++++++++ + src/version.c | 2 ++ + 3 files changed, 21 insertions(+) + +diff --git a/src/tag.c b/src/tag.c +index 45af67f20d..d3a73997bb 100644 +--- a/src/tag.c ++++ b/src/tag.c +@@ -2023,6 +2023,9 @@ etag_fail: + } + else // second format: isolate tagname + { ++ if (p_7f == lbuf) ++ goto etag_fail; ++ + // find end of tagname + for (p = p_7f - 1; !vim_iswordc(*p); --p) + if (p == lbuf) +diff --git a/src/testdir/test_taglist.vim b/src/testdir/test_taglist.vim +index 506e64f7ae..42ecc4b76e 100644 +--- a/src/testdir/test_taglist.vim ++++ b/src/testdir/test_taglist.vim +@@ -316,4 +316,20 @@ func Test_evil_emacs_tagfile() + set tags& + endfunc + ++" This used to crash Vim due to a heap-buffer-underflow ++func Test_emacs_tagfile_underflow() ++ CheckFeature emacs_tags ++ " The sequence from the crash artifact: ++ let lines = [ ++ \ "\x0c\xff\xffT\x19\x8a", ++ \ "\x19\x19\x0dtags\x19\x19\x19\x00\xff\xff\xff", ++ \ "\x7f3\x0c" ++ \ ] ++ call writefile(lines, 'Xtags', 'D') ++ set tags=Xtags ++ call assert_fails(':tag a', 'E431:') ++ ++ set tags& ++endfunc ++ + " vim: shiftwidth=2 sts=2 expandtab +diff --git a/src/version.c b/src/version.c +index 7d265ab641..4f47ec2688 100644 +--- a/src/version.c ++++ b/src/version.c +@@ -724,6 +724,8 @@ static char *(features[]) = + + static int included_patches[] = + { /* Add new patch number below this line */ ++/**/ ++ 1686, + /**/ + 1685, + /**/ +-- +2.50.1 +
meta/recipes-support/vim/vim.inc +1 -0
@@ -20,6 +20,7 @@ SRC_URI = "git://github.com/vim/vim.git;branch=master;protocol=https;tag=v${PV} file://CVE-2026-26269.patch \ file://CVE-2026-33412.patch \ file://CVE-2026-28418.patch \ + file://CVE-2026-28419.patch \ " PV .= ".1683"
PATCH v2 13/51 binutils: Fix build with GLIBC 2.43 on the host
In reply to Yoann CongalFrom: Zoltán Böszörményi <[email protected]>
Added a patch to fix a build error in the CALL_UTIL() macro when built against GLIBC 2.43 on Fedora 44. This fixes binutils-native.
--- .../binutils/binutils-2.45.inc | 1 + ...tect-against-standard-library-macros.patch | 34 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/0001-gprofng-protect-against-standard-library-macros.patch
meta/recipes-devtools/binutils/binutils-2.45.inc +1 -0
@@ -52,4 +52,5 @@ SRC_URI = "\ file://CVE-2025-69644_CVE-2025-69647.patch \ file://CVE-2025-69649.patch \ file://CVE-2025-69652.patch \ + file://0001-gprofng-protect-against-standard-library-macros.patch \ "
meta/recipes-devtools/binutils/binutils/0001-gprofng-protect-against-standard-library-macros.patch new file +34 -0
@@ -0,0 +1,34 @@ +From 5f66aee7f4bec7a2d8378034116f5e5c3dc50f41 Mon Sep 17 00:00:00 2001 +From: Andreas Schwab <[email protected]> +Date: Sat, 22 Nov 2025 11:29:43 +0100 +Subject: [PATCH] gprofng: protect against standard library macros + +The CALL_UTIL macro can expand to an unparsable expression of the argument +is a macro, like with the new const-preserving standard library macros in +C23. + + * gprofng/src/collector_module.h (CALL_UTIL): Add parens to not + expand its argument if it is a function-like macro. + +Signed-off-by: Andreas Schwab <[email protected]> +Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=5f66aee7f4bec7a2d8378034116f5e5c3dc50f41] +--- + gprofng/src/collector_module.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gprofng/src/collector_module.h b/gprofng/src/collector_module.h +index b64d69c45ab..859a6dd1f7d 100644 +--- a/gprofng/src/collector_module.h ++++ b/gprofng/src/collector_module.h +@@ -119,7 +119,7 @@ typedef struct CollectorUtilFuncs + extern CollectorUtilFuncs __collector_util_funcs; + extern int __collector_dlsym_guard; + +-#define CALL_UTIL(x) __collector_util_funcs.x ++#define CALL_UTIL(x) (__collector_util_funcs.x) + + /* The following constants define the meaning of the "void *arg" + * argument of getFrameInfo(). +-- +2.53.0 +
PATCH v2 14/51 gcc: backport a fix for building with gcc-16
In reply to Yoann CongalFrom: Martin Jansa <[email protected]>
Fixes:
https://errors.yoctoproject.org/Errors/Details/905192/
when building on host with gcc-16
--- meta/recipes-devtools/gcc/gcc-15.2.inc | 1 + ...dy-Make-it-buildable-by-C-11-to-C-26.patch | 257 ++++++++++++++++++ 2 files changed, 258 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc/0028-libcody-Make-it-buildable-by-C-11-to-C-26.patch
meta/recipes-devtools/gcc/gcc-15.2.inc +1 -0
@@ -73,6 +73,7 @@ SRC_URI = "${BASEURI} \ file://0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch \ file://0025-gcc-testsuite-tweaks-for-mips-OE.patch \ file://0026-fix-pr90579-testcases.patch \ + file://0028-libcody-Make-it-buildable-by-C-11-to-C-26.patch \ " UNPACKDIR = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/sources"
meta/recipes-devtools/gcc/gcc/0028-libcody-Make-it-buildable-by-C-11-to-C-26.patch new file +257 -0
257 lines not on this page · raw message
PATCH v2 15/51 barebox/barebox-tools: upgrade 2025.09.0 -> 2025.09.3
In reply to Yoann CongalFrom: Ankur Tyagi <[email protected]>
2025.09.3
---------
Fixed FIT image vulnerability
https://lore.barebox.org/barebox/[email protected]/
Changelog:
https://github.com/barebox/barebox/compare/v2025.09.2...v2025.09.3
2025.09.2
---------
Changelog:
https://github.com/barebox/barebox/compare/v2025.09.1...v2025.09.2
2025.09.1
---------
This stable release is specifically targeted at whinlatter which is currently at v2025.09.0
https://lore.barebox.org/barebox/[email protected]/
Changelog:
https://github.com/barebox/barebox/compare/v2025.09.0...v2025.09.1
--- meta/recipes-bsp/barebox/barebox-common.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-bsp/barebox/barebox-common.inc +2 -2
@@ -3,6 +3,6 @@ SECTION = "bootloaders" LIC_FILES_CHKSUM = "file://COPYING;md5=f5125d13e000b9ca1f0d3364286c4192" -PV = "2025.09.0" +PV = "2025.09.3" SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2" -SRC_URI[sha256sum] = "7df1aa47bb7bf1763a729137ac773e69a4052812af094475d739fc63a9295f0d" +SRC_URI[sha256sum] = "e87eb863cbe45e4f5af8930825c8f6e20c02b82451e9e1125ea1c73c1fb49a87"
PATCH v2 16/51 openssl: upgrade 3.5.5 -> 3.5.6
In reply to Yoann CongalFrom: Peter Marko <[email protected]>
Release information [1]:
OpenSSL 3.5.6 is a security patch release. The most severe CVE fixed in this release is Medium. This release incorporates the following bug fixes and mitigations:
* Fixed incorrect failure handling in RSA KEM RSASVE encapsulation. (CVE-2026-31790)
* Fixed loss of key agreement group tuple structure when the DEFAULT keyword is used in the server-side configuration of the key-agreement group list. (CVE-2026-2673)
* Fixed potential use-after-free in DANE client code. (CVE-2026-28387)
* Fixed NULL pointer dereference when processing a delta CRL. (CVE-2026-28388)
* Fixed possible NULL dereference when processing CMS KeyAgreeRecipientInfo. (CVE-2026-28389)
* Fixed possible NULL dereference when processing CMS KeyTransportRecipientInfo. (CVE-2026-28390)
* Fixed heap buffer overflow in hexadecimal conversion. (CVE-2026-31789)
---
...1-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch | 2 +-
.../openssl/{openssl_3.5.5.bb => openssl_3.5.6.bb} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-connectivity/openssl/{openssl_3.5.5.bb => openssl_3.5.6.bb} (99%)meta/recipes-connectivity/openssl/openssl/0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch +1 -1
@@ -38,7 +38,7 @@ diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tm index 09303c4..011bda1 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl -@@ -513,13 +513,27 @@ BIN_LDFLAGS={- join(' ', $target{bin_lflags} || (), +@@ -514,13 +514,27 @@ BIN_LDFLAGS={- join(' ', $target{bin_lflags} || (), '$(CNF_LDFLAGS)', '$(LDFLAGS)') -} BIN_EX_LIBS=$(CNF_EX_LIBS) $(EX_LIBS)
meta/recipes-connectivity/openssl/openssl_3.5.6.bb renamed from meta/recipes-connectivity/openssl/openssl_3.5.5.bb +1 -1
@@ -19,7 +19,7 @@ SRC_URI:append:class-nativesdk = " \ file://environment.d-openssl.sh \ " -SRC_URI[sha256sum] = "b28c91532a8b65a1f983b4c28b7488174e4a01008e29ce8e69bd789f28bc2a89" +SRC_URI[sha256sum] = "deae7c80cba99c4b4f940ecadb3c3338b13cb77418409238e57d7f31f2a3b736" inherit lib_package multilib_header multilib_script ptest perlnative manpages MULTILIB_SCRIPTS = "${PN}-bin:${bindir}/c_rehash"
PATCH v2 17/51 go: upgrade 1.25.8 -> 1.25.9
In reply to Yoann CongalFrom: Peter Marko <[email protected]>
Upgrade to latest 1.25.x release [1]:
$ git --no-pager log --oneline go1.25.8..go1.25.9 7076e01d9d (tag: go1.25.9) [release-branch.go1.25] go1.25.9 abaa0cbb25 [release-branch.go1.25] cmd/go: disallow cgo trust boundary bypass 02f574a830 [release-branch.go1.25] crypto/tls: prevent deadlock when client sends multiple key update messages 82b0cdb741 [release-branch.go1.25] archive/tar: limit the number of old GNU sparse format entries 7d2dd3488c [release-branch.go1.25] cmd/compile: fix loopbce overflow check logic 72cc33629a [release-branch.go1.25] cmd/compile: fix mem access overlap detection 3ed3169244 [release-branch.go1.25] html/template: properly track JS template literal brace depth across contexts 4c79c4223e [release-branch.go1.25] internal/syscall/unix: properly support AT_SYMLINK_NOFOLLOW on Linux edc1e4a5f2 [release-branch.go1.25] crypto/x509: fix signature checking limit 210b8112b1 [release-branch.go1.25] crypto/x509: hoist policy pruning out of loop 93a4f03ed8 [release-branch.go1.25] runtime/race: apply LLVM zero-initialization fix cff64a5cf3 [release-branch.go1.25] cmd/go: tests: rename git-min-vers->git-sha256 7301bd39d1 [release-branch.go1.25] cmd/go: skip git sha256 tests if git < 2.29 f9532f001a [release-branch.go1.25] test/fixedbugs: remove issue46234 test timeout 4f81fbf332 [release-branch.go1.25] doc: remove template use in godebug.md aed39507b1 [release-branch.go1.25] cmd/go/internal/cache: update trim timestamp before trimming 9a6627a5db [release-branch.go1.25] crypto/x509: fix wildcard domain exclusions. 19c660de6b [release-branch.go1.25] cmd/compile/internal/typecheck: simplify tcSliceHeader b02c84a684 [release-branch.go1.25] cmd/internal/testdir: pass -buildid to link command 814b540c17 [release-branch.go1.25] cmd/internal/testdir: unify link command de86eaeb0f [release-branch.go1.25] cmd/cgo/internal/test: use (syntactic) constant for C array bound
Fixes CVE-2026-32282, CVE-2026-32289, CVE-2026-27144, CVE-2026-27143,
CVE-2026-32288, CVE-2026-32283, CVE-2026-27140, CVE-2026-32280 and
CVE-2026-32281.Release information: [2]
[1] https://github.com/golang/go/compare/go1.25.8...go1.25.9
[2] https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU
---
meta/recipes-devtools/go/{go-1.25.8.inc => go-1.25.9.inc} | 2 +-
...binary-native_1.25.8.bb => go-binary-native_1.25.9.bb} | 6 +++---
...oss-canadian_1.25.8.bb => go-cross-canadian_1.25.9.bb} | 0
.../go/{go-cross_1.25.8.bb => go-cross_1.25.9.bb} | 0
.../go/{go-crosssdk_1.25.8.bb => go-crosssdk_1.25.9.bb} | 0
.../go/{go-runtime_1.25.8.bb => go-runtime_1.25.9.bb} | 0
...go-make-content-based-hash-generation-less-pedan.patch | 8 ++++----
.../go/0006-cmd-go-make-GOROOT-precious-by-default.patch | 2 +-
meta/recipes-devtools/go/{go_1.25.8.bb => go_1.25.9.bb} | 0
9 files changed, 9 insertions(+), 9 deletions(-)
rename meta/recipes-devtools/go/{go-1.25.8.inc => go-1.25.9.inc} (91%)
rename meta/recipes-devtools/go/{go-binary-native_1.25.8.bb => go-binary-native_1.25.9.bb} (79%)
rename meta/recipes-devtools/go/{go-cross-canadian_1.25.8.bb => go-cross-canadian_1.25.9.bb} (100%)
rename meta/recipes-devtools/go/{go-cross_1.25.8.bb => go-cross_1.25.9.bb} (100%)
rename meta/recipes-devtools/go/{go-crosssdk_1.25.8.bb => go-crosssdk_1.25.9.bb} (100%)
rename meta/recipes-devtools/go/{go-runtime_1.25.8.bb => go-runtime_1.25.9.bb} (100%)
rename meta/recipes-devtools/go/{go_1.25.8.bb => go_1.25.9.bb} (100%)meta/recipes-devtools/go/go-1.25.9.inc renamed from meta/recipes-devtools/go/go-1.25.8.inc +1 -1
@@ -18,4 +18,4 @@ SRC_URI += "\ file://0011-cmd-link-stop-forcing-binutils-gold-dependency-on-aa.patch \ file://0001-runtime-when-using-cgo-on-386-call-C-sigaction-funct.patch \ " -SRC_URI[main.sha256sum] = "e988d4a2446ac7fe3f6daa089a58e9936a52a381355adec1c8983230a8d6c59e" +SRC_URI[main.sha256sum] = "0ec9ef8ebcea097aac37decae9f09a7218b451cd96be7d6ed513d8e4bcf909cf"
meta/recipes-devtools/go/go-binary-native_1.25.9.bb renamed from meta/recipes-devtools/go/go-binary-native_1.25.8.bb +3 -3
@@ -9,9 +9,9 @@ PROVIDES = "go-native" # Checksums available at https://go.dev/dl/ SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}" -SRC_URI[go_linux_amd64.sha256sum] = "ceb5e041bbc3893846bd1614d76cb4681c91dadee579426cf21a63f2d7e03be6" -SRC_URI[go_linux_arm64.sha256sum] = "7d137f59f66bb93f40a6b2b11e713adc2a9d0c8d9ae581718e3fad19e5295dc7" -SRC_URI[go_linux_ppc64le.sha256sum] = "28ed144a945e4d7188c93f8d85fb772a98ed18f8f9f8d3a650696b739f8cc57c" +SRC_URI[go_linux_amd64.sha256sum] = "00859d7bd6defe8bf84d9db9e57b9a4467b2887c18cd93ae7460e713db774bc1" +SRC_URI[go_linux_arm64.sha256sum] = "ec342e7389b7f489564ed5463c63b16cf8040023dabc7861256677165a8c0e2b" +SRC_URI[go_linux_ppc64le.sha256sum] = "b0c41c7da1fc8d39020d65296a0dc54167afd9f76d67064e22c31ce3d839a739" UPSTREAM_CHECK_URI = "https://golang.org/dl/" UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux"
meta/recipes-devtools/go/go-cross-canadian_1.25.9.bb renamed from meta/recipes-devtools/go/go-cross-canadian_1.25.8.bb +0 -0
meta/recipes-devtools/go/go-cross_1.25.9.bb renamed from meta/recipes-devtools/go/go-cross_1.25.8.bb +0 -0
meta/recipes-devtools/go/go-crosssdk_1.25.9.bb renamed from meta/recipes-devtools/go/go-crosssdk_1.25.8.bb +0 -0
meta/recipes-devtools/go/go-runtime_1.25.9.bb renamed from meta/recipes-devtools/go/go-runtime_1.25.8.bb +0 -0
meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch +4 -4
@@ -109,7 +109,7 @@ index 7b073165d5..1f618be0bb 100644 } // Configuration specific to compiler toolchain. -@@ -2639,8 +2641,25 @@ func envList(key, def string) []string { +@@ -2636,8 +2638,25 @@ func envList(key, def string) []string { return args }
@@ -136,7 +136,7 @@ index 7b073165d5..1f618be0bb 100644 if cppflags, err = buildFlags("CPPFLAGS", "", p.CgoCPPFLAGS, checkCompilerFlags); err != nil { return } -@@ -2656,6 +2675,13 @@ func (b *Builder) CFlags(p *load.Package) (cppflags, cflags, cxxflags, fflags, l +@@ -2653,6 +2672,13 @@ func (b *Builder) CFlags(p *load.Package) (cppflags, cflags, cxxflags, fflags, l if ldflags, err = buildFlags("LDFLAGS", DefaultCFlags, p.CgoLDFLAGS, checkLinkerFlags); err != nil { return }
@@ -150,7 +150,7 @@ index 7b073165d5..1f618be0bb 100644 return } -@@ -2673,7 +2699,7 @@ func (b *Builder) cgo(a *Action, cgoExe, objdir string, pcCFLAGS, pcLDFLAGS, cgo +@@ -2670,7 +2696,7 @@ func (b *Builder) cgo(a *Action, cgoExe, objdir string, pcCFLAGS, pcLDFLAGS, cgo p := a.Package sh := b.Shell(a)
@@ -159,7 +159,7 @@ index 7b073165d5..1f618be0bb 100644 if err != nil { return nil, nil, err } -@@ -3237,7 +3263,7 @@ func (b *Builder) swigOne(a *Action, file, objdir string, pcCFLAGS []string, cxx +@@ -3238,7 +3264,7 @@ func (b *Builder) swigOne(a *Action, file, objdir string, pcCFLAGS []string, cxx p := a.Package sh := b.Shell(a)
meta/recipes-devtools/go/go/0006-cmd-go-make-GOROOT-precious-by-default.patch +1 -1
@@ -94,7 +94,7 @@ index 1f618be0bb..651fa64582 100644 if err := sh.Mkdir(a.Objdir); err != nil { return err } -@@ -1739,6 +1756,14 @@ func (b *Builder) linkShared(ctx context.Context, a *Action) (err error) { +@@ -1736,6 +1753,14 @@ func (b *Builder) linkShared(ctx context.Context, a *Action) (err error) { return err }
meta/recipes-devtools/go/go_1.25.9.bb renamed from meta/recipes-devtools/go/go_1.25.8.bb +0 -0
PATCH v2 18/51 dtc: backport fix for build with glibc-2.43
In reply to Yoann CongalFrom: Martin Jansa <[email protected]>
glibc-2.43 isn't used in OE builds yet, but this fixes dtc-native:
https://errors.yoctoproject.org/Errors/Details/903983/
../sources/dtc-1.7.2/libfdt/fdt_overlay.c: In function ‘overlay_fixup_phandle’:../sources/dtc-1.7.2/libfdt/fdt_overlay.c:424:21: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
424 | sep = memchr(fixup_str, ':', fixup_len);
| ^../sources/dtc-1.7.2/libfdt/fdt_overlay.c:434:21: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
434 | sep = memchr(name, ':', fixup_len);
| ^
cc1: all warnings being treated as errors
--- .../0001-Fix-discarded-const-qualifiers.patch | 83 +++++++++++++++++++ meta/recipes-kernel/dtc/dtc_1.7.2.bb | 1 + 2 files changed, 84 insertions(+) create mode 100644 meta/recipes-kernel/dtc/dtc/0001-Fix-discarded-const-qualifiers.patch
meta/recipes-kernel/dtc/dtc/0001-Fix-discarded-const-qualifiers.patch new file +83 -0
@@ -0,0 +1,83 @@ +From c58beee7bec0774f12202511c97beb741ff2b534 Mon Sep 17 00:00:00 2001 +From: Stephen Gallagher <[email protected]> +Date: Tue, 6 Jan 2026 14:19:30 -0500 +Subject: [PATCH] Fix discarded const qualifiers + +It's unsafe to implicitly discard the const qualifier on a pointer. In +overlay_fixup_phandle(), this was probably just an oversight, and making +the "sep" variable a const char * is sufficient to fix it. + +In create_node(), however, the "p" variable is directly modifying the +buffer pointed to by "const char* node_name". To fix this, we need to +actually make a duplicate of the buffer and operate on that instead. + +This introduces a malloc()/free() and an unbounded strdup() into the +operation, but fdtput isn't a long-running service and the node_name +argument comes directly from argv, so this shouldn't introduce a +significant performance impact. + +Signed-off-by: Stephen Gallagher <[email protected]> +Signed-off-by: David Gibson <[email protected]> +Signed-off-by: Martin Jansa <[email protected]> +Upstream-Status: Backport [https://git.kernel.org/pub/scm/utils/dtc/dtc.git/commit/?h=main&id=9a1c801a1a3c102bf95c5339c9e985b26b823a21] +--- + fdtput.c | 8 +++++--- + libfdt/fdt_overlay.c | 3 ++- + meson.build | 1 + + 3 files changed, 8 insertions(+), 4 deletions(-) + +diff --git a/fdtput.c b/fdtput.c +index c2fecf4..8deec7e 100644 +--- a/fdtput.c ++++ b/fdtput.c +@@ -230,19 +230,21 @@ static int create_paths(char **blob, const char *in_path) + static int create_node(char **blob, const char *node_name) + { + int node = 0; +- char *p; ++ const char *p; ++ char *path = NULL; + + p = strrchr(node_name, '/'); + if (!p) { + report_error(node_name, -1, -FDT_ERR_BADPATH); + return -1; + } +- *p = '\0'; + + *blob = realloc_node(*blob, p + 1); + + if (p > node_name) { +- node = fdt_path_offset(*blob, node_name); ++ path = xstrndup(node_name, (size_t)(p - node_name)); ++ node = fdt_path_offset(*blob, path); ++ free(path); + if (node < 0) { + report_error(node_name, -1, node); + return -1; +diff --git a/libfdt/fdt_overlay.c b/libfdt/fdt_overlay.c +index 28b667f..5f8aa62 100644 +--- a/libfdt/fdt_overlay.c ++++ b/libfdt/fdt_overlay.c +@@ -409,7 +409,8 @@ static int overlay_fixup_phandle(void *fdt, void *fdto, int symbols_off, + const char *fixup_str = value; + uint32_t path_len, name_len; + uint32_t fixup_len; +- char *sep, *endptr; ++ const char *sep; ++ char *endptr; + int poffset, ret; + + fixup_end = memchr(value, '\0', len); +diff --git a/meson.build b/meson.build +index 310699f..2966b06 100644 +--- a/meson.build ++++ b/meson.build +@@ -18,6 +18,7 @@ add_project_arguments( + '-Wshadow', + '-Wsuggest-attribute=format', + '-Wwrite-strings', ++ '-Wdiscarded-qualifiers', + ]), + language: 'c' + )
meta/recipes-kernel/dtc/dtc_1.7.2.bb +1 -0
@@ -10,6 +10,7 @@ LIC_FILES_CHKSUM = "file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ SRC_URI = " \ git://git.kernel.org/pub/scm/utils/dtc/dtc.git;branch=main;protocol=https \ + file://0001-Fix-discarded-const-qualifiers.patch \ " SRCREV = "2d10aa2afe35527728db30b35ec491ecb6959e5c"
PATCH v2 19/51 pseudo: Add fix for glibc 2.43
In reply to Yoann CongalFrom: Richard Purdie <[email protected]>
Update to add a fix for a function definition to work with glibc 2.43.
--- meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/pseudo/pseudo_git.bb +1 -1
@@ -12,7 +12,7 @@ SRC_URI:append:class-nativesdk = " \ file://older-glibc-symbols.patch" SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa" -SRCREV = "43cbd8fb4914328094ccdb4bb827d74b1bac2046" +SRCREV = "56e1f8df4761da60e41812fc32b1de797d1765e9" PV = "1.9.3+git" # largefile and 64bit time_t support adds these macros via compiler flags globally
PATCH v2 20/51 yocto-uninative: Update to 5.1 for glibc 2.43
In reply to Yoann CongalFrom: Michael Halstead <[email protected]>
--- meta/conf/distro/include/yocto-uninative.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
meta/conf/distro/include/yocto-uninative.inc +5 -5
@@ -6,10 +6,10 @@ # to the distro running on the build machine. # -UNINATIVE_MAXGLIBCVERSION = "2.42" -UNINATIVE_VERSION = "5.0" +UNINATIVE_MAXGLIBCVERSION = "2.43" +UNINATIVE_VERSION = "5.1" UNINATIVE_URL ?= "http://downloads.yoctoproject.org/releases/uninative/${UNINATIVE_VERSION}/" -UNINATIVE_CHECKSUM[aarch64] ?= "a25f2174d0cefcb22af005e9bc72ac01ae83b011c5b6d6d5bf00dac979877f76" -UNINATIVE_CHECKSUM[i686] ?= "959cc2539b692f9b9862825c7324a0fe4d061fca742f6c259f67f581c59af956" -UNINATIVE_CHECKSUM[x86_64] ?= "96045e8b1e242c8a849426a8506c7043f354b39f2bc0035192780e8205e23e9d" +UNINATIVE_CHECKSUM[aarch64] ?= "4166237a9dabd222dcb9627a9435dffd756764fabf76ed7ef2e93dc2964567ad" +UNINATIVE_CHECKSUM[i686] ?= "761502cc9aef4d54d0c6fe9418beb9fdd2c6220da6f2b04128c89f47902ab9ae" +UNINATIVE_CHECKSUM[x86_64] ?= "2b63a078c26535e0786e87f81ae69509df30f4dce40693004c527bd5e4ab2b85"
PATCH v2 21/51 m4: backport 3 gnulib changes to fix build with glibc-2.43 on host
In reply to Yoann CongalFrom: Martin Jansa <[email protected]>
All 3 are already included in m4-1.4.21 used in master.
--- meta/recipes-devtools/m4/m4-1.4.20.inc | 3 + ...-Fix-some-g-Wsystem-headers-warnings.patch | 135 ++++++++++++ ...pilation-error-on-macOS-with-fortify.patch | 126 ++++++++++++ ...23-qualifier-generic-fns-like-strchr.patch | 194 ++++++++++++++++++ 4 files changed, 458 insertions(+) create mode 100644 meta/recipes-devtools/m4/m4/0001-string-h-wchar-h-Fix-some-g-Wsystem-headers-warnings.patch create mode 100644 meta/recipes-devtools/m4/m4/0002-string-h-Fix-compilation-error-on-macOS-with-fortify.patch create mode 100644 meta/recipes-devtools/m4/m4/0003-Port-to-C23-qualifier-generic-fns-like-strchr.patch
meta/recipes-devtools/m4/m4-1.4.20.inc +3 -0
@@ -8,6 +8,9 @@ inherit autotools texinfo ptest gettext SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz \ file://0001-gettext-h-Avoid-gcc-Wformat-security-warnings-with-d.patch \ + file://0001-string-h-wchar-h-Fix-some-g-Wsystem-headers-warnings.patch \ + file://0002-string-h-Fix-compilation-error-on-macOS-with-fortify.patch \ + file://0003-Port-to-C23-qualifier-generic-fns-like-strchr.patch \ " SRC_URI:append:class-target = " file://run-ptest \ file://0001-test-c32ispunct-Check-for-musl-along-with-glibc.patch \
meta/recipes-devtools/m4/m4/0001-string-h-wchar-h-Fix-some-g-Wsystem-headers-warnings.patch new file +135 -0
135 lines not on this page · raw message
meta/recipes-devtools/m4/m4/0002-string-h-Fix-compilation-error-on-macOS-with-fortify.patch new file +126 -0
126 lines not on this page · raw message
meta/recipes-devtools/m4/m4/0003-Port-to-C23-qualifier-generic-fns-like-strchr.patch new file +194 -0
194 lines not on this page · raw message
PATCH v2 22/51 gettext: backport gnulib changes to fix build with glibc-2.43 on host
In reply to Yoann CongalFrom: Martin Jansa <[email protected]>
It's already included in gettext-1.0 used in master.
Unfortunately this need to be applied in 6 different copies of gnulib inside gettext repo.
--- ...23-qualifier-generic-fns-like-strchr.patch | 626 ++++++++++++++++++ meta/recipes-core/gettext/gettext_0.26.bb | 1 + 2 files changed, 627 insertions(+) create mode 100644 meta/recipes-core/gettext/gettext/0001-Port-to-C23-qualifier-generic-fns-like-strchr.patch
meta/recipes-core/gettext/gettext/0001-Port-to-C23-qualifier-generic-fns-like-strchr.patch new file +626 -0
@@ -0,0 +1,626 @@ +From 64c9525e8664ec3b89475100cbeda06ed916e707 Mon Sep 17 00:00:00 2001 +From: Paul Eggert <[email protected]> +Date: Sun, 23 Nov 2025 00:50:40 -0800 +Subject: [PATCH] Port to C23 qualifier-generic fns like strchr +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +This ports Gnulib to strict C23 platforms that reject code +like ‘char *q = strchr (P, 'x');’ when P is a pointer to const, +because in C23 strchr is a qualifier-generic function so +strchr (P, 'x') returns char const *. +This patch does not attempt to do the following two things, +which might be useful in the future: +1. When compiling on non-C23 platforms, check user code for +portability to platforms that define qualifier-generic functions. +2. Port Gnulib to platforms that have qualifier-generic functions +not listed in the C23 standard, e.g., strchrnul. I don’t know +of any such platforms. +* lib/argp-help.c (argp_doc): +* lib/c-strstr.c (c_strstr): +* lib/dfa.c (comsubs): +* lib/mbschr.c (mbschr): +* lib/mbspbrk.c (mbspbrk): +* lib/mbsrchr.c (mbsrchr): +* lib/memchr2.c (memchr2): +* lib/string-desc.c (_sd_index): +* tests/test-bsearch.c (lib_bsearch): +* tests/test-memchr.c (lib_memchr): +* tests/test-wmemchr.c (lib_wmemchr): +Port to C23, where functions like strchr are qualifier-generic. +* lib/c++defs.h (_GL_FUNCDECL_SYS_NAME): New macro. +* lib/c++defs.h (_GL_FUNCDECL_SYS): +* lib/stdlib.in.h (bsearch): +Use it, to prevent C23 names like strchr from acting like macros. +* lib/string.in.h (memchr, strchr, strpbrk, strrchr): +Do not #undef when GNULIB_POSIXCHECK is defined, as this could +cause conforming C23 code to fail to conform. It’s not clear why +_GL_WARN_ON_USE_CXX; perhaps it was needed but isn’t any more? +But for now, limit the removal of #undef to these four functions +where #undeffing is clearly undesirable in C23. +* lib/wchar.in.h (wmemchr): Parenthesize function name in decl, +to prevent it from acting like a macro. + +Upstream-Status: Backport [https://cgit.git.savannah.gnu.org/cgit/gnulib.git/commit/?id=df17f4f37ed3ca373d23ad42eae51122bdb96626] +Signed-off-by: Martin Jansa <[email protected]> +--- + gettext-runtime/gnulib-lib/c++defs.h | 12 +++++++++++- + gettext-runtime/gnulib-lib/stdlib.in.h | 6 +++--- + gettext-runtime/gnulib-lib/string.in.h | 4 ---- + gettext-runtime/gnulib-lib/wchar.in.h | 2 +- + gettext-runtime/intl/gnulib-lib/c++defs.h | 12 +++++++++++- + gettext-runtime/intl/gnulib-lib/stdlib.in.h | 6 +++--- + gettext-runtime/intl/gnulib-lib/string.in.h | 4 ---- + gettext-runtime/intl/gnulib-lib/wchar.in.h | 2 +- + gettext-tools/gnulib-lib/c++defs.h | 12 +++++++++++- + gettext-tools/gnulib-lib/stdlib.in.h | 6 +++--- + gettext-tools/gnulib-lib/string.in.h | 4 ---- + gettext-tools/gnulib-lib/wchar.in.h | 2 +- + gettext-tools/libgettextpo/c++defs.h | 12 +++++++++++- + gettext-tools/libgettextpo/stdlib.in.h | 6 +++--- + gettext-tools/libgettextpo/string.in.h | 4 ---- + gettext-tools/libgettextpo/wchar.in.h | 2 +- + gettext-tools/libgrep/gnulib-lib/c++defs.h | 12 +++++++++++- + gettext-tools/libgrep/gnulib-lib/memchr2.c | 2 +- + gettext-tools/libgrep/gnulib-lib/stdlib.in.h | 6 +++--- + gettext-tools/libgrep/gnulib-lib/wchar.in.h | 2 +- + libtextstyle/lib/c++defs.h | 12 +++++++++++- + libtextstyle/lib/stdlib.in.h | 6 +++--- + libtextstyle/lib/string.in.h | 4 ---- + libtextstyle/lib/wchar.in.h | 2 +- + 24 files changed, 91 insertions(+), 51 deletions(-) + +diff --git a/gettext-runtime/gnulib-lib/c++defs.h b/gettext-runtime/gnulib-lib/c++defs.h +index df98a5a..d3dfabd 100644 +--- a/gettext-runtime/gnulib-lib/c++defs.h ++++ b/gettext-runtime/gnulib-lib/c++defs.h +@@ -127,6 +127,16 @@ + #define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters,...) \ + _GL_EXTERN_C_FUNC __VA_ARGS__ rettype rpl_func parameters + ++/* _GL_FUNCDECL_SYS_NAME (func) expands to plain func if C++, and to ++ parenthsized func otherwise. Parenthesization is needed in C23 if ++ the function is like strchr and so is a qualifier-generic macro ++ that expands to something more complicated. */ ++#ifdef __cplusplus ++# define _GL_FUNCDECL_SYS_NAME(func) func ++#else ++# define _GL_FUNCDECL_SYS_NAME(func) (func) ++#endif ++ + /* _GL_FUNCDECL_SYS (func, rettype, parameters, [attributes]); + declares the system function, named func, with the given prototype, + consisting of return type, parameters, and attributes. +@@ -139,7 +149,7 @@ + _GL_FUNCDECL_SYS (posix_openpt, int, (int flags), _GL_ATTRIBUTE_NODISCARD); + */ + #define _GL_FUNCDECL_SYS(func,rettype,parameters,...) \ +- _GL_EXTERN_C_FUNC __VA_ARGS__ rettype func parameters ++ _GL_EXTERN_C_FUNC __VA_ARGS__ rettype _GL_FUNCDECL_SYS_NAME (func) parameters + + /* _GL_CXXALIAS_RPL (func, rettype, parameters); + declares a C++ alias called GNULIB_NAMESPACE::func +diff --git a/gettext-runtime/gnulib-lib/stdlib.in.h b/gettext-runtime/gnulib-lib/stdlib.in.h +index 1342db4..3548d6e 100644 +--- a/gettext-runtime/gnulib-lib/stdlib.in.h ++++ b/gettext-runtime/gnulib-lib/stdlib.in.h +@@ -237,9 +237,9 @@ _GL_INLINE_HEADER_BEGIN + + /* Declarations for ISO C N3322. */ + #if defined __GNUC__ && __GNUC__ >= 15 && !defined __clang__ +-_GL_EXTERN_C void *bsearch (const void *__key, +- const void *__base, size_t __nmemb, size_t __size, +- int (*__compare) (const void *, const void *)) ++_GL_EXTERN_C void *_GL_FUNCDECL_SYS_NAME (bsearch) ++ (const void *__key, const void *__base, size_t __nmemb, size_t __size, ++ int (*__compare) (const void *, const void *)) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (2, 3) _GL_ARG_NONNULL ((5)); + _GL_EXTERN_C void qsort (void *__base, size_t __nmemb, size_t __size, + int (*__compare) (const void *, const void *)) +diff --git a/gettext-runtime/gnulib-lib/string.in.h b/gettext-runtime/gnulib-lib/string.in.h +index 9a039c7..bc44f81 100644 +--- a/gettext-runtime/gnulib-lib/string.in.h ++++ b/gettext-runtime/gnulib-lib/string.in.h +@@ -403,7 +403,6 @@ _GL_CXXALIASWARN1 (memchr, void const *, + _GL_CXXALIASWARN (memchr); + # endif + #elif defined GNULIB_POSIXCHECK +-# undef memchr + /* Assume memchr is always declared. */ + _GL_WARN_ON_USE (memchr, "memchr has platform-specific bugs - " + "use gnulib module memchr for portability" ); +@@ -653,7 +652,6 @@ _GL_WARN_ON_USE (stpncpy, "stpncpy is unportable - " + #if defined GNULIB_POSIXCHECK + /* strchr() does not work with multibyte strings if the locale encoding is + GB18030 and the character to be searched is a digit. */ +-# undef strchr + /* Assume strchr is always declared. */ + _GL_WARN_ON_USE_CXX (strchr, + const char *, char *, (const char *, int), +@@ -945,7 +943,6 @@ _GL_CXXALIASWARN (strpbrk); + Even in this simple case, it does not work with multibyte strings if the + locale encoding is GB18030 and one of the characters to be searched is a + digit. */ +-# undef strpbrk + _GL_WARN_ON_USE_CXX (strpbrk, + const char *, char *, (const char *, const char *), + "strpbrk cannot work correctly on character strings " +@@ -975,7 +972,6 @@ _GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings " + #if defined GNULIB_POSIXCHECK + /* strrchr() does not work with multibyte strings if the locale encoding is + GB18030 and the character to be searched is a digit. */ +-# undef strrchr + /* Assume strrchr is always declared. */ + _GL_WARN_ON_USE_CXX (strrchr, + const char *, char *, (const char *, int), +diff --git a/gettext-runtime/gnulib-lib/wchar.in.h b/gettext-runtime/gnulib-lib/wchar.in.h +index a6c52eb..b4de385 100644 +--- a/gettext-runtime/gnulib-lib/wchar.in.h ++++ b/gettext-runtime/gnulib-lib/wchar.in.h +@@ -316,7 +316,7 @@ _GL_EXTERN_C int wcsncmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (1, 3) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (2, 3); + # ifndef __cplusplus +-_GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc, size_t __n) ++_GL_EXTERN_C wchar_t *(wmemchr) (const wchar_t *__s, wchar_t __wc, size_t __n) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (1, 3); + # endif + _GL_EXTERN_C wchar_t *wmemset (wchar_t *__s, wchar_t __wc, size_t __n) +diff --git a/gettext-runtime/intl/gnulib-lib/c++defs.h b/gettext-runtime/intl/gnulib-lib/c++defs.h +index df98a5a..d3dfabd 100644 +--- a/gettext-runtime/intl/gnulib-lib/c++defs.h ++++ b/gettext-runtime/intl/gnulib-lib/c++defs.h +@@ -127,6 +127,16 @@ + #define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters,...) \ + _GL_EXTERN_C_FUNC __VA_ARGS__ rettype rpl_func parameters + ++/* _GL_FUNCDECL_SYS_NAME (func) expands to plain func if C++, and to ++ parenthsized func otherwise. Parenthesization is needed in C23 if ++ the function is like strchr and so is a qualifier-generic macro ++ that expands to something more complicated. */ ++#ifdef __cplusplus ++# define _GL_FUNCDECL_SYS_NAME(func) func ++#else ++# define _GL_FUNCDECL_SYS_NAME(func) (func) ++#endif ++ + /* _GL_FUNCDECL_SYS (func, rettype, parameters, [attributes]); + declares the system function, named func, with the given prototype, + consisting of return type, parameters, and attributes. +@@ -139,7 +149,7 @@ + _GL_FUNCDECL_SYS (posix_openpt, int, (int flags), _GL_ATTRIBUTE_NODISCARD); + */ + #define _GL_FUNCDECL_SYS(func,rettype,parameters,...) \ +- _GL_EXTERN_C_FUNC __VA_ARGS__ rettype func parameters ++ _GL_EXTERN_C_FUNC __VA_ARGS__ rettype _GL_FUNCDECL_SYS_NAME (func) parameters + + /* _GL_CXXALIAS_RPL (func, rettype, parameters); + declares a C++ alias called GNULIB_NAMESPACE::func +diff --git a/gettext-runtime/intl/gnulib-lib/stdlib.in.h b/gettext-runtime/intl/gnulib-lib/stdlib.in.h +index 1342db4..3548d6e 100644 +--- a/gettext-runtime/intl/gnulib-lib/stdlib.in.h ++++ b/gettext-runtime/intl/gnulib-lib/stdlib.in.h +@@ -237,9 +237,9 @@ _GL_INLINE_HEADER_BEGIN + + /* Declarations for ISO C N3322. */ + #if defined __GNUC__ && __GNUC__ >= 15 && !defined __clang__ +-_GL_EXTERN_C void *bsearch (const void *__key, +- const void *__base, size_t __nmemb, size_t __size, +- int (*__compare) (const void *, const void *)) ++_GL_EXTERN_C void *_GL_FUNCDECL_SYS_NAME (bsearch) ++ (const void *__key, const void *__base, size_t __nmemb, size_t __size, ++ int (*__compare) (const void *, const void *)) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (2, 3) _GL_ARG_NONNULL ((5)); + _GL_EXTERN_C void qsort (void *__base, size_t __nmemb, size_t __size, + int (*__compare) (const void *, const void *)) +diff --git a/gettext-runtime/intl/gnulib-lib/string.in.h b/gettext-runtime/intl/gnulib-lib/string.in.h +index 9a039c7..bc44f81 100644 +--- a/gettext-runtime/intl/gnulib-lib/string.in.h ++++ b/gettext-runtime/intl/gnulib-lib/string.in.h +@@ -403,7 +403,6 @@ _GL_CXXALIASWARN1 (memchr, void const *, + _GL_CXXALIASWARN (memchr); + # endif + #elif defined GNULIB_POSIXCHECK +-# undef memchr + /* Assume memchr is always declared. */ + _GL_WARN_ON_USE (memchr, "memchr has platform-specific bugs - " + "use gnulib module memchr for portability" ); +@@ -653,7 +652,6 @@ _GL_WARN_ON_USE (stpncpy, "stpncpy is unportable - " + #if defined GNULIB_POSIXCHECK + /* strchr() does not work with multibyte strings if the locale encoding is + GB18030 and the character to be searched is a digit. */ +-# undef strchr + /* Assume strchr is always declared. */ + _GL_WARN_ON_USE_CXX (strchr, + const char *, char *, (const char *, int), +@@ -945,7 +943,6 @@ _GL_CXXALIASWARN (strpbrk); + Even in this simple case, it does not work with multibyte strings if the + locale encoding is GB18030 and one of the characters to be searched is a + digit. */ +-# undef strpbrk + _GL_WARN_ON_USE_CXX (strpbrk, + const char *, char *, (const char *, const char *), + "strpbrk cannot work correctly on character strings " +@@ -975,7 +972,6 @@ _GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings " + #if defined GNULIB_POSIXCHECK + /* strrchr() does not work with multibyte strings if the locale encoding is + GB18030 and the character to be searched is a digit. */ +-# undef strrchr + /* Assume strrchr is always declared. */ + _GL_WARN_ON_USE_CXX (strrchr, + const char *, char *, (const char *, int), +diff --git a/gettext-runtime/intl/gnulib-lib/wchar.in.h b/gettext-runtime/intl/gnulib-lib/wchar.in.h +index a6c52eb..b4de385 100644 +--- a/gettext-runtime/intl/gnulib-lib/wchar.in.h ++++ b/gettext-runtime/intl/gnulib-lib/wchar.in.h +@@ -316,7 +316,7 @@ _GL_EXTERN_C int wcsncmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (1, 3) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (2, 3); + # ifndef __cplusplus +-_GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc, size_t __n) ++_GL_EXTERN_C wchar_t *(wmemchr) (const wchar_t *__s, wchar_t __wc, size_t __n) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (1, 3); + # endif + _GL_EXTERN_C wchar_t *wmemset (wchar_t *__s, wchar_t __wc, size_t __n) +diff --git a/gettext-tools/gnulib-lib/c++defs.h b/gettext-tools/gnulib-lib/c++defs.h +index df98a5a..d3dfabd 100644 +--- a/gettext-tools/gnulib-lib/c++defs.h ++++ b/gettext-tools/gnulib-lib/c++defs.h +@@ -127,6 +127,16 @@ + #define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters,...) \ + _GL_EXTERN_C_FUNC __VA_ARGS__ rettype rpl_func parameters + ++/* _GL_FUNCDECL_SYS_NAME (func) expands to plain func if C++, and to ++ parenthsized func otherwise. Parenthesization is needed in C23 if ++ the function is like strchr and so is a qualifier-generic macro ++ that expands to something more complicated. */ ++#ifdef __cplusplus ++# define _GL_FUNCDECL_SYS_NAME(func) func ++#else ++# define _GL_FUNCDECL_SYS_NAME(func) (func) ++#endif ++ + /* _GL_FUNCDECL_SYS (func, rettype, parameters, [attributes]); + declares the system function, named func, with the given prototype, + consisting of return type, parameters, and attributes. +@@ -139,7 +149,7 @@ + _GL_FUNCDECL_SYS (posix_openpt, int, (int flags), _GL_ATTRIBUTE_NODISCARD); + */ + #define _GL_FUNCDECL_SYS(func,rettype,parameters,...) \ +- _GL_EXTERN_C_FUNC __VA_ARGS__ rettype func parameters ++ _GL_EXTERN_C_FUNC __VA_ARGS__ rettype _GL_FUNCDECL_SYS_NAME (func) parameters + + /* _GL_CXXALIAS_RPL (func, rettype, parameters); + declares a C++ alias called GNULIB_NAMESPACE::func +diff --git a/gettext-tools/gnulib-lib/stdlib.in.h b/gettext-tools/gnulib-lib/stdlib.in.h +index 1342db4..3548d6e 100644 +--- a/gettext-tools/gnulib-lib/stdlib.in.h ++++ b/gettext-tools/gnulib-lib/stdlib.in.h +@@ -237,9 +237,9 @@ _GL_INLINE_HEADER_BEGIN + + /* Declarations for ISO C N3322. */ + #if defined __GNUC__ && __GNUC__ >= 15 && !defined __clang__ +-_GL_EXTERN_C void *bsearch (const void *__key, +- const void *__base, size_t __nmemb, size_t __size, +- int (*__compare) (const void *, const void *)) ++_GL_EXTERN_C void *_GL_FUNCDECL_SYS_NAME (bsearch) ++ (const void *__key, const void *__base, size_t __nmemb, size_t __size, ++ int (*__compare) (const void *, const void *)) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (2, 3) _GL_ARG_NONNULL ((5)); + _GL_EXTERN_C void qsort (void *__base, size_t __nmemb, size_t __size, + int (*__compare) (const void *, const void *)) +diff --git a/gettext-tools/gnulib-lib/string.in.h b/gettext-tools/gnulib-lib/string.in.h +index 9a039c7..bc44f81 100644 +--- a/gettext-tools/gnulib-lib/string.in.h ++++ b/gettext-tools/gnulib-lib/string.in.h +@@ -403,7 +403,6 @@ _GL_CXXALIASWARN1 (memchr, void const *, + _GL_CXXALIASWARN (memchr); + # endif + #elif defined GNULIB_POSIXCHECK +-# undef memchr + /* Assume memchr is always declared. */ + _GL_WARN_ON_USE (memchr, "memchr has platform-specific bugs - " + "use gnulib module memchr for portability" ); +@@ -653,7 +652,6 @@ _GL_WARN_ON_USE (stpncpy, "stpncpy is unportable - " + #if defined GNULIB_POSIXCHECK + /* strchr() does not work with multibyte strings if the locale encoding is + GB18030 and the character to be searched is a digit. */ +-# undef strchr + /* Assume strchr is always declared. */ + _GL_WARN_ON_USE_CXX (strchr, + const char *, char *, (const char *, int), +@@ -945,7 +943,6 @@ _GL_CXXALIASWARN (strpbrk); + Even in this simple case, it does not work with multibyte strings if the + locale encoding is GB18030 and one of the characters to be searched is a + digit. */ +-# undef strpbrk + _GL_WARN_ON_USE_CXX (strpbrk, + const char *, char *, (const char *, const char *), + "strpbrk cannot work correctly on character strings " +@@ -975,7 +972,6 @@ _GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings " + #if defined GNULIB_POSIXCHECK + /* strrchr() does not work with multibyte strings if the locale encoding is + GB18030 and the character to be searched is a digit. */ +-# undef strrchr + /* Assume strrchr is always declared. */ + _GL_WARN_ON_USE_CXX (strrchr, + const char *, char *, (const char *, int), +diff --git a/gettext-tools/gnulib-lib/wchar.in.h b/gettext-tools/gnulib-lib/wchar.in.h +index a6c52eb..b4de385 100644 +--- a/gettext-tools/gnulib-lib/wchar.in.h ++++ b/gettext-tools/gnulib-lib/wchar.in.h +@@ -316,7 +316,7 @@ _GL_EXTERN_C int wcsncmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (1, 3) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (2, 3); + # ifndef __cplusplus +-_GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc, size_t __n) ++_GL_EXTERN_C wchar_t *(wmemchr) (const wchar_t *__s, wchar_t __wc, size_t __n) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (1, 3); + # endif + _GL_EXTERN_C wchar_t *wmemset (wchar_t *__s, wchar_t __wc, size_t __n) +diff --git a/gettext-tools/libgettextpo/c++defs.h b/gettext-tools/libgettextpo/c++defs.h +index df98a5a..d3dfabd 100644 +--- a/gettext-tools/libgettextpo/c++defs.h ++++ b/gettext-tools/libgettextpo/c++defs.h +@@ -127,6 +127,16 @@ + #define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters,...) \ + _GL_EXTERN_C_FUNC __VA_ARGS__ rettype rpl_func parameters + ++/* _GL_FUNCDECL_SYS_NAME (func) expands to plain func if C++, and to ++ parenthsized func otherwise. Parenthesization is needed in C23 if ++ the function is like strchr and so is a qualifier-generic macro ++ that expands to something more complicated. */ ++#ifdef __cplusplus ++# define _GL_FUNCDECL_SYS_NAME(func) func ++#else ++# define _GL_FUNCDECL_SYS_NAME(func) (func) ++#endif ++ + /* _GL_FUNCDECL_SYS (func, rettype, parameters, [attributes]); + declares the system function, named func, with the given prototype, + consisting of return type, parameters, and attributes. +@@ -139,7 +149,7 @@ + _GL_FUNCDECL_SYS (posix_openpt, int, (int flags), _GL_ATTRIBUTE_NODISCARD); + */ + #define _GL_FUNCDECL_SYS(func,rettype,parameters,...) \ +- _GL_EXTERN_C_FUNC __VA_ARGS__ rettype func parameters ++ _GL_EXTERN_C_FUNC __VA_ARGS__ rettype _GL_FUNCDECL_SYS_NAME (func) parameters + + /* _GL_CXXALIAS_RPL (func, rettype, parameters); + declares a C++ alias called GNULIB_NAMESPACE::func +diff --git a/gettext-tools/libgettextpo/stdlib.in.h b/gettext-tools/libgettextpo/stdlib.in.h +index 1342db4..3548d6e 100644 +--- a/gettext-tools/libgettextpo/stdlib.in.h ++++ b/gettext-tools/libgettextpo/stdlib.in.h +@@ -237,9 +237,9 @@ _GL_INLINE_HEADER_BEGIN + + /* Declarations for ISO C N3322. */ + #if defined __GNUC__ && __GNUC__ >= 15 && !defined __clang__ +-_GL_EXTERN_C void *bsearch (const void *__key, +- const void *__base, size_t __nmemb, size_t __size, +- int (*__compare) (const void *, const void *)) ++_GL_EXTERN_C void *_GL_FUNCDECL_SYS_NAME (bsearch) ++ (const void *__key, const void *__base, size_t __nmemb, size_t __size, ++ int (*__compare) (const void *, const void *)) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (2, 3) _GL_ARG_NONNULL ((5)); + _GL_EXTERN_C void qsort (void *__base, size_t __nmemb, size_t __size, + int (*__compare) (const void *, const void *)) +diff --git a/gettext-tools/libgettextpo/string.in.h b/gettext-tools/libgettextpo/string.in.h +index 9a039c7..bc44f81 100644 +--- a/gettext-tools/libgettextpo/string.in.h ++++ b/gettext-tools/libgettextpo/string.in.h +@@ -403,7 +403,6 @@ _GL_CXXALIASWARN1 (memchr, void const *, + _GL_CXXALIASWARN (memchr); + # endif + #elif defined GNULIB_POSIXCHECK +-# undef memchr + /* Assume memchr is always declared. */ + _GL_WARN_ON_USE (memchr, "memchr has platform-specific bugs - " + "use gnulib module memchr for portability" ); +@@ -653,7 +652,6 @@ _GL_WARN_ON_USE (stpncpy, "stpncpy is unportable - " + #if defined GNULIB_POSIXCHECK + /* strchr() does not work with multibyte strings if the locale encoding is + GB18030 and the character to be searched is a digit. */ +-# undef strchr + /* Assume strchr is always declared. */ + _GL_WARN_ON_USE_CXX (strchr, + const char *, char *, (const char *, int), +@@ -945,7 +943,6 @@ _GL_CXXALIASWARN (strpbrk); + Even in this simple case, it does not work with multibyte strings if the + locale encoding is GB18030 and one of the characters to be searched is a + digit. */ +-# undef strpbrk + _GL_WARN_ON_USE_CXX (strpbrk, + const char *, char *, (const char *, const char *), + "strpbrk cannot work correctly on character strings " +@@ -975,7 +972,6 @@ _GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings " + #if defined GNULIB_POSIXCHECK + /* strrchr() does not work with multibyte strings if the locale encoding is + GB18030 and the character to be searched is a digit. */ +-# undef strrchr + /* Assume strrchr is always declared. */ + _GL_WARN_ON_USE_CXX (strrchr, + const char *, char *, (const char *, int), +diff --git a/gettext-tools/libgettextpo/wchar.in.h b/gettext-tools/libgettextpo/wchar.in.h +index a6c52eb..b4de385 100644 +--- a/gettext-tools/libgettextpo/wchar.in.h ++++ b/gettext-tools/libgettextpo/wchar.in.h +@@ -316,7 +316,7 @@ _GL_EXTERN_C int wcsncmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (1, 3) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (2, 3); + # ifndef __cplusplus +-_GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc, size_t __n) ++_GL_EXTERN_C wchar_t *(wmemchr) (const wchar_t *__s, wchar_t __wc, size_t __n) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (1, 3); + # endif + _GL_EXTERN_C wchar_t *wmemset (wchar_t *__s, wchar_t __wc, size_t __n) +diff --git a/gettext-tools/libgrep/gnulib-lib/c++defs.h b/gettext-tools/libgrep/gnulib-lib/c++defs.h +index df98a5a..d3dfabd 100644 +--- a/gettext-tools/libgrep/gnulib-lib/c++defs.h ++++ b/gettext-tools/libgrep/gnulib-lib/c++defs.h +@@ -127,6 +127,16 @@ + #define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters,...) \ + _GL_EXTERN_C_FUNC __VA_ARGS__ rettype rpl_func parameters + ++/* _GL_FUNCDECL_SYS_NAME (func) expands to plain func if C++, and to ++ parenthsized func otherwise. Parenthesization is needed in C23 if ++ the function is like strchr and so is a qualifier-generic macro ++ that expands to something more complicated. */ ++#ifdef __cplusplus ++# define _GL_FUNCDECL_SYS_NAME(func) func ++#else ++# define _GL_FUNCDECL_SYS_NAME(func) (func) ++#endif ++ + /* _GL_FUNCDECL_SYS (func, rettype, parameters, [attributes]); + declares the system function, named func, with the given prototype, + consisting of return type, parameters, and attributes. +@@ -139,7 +149,7 @@ + _GL_FUNCDECL_SYS (posix_openpt, int, (int flags), _GL_ATTRIBUTE_NODISCARD); + */ + #define _GL_FUNCDECL_SYS(func,rettype,parameters,...) \ +- _GL_EXTERN_C_FUNC __VA_ARGS__ rettype func parameters ++ _GL_EXTERN_C_FUNC __VA_ARGS__ rettype _GL_FUNCDECL_SYS_NAME (func) parameters + + /* _GL_CXXALIAS_RPL (func, rettype, parameters); + declares a C++ alias called GNULIB_NAMESPACE::func +diff --git a/gettext-tools/libgrep/gnulib-lib/memchr2.c b/gettext-tools/libgrep/gnulib-lib/memchr2.c +index 7493823..d7724ae 100644 +--- a/gettext-tools/libgrep/gnulib-lib/memchr2.c ++++ b/gettext-tools/libgrep/gnulib-lib/memchr2.c +@@ -55,7 +55,7 @@ memchr2 (void const *s, int c1_in, int c2_in, size_t n) + c2 = (unsigned char) c2_in; + + if (c1 == c2) +- return memchr (s, c1, n); ++ return (void *) memchr (s, c1, n); + + /* Handle the first few bytes by reading one byte at a time. + Do this until VOID_PTR is aligned on a longword boundary. */ +diff --git a/gettext-tools/libgrep/gnulib-lib/stdlib.in.h b/gettext-tools/libgrep/gnulib-lib/stdlib.in.h +index 1342db4..3548d6e 100644 +--- a/gettext-tools/libgrep/gnulib-lib/stdlib.in.h ++++ b/gettext-tools/libgrep/gnulib-lib/stdlib.in.h +@@ -237,9 +237,9 @@ _GL_INLINE_HEADER_BEGIN + + /* Declarations for ISO C N3322. */ + #if defined __GNUC__ && __GNUC__ >= 15 && !defined __clang__ +-_GL_EXTERN_C void *bsearch (const void *__key, +- const void *__base, size_t __nmemb, size_t __size, +- int (*__compare) (const void *, const void *)) ++_GL_EXTERN_C void *_GL_FUNCDECL_SYS_NAME (bsearch) ++ (const void *__key, const void *__base, size_t __nmemb, size_t __size, ++ int (*__compare) (const void *, const void *)) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (2, 3) _GL_ARG_NONNULL ((5)); + _GL_EXTERN_C void qsort (void *__base, size_t __nmemb, size_t __size, + int (*__compare) (const void *, const void *)) +diff --git a/gettext-tools/libgrep/gnulib-lib/wchar.in.h b/gettext-tools/libgrep/gnulib-lib/wchar.in.h +index a6c52eb..b4de385 100644 +--- a/gettext-tools/libgrep/gnulib-lib/wchar.in.h ++++ b/gettext-tools/libgrep/gnulib-lib/wchar.in.h +@@ -316,7 +316,7 @@ _GL_EXTERN_C int wcsncmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (1, 3) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (2, 3); + # ifndef __cplusplus +-_GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc, size_t __n) ++_GL_EXTERN_C wchar_t *(wmemchr) (const wchar_t *__s, wchar_t __wc, size_t __n) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (1, 3); + # endif + _GL_EXTERN_C wchar_t *wmemset (wchar_t *__s, wchar_t __wc, size_t __n) +diff --git a/libtextstyle/lib/c++defs.h b/libtextstyle/lib/c++defs.h +index df98a5a..d3dfabd 100644 +--- a/libtextstyle/lib/c++defs.h ++++ b/libtextstyle/lib/c++defs.h +@@ -127,6 +127,16 @@ + #define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters,...) \ + _GL_EXTERN_C_FUNC __VA_ARGS__ rettype rpl_func parameters + ++/* _GL_FUNCDECL_SYS_NAME (func) expands to plain func if C++, and to ++ parenthsized func otherwise. Parenthesization is needed in C23 if ++ the function is like strchr and so is a qualifier-generic macro ++ that expands to something more complicated. */ ++#ifdef __cplusplus ++# define _GL_FUNCDECL_SYS_NAME(func) func ++#else ++# define _GL_FUNCDECL_SYS_NAME(func) (func) ++#endif ++ + /* _GL_FUNCDECL_SYS (func, rettype, parameters, [attributes]); + declares the system function, named func, with the given prototype, + consisting of return type, parameters, and attributes. +@@ -139,7 +149,7 @@ + _GL_FUNCDECL_SYS (posix_openpt, int, (int flags), _GL_ATTRIBUTE_NODISCARD); + */ + #define _GL_FUNCDECL_SYS(func,rettype,parameters,...) \ +- _GL_EXTERN_C_FUNC __VA_ARGS__ rettype func parameters ++ _GL_EXTERN_C_FUNC __VA_ARGS__ rettype _GL_FUNCDECL_SYS_NAME (func) parameters + + /* _GL_CXXALIAS_RPL (func, rettype, parameters); + declares a C++ alias called GNULIB_NAMESPACE::func +diff --git a/libtextstyle/lib/stdlib.in.h b/libtextstyle/lib/stdlib.in.h +index 1342db4..3548d6e 100644 +--- a/libtextstyle/lib/stdlib.in.h ++++ b/libtextstyle/lib/stdlib.in.h +@@ -237,9 +237,9 @@ _GL_INLINE_HEADER_BEGIN + + /* Declarations for ISO C N3322. */ + #if defined __GNUC__ && __GNUC__ >= 15 && !defined __clang__ +-_GL_EXTERN_C void *bsearch (const void *__key, +- const void *__base, size_t __nmemb, size_t __size, +- int (*__compare) (const void *, const void *)) ++_GL_EXTERN_C void *_GL_FUNCDECL_SYS_NAME (bsearch) ++ (const void *__key, const void *__base, size_t __nmemb, size_t __size, ++ int (*__compare) (const void *, const void *)) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (2, 3) _GL_ARG_NONNULL ((5)); + _GL_EXTERN_C void qsort (void *__base, size_t __nmemb, size_t __size, + int (*__compare) (const void *, const void *)) +diff --git a/libtextstyle/lib/string.in.h b/libtextstyle/lib/string.in.h +index 9a039c7..bc44f81 100644 +--- a/libtextstyle/lib/string.in.h ++++ b/libtextstyle/lib/string.in.h +@@ -403,7 +403,6 @@ _GL_CXXALIASWARN1 (memchr, void const *, + _GL_CXXALIASWARN (memchr); + # endif + #elif defined GNULIB_POSIXCHECK +-# undef memchr + /* Assume memchr is always declared. */ + _GL_WARN_ON_USE (memchr, "memchr has platform-specific bugs - " + "use gnulib module memchr for portability" ); +@@ -653,7 +652,6 @@ _GL_WARN_ON_USE (stpncpy, "stpncpy is unportable - " + #if defined GNULIB_POSIXCHECK + /* strchr() does not work with multibyte strings if the locale encoding is + GB18030 and the character to be searched is a digit. */ +-# undef strchr + /* Assume strchr is always declared. */ + _GL_WARN_ON_USE_CXX (strchr, + const char *, char *, (const char *, int), +@@ -945,7 +943,6 @@ _GL_CXXALIASWARN (strpbrk); + Even in this simple case, it does not work with multibyte strings if the + locale encoding is GB18030 and one of the characters to be searched is a + digit. */ +-# undef strpbrk + _GL_WARN_ON_USE_CXX (strpbrk, + const char *, char *, (const char *, const char *), + "strpbrk cannot work correctly on character strings " +@@ -975,7 +972,6 @@ _GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings " + #if defined GNULIB_POSIXCHECK + /* strrchr() does not work with multibyte strings if the locale encoding is + GB18030 and the character to be searched is a digit. */ +-# undef strrchr + /* Assume strrchr is always declared. */ + _GL_WARN_ON_USE_CXX (strrchr, + const char *, char *, (const char *, int), +diff --git a/libtextstyle/lib/wchar.in.h b/libtextstyle/lib/wchar.in.h +index a6c52eb..b4de385 100644 +--- a/libtextstyle/lib/wchar.in.h ++++ b/libtextstyle/lib/wchar.in.h +@@ -316,7 +316,7 @@ _GL_EXTERN_C int wcsncmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (1, 3) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (2, 3); + # ifndef __cplusplus +-_GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc, size_t __n) ++_GL_EXTERN_C wchar_t *(wmemchr) (const wchar_t *__s, wchar_t __wc, size_t __n) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (1, 3); + # endif + _GL_EXTERN_C wchar_t *wmemset (wchar_t *__s, wchar_t __wc, size_t __n)
meta/recipes-core/gettext/gettext_0.26.bb +1 -0
@@ -26,6 +26,7 @@ SRC_URI += " \ file://serial-tests-config.patch \ file://0001-tests-autopoint-3-unset-MAKEFLAGS.patch \ file://0001-init-env.in-do-not-add-C-CXX-parameters.patch \ + file://0001-Port-to-C23-qualifier-generic-fns-like-strchr.patch \ " SRC_URI:append:libc-musl = " file://0001-Ignore-failing-tests-needing-BIG5-encoding-on-musl.patch"
PATCH v2 23/51 util-linux: backport fix to build with glibc-2.43 on host
In reply to Yoann CongalFrom: Martin Jansa <[email protected]>
--- meta/recipes-core/util-linux/util-linux.inc | 1 + ...x-bsearch-macro-usage-with-glibc-C23.patch | 40 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 meta/recipes-core/util-linux/util-linux/0001-lsfd-fix-bsearch-macro-usage-with-glibc-C23.patch
meta/recipes-core/util-linux/util-linux.inc +1 -0
@@ -21,6 +21,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin file://0001-ts-kill-decode-use-RTMIN-from-kill-L-instead-of-hard.patch \ file://0001-tests-helpers-test_sigstate.c-explicitly-reset-SIGIN.patch \ file://0001-include-mount-api-utils-avoid-using-sys-mount.h.patch \ + file://0001-lsfd-fix-bsearch-macro-usage-with-glibc-C23.patch \ file://CVE-2025-14104-01.patch \ file://CVE-2025-14104-02.patch \ "
meta/recipes-core/util-linux/util-linux/0001-lsfd-fix-bsearch-macro-usage-with-glibc-C23.patch new file +40 -0
@@ -0,0 +1,40 @@ +From 710a6989e0fc6dfc9290e2639022d1dbf429557f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= <[email protected]> +Date: Sat, 22 Nov 2025 10:41:08 -0300 +Subject: [PATCH] lsfd: fix bsearch macro usage with glibc C23 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +C23 requires bsearch to be a const preserving macro, build now fails +with + +../lsfd-cmd/lsfd.c:1879:75: error: macro ‘bsearch’ passed 6 arguments, but takes just 5 + 1879 | nfds, sizeof(struct pollfd), pollfdcmp)) + | ^ +In file included from ../include/c.h:17, + from ../lsfd-cmd/lsfd.c:48: +/usr/include/stdlib.h:987:10: note: macro ‘bsearch’ defined here + 987 | # define bsearch(KEY, BASE, NMEMB, SIZE, COMPAR) \ + + add parenthesis around expression to fix it. + +Upstream-Status: Backport [2.42 https://github.com/util-linux/util-linux/commit/711bda1441561bfd2eb6d45fe0bc789535c1f1a8] +Signed-off-by: Martin Jansa <[email protected]> +--- + lsfd-cmd/lsfd.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lsfd-cmd/lsfd.c b/lsfd-cmd/lsfd.c +index 75cd1de..9aae240 100644 +--- a/lsfd-cmd/lsfd.c ++++ b/lsfd-cmd/lsfd.c +@@ -1836,7 +1836,7 @@ static void mark_poll_fds_as_multiplexed(char *buf, + struct file *file = list_entry(f, struct file, files); + if (is_opened_file(file) && !file->multiplexed) { + int fd = file->association; +- if (bsearch(&(struct pollfd){.fd = fd,}, local.iov_base, ++ if (bsearch((&(struct pollfd){.fd = fd,}), local.iov_base, + nfds, sizeof(struct pollfd), pollfdcmp)) + file->multiplexed = 1; + }
PATCH v2 24/51 systemd: backport fix to build with glibc-2.43 on host
In reply to Yoann CongalFrom: Martin Jansa <[email protected]>
fixes systemd-systemctl-native on hosts with glibc-2.43:
In file included from ../sources/systemd-systemctl-257.9/src/basic/errno-list.c:13:src/basic/errno-to-name.h:71:23: error: initialized field overwritten [-Werror=override-init]
71 | [EFSBADCRC] = "EFSBADCRC",
| ^~~~~~~~~~~
src/basic/errno-to-name.h:71:23: note: (near initialization for ?errno_names[74]?)
src/basic/errno-to-name.h:114:26: error: initialized field overwritten [-Werror=override-init]
114 | [EFSCORRUPTED] = "EFSCORRUPTED",
| ^~~~~~~~~~~~~~src/basic/errno-to-name.h:114:26: note: (near initialization for ?errno_names[117]?)
--- meta/recipes-core/systemd/systemd.inc | 4 ++- ...ilter-out-EFSBADCRC-and-EFSCORRUPTED.patch | 34 +++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-core/systemd/systemd/0001-errno-list-filter-out-EFSBADCRC-and-EFSCORRUPTED.patch
meta/recipes-core/systemd/systemd.inc +3 -1
@@ -17,6 +17,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ SRCREV = "5e38d199a623563698ab4a69acbbe3afa9135198" SRCBRANCH = "v257-stable" -SRC_URI = "git://github.com/systemd/systemd.git;protocol=https;branch=${SRCBRANCH};tag=v${PV}" +SRC_URI = "git://github.com/systemd/systemd.git;protocol=https;branch=${SRCBRANCH};tag=v${PV} \ + file://0001-errno-list-filter-out-EFSBADCRC-and-EFSCORRUPTED.patch \ +" CVE_PRODUCT = "systemd"
meta/recipes-core/systemd/systemd/0001-errno-list-filter-out-EFSBADCRC-and-EFSCORRUPTED.patch new file +34 -0
@@ -0,0 +1,34 @@ +From fb146f6d2c5118410fd19907651fd8f7310bf69e Mon Sep 17 00:00:00 2001 +From: Yu Watanabe <[email protected]> +Date: Tue, 24 Feb 2026 20:19:45 +0900 +Subject: [PATCH] errno-list: filter out EFSBADCRC and EFSCORRUPTED + +These are introduced in kernel v7.0. + +Upstream-Status: Backport [https://github.com/systemd/systemd/commit/3cfb16998808a6ec8012a6120d0a82f0e1a0c8bb] +Signed-off-by: Martin Jansa <[email protected]> +--- + src/basic/generate-errno-list.sh | 10 +++++++--- + 1 file changed, 7 insertions(+), 3 deletions(-) + +diff --git a/src/basic/generate-errno-list.sh b/src/basic/generate-errno-list.sh +index f756b2e020..491fa1b6e3 100755 +--- a/src/basic/generate-errno-list.sh ++++ b/src/basic/generate-errno-list.sh +@@ -3,9 +3,13 @@ + set -eu + set -o pipefail + +-# In kernel's arch/parisc/include/uapi/asm/errno.h, ECANCELLED and EREFUSED are defined as aliases of +-# ECANCELED and ECONNREFUSED, respectively. Let's drop them. ++# In kernel's arch/parisc/include/uapi/asm/errno.h, The following aliases are defined: ++# ECANCELLED → ECANCELED ++# EREFUSED → ECONNREFUSED ++# EFSBADCRC → EBADMSG ++# EFSCORRUPTED → EUCLEAN ++# Let's drop them. + + ${1:?} -dM -include errno.h - </dev/null | \ +- grep -Ev '^#define[[:space:]]+(ECANCELLED|EREFUSED)' | \ ++ grep -Ev '^#define[[:space:]]+(ECANCELLED|EREFUSED|EFSBADCRC|EFSCORRUPTED)' | \ + awk '/^#define[ \t]+E[^ _]+[ \t]+/ { print $2; }'
PATCH v2 25/51 virglrenderer: Fix build with glibc 2.43+
In reply to Yoann CongalFrom: Khem Raj <[email protected]>
--- ...once_flag-ONCE_FLAG_INIT-when-presen.patch | 55 +++++++++++++++++++ .../virglrenderer/virglrenderer_1.1.1.bb | 1 + 2 files changed, 56 insertions(+) create mode 100644 meta/recipes-graphics/virglrenderer/virglrenderer/0001-c11-use-glibc-s-once_flag-ONCE_FLAG_INIT-when-presen.patch
meta/recipes-graphics/virglrenderer/virglrenderer/0001-c11-use-glibc-s-once_flag-ONCE_FLAG_INIT-when-presen.patch new file +55 -0
@@ -0,0 +1,55 @@ +From 179e744f7577d98df7c79d7324c22acfb32a0154 Mon Sep 17 00:00:00 2001 +From: Dave Airlie <[email protected]> +Date: Fri, 7 Nov 2025 13:14:56 +1000 +Subject: [PATCH] c11/threads: fix build on c23 + +C23/glibc is now including once_init in stdlib.h + +https://patchwork.sourceware.org/project/glibc/patch/[email protected]/#213088 + +Just fix up our use of it. + +Upstream-Status: Backport [https://gitlab.freedesktop.org/virgl/virglrenderer/-/commit/3f0f775edb2df5ea54c37863286ad565ccddb276] +Signed-off-by: Khem Raj <[email protected]> +--- + src/mesa/compat/c11/impl/threads_posix.c | 3 ++- + 2 files changed, 4 insertions(+), 1 deletion(-) + +--- a/src/mesa/compat/c11/threads_posix.h ++++ b/src/mesa/compat/c11/threads_posix.h +@@ -51,7 +51,9 @@ Configuration macro: + #include <pthread.h> + + /*---------------------------- macros ----------------------------*/ ++#ifndef __once_flag_defined + #define ONCE_FLAG_INIT PTHREAD_ONCE_INIT ++#endif + #ifdef INIT_ONCE_STATIC_INIT + #define TSS_DTOR_ITERATIONS PTHREAD_DESTRUCTOR_ITERATIONS + #else +@@ -66,8 +68,9 @@ typedef pthread_cond_t cnd_t; + typedef pthread_t thrd_t; + typedef pthread_key_t tss_t; + typedef pthread_mutex_t mtx_t; ++#ifndef __once_flag_defined + typedef pthread_once_t once_flag; +- ++#endif + + /* + Implementation limits: +@@ -90,12 +93,13 @@ impl_thrd_routine(void *p) + + /*--------------- 7.25.2 Initialization functions ---------------*/ + // 7.25.2.1 ++#ifndef __once_flag_defined + static inline void + call_once(once_flag *flag, void (*func)(void)) + { + pthread_once(flag, func); + } +- ++#endif + + /*------------- 7.25.3 Condition variable functions -------------*/ + // 7.25.3.1
meta/recipes-graphics/virglrenderer/virglrenderer_1.1.1.bb +1 -0
@@ -12,6 +12,7 @@ DEPENDS = "libdrm libepoxy python3-pyyaml-native virtual/egl virtual/libgbm" SRCREV = "0f1f43929724a6a414c01a29bc51feccb445c2f0" SRC_URI = "git://gitlab.freedesktop.org/virgl/virglrenderer.git;branch=main;protocol=https;tag=${PV} \ file://0001-meson.build-use-python3-directly-for-python.patch \ + file://0001-c11-use-glibc-s-once_flag-ONCE_FLAG_INIT-when-presen.patch \ " inherit meson pkgconfig features_check
PATCH v2 26/51 libxcrypt: avoid discarded-qualifiers build failure with glibc 2.43
In reply to Yoann CongalFrom: Hemanth Kumar M D <[email protected]>
With the glibc 2.43 upgrade, building nativesdk-libxcrypt triggers a -Wdiscarded-qualifiers warning in crypt-gost-yescrypt.c and crypt-sm3-yescrypt.c which becomes a build failure due to -Werror.
--- meta/recipes-core/libxcrypt/libxcrypt.inc | 1 + 1 file changed, 1 insertion(+)
meta/recipes-core/libxcrypt/libxcrypt.inc +1 -0
@@ -19,6 +19,7 @@ PROVIDES = "virtual/crypt" BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error" CPPFLAGS:append:class-nativesdk = " -Wno-error" +CFLAGS:append:class-nativesdk = " -Wno-error=discarded-qualifiers" API = "--disable-obsolete-api" EXTRA_OECONF += "${API}"
PATCH v2 27/51 libxcrypt: Fix build wrt C23 support
In reply to Yoann CongalFrom: Khem Raj <[email protected]>
latest glibc has better C23 support and exposes this problem
Fixes following errors seen in nativesdk-libxcrypt
| ../sources/libxcrypt-4.5.2/lib/crypt-sm3-yescrypt.c:139:9: error: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | 139 | char *hptr = strchr ((const char *) intbuf->retval + 3, '$'); | | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 6 errors generated.
Compared to wrynose remove lib/crypt-sm3-yescrypt.c change, because the file doesn't exist in the version used in whinlatter, it was failing only in lib/crypt-gost-yescrypt.c
--- ...24d6e87aeae631bc0a7bb1ba983cf8def4de.patch | 29 +++++++++++++++++++ meta/recipes-core/libxcrypt/libxcrypt.inc | 1 + 2 files changed, 30 insertions(+) create mode 100644 meta/recipes-core/libxcrypt/files/174c24d6e87aeae631bc0a7bb1ba983cf8def4de.patch
meta/recipes-core/libxcrypt/files/174c24d6e87aeae631bc0a7bb1ba983cf8def4de.patch new file +29 -0
@@ -0,0 +1,29 @@ +From 174c24d6e87aeae631bc0a7bb1ba983cf8def4de Mon Sep 17 00:00:00 2001 +From: Stanislav Zidek <[email protected]> +Date: Wed, 10 Dec 2025 14:03:54 +0100 +Subject: [PATCH] fix -Werror=discarded-qualifiers + +On Fedora rawhide (to be Fedora 44), gcc became more strict +wrt. const-ness. + +Upstream-Status: Backport [https://github.com/besser82/libxcrypt/pull/220 without lib/crypt-sm3-yescrypt.c] +Signed-off-by: Khem Raj <[email protected]> + +--- + lib/crypt-gost-yescrypt.c | 2 +- + lib/crypt-sm3-yescrypt.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lib/crypt-gost-yescrypt.c b/lib/crypt-gost-yescrypt.c +index 190ae94b..e9dc7e80 100644 +--- a/lib/crypt-gost-yescrypt.c ++++ b/lib/crypt-gost-yescrypt.c +@@ -131,7 +131,7 @@ crypt_gost_yescrypt_rn (const char *phrase, size_t phr_size, + intbuf->outbuf[1] = 'g'; + + /* extract yescrypt output from "$y$param$salt$output" */ +- char *hptr = strchr ((const char *) intbuf->retval + 3, '$'); ++ char *hptr = strchr ((char *) intbuf->retval + 3, '$'); + if (!hptr) + { + errno = EINVAL;
meta/recipes-core/libxcrypt/libxcrypt.inc +1 -0
@@ -10,6 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENSING;md5=c0a30e2b1502c55a7f37e412cd6c6a4b \ inherit autotools pkgconfig SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH};protocol=https \ + file://174c24d6e87aeae631bc0a7bb1ba983cf8def4de.patch \ " SRCREV = "55ea777e8d567e5e86ffac917c28815ac54cc341" SRCBRANCH ?= "master"
PATCH v2 28/51 libxcrypt: Use configure knob to disable warnings as errors
In reply to Yoann CongalFrom: Khem Raj <[email protected]>
Passing Wno-error via environment flags for target and nativesdk is intended but is not effective due to command line ordering and as a result some patches have been added to disable particular kind of warning as error. Given the scenario, warnings as errors should be disabled for all builds, this makes it portable across hosts and across compilers ( gcc, clang ) and glibc versions.
--- meta/recipes-core/libxcrypt/libxcrypt.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-core/libxcrypt/libxcrypt.inc +3 -3
@@ -18,9 +18,9 @@ SRCBRANCH ?= "master" PROVIDES = "virtual/crypt" BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" -TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error" -CPPFLAGS:append:class-nativesdk = " -Wno-error" -CFLAGS:append:class-nativesdk = " -Wno-error=discarded-qualifiers" +TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir}" + +EXTRA_OECONF += "--disable-werror" API = "--disable-obsolete-api" EXTRA_OECONF += "${API}"
PATCH v2 29/51 glibc: stable 2.42 branch updates
In reply to Yoann CongalFrom: Hemanth Kumar M D <[email protected]>
$ git log --oneline 912d89a766847649a3857985a3b5e6065c51bfd4..a56a2943d2ce541102c630142c2eae0fbfc5886b
a56a2943d2 tests: fix tst-rseq with Linux 7.068099ccc94 elf: parse /proc/self/maps as the last resort to find the gap for tst-link-map-contiguous-ldso 426378547e resolv: Check hostname for validity (CVE-2026-4438)8e863fb1c9 resolv: Count records correctly (CVE-2026-4437)1a19d5a507 posix: Run tst-wordexp-reuse-mem test9cd9c90544 iconvdata: Fix invalid pointer arithmetic in ANSI_X3.110 moduleebd45473f5 nss: Missing checks in __nss_configure_lookup, __nss_database_get (bug 28940) 937ef7aaf3 Linux: In getlogin_r, use utmp fallback only for specific errors
3989780591 nss: Introduce dedicated struct nss_database_for_fork type
Testing Results:
+--------------+--------+--------+------+ | Result | Before | After | Diff | +--------------+--------+--------+------+ | PASS | 6934 | 6938 | +4 | | XPASS | 4 | 4 | 0 | | FAIL | 76 | 75 | -1 | | XFAIL | 16 | 16 | 0 | | UNSUPPORTED | 108 | 109 | +1 | +--------------+--------+--------+------+
Changes in testcases:
+------------------------------------------------------+--------+-------------+ | Testcase | Before | After | +------------------------------------------------------+--------+-------------+ | elf/tst-glibc-hwcaps | FAIL | PASS | | elf/tst-ldconfig-soname | FAIL | PASS | | nptl/tst-thread-affinity-pthread2 | PASS | FAIL | | nss/tst-nss-malloc-failure-getlogin_r | N/A | UNSUPPORTED | | posix/tst-wordexp-reuse-mem | N/A | PASS | | resolv/tst-resolv-dns-section | N/A | PASS | | resolv/tst-resolv-invalid-ptr | N/A | PASS | +------------------------------------------------------+--------+-------------+
--- meta/recipes-core/glibc/glibc-version.inc | 2 +- meta/recipes-core/glibc/glibc_2.42.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/glibc/glibc-version.inc +1 -1
@@ -1,6 +1,6 @@ SRCBRANCH ?= "release/2.42/master" PV = "2.42+git" -SRCREV_glibc ?= "912d89a766847649a3857985a3b5e6065c51bfd4" +SRCREV_glibc ?= "a56a2943d2ce541102c630142c2eae0fbfc5886b" SRCREV_localedef ?= "cba02c503d7c853a38ccfb83c57e343ca5ecd7e5" GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https"
meta/recipes-core/glibc/glibc_2.42.bb +1 -1
@@ -17,7 +17,7 @@ Allows for ASLR bypass so can bypass some hardening, not an exploit in itself, m easier access for another. 'ASLR bypass itself is not a vulnerability.'" CVE_STATUS_GROUPS += "CVE_STATUS_STABLE_BACKPORTS" -CVE_STATUS_STABLE_BACKPORTS = "CVE-2025-15281 CVE-2026-0861 CVE-2026-0915" +CVE_STATUS_STABLE_BACKPORTS = "CVE-2025-15281 CVE-2026-0861 CVE-2026-0915 CVE-2026-4437 CVE-2026-4438" CVE_STATUS_STABLE_BACKPORTS[status] = "cpe-stable-backport: fix available in used git hash" DEPENDS += "gperf-native bison-native"
PATCH v2 30/51 spirv-tools: backport a fix for building with gcc-16
In reply to Yoann CongalFrom: Martin Jansa <[email protected]>
Fixes:
https://errors.yoctoproject.org/Errors/Details/905195/
when building on host with gcc-16
--- ...sue-with-gcc-16-replaeces-PR-6542-65.patch | 50 +++++++++++++++++++ .../spir/spirv-tools_1.4.328.1.bb | 3 +- 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-graphics/spir/spirv-tools/0001-opt-Fix-build-issue-with-gcc-16-replaeces-PR-6542-65.patch
meta/recipes-graphics/spir/spirv-tools/0001-opt-Fix-build-issue-with-gcc-16-replaeces-PR-6542-65.patch new file +50 -0
@@ -0,0 +1,50 @@ +From aab5c96b7eb237b8bcd15e28f8aff068842db4b7 Mon Sep 17 00:00:00 2001 +From: David Neto <[email protected]> +Date: Tue, 3 Mar 2026 12:11:47 -0500 +Subject: [PATCH] opt: Fix build issue with gcc 16 (replaeces PR #6542) + (#6567) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Compiling with gcc 16 throws this error: + +FAILED: [code=1] +source/opt/CMakeFiles/SPIRV-Tools-opt.dir/decoration_manager.cpp.o + source/opt/decoration_manager.cpp: In member function +‘spvtools::opt::analysis::DecorationManager::CloneDecorations(unsigned +int, unsigned int)’: + source/opt/decoration_manager.cpp:546:27: error: +‘MEM[(unsigned int &)&op + 24]’ may be used uninitialized +[-Werror=maybe-uninitialized] + +546 | if (op.words[0] == from) { // add new pair of operands: (to, +literal) + source/opt/decoration_manager.cpp:545:19: note: ‘op’ declared here + 545 | Operand op = inst->GetOperand(i); + | ^~ + cc1plus: all warnings being treated as errors + +Make sure that the vector is not empty before using it. + +Co-authored-by: José Expósito <[email protected]> +Signed-off-by: Martin Jansa <[email protected]> +Upstream-Status: Backport [c28f5937bce369dde1d645299a8c9873da43dc72] +--- + source/opt/decoration_manager.cpp | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/source/opt/decoration_manager.cpp b/source/opt/decoration_manager.cpp +index 3e95dbc35..bee7d9482 100644 +--- a/source/opt/decoration_manager.cpp ++++ b/source/opt/decoration_manager.cpp +@@ -543,7 +543,8 @@ void DecorationManager::CloneDecorations(uint32_t from, uint32_t to) { + const uint32_t num_operands = inst->NumOperands(); + for (uint32_t i = 1; i < num_operands; i += 2) { + Operand op = inst->GetOperand(i); +- if (op.words[0] == from) { // add new pair of operands: (to, literal) ++ if (!op.words.empty() && ++ op.words[0] == from) { // add new pair of operands: (to, literal) + inst->AddOperand( + Operand(spv_operand_type_t::SPV_OPERAND_TYPE_ID, {to})); + op = inst->GetOperand(i + 1);
meta/recipes-graphics/spir/spirv-tools_1.4.328.1.bb +2 -1
@@ -9,7 +9,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SRCREV = "7f2d9ee926f98fc77a3ed1e1e0f113b8c9c49458" SRC_URI = "git://github.com/KhronosGroup/SPIRV-Tools.git;branch=vulkan-sdk-1.4.328;protocol=https \ - " + file://0001-opt-Fix-build-issue-with-gcc-16-replaeces-PR-6542-65.patch \ +" PE = "1" # These recipes need to be updated in lockstep with each other: # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools
PATCH v2 31/51 ovmf: backport a fix for build with gcc-16
In reply to Yoann CongalFrom: Martin Jansa <[email protected]>
Fixes build on host with gcc-16:
StringFuncs.c: In function ‘SplitStringByWhitespace’:
StringFuncs.c:113:15: error: variable ‘Item’ set but not used [-Werror=unused-but-set-variable=]
113 | UINTN Item;
| ^~~~and
EfiRom.c: In function ‘main’:
EfiRom.c:78:17: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
78 | if ((Ptr0 = strstr ((CONST CHAR8 *) mOptions.FileList->FileName, DEFAULT_OUTPUT_EXTENSION)) != NULL) {
| ^
--- ...Tools-StringFuncs-fix-gcc-16-warning.patch | 42 ++++++++++++++++++ ...aseTools-EfiRom-fix-compiler-warning.patch | 44 +++++++++++++++++++ meta/recipes-core/ovmf/ovmf_git.bb | 2 + 3 files changed, 88 insertions(+) create mode 100644 meta/recipes-core/ovmf/ovmf/0006-BaseTools-StringFuncs-fix-gcc-16-warning.patch create mode 100644 meta/recipes-core/ovmf/ovmf/0007-BaseTools-EfiRom-fix-compiler-warning.patch
meta/recipes-core/ovmf/ovmf/0006-BaseTools-StringFuncs-fix-gcc-16-warning.patch new file +42 -0
@@ -0,0 +1,42 @@ +From 015c26aea52a54e96319887ea542870b4804fb91 Mon Sep 17 00:00:00 2001 +From: Gerd Hoffmann <[email protected]> +Date: Thu, 29 Jan 2026 09:23:32 +0100 +Subject: [PATCH] BaseTools/StringFuncs: fix gcc 16 warning +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +StringFuncs.c: In function ‘SplitStringByWhitespace’: +StringFuncs.c:113:15: error: variable ‘Item’ set but not used [-Werror=unused-but-set-variable=] + 113 | UINTN Item; + | ^~~~ + +Signed-off-by: Gerd Hoffmann <[email protected]> + +Upstream-Status: Backport [edk2-stable202602 https://github.com/tianocore/edk2/commit/3597306191297b504683b83fe7750e49c6a2e836] +Signed-off-by: Martin Jansa <[email protected]> +--- + BaseTools/Source/C/Common/StringFuncs.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/BaseTools/Source/C/Common/StringFuncs.c b/BaseTools/Source/C/Common/StringFuncs.c +index 53e44365e9..df02d9c808 100644 +--- a/BaseTools/Source/C/Common/StringFuncs.c ++++ b/BaseTools/Source/C/Common/StringFuncs.c +@@ -110,7 +110,6 @@ SplitStringByWhitespace ( + CHAR8 *EndOfSubString; + CHAR8 *EndOfString; + STRING_LIST *Output; +- UINTN Item; + + String = CloneString (String); + if (String == NULL) { +@@ -120,7 +119,7 @@ SplitStringByWhitespace ( + + Output = NewStringList (); + +- for (Pos = String, Item = 0; Pos < EndOfString; Item++) { ++ for (Pos = String; Pos < EndOfString;) { + while (isspace ((int)*Pos)) { + Pos++; + }
meta/recipes-core/ovmf/ovmf/0007-BaseTools-EfiRom-fix-compiler-warning.patch new file +44 -0
44 lines not on this page · raw message
meta/recipes-core/ovmf/ovmf_git.bb +2 -0
@@ -25,6 +25,8 @@ SRC_URI = "gitsm://github.com/tianocore/edk2.git;branch=master;protocol=https;ta file://0002-BaseTools-makefile-adjust-to-build-in-under-bitbake.patch \ file://0003-debug-prefix-map.patch \ file://0004-reproducible.patch \ + file://0006-BaseTools-StringFuncs-fix-gcc-16-warning.patch \ + file://0007-BaseTools-EfiRom-fix-compiler-warning.patch \ " PV = "edk2-stable202508"
PATCH v2 32/51 libpng: upgrade 1.6.55 -> 1.6.56
In reply to Yoann CongalFrom: Peter Marko <[email protected]>
Release notes [1]:
* Fixed CVE-2026-33416 (high severity):
Use-after-free via pointer aliasing in png_set_tRNS and png_set_PLTE. (Reported by Halil Oktay and Ryo Shimada;
fixed by Halil Oktay and Cosmin Truta.)
* Fixed CVE-2026-33636 (high severity):
Out-of-bounds read/write in the palette expansion on ARM Neon. (Reported by Taegu Ha; fixed by Taegu Ha and Cosmin Truta.)
* Fixed uninitialized reads beyond num_trans in trans_alpha buffers. (Contributed by Halil Oktay.)
* Fixed stale info_ptr->palette after in-place gamma and background transforms.
* Fixed wrong channel indices in png_image_read_and_map RGB_ALPHA path. (Contributed by Yuelin Wang.)
* Fixed wrong background color in colormap read.
(Contributed by Yuelin Wang.)
* Fixed dead loop in sPLT write.
(Contributed by Yuelin Wang.)
* Added missing null pointer checks in four public API functions. (Contributed by Yuelin Wang.)
* Validated shift bit depths in png_set_shift to prevent infinite loop. (Contributed by Yuelin Wang.)
* Avoided undefined behavior in library and tests.
* Deprecated the hardly-ever-tested POINTER_INDEXING config option.
* Added negative-stride test coverage for the simplified API.
* Fixed memory leaks and API misuse in oss-fuzz.
(Contributed by Owen Sanzas.)
* Implemented various fixes and improvements in oss-fuzz. (Contributed by Bob Friesenhahn and Philippe Antoine.)
* Performed various refactorings and cleanups.
[1] https://github.com/pnggroup/libpng/blob/v1.6.56/ANNOUNCE
---
.../libpng/{libpng_1.6.55.bb => libpng_1.6.56.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/libpng/{libpng_1.6.55.bb => libpng_1.6.56.bb} (97%)meta/recipes-multimedia/libpng/libpng_1.6.56.bb renamed from meta/recipes-multimedia/libpng/libpng_1.6.55.bb +1 -1
@@ -14,7 +14,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/${BP}.tar.xz \ file://run-ptest \ " -SRC_URI[sha256sum] = "d925722864837ad5ae2a82070d4b2e0603dc72af44bd457c3962298258b8e82d" +SRC_URI[sha256sum] = "f7d8bf1601b7804f583a254ab343a6549ca6cf27d255c302c47af2d9d36a6f18" MIRRORS += "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/ ${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/older-releases/"
PATCH v2 33/51 recipetool: Recognise https://git. as git urls
In reply to Yoann CongalFrom: Richard Purdie <[email protected]>
If a url has git. in it, assume it is likely to be a git cloneable url and should be treated as such.
This allows us to switch from https://git.yoctoproject.org/git/XXX urls to the preferred https://git.yoctoproject.org/XXX form.
--- scripts/lib/recipetool/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lib/recipetool/create.py +1 -1
@@ -368,7 +368,7 @@ def supports_srcrev(uri): def reformat_git_uri(uri): '''Convert any http[s]://....git URI into git://...;protocol=http[s]''' checkuri = uri.split(';', 1)[0] - if checkuri.endswith('.git') or '/git/' in checkuri or re.match('https?://git(hub|lab).com/[^/]+/[^/]+/?$', checkuri): + if checkuri.endswith('.git') or '/git/' in checkuri or re.match('https?://git(hub|lab).com/[^/]+/[^/]+/?$', checkuri) or re.match(r'https?://git\..*', checkuri): # Appends scheme if the scheme is missing if not '://' in uri: uri = 'git://' + uri
PATCH v2 34/51 selftest/scripts: Update old git protocol references
In reply to Yoann CongalFrom: Richard Purdie <[email protected]>
git protocol accesses to our infrastructure are currently struggling and this has highlighted a number of places we're making those obsolete access forms.
Update them to use https instead of the git protocol since it is preferred and more reliable.
The devtool test needed quoting to handle the ';' in the url. The -f option to devtool also shows a deprecation warning so remove that.
There were internal references to git protocol urls inside the nested git submodules test report, which means those repos need updating to use new git revisions.
--- .../recipes-test/devtool/devtool-upgrade-test2_git.bb | 2 +- .../devtool/devtool-upgrade-test2_git.bb.upgraded | 2 +- .../recipes-test/devtool/devtool-upgrade-test5_git.bb | 4 ++-- .../devtool/devtool-upgrade-test5_git.bb.upgraded | 4 ++-- meta/lib/oeqa/selftest/cases/devtool.py | 6 +++--- meta/lib/oeqa/selftest/cases/externalsrc.py | 2 +- meta/lib/oeqa/selftest/cases/gitarchivetests.py | 2 +- meta/lib/oeqa/selftest/cases/sstatetests.py | 2 +- meta/lib/oeqa/selftest/cases/yoctotestresultsquerytests.py | 2 +- scripts/yocto_testresults_query.py | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-)
meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb +1 -1
@@ -11,7 +11,7 @@ SRCREV = "1a3e1343761b30750bed70e0fd688f6d3c7b3717" PV = "0.1+git" PR = "r2" -SRC_URI = "git://git.yoctoproject.org/dbus-wait;branch=master" +SRC_URI = "git://git.yoctoproject.org/dbus-wait;branch=master;protocol=https" UPSTREAM_CHECK_COMMITS = "1" RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature"
meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb.upgraded +1 -1
@@ -10,7 +10,7 @@ DEPENDS = "dbus" SRCREV = "6cc6077a36fe2648a5f993fe7c16c9632f946517" PV = "0.1+git" -SRC_URI = "git://git.yoctoproject.org/dbus-wait;branch=master" +SRC_URI = "git://git.yoctoproject.org/dbus-wait;branch=master;protocol=https" UPSTREAM_CHECK_COMMITS = "1" RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature"
meta-selftest/recipes-test/devtool/devtool-upgrade-test5_git.bb +2 -2
@@ -6,11 +6,11 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda INHIBIT_DEFAULT_DEPS = "1" # Note: this is intentionally not the latest version in the original .bb -SRCREV = "132fea6e4dee56b61bcf5721c94e8b2445c6a017" +SRCREV = "f280847494763cdcf71197557a81ba7d8a6bce42" PV = "0.1+git" PR = "r2" -SRC_URI = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master" +SRC_URI = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master;protocol=https" UPSTREAM_CHECK_COMMITS = "1" RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature"
meta-selftest/recipes-test/devtool/devtool-upgrade-test5_git.bb.upgraded +2 -2
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda INHIBIT_DEFAULT_DEPS = "1" # Note: this is intentionally not the latest version in the original .bb -SRCREV = "a2885dd7d25380d23627e7544b7bbb55014b16ee" +SRCREV = "0a60d6af95d22b4c50446559cd41942a8acd2d57" PV = "0.1+git" -SRC_URI = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master" +SRC_URI = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master;protocol=https" UPSTREAM_CHECK_COMMITS = "1" RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature"
meta/lib/oeqa/selftest/cases/devtool.py +3 -3
@@ -584,7 +584,7 @@ class DevtoolAddTests(DevtoolBase): def test_devtool_add_fetch_git(self): tempdir = tempfile.mkdtemp(prefix='devtoolqa') self.track_for_cleanup(tempdir) - url = 'gitsm://git.yoctoproject.org/mraa' + url = 'gitsm://git.yoctoproject.org/mraa;protocol=https' url_branch = '%s;branch=master' % url checkrev = 'ae127b19a50aa54255e4330ccfdd9a5d058e581d' testrecipe = 'mraa'
@@ -593,7 +593,7 @@ class DevtoolAddTests(DevtoolBase): self.track_for_cleanup(self.workspacedir) self.add_command_to_tearDown('bitbake -c cleansstate %s' % testrecipe) self.add_command_to_tearDown('bitbake-layers remove-layer */workspace') - result = runCmd('devtool add %s %s -a -f %s' % (testrecipe, srcdir, url)) + result = runCmd('devtool add %s %s -a "%s"' % (testrecipe, srcdir, url)) self.assertExists(os.path.join(self.workspacedir, 'conf', 'layer.conf'), 'Workspace directory not created: %s' % result.output) self.assertTrue(os.path.isfile(os.path.join(srcdir, 'imraa', 'imraa.c')), 'Unable to find imraa/imraa.c in source directory') # Test devtool status
@@ -1996,7 +1996,7 @@ class DevtoolUpgradeTests(DevtoolBase): self._test_devtool_upgrade_git_by_recipe('devtool-upgrade-test2', '6cc6077a36fe2648a5f993fe7c16c9632f946517') def test_devtool_upgrade_gitsm(self): - self._test_devtool_upgrade_git_by_recipe('devtool-upgrade-test5', 'a2885dd7d25380d23627e7544b7bbb55014b16ee') + self._test_devtool_upgrade_git_by_recipe('devtool-upgrade-test5', '0a60d6af95d22b4c50446559cd41942a8acd2d57') def test_devtool_upgrade_drop_md5sum(self): # Check preconditions
meta/lib/oeqa/selftest/cases/externalsrc.py +1 -1
@@ -17,7 +17,7 @@ class ExternalSrc(OESelftestTestCase): # so we check only that a recipe with externalsrc can be parsed def test_externalsrc_srctree_hash_files(self): test_recipe = "git-submodule-test" - git_url = "git://git.yoctoproject.org/git-submodule-test" + git_url = "https://git.yoctoproject.org/git-submodule-test" externalsrc_dir = tempfile.TemporaryDirectory(prefix="externalsrc").name self.write_config(
meta/lib/oeqa/selftest/cases/gitarchivetests.py +1 -1
@@ -105,7 +105,7 @@ class GitArchiveTests(OESelftestTestCase): delete_fake_repository(path) def test_get_tags_without_valid_remote(self): - url = 'git://git.yoctoproject.org/poky' + url = 'https://git.yoctoproject.org/poky' path, git_obj = create_fake_repository(False, None, False) tags = ga.get_tags(git_obj, self.log, pattern="yocto-*", url=url)
meta/lib/oeqa/selftest/cases/sstatetests.py +1 -1
@@ -221,7 +221,7 @@ class SStateTests(SStateBase): # Use dbus-wait as a local git repo we can add a commit between two builds in pn = 'dbus-wait' srcrev = '6cc6077a36fe2648a5f993fe7c16c9632f946517' - url = 'git://git.yoctoproject.org/dbus-wait' + url = 'https://git.yoctoproject.org/dbus-wait' result = runCmd('git clone %s noname' % url, cwd=tempdir) srcdir = os.path.join(tempdir, 'noname') result = runCmd('git reset --hard %s' % srcrev, cwd=srcdir)
meta/lib/oeqa/selftest/cases/yoctotestresultsquerytests.py +1 -1
@@ -36,4 +36,4 @@ class TestResultsQueryTests(OESelftestTestCase): shutil.rmtree(workdir, ignore_errors=True) self.fail(f"Can not execute git commands in {workdir}") shutil.rmtree(workdir) - self.assertEqual(url, "git://git.yoctoproject.org/yocto-testresults") + self.assertEqual(url, "https://git.yoctoproject.org/yocto-testresults")
scripts/yocto_testresults_query.py +1 -1
@@ -21,7 +21,7 @@ script_path = os.path.dirname(os.path.realpath(__file__)) poky_path = os.path.abspath(os.path.join(script_path, "..")) resulttool = os.path.abspath(os.path.join(script_path, "resulttool")) logger = scriptutils.logger_create(sys.argv[0]) -testresults_default_url="git://git.yoctoproject.org/yocto-testresults" +testresults_default_url="https://git.yoctoproject.org/yocto-testresults" def create_workdir(): workdir = tempfile.mkdtemp(prefix='yocto-testresults-query.')
PATCH v2 35/51 archiver: Don't try to preserve all attributes when copying files
In reply to Yoann CongalFrom: Richard Purdie <[email protected]>
Similar to https://git.openembedded.org/bitbake/commit/?id=2f35dac0c821ab231459922ed98e1b2cc599ca9a
there is a problem in this code when copying from an NFS mount.
We currently use cp -p, which is a shortcut for --preserve=mode,ownership,timestamps. We shouldn't need to preserve mode/ownership, only timestamps. Update the code in the same way the bitbake fetcher was fixed for consistency.
This fixes build failures on OpenSUSE 16.0.
--- meta/classes/archiver.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/archiver.bbclass +1 -1
@@ -398,7 +398,7 @@ python do_ar_mirror() { # We now have an appropriate localpath bb.note('Copying source mirror') - cmd = 'cp -fpPRH %s %s' % (localpath, destdir) + cmd = 'cp --force --preserve=timestamps --no-dereference --recursive -H %s %s' % (localpath, destdir) subprocess.check_call(cmd, shell=True) }
PATCH v2 36/51 license.py: Drop visit_Str from SeenVisitor in selftest
In reply to Yoann CongalFrom: Sunil Dora <[email protected]>
ast.Str was deprecated in Python 3.8 and removed in Python 3.14. In [1], visit_Str was already removed from the LicenseVisitor subclasses (FlattenVisitor, ListVisitor) in oe/license.py since bitbake now requires Python 3.8+.
However, the test-only SeenVisitor class in the selftest was missed at that time and still uses visit_Str/node.s. On Python 3.14, ast.Str is fully removed so visit_Str is never called, causing test_single_licenses to return [] instead of the expected license list.
Replace visit_Str/node.s with visit_Constant/node.value in SeenVisitor.
Fixes [YOCTO #16220]
--- meta/lib/oeqa/selftest/cases/oelib/license.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/lib/oeqa/selftest/cases/oelib/license.py +2 -2
@@ -12,8 +12,8 @@ class SeenVisitor(oe.license.LicenseVisitor): self.seen = [] oe.license.LicenseVisitor.__init__(self) - def visit_Str(self, node): - self.seen.append(node.s) + def visit_Constant(self, node): + self.seen.append(node.value) class TestSingleLicense(TestCase): licenses = [
PATCH v2 37/51 oeqa/selftest/devtool: add vulkan feature check for test needing it
In reply to Yoann CongalFrom: Yoann Congal <[email protected]>
When run with a distro without 'vulkan' DISTRO_FEATURES:
$ oe-selftest -r devtool.DevtoolUpdateTests.test_devtool_git_submodules
2026-04-14 14:36:57,036 - oe-selftest - INFO - test_devtool_git_submodules (devtool.DevtoolUpdateTests.test_devtool_git_submodules)
vulkan-samples is unavailable:
vulkan-samples was skipped: using DISTRO 'nodistro', which is missing required DISTRO_FEATURES: 'vulkan'
2026-04-14 14:37:13,002 - oe-selftest - INFO - ... ERROR
2026-04-14 14:37:13,002 - oe-selftest - INFO - Traceback (most recent call last):
File "/.../openembedded-core/meta/lib/oeqa/selftest/cases/devtool.py", line 1695, in test_devtool_git_submodules
self.assertIn('gitsm://', src_uri, 'This test expects the %s recipe to be a git recipe with submodules' % recipe)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/unittest/case.py", line 1171, in assertIn
if member not in container:
^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterableThis is caused by vulkan-samples being skipped because it needs the vulkan DISTRO_FEATURES.
Note that this is not seen in testing because nodistro has vulkan
enabled by default since2e1e7c86064 (bitbake.conf: Enable opengl ptest multiarch wayland vulkan in DISTRO_FEATURES by default, 2026-02-21)
--- meta/lib/oeqa/selftest/cases/devtool.py | 2 ++ 1 file changed, 2 insertions(+)
meta/lib/oeqa/selftest/cases/devtool.py +2 -0
@@ -18,6 +18,7 @@ from oeqa.selftest.case import OESelftestTestCase from oeqa.utils.commands import runCmd, bitbake, get_bb_var, create_temp_layer from oeqa.utils.commands import get_bb_vars, runqemu, runqemu_check_taps, get_test_layer from oeqa.core.decorator import OETestTag +from oeqa.core.decorator.data import skipIfNotFeature from bb.utils import mkdirhier, edit_bblayers_conf oldmetapath = None
@@ -1685,6 +1686,7 @@ class DevtoolUpdateTests(DevtoolBase): # Try building bitbake('%s -c patch' % testrecipe) + @skipIfNotFeature('vulkan', 'Test requires vulkan to be in DISTRO_FEATURES (operates on vulkan-samples)') def test_devtool_git_submodules(self): # This tests if we can add a patch in a git submodule and extract it properly using devtool finish # Check preconditions
PATCH v2 38/51 selftest/minidebuginfo: extract files from tar archive using tarfile module
In reply to Yoann CongalFrom: Alexander Kanavin <[email protected]>
Python 3.14 added security checks around archive extraction, and by default will refuse to handle symlinks with absolute paths. It's possible to handle this using 'filter' argument, but it is not always available in older Python versions on various host distributions we need to support, so let's extract only the needed files directly using tarfile module.
busybox is itself a symlink to busybox.nosuid, so both are extracted.
[YOCTO #16195]
--- meta/lib/oeqa/selftest/cases/minidebuginfo.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
meta/lib/oeqa/selftest/cases/minidebuginfo.py +5 -2
@@ -6,7 +6,7 @@ import os import subprocess import tempfile -import shutil +import tarfile from oeqa.core.decorator import OETestTag from oeqa.selftest.case import OESelftestTestCase
@@ -33,7 +33,10 @@ IMAGE_FSTYPES = "tar.bz2" # ".gnu_debugdata" which stores minidebuginfo. with tempfile.TemporaryDirectory(prefix = "unpackfs-") as unpackedfs: filename = os.path.join(bb_vars['DEPLOY_DIR_IMAGE'], "{}.tar.bz2".format(bb_vars['IMAGE_LINK_NAME'])) - shutil.unpack_archive(filename, unpackedfs) + with tarfile.open(filename) as tar: + tar.extract("./bin/busybox", path=unpackedfs) + tar.extract("./bin/busybox.nosuid", path=unpackedfs) + tar.extract("./lib/libc.so.6", path=unpackedfs) r = runCmd([bb_vars['READELF'], "-W", "-S", os.path.join(unpackedfs, "bin", "busybox")], native_sysroot = native_sysroot, target_sys = target_sys)
PATCH v2 39/51 selftest/gdbserver: replace shutil.unpack_archive with tarfile extract
In reply to Yoann CongalFrom: Alexander Kanavin <[email protected]>
This is a followup to
https://lists.openembedded.org/g/openembedded-core/message/233609
as the same issue happened in a different selftest.
[YOCTO #16195]
--- meta/lib/oeqa/selftest/cases/gdbserver.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/lib/oeqa/selftest/cases/gdbserver.py +3 -1
@@ -7,6 +7,7 @@ import os import time import tempfile import shutil +import tarfile import concurrent.futures from oeqa.selftest.case import OESelftestTestCase
@@ -41,7 +42,8 @@ CORE_IMAGE_EXTRA_INSTALL = "gdbserver" filename = os.path.join(bb_vars['DEPLOY_DIR_IMAGE'], "%s-dbg.tar.bz2" % bb_vars['IMAGE_LINK_NAME']) shutil.unpack_archive(filename, debugfs) filename = os.path.join(bb_vars['DEPLOY_DIR_IMAGE'], "%s.tar.bz2" % bb_vars['IMAGE_LINK_NAME']) - shutil.unpack_archive(filename, debugfs) + with tarfile.open(filename) as tar: + tar.extract("./bin/kmod", path=debugfs) with runqemu("core-image-minimal", runqemuparams="nographic") as qemu: status, output = qemu.run_serial("kmod --help")
PATCH v2 40/51 oeqa/selftest: add wayland feature check for tests needing it
In reply to Yoann CongalFrom: Yoann Congal <[email protected]>
When run with a distro without 'wayland' DISTRO_FEATURES:
2026-04-14 17:42:00,568 - oe-selftest - INFO - FAIL: test_sstate_32_64_same_hash (sstatetests.SStateHashSameSigs.test_sstate_32_64_same_hash)
2026-04-14 17:42:00,568 - oe-selftest - INFO - ----------------------------------------------------------------------
2026-04-14 17:42:00,568 - oe-selftest - INFO - Traceback (most recent call last):
File ".../openembedded-core/meta/lib/oeqa/selftest/cases/sstatetests.py", line 407, in test_sstate_32_64_same_hash
self.sstate_hashtest("i686")
~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File ".../openembedded-core/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
return func(*args, **kwargs)
File ".../openembedded-core/meta/lib/oeqa/selftest/cases/sstatetests.py", line 371, in sstate_hashtest
bitbake("core-image-weston -S none")
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
AssertionError: Command 'bitbake core-image-weston -S none' returned non-zero exit status 1:
...
ERROR: Nothing PROVIDES 'core-image-weston'
core-image-weston was skipped: using DISTRO 'nodistro', which is missing required DISTRO_FEATURES: 'wayland'
2026-04-14 17:42:00,568 - oe-selftest - INFO - FAIL: test_core_image_full_cmdline_weston (incompatible_lic.NoGPL3InImagesTests.test_core_image_full_cmdline_weston)
2026-04-14 17:42:00,568 - oe-selftest - INFO - ----------------------------------------------------------------------
2026-04-14 17:42:00,568 - oe-selftest - INFO - Traceback (most recent call last):
File ".../openembedded-core/meta/lib/oeqa/selftest/cases/incompatible_lic.py", line 153, in test_core_image_full_cmdline_weston
bitbake('core-image-full-cmdline core-image-weston')
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
AssertionError: Command 'bitbake core-image-full-cmdline core-image-weston' returned non-zero exit status 1:
...
ERROR: Nothing PROVIDES 'core-image-weston'
core-image-weston was skipped: using DISTRO 'nodistro', which is missing required DISTRO_FEATURES: 'wayland'
This is caused by core-image-weston being skipped because it needs the wayland DISTRO_FEATURES.
Note that this is not seen in testing because nodistro has wayland
enabled by default since2e1e7c86064 (bitbake.conf: Enable opengl ptest multiarch wayland vulkan in DISTRO_FEATURES by default, 2026-02-21)
--- meta/lib/oeqa/selftest/cases/incompatible_lic.py | 2 ++ meta/lib/oeqa/selftest/cases/sstatetests.py | 2 ++ 2 files changed, 4 insertions(+)
meta/lib/oeqa/selftest/cases/incompatible_lic.py +2 -0
@@ -5,6 +5,7 @@ # from oeqa.selftest.case import OESelftestTestCase from oeqa.utils.commands import bitbake +from oeqa.core.decorator.data import skipIfNotFeature class IncompatibleLicenseTestObsolete(OESelftestTestCase):
@@ -142,6 +143,7 @@ require conf/distro/include/no-gplv3.inc """) bitbake('core-image-minimal') + @skipIfNotFeature('wayland', 'Test requires wayland to be in DISTRO_FEATURES') def test_core_image_full_cmdline_weston(self): self.write_config(""" IMAGE_CLASSES += "testimage"
meta/lib/oeqa/selftest/cases/sstatetests.py +2 -0
@@ -15,6 +15,7 @@ import re from oeqa.utils.commands import runCmd, bitbake, get_bb_var, create_temp_layer, get_bb_vars from oeqa.selftest.case import OESelftestTestCase from oeqa.core.decorator import OETestTag +from oeqa.core.decorator.data import skipIfNotFeature import oe import bb.siggen
@@ -354,6 +355,7 @@ class SStateCacheManagement(SStateBase): self.run_test_sstate_cache_management_script('m4', global_config, target_config, ignore_patterns=['populate_lic']) class SStateHashSameSigs(SStateBase): + @skipIfNotFeature('wayland', 'Test requires wayland to be in DISTRO_FEATURES') def sstate_hashtest(self, sdkmachine): self.write_config("""
PATCH v2 41/51 report-error.bbclass: replace 'codecs.open()' with 'open()'
In reply to Yoann CongalFrom: Trevor Gamblin <[email protected]>
With newer Python versions, codecs.open() is deprecated:
https://docs.python.org/3/library/codecs.html#codecs.open
Replace it with the preferred call to open().
--- meta/classes/report-error.bbclass | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
meta/classes/report-error.bbclass +3 -5
@@ -10,19 +10,17 @@ ERR_REPORT_DIR ?= "${LOG_DIR}/error-report" def errorreport_getdata(e): - import codecs logpath = e.data.getVar('ERR_REPORT_DIR') datafile = os.path.join(logpath, "error-report.txt") - with codecs.open(datafile, 'r', 'utf-8') as f: + with open(datafile, mode='r', encoding='utf-8', errors='strict') as f: data = f.read() return data def errorreport_savedata(e, newdata, file): import json - import codecs logpath = e.data.getVar('ERR_REPORT_DIR') datafile = os.path.join(logpath, file) - with codecs.open(datafile, 'w', 'utf-8') as f: + with open(datafile, mode='w', encoding='utf-8', errors='strict') as f: json.dump(newdata, f, indent=4, sort_keys=True) return datafile
@@ -86,7 +84,7 @@ python errorreport_handler () { taskdata['task'] = task if log: try: - with codecs.open(log, encoding='utf-8') as logFile: + with open(log, encoding='utf-8') as logFile: logdata = logFile.read() # Replace host-specific paths so the logs are cleaner for d in ("TOPDIR", "TMPDIR"):
PATCH v2 42/51 oeqa/sdk: Default to https git protocol for YP/OE repos
In reply to Yoann CongalFrom: Yoann Congal <[email protected]>
Following up on commit 139102a73d41 ("recipes: Default to https git protocol where possible"),
Quoted 3 lines
The recommendation from server maintainers is that the https protocol is both faster and more reliable than the dedicated git protocol at this point. Switch to it where possible.
--- meta/lib/oeqa/buildtools-docs/cases/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oeqa/buildtools-docs/cases/build.py +1 -1
@@ -15,5 +15,5 @@ class BuildTests(OESDKTestCase): """ def test_docs_build(self): with tempfile.TemporaryDirectory(prefix='docs-tarball-build-', dir=self.tc.sdk_dir) as testdir: - self._run('git clone git://git.yoctoproject.org/yocto-docs %s' % testdir) + self._run('git clone https://git.yoctoproject.org/yocto-docs %s' % testdir) self._run('cd %s/documentation && make html' % testdir)
PATCH v2 43/51 scripts: Default to https git protocol for YP/OE repos
In reply to Yoann CongalFrom: Yoann Congal <[email protected]>
Following up on commit 139102a73d41 ("recipes: Default to https git protocol where possible"),
Quoted 3 lines
The recommendation from server maintainers is that the https protocol is both faster and more reliable than the dedicated git protocol at this point. Switch to it where possible.
--- scripts/combo-layer.conf.example | 4 ++-- scripts/contrib/patchtest.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
scripts/combo-layer.conf.example +2 -2
@@ -14,7 +14,7 @@ signoff = False # mandatory options # git upstream uri -src_uri = git://git.openembedded.org/bitbake +src_uri = https://git.openembedded.org/bitbake # the directory to clone the component repo local_repo_dir = /home/kyu3/src/test/bitbake
@@ -76,7 +76,7 @@ last_revision = # that matches the original commit. [oe-core] -src_uri = git://git.openembedded.org/openembedded-core +src_uri = https://git.openembedded.org/openembedded-core local_repo_dir = /home/kyu3/src/test/oecore dest_dir = . last_revision =
scripts/contrib/patchtest.sh +2 -2
@@ -75,8 +75,8 @@ source $PTENV/bin/activate cd $PTENV # clone or pull -clone git://git.yoctoproject.org/patchtest $PT -clone git://git.yoctoproject.org/patchtest-oe $PTOE +clone https://git.yoctoproject.org/patchtest $PT +clone https://git.yoctoproject.org/patchtest-oe $PTOE # install requirements pip install -r $PT/requirements.txt --quiet
PATCH v2 44/51 oeqa/selftest/git-submodule-test: Default to https git protocol for YP/OE repos
In reply to Yoann CongalFrom: Yoann Congal <[email protected]>
Following up on commit 139102a73d41 ("recipes: Default to https git protocol where possible"),
Quoted 3 lines
The recommendation from server maintainers is that the https protocol is both faster and more reliable than the dedicated git protocol at this point. Switch to it where possible.
Use ";protocol=https" for the parent git submodule and, also, update the SRCREV to point to a commit where submodules are reference through a
https:// URL instead of a git:// one.
Update the expected output of the archiver test.
--- .../recipes-test/git-submodule-test/git-submodule-test.bb | 4 ++-- meta/lib/oeqa/selftest/cases/archiver.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
meta-selftest/recipes-test/git-submodule-test/git-submodule-test.bb +2 -2
@@ -7,8 +7,8 @@ INHIBIT_DEFAULT_DEPS = "1" UPSTREAM_VERSION_UNKNOWN = "1" -SRC_URI = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master" -SRCREV = "a2885dd7d25380d23627e7544b7bbb55014b16ee" +SRC_URI = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master;protocol=https" +SRCREV = "f280847494763cdcf71197557a81ba7d8a6bce42" do_test_git_as_user() { cd ${S}
meta/lib/oeqa/selftest/cases/archiver.py +2 -2
@@ -335,8 +335,8 @@ class Archiver(OESelftestTestCase): bb_vars = get_bb_vars(['DEPLOY_DIR_SRC']) for target_file_name in [ - 'gitsmshallow_git.yoctoproject.org.git-submodule-test_a2885dd-1_master.tar.gz', - 'gitsmshallow_git.yoctoproject.org.bitbake-gitsm-test1_bare_120f4c7-1.tar.gz', + 'gitsmshallow_git.yoctoproject.org.git-submodule-test_f280847-1_master.tar.gz', + 'gitsmshallow_git.yoctoproject.org.bitbake-gitsm-test1_bare_79a0efa-1.tar.gz', 'gitsmshallow_git.yoctoproject.org.bitbake-gitsm-test2_bare_f66699e-1.tar.gz', 'gitsmshallow_git.openembedded.org.bitbake_bare_52a144a-1.tar.gz', 'gitsmshallow_git.openembedded.org.bitbake_bare_c39b997-1.tar.gz'
PATCH v2 45/51 meta/files/layers.example.json: switch to https clone URIs
In reply to Yoann CongalFrom: Yoann Congal <[email protected]>
Following up on commit 139102a73d41 ("recipes: Default to https git protocol where possible"),
Quoted 3 lines
The recommendation from server maintainers is that the https protocol is both faster and more reliable than the dedicated git protocol at this point. Switch to it where possible.
--- meta/files/layers.example.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/files/layers.example.json +2 -2
@@ -20,7 +20,7 @@ "describe": "15.0-hardknott-3.3-310-g0a96edae", "remotes": { "origin": { - "uri": "git://git.yoctoproject.org/meta-intel" + "uri": "https://git.yoctoproject.org/meta-intel" } }, "rev": "0a96edae609a3f48befac36af82cf1eed6786b4a"
@@ -32,7 +32,7 @@ "describe": "4.1_M1-374-g9dda719b2a", "remotes": { "origin": { - "uri": "git://git.yoctoproject.org/poky" + "uri": "https://git.yoctoproject.org/poky" }, "poky-contrib": { "uri": "ssh://[email protected]/poky-contrib"
PATCH v2 46/51 build-appliance-image: switch SRC_URI to https protocol
In reply to Yoann CongalFrom: Yoann Congal <[email protected]>
Following up on commit 139102a73d41 ("recipes: Default to https git protocol where possible"),
Quoted 3 lines
The recommendation from server maintainers is that the https protocol is both faster and more reliable than the dedicated git protocol at this point. Switch to it where possible.
--- meta/recipes-core/images/build-appliance-image_15.0.0.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-core/images/build-appliance-image_15.0.0.bb +3 -3
@@ -31,9 +31,9 @@ SRCREV_oe-core ?= "05d149ee0905cbce655a9e0c3767e8fdfcbb8997" SRCREV_yocto ?= "9b98ec5e6cfb6c9dc74d3c2e6304eeb274f7c487" SRCREV_FORMAT = "bitbake_oe-core_yocto" -SRC_URI = "git://git.openembedded.org/bitbake;name=bitbake;branch=2.16;destsuffix=bitbake \ - git://git.openembedded.org/openembedded-core;name=oe-core;branch=whinlatter;destsuffix=openembedded-core \ - git://git.yoctoproject.org/meta-yocto;name=yocto;branch=whinlatter;destsuffix=meta-yocto \ +SRC_URI = "git://git.openembedded.org/bitbake;name=bitbake;branch=2.16;destsuffix=bitbake;protocol=https \ + git://git.openembedded.org/openembedded-core;name=oe-core;branch=whinlatter;destsuffix=openembedded-core;protocol=https \ + git://git.yoctoproject.org/meta-yocto;name=yocto;branch=whinlatter;destsuffix=meta-yocto;protocol=https \ file://Yocto_Build_Appliance.vmx \ file://Yocto_Build_Appliance.vmxf \ file://README_VirtualBox_Guest_Additions.txt \
PATCH v2 47/51 scripts/install-buildtools: Update to 5.3.3
In reply to Yoann CongalFrom: Yoann Congal <[email protected]>
Update to the 5.3.3 release of the 5.3 series for buildtools
--- scripts/install-buildtools | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/install-buildtools +2 -2
@@ -57,8 +57,8 @@ logger = scriptutils.logger_create(PROGNAME, stream=sys.stdout) DEFAULT_INSTALL_DIR = os.path.join(os.path.split(scripts_path)[0],'buildtools') DEFAULT_BASE_URL = 'https://downloads.yoctoproject.org/releases/yocto' -DEFAULT_RELEASE = 'yocto-5.3.2' -DEFAULT_INSTALLER_VERSION = '5.3.2' +DEFAULT_RELEASE = 'yocto-5.3.3' +DEFAULT_INSTALLER_VERSION = '5.3.3' DEFAULT_BUILDDATE = '202110XX' # Python version sanity check
PATCH v2 48/51 binutils: Upgrade to 2.45.1 release
In reply to Yoann CongalFrom: Hemanth Kumar M D <[email protected]>
Brings binutils 2.45.1 release and followed by latest commits from 2.45 branch:
12d0a1dbc1b i386: Add GLIBC_ABI_GNU_TLS dependency only if used e3a18893e1c LoongArch: Use more appropriate assertions for the relocation of TLS LE b136efd10a7 Re: dlltool memory leaksb4bde11f310 ld: Don't use -mdirect-extern-access for LoongArch a813a6a6ea0 Re-enable development on the 2.45 branch48324fde1e2 (tag: binutils-2_45_1) This is the 2.45.1 release ab776bc8685 lto: Set plugin_format to bfd_plugin_no only if known_used is set cec7ab85f24 aarch64: gas: Allow movprfx with fmmla and bfscale [PR gas/33562] 0b040187894 aarch64, gas: Relax Armv9.6-A mandatory feature set 4df2be75910 i386: Add GLIBC_ABI_GNU_TLS version dependency71c1de4b0c8 x86-64: Add GLIBC_ABI_DT_X86_64_PLT version dependency b0fe5c23780 x86: Add GLIBC_ABI_GNU2_TLS version dependencyd5945a221ff x86: Copy non_got_ref_without_indirect_extern_access
Testing Results:
+-------------------------------+--------+--------+------+ | Metric | Before | After | Diff | +-------------------------------+--------+--------+------+ | Expected passes | 317 | 317 | 0 | | Unexpected failures | 1 | 1 | 0 | | Untested testcases | 5 | 5 | 0 | | Unsupported tests | 8 | 8 | 0 | +-------------------------------+--------+--------+------+
ld/configure is regenerated.
--- .../binutils/binutils-2.45.inc | 6 +- ...-system-directories-when-cross-linki.patch | 38 +- .../binutils/0008-Use-libtool-2.4.patch | 1827 ++++++++--------- 3 files changed, 836 insertions(+), 1035 deletions(-)
meta/recipes-devtools/binutils/binutils-2.45.inc +3 -3
@@ -12,8 +12,8 @@ LIC_FILES_CHKSUM = "\ # When upgrading to next major release, ensure that there is no trailing .0, so # that upstream version check can work correctly. -PV = "2.45" -CVE_VERSION = "2.45" +PV = "2.45.1+git" +CVE_VERSION = "2.45.1" SRCBRANCH ?= "binutils-2_45-branch" UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
@@ -23,7 +23,7 @@ CVE_STATUS[CVE-2025-7546] = "cpe-stable-backport: fix available in used git hash CVE_STATUS[CVE-2025-69650] = "disputed: observed behavior only in pre-release code, does not affect any tagged version" CVE_STATUS[CVE-2025-69651] = "disputed: observed behavior only in pre-release code, does not affect any tagged version" -SRCREV ?= "2f028c6bb163a045db95439fb92e1dcbc919413c" +SRCREV ?= "12d0a1dbc1b9ecc3a3ae7361bccb70ab32c16cf1" BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=https" SRC_URI = "\ ${BINUTILS_GIT_URI} \
meta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch +19 -19
@@ -63,10 +63,10 @@ Signed-off-by: Khem Raj <[email protected]> 9 files changed, 89 insertions(+), 4 deletions(-) diff --git a/ld/config.in b/ld/config.in -index 37812241bd9..be89571196c 100644 +index 790efd336be..2b237bcda5e 100644 --- a/ld/config.in +++ b/ld/config.in -@@ -78,6 +78,9 @@ +@@ -86,6 +86,9 @@ language is requested. */ #undef ENABLE_NLS
@@ -77,7 +77,7 @@ index 37812241bd9..be89571196c 100644 #undef EXTRA_SHLIB_EXTENSION diff --git a/ld/configure b/ld/configure -index 4afc58566fc..ca3d58ff618 100755 +index cd410bd64d1..d3c0762133c 100755 --- a/ld/configure +++ b/ld/configure @@ -841,6 +841,7 @@ enable_checking
@@ -88,7 +88,7 @@ index 4afc58566fc..ca3d58ff618 100755 enable_gold enable_got enable_compressed_debug_sections -@@ -1533,6 +1534,8 @@ Optional Features: +@@ -1535,6 +1536,8 @@ Optional Features: --disable-largefile omit support for large files --enable-checking enable run-time checks --enable-targets alternative target configurations
@@ -97,25 +97,25 @@ index 4afc58566fc..ca3d58ff618 100755 --enable-gold[=ARG] build gold [ARG={default,yes,no}] --enable-got=<type> GOT handling scheme (target, single, negative, multigot) -@@ -11514,7 +11517,7 @@ else +@@ -11519,7 +11522,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF --#line 11517 "configure" -+#line 11520 "configure" +-#line 11522 "configure" ++#line 11525 "configure" #include "confdefs.h" #if HAVE_DLFCN_H -@@ -11620,7 +11623,7 @@ else +@@ -11625,7 +11628,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF --#line 11623 "configure" -+#line 11626 "configure" +-#line 11628 "configure" ++#line 11631 "configure" #include "confdefs.h" #if HAVE_DLFCN_H -@@ -15367,6 +15370,19 @@ fi +@@ -15372,6 +15375,19 @@ fi
@@ -136,7 +136,7 @@ index 4afc58566fc..ca3d58ff618 100755 if test "${enable_gold+set}" = set; then : enableval=$enable_gold; case "${enableval}" in diff --git a/ld/configure.ac b/ld/configure.ac -index 3ee84958b1c..99ea84513da 100644 +index f528ae42ef7..dcf1e17fae6 100644 --- a/ld/configure.ac +++ b/ld/configure.ac @@ -115,6 +115,16 @@ AC_SUBST(use_sysroot)
@@ -176,10 +176,10 @@ index c8688153bd4..0b16caf347a 100644 enum endian_enum endian; diff --git a/ld/ld.texi b/ld/ld.texi -index 413335ad765..7bea7fd7e1f 100644 +index cf750d15259..3b3f1c53c37 100644 --- a/ld/ld.texi +++ b/ld/ld.texi -@@ -3350,6 +3350,18 @@ creation of the metadata note, if one had been enabled by an earlier +@@ -3378,6 +3378,18 @@ creation of the metadata note, if one had been enabled by an earlier occurrence of the --package-metadata option. If the linker has been built with libjansson, then the JSON string will be validated.
@@ -227,7 +227,7 @@ index 75fd360d5e3..5a825c52bd3 100644 static void diff --git a/ld/ldlex.h b/ld/ldlex.h -index 815da76a4c0..53fabed4ba2 100644 +index c8d61478c60..c54eef8c170 100644 --- a/ld/ldlex.h +++ b/ld/ldlex.h @@ -151,6 +151,8 @@ enum option_values
@@ -240,10 +240,10 @@ index 815da76a4c0..53fabed4ba2 100644 OPTION_PRINT_OUTPUT_FORMAT, OPTION_PRINT_SYSROOT, diff --git a/ld/ldmain.c b/ld/ldmain.c -index 7878bd3922f..c9293a3cf41 100644 +index 67c60c3f80d..175321a38cb 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c -@@ -672,6 +672,8 @@ main (int argc, char **argv) +@@ -671,6 +671,8 @@ main (int argc, char **argv) command_line.warn_mismatch = true; command_line.warn_search_mismatch = true; command_line.check_section_addresses = -1;
@@ -252,7 +252,7 @@ index 7878bd3922f..c9293a3cf41 100644 /* We initialize DEMANGLING based on the environment variable COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the -@@ -1876,7 +1878,7 @@ undefined_symbol (struct bfd_link_info *info, +@@ -1875,7 +1877,7 @@ undefined_symbol (struct bfd_link_info *info, argv[1] = "undefined-symbol"; argv[2] = (char *) name; argv[3] = NULL;
@@ -261,7 +261,7 @@ index 7878bd3922f..c9293a3cf41 100644 if (verbose) einfo (_("%P: About to run error handling script '%s' with arguments: '%s' '%s'\n"), argv[0], argv[1], argv[2]); -@@ -1897,7 +1899,7 @@ undefined_symbol (struct bfd_link_info *info, +@@ -1896,7 +1898,7 @@ undefined_symbol (struct bfd_link_info *info, carry on to issue the normal error message. */ } #endif /* SUPPORT_ERROR_HANDLING_SCRIPT */
meta/recipes-devtools/binutils/binutils/0008-Use-libtool-2.4.patch +814 -1013
2,866 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.
PATCH v2 49/51 ptest-runner: Upgrade 2.4.5.1 -> 2.5.0
In reply to Yoann CongalFrom: Yoann Congal <[email protected]>
Changelog:
- utils.c: Fix dirname() handling in run_ptests()
- ptest-runner-collect-system-data: add info to logs
- main.c: Set PYTHONUNBUFFERED in the environment
- utils.c: print a message when a timeout occurs
- main.c: Add print_helptext() for detailed help
- main.print_usage: Remove unused argument list of -l
---
.../{ptest-runner_2.4.5.1.bb => ptest-runner_2.5.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-support/ptest-runner/{ptest-runner_2.4.5.1.bb => ptest-runner_2.5.0.bb} (95%)meta/recipes-support/ptest-runner/ptest-runner_2.5.0.bb renamed from meta/recipes-support/ptest-runner/ptest-runner_2.4.5.1.bb +1 -1
@@ -7,7 +7,7 @@ HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/about/" LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" -SRCREV = "c99e8c2737ff802f110612cc2d90c60233c33255" +SRCREV = "7429fdd52abb5b08a9e8acef14b1bc4604f09c8f" SRC_URI = "git://git.yoctoproject.org/ptest-runner2;branch=master;protocol=https \ "
PATCH v2 50/51 ptest-runner: Use git tag in SRC_URI
In reply to Yoann CongalFrom: Yoann Congal <[email protected]>
Also, remove an extra line split.
--- meta/recipes-support/ptest-runner/ptest-runner_2.5.0.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta/recipes-support/ptest-runner/ptest-runner_2.5.0.bb +1 -2
@@ -9,8 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" SRCREV = "7429fdd52abb5b08a9e8acef14b1bc4604f09c8f" -SRC_URI = "git://git.yoctoproject.org/ptest-runner2;branch=master;protocol=https \ -" +SRC_URI = "git://git.yoctoproject.org/ptest-runner2;branch=master;protocol=https;tag=v${PV}" FILES:${PN} = "${bindir}/ptest-runner ${bindir}/ptest-runner-collect-system-data"
PATCH v2 51/51 ptest-runner: Upgrade 2.5.0 -> 2.5.1
In reply to Yoann CongalFrom: Richard Purdie <[email protected]>
Pull in buffering fix:
"""
When running slow ptests, we can see an issue where the tests are writing output but it doesn't make it to the process (e.g. ssh connection) running ptest-runner.
The issue is that the standard buffering for non-interactive terminals is 8kb and some ptests don't output enough data to trigger a write. This can lead to the controlling connection timing out.
This change forces the output streams to be line buffered in all cases. Most ptest output would contain newlines so this should work well. stderr can be unbuffered by default but making it consistent here seems the best approach.
Testing with this change on slow ptest runs (e.g. qemu emulated) showed much more consistent data with this change.
"""
---
.../{ptest-runner_2.5.0.bb => ptest-runner_2.5.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-support/ptest-runner/{ptest-runner_2.5.0.bb => ptest-runner_2.5.1.bb} (95%)meta/recipes-support/ptest-runner/ptest-runner_2.5.1.bb renamed from meta/recipes-support/ptest-runner/ptest-runner_2.5.0.bb +1 -1
@@ -7,7 +7,7 @@ HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/about/" LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" -SRCREV = "7429fdd52abb5b08a9e8acef14b1bc4604f09c8f" +SRCREV = "afe64efbb3f028e898fa9a5efcdc3010ebdf283c" SRC_URI = "git://git.yoctoproject.org/ptest-runner2;branch=master;protocol=https;tag=v${PV}"
Quoted 16 lines · Yoann Congal
Please review this set of changes for whinlatter and have comments back by end of day Sunday, April 19. I plan to do the release build on Monday.
This is a relatively "big" series compared to the usual: In addition to the usual CVE fixes, there are:
- "git://" protocol patches
- Ubunutu 26.04 support patches (Host glibc 2.43 and GCC 16)Please note: This will be the last review cycle for whinlatter. If you expect a patch to get merged and it is not in this series ping me as soon as possible.
v1->v2:
* Added "binutils: Upgrade to 2.45.1 release"
* Added ptest-runner upgrade to 2.5.1 to fix AB-INT bug #16163
Quoted 7 lines
Passed a-full on autobuilder:
* v1: https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3670
* With the binutils upgrades: A failing ptest due to #16163:
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/29/builds/3674
* This v2 (with #16163 fixes):
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/29/builds/3676
(Still running when I send this)
I cancelled this build: it found a real regression in python 3.13 tested under ptest-runner >=2.5.0.
I'm testing a patch:
* https://autobuilder.yoctoproject.org/valkyrie/?#/builders/29/builds/3677
* https://git.openembedded.org/openembedded-core-contrib/commit/?h=stable/whinlatter-nut&id=4fbdd0fc15fe23f469454a063d1c966876a71426
Quoted 227 lines
The following changes since commit
e8a3acb03d4c466cd08e358953df15746cb5aaca:vim: Fix CVE-2026-26269 (2026-04-02 00:08:06 +0200)
are available in the Git repository at:
https://git.openembedded.org/openembedded-core-contrib stable/whinlatter-nut
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/whinlatter-nutfor you to fetch changes up to
e0de7f715cc1db6c3c5a86fd7105fb0614c26bf3:ptest-runner: Upgrade 2.5.0 -> 2.5.1 (2026-04-17 00:06:42 +0200)
----------------------------------------------------------------
Adarsh Jagadish Kamini (1):
binutils: mark CVE-2025-69650 and CVE-2025-69651 as disputedAlexander Kanavin (2):
selftest/minidebuginfo: extract files from tar archive using tarfile
module
selftest/gdbserver: replace shutil.unpack_archive with tarfile extractAnkur Tyagi (1):
barebox/barebox-tools: upgrade 2025.09.0 -> 2025.09.3Deepak Rathore (5):
binutils: Fix CVE-2025-69648
binutils: Fix CVE-2025-69644 CVE-2025-69647
binutils: Fix CVE-2025-69649
binutils: Fix CVE-2025-69652
nfs-utils: Fix CVE-2025-12801Hemanth Kumar M D (3):
libxcrypt: avoid discarded-qualifiers build failure with glibc 2.43
glibc: stable 2.42 branch updates
binutils: Upgrade to 2.45.1 releaseHitendra Prajapati (3):
vim: Fix CVE-2026-33412
vim: Fix CVE-2026-28418
vim: Fix CVE-2026-28419Khem Raj (3):
virglrenderer: Fix build with glibc 2.43+
libxcrypt: Fix build wrt C23 support
libxcrypt: Use configure knob to disable warnings as errorsMartin Jansa (8):
gcc: backport a fix for building with gcc-16
dtc: backport fix for build with glibc-2.43
m4: backport 3 gnulib changes to fix build with glibc-2.43 on host
gettext: backport gnulib changes to fix build with glibc-2.43 on host
util-linux: backport fix to build with glibc-2.43 on host
systemd: backport fix to build with glibc-2.43 on host
spirv-tools: backport a fix for building with gcc-16
ovmf: backport a fix for build with gcc-16Michael Halstead (1):
yocto-uninative: Update to 5.1 for glibc 2.43Peter Marko (4):
libarchive: upgrade 3.8.5 -> 3.8.6
openssl: upgrade 3.5.5 -> 3.5.6
go: upgrade 1.25.8 -> 1.25.9
libpng: upgrade 1.6.55 -> 1.6.56Richard Purdie (5):
pseudo: Add fix for glibc 2.43
recipetool: Recognise https://git. as git urls selftest/scripts: Update old git protocol references
archiver: Don't try to preserve all attributes when copying files
ptest-runner: Upgrade 2.5.0 -> 2.5.1Sunil Dora (1):
license.py: Dropvisit_Strfrom SeenVisitor in selftestTrevor Gamblin (1):
report-error.bbclass: replace 'codecs.open()' with 'open()'Vijay Anusuri (2):
sqlite3: Fix CVE-2025-70873
python3: upgrade 3.13.11 -> 3.13.12Yoann Congal (10):
oeqa/selftest/devtool: add vulkan feature check for test needing it oeqa/selftest: add wayland feature check for tests needing it oeqa/sdk: Default to https git protocol for YP/OE repos
scripts: Default to https git protocol for YP/OE repos oeqa/selftest/git-submodule-test: Default to https git protocol for
YP/OE repos
meta/files/layers.example.json: switch to https clone URIs
build-appliance-image: switchSRC_URIto https protocolscripts/install-buildtools: Update to 5.3.3
ptest-runner: Upgrade 2.4.5.1 -> 2.5.0
ptest-runner: Use git tag inSRC_URIZoltán Böszörményi (1):
binutils: Fix build with GLIBC 2.43 on the host.../devtool/devtool-upgrade-test2_git.bb | 2 +- .../devtool-upgrade-test2_git.bb.upgraded | 2 +- .../devtool/devtool-upgrade-test5_git.bb | 4 +- .../devtool-upgrade-test5_git.bb.upgraded | 4 +- .../git-submodule-test/git-submodule-test.bb | 4 +- meta/classes/archiver.bbclass | 2 +- meta/classes/report-error.bbclass | 8 +- meta/conf/distro/include/yocto-uninative.inc | 10 +- meta/files/layers.example.json | 4 +- meta/lib/oeqa/buildtools-docs/cases/build.py | 2 +- meta/lib/oeqa/selftest/cases/archiver.py | 4 +- meta/lib/oeqa/selftest/cases/devtool.py | 8 +- meta/lib/oeqa/selftest/cases/externalsrc.py | 2 +- meta/lib/oeqa/selftest/cases/gdbserver.py | 4 +- .../oeqa/selftest/cases/gitarchivetests.py | 2 +- .../oeqa/selftest/cases/incompatible_lic.py | 2 + meta/lib/oeqa/selftest/cases/minidebuginfo.py | 7 +- meta/lib/oeqa/selftest/cases/oelib/license.py | 4 +- meta/lib/oeqa/selftest/cases/sstatetests.py | 4 +- .../cases/yoctotestresultsquerytests.py | 2 +- meta/recipes-bsp/barebox/barebox-common.inc | 4 +- .../CVE-2025-12801-dependent_p1.patch | 81 + .../CVE-2025-12801-dependent_p2.patch | 181 ++ .../CVE-2025-12801-dependent_p3.patch | 465 +++++ .../nfs-utils/nfs-utils/CVE-2025-12801.patch | 254 +++ .../nfs-utils/nfs-utils_2.8.4.bb | 4 + ...sysroot-and-debug-prefix-map-from-co.patch | 2 +- .../{openssl_3.5.5.bb => openssl_3.5.6.bb} | 2 +- ...23-qualifier-generic-fns-like-strchr.patch | 626 ++++++ meta/recipes-core/gettext/gettext_0.26.bb | 1 + meta/recipes-core/glibc/glibc-version.inc | 2 +- meta/recipes-core/glibc/glibc_2.42.bb | 2 +- .../images/build-appliance-image_15.0.0.bb | 6 +- ...24d6e87aeae631bc0a7bb1ba983cf8def4de.patch | 29 + meta/recipes-core/libxcrypt/libxcrypt.inc | 6 +- ...Tools-StringFuncs-fix-gcc-16-warning.patch | 42 + ...aseTools-EfiRom-fix-compiler-warning.patch | 44 + meta/recipes-core/ovmf/ovmf_git.bb | 2 + meta/recipes-core/systemd/systemd.inc | 4 +- ...ilter-out-EFSBADCRC-and-EFSCORRUPTED.patch | 34 + meta/recipes-core/util-linux/util-linux.inc | 1 + ...x-bsearch-macro-usage-with-glibc-C23.patch | 40 + .../binutils/binutils-2.45.inc | 13 +- ...tect-against-standard-library-macros.patch | 34 + ...-system-directories-when-cross-linki.patch | 38 +- .../binutils/0008-Use-libtool-2.4.patch | 1827 ++++++++--------- .../CVE-2025-69644_CVE-2025-69647.patch | 85 + .../binutils/binutils/CVE-2025-69648.patch | 189 ++ .../binutils/binutils/CVE-2025-69649.patch | 41 + .../binutils/binutils/CVE-2025-69652.patch | 40 + meta/recipes-devtools/gcc/gcc-15.2.inc | 1 + ...dy-Make-it-buildable-by-C-11-to-C-26.patch | 257 +++ .../go/{go-1.25.8.inc => go-1.25.9.inc} | 2 +- ...e_1.25.8.bb => go-binary-native_1.25.9.bb} | 6 +- ..._1.25.8.bb => go-cross-canadian_1.25.9.bb} | 0 ...{go-cross_1.25.8.bb => go-cross_1.25.9.bb} | 0 ...osssdk_1.25.8.bb => go-crosssdk_1.25.9.bb} | 0 ...runtime_1.25.8.bb => go-runtime_1.25.9.bb} | 0 ...ent-based-hash-generation-less-pedan.patch | 8 +- ...d-go-make-GOROOT-precious-by-default.patch | 2 +- .../go/{go_1.25.8.bb => go_1.25.9.bb} | 0 meta/recipes-devtools/m4/m4-1.4.20.inc | 3 + ...-Fix-some-g-Wsystem-headers-warnings.patch | 135 ++ ...pilation-error-on-macOS-with-fortify.patch | 126 ++ ...23-qualifier-generic-fns-like-strchr.patch | 194 ++ meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +- ...{python3_3.13.11.bb => python3_3.13.12.bb} | 2 +- ...ibarchive_3.8.5.bb => libarchive_3.8.6.bb} | 2 +- ...sue-with-gcc-16-replaeces-PR-6542-65.patch | 50 + .../spir/spirv-tools_1.4.328.1.bb | 3 +- ...once_flag-ONCE_FLAG_INIT-when-presen.patch | 55 + .../virglrenderer/virglrenderer_1.1.1.bb | 1 + .../0001-Fix-discarded-const-qualifiers.patch | 83 + meta/recipes-kernel/dtc/dtc_1.7.2.bb | 1 + .../{libpng_1.6.55.bb => libpng_1.6.56.bb} | 2 +- ...unner_2.4.5.1.bb => ptest-runner_2.5.1.bb} | 5 +- .../sqlite/files/CVE-2025-70873.patch | 33 + meta/recipes-support/sqlite/sqlite3_3.48.0.bb | 1 + .../vim/files/CVE-2026-28418.patch | 78 + .../vim/files/CVE-2026-28419.patch | 86 + .../vim/files/CVE-2026-33412.patch | 61 + meta/recipes-support/vim/vim.inc | 3 + scripts/combo-layer.conf.example | 4 +- scripts/contrib/patchtest.sh | 4 +- scripts/install-buildtools | 4 +- scripts/lib/recipetool/create.py | 2 +- scripts/yocto_testresults_query.py | 2 +- 87 files changed, 4290 insertions(+), 1108 deletions(-) create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801-dependent_p1.patch create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801-dependent_p2.patch create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801-dependent_p3.patch create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801.patch rename meta/recipes-connectivity/openssl/{openssl_3.5.5.bb => openssl_3.5.6.bb} (99%) create mode 100644 meta/recipes-core/gettext/gettext/0001-Port-to-C23-qualifier-generic-fns-like-strchr.patch create mode 100644 meta/recipes-core/libxcrypt/files/174c24d6e87aeae631bc0a7bb1ba983cf8def4de.patch create mode 100644 meta/recipes-core/ovmf/ovmf/0006-BaseTools-StringFuncs-fix-gcc-16-warning.patch create mode 100644 meta/recipes-core/ovmf/ovmf/0007-BaseTools-EfiRom-fix-compiler-warning.patch create mode 100644 meta/recipes-core/systemd/systemd/0001-errno-list-filter-out-EFSBADCRC-and-EFSCORRUPTED.patch create mode 100644 meta/recipes-core/util-linux/util-linux/0001-lsfd-fix-bsearch-macro-usage-with-glibc-C23.patch create mode 100644 meta/recipes-devtools/binutils/binutils/0001-gprofng-protect-against-standard-library-macros.patch create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-69644_CVE-2025-69647.patch create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-69648.patch create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-69649.patch create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-69652.patch create mode 100644 meta/recipes-devtools/gcc/gcc/0028-libcody-Make-it-buildable-by-C-11-to-C-26.patch rename meta/recipes-devtools/go/{go-1.25.8.inc => go-1.25.9.inc} (91%) rename meta/recipes-devtools/go/{go-binary-native_1.25.8.bb => go-binary-native_1.25.9.bb} (79%) rename meta/recipes-devtools/go/{go-cross-canadian_1.25.8.bb => go-cross-canadian_1.25.9.bb} (100%) rename meta/recipes-devtools/go/{go-cross_1.25.8.bb => go-cross_1.25.9.bb} (100%) rename meta/recipes-devtools/go/{go-crosssdk_1.25.8.bb => go-crosssdk_1.25.9.bb} (100%) rename meta/recipes-devtools/go/{go-runtime_1.25.8.bb => go-runtime_1.25.9.bb} (100%) rename meta/recipes-devtools/go/{go_1.25.8.bb => go_1.25.9.bb} (100%) create mode 100644 meta/recipes-devtools/m4/m4/0001-string-h-wchar-h-Fix-some-g-Wsystem-headers-warnings.patch create mode 100644 meta/recipes-devtools/m4/m4/0002-string-h-Fix-compilation-error-on-macOS-with-fortify.patch create mode 100644 meta/recipes-devtools/m4/m4/0003-Port-to-C23-qualifier-generic-fns-like-strchr.patch rename meta/recipes-devtools/python/{python3_3.13.11.bb => python3_3.13.12.bb} (99%) rename meta/recipes-extended/libarchive/{libarchive_3.8.5.bb => libarchive_3.8.6.bb} (96%) create mode 100644 meta/recipes-graphics/spir/spirv-tools/0001-opt-Fix-build-issue-with-gcc-16-replaeces-PR-6542-65.patch create mode 100644 meta/recipes-graphics/virglrenderer/virglrenderer/0001-c11-use-glibc-s-once_flag-ONCE_FLAG_INIT-when-presen.patch create mode 100644 meta/recipes-kernel/dtc/dtc/0001-Fix-discarded-const-qualifiers.patch rename meta/recipes-multimedia/libpng/{libpng_1.6.55.bb => libpng_1.6.56.bb} (97%) rename meta/recipes-support/ptest-runner/{ptest-runner_2.4.5.1.bb => ptest-runner_2.5.1.bb} (93%) create mode 100644 meta/recipes-support/sqlite/files/CVE-2025-70873.patch create mode 100644 meta/recipes-support/vim/files/CVE-2026-28418.patch create mode 100644 meta/recipes-support/vim/files/CVE-2026-28419.patch create mode 100644 meta/recipes-support/vim/files/CVE-2026-33412.patch
Signature · 2 lines
Yoann Congal Smile ECS
Quoted 24 lines · Yoann Congal
Quoted 16 lines · Yoann Congal
Please review this set of changes for whinlatter and have comments back by end of day Sunday, April 19. I plan to do the release build on Monday.
This is a relatively "big" series compared to the usual: In addition to the usual CVE fixes, there are:
- "git://" protocol patches
- Ubunutu 26.04 support patches (Host glibc 2.43 and GCC 16)Please note: This will be the last review cycle for whinlatter. If you expect a patch to get merged and it is not in this series ping me as soon as possible.
v1->v2:
* Added "binutils: Upgrade to 2.45.1 release"
* Added ptest-runner upgrade to 2.5.1 to fix AB-INT bug #16163Quoted 7 lines
Passed a-full on autobuilder:
* v1: https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3670
* With the binutils upgrades: A failing ptest due to #16163:
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/29/builds/3674
* This v2 (with #16163 fixes):
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/29/builds/3676
(Still running when I send this)
Quoted 6 lines
I cancelled this build: it found a real regression in python 3.13 tested under ptest-runner >=2.5.0.
I'm testing a patch:
* https://autobuilder.yoctoproject.org/valkyrie/?#/builders/29/builds/3677
* https://git.openembedded.org/openembedded-core-contrib/commit/?h=stable/whinlatter-nut&id=4fbdd0fc15fe23f469454a063d1c966876a71426
I've sent the patch here:
* [whinlatter][PATCH] python3: Fix test under ptest-runner 2.5.1
https://lore.kernel.org/openembedded-core/[email protected]/T/#u
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/29/builds/3678
* qemuarm64-ptest failed with #16150 - AB-INT: oe-selftest-armhost: Failed to start QEMU (hangs with drm)
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/61/builds/3503
* ... but was sucessfully retried as:
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/61/builds/3505
I don't think it's worth resending the whole series for this added patch. But I can send it as v3 if someone finds that useful.
Regards,
Quoted 228 lines
Quoted 228 lines
The following changes since commit
e8a3acb03d4c466cd08e358953df15746cb5aaca:vim: Fix CVE-2026-26269 (2026-04-02 00:08:06 +0200)
are available in the Git repository at:
https://git.openembedded.org/openembedded-core-contrib stable/whinlatter-nut
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/whinlatter-nutfor you to fetch changes up to
e0de7f715cc1db6c3c5a86fd7105fb0614c26bf3:ptest-runner: Upgrade 2.5.0 -> 2.5.1 (2026-04-17 00:06:42 +0200)
----------------------------------------------------------------
Adarsh Jagadish Kamini (1):
binutils: mark CVE-2025-69650 and CVE-2025-69651 as disputedAlexander Kanavin (2):
selftest/minidebuginfo: extract files from tar archive using tarfile
module
selftest/gdbserver: replace shutil.unpack_archive with tarfile extractAnkur Tyagi (1):
barebox/barebox-tools: upgrade 2025.09.0 -> 2025.09.3Deepak Rathore (5):
binutils: Fix CVE-2025-69648
binutils: Fix CVE-2025-69644 CVE-2025-69647
binutils: Fix CVE-2025-69649
binutils: Fix CVE-2025-69652
nfs-utils: Fix CVE-2025-12801Hemanth Kumar M D (3):
libxcrypt: avoid discarded-qualifiers build failure with glibc 2.43
glibc: stable 2.42 branch updates
binutils: Upgrade to 2.45.1 releaseHitendra Prajapati (3):
vim: Fix CVE-2026-33412
vim: Fix CVE-2026-28418
vim: Fix CVE-2026-28419Khem Raj (3):
virglrenderer: Fix build with glibc 2.43+
libxcrypt: Fix build wrt C23 support
libxcrypt: Use configure knob to disable warnings as errorsMartin Jansa (8):
gcc: backport a fix for building with gcc-16
dtc: backport fix for build with glibc-2.43
m4: backport 3 gnulib changes to fix build with glibc-2.43 on host
gettext: backport gnulib changes to fix build with glibc-2.43 on host
util-linux: backport fix to build with glibc-2.43 on host
systemd: backport fix to build with glibc-2.43 on host
spirv-tools: backport a fix for building with gcc-16
ovmf: backport a fix for build with gcc-16Michael Halstead (1):
yocto-uninative: Update to 5.1 for glibc 2.43Peter Marko (4):
libarchive: upgrade 3.8.5 -> 3.8.6
openssl: upgrade 3.5.5 -> 3.5.6
go: upgrade 1.25.8 -> 1.25.9
libpng: upgrade 1.6.55 -> 1.6.56Richard Purdie (5):
pseudo: Add fix for glibc 2.43
recipetool: Recognise https://git. as git urls selftest/scripts: Update old git protocol references
archiver: Don't try to preserve all attributes when copying files
ptest-runner: Upgrade 2.5.0 -> 2.5.1Sunil Dora (1):
license.py: Dropvisit_Strfrom SeenVisitor in selftestTrevor Gamblin (1):
report-error.bbclass: replace 'codecs.open()' with 'open()'Vijay Anusuri (2):
sqlite3: Fix CVE-2025-70873
python3: upgrade 3.13.11 -> 3.13.12Yoann Congal (10):
oeqa/selftest/devtool: add vulkan feature check for test needing it oeqa/selftest: add wayland feature check for tests needing it oeqa/sdk: Default to https git protocol for YP/OE repos
scripts: Default to https git protocol for YP/OE repos oeqa/selftest/git-submodule-test: Default to https git protocol for
YP/OE repos
meta/files/layers.example.json: switch to https clone URIs
build-appliance-image: switchSRC_URIto https protocolscripts/install-buildtools: Update to 5.3.3
ptest-runner: Upgrade 2.4.5.1 -> 2.5.0
ptest-runner: Use git tag inSRC_URIZoltán Böszörményi (1):
binutils: Fix build with GLIBC 2.43 on the host.../devtool/devtool-upgrade-test2_git.bb | 2 +- .../devtool-upgrade-test2_git.bb.upgraded | 2 +- .../devtool/devtool-upgrade-test5_git.bb | 4 +- .../devtool-upgrade-test5_git.bb.upgraded | 4 +- .../git-submodule-test/git-submodule-test.bb | 4 +- meta/classes/archiver.bbclass | 2 +- meta/classes/report-error.bbclass | 8 +- meta/conf/distro/include/yocto-uninative.inc | 10 +- meta/files/layers.example.json | 4 +- meta/lib/oeqa/buildtools-docs/cases/build.py | 2 +- meta/lib/oeqa/selftest/cases/archiver.py | 4 +- meta/lib/oeqa/selftest/cases/devtool.py | 8 +- meta/lib/oeqa/selftest/cases/externalsrc.py | 2 +- meta/lib/oeqa/selftest/cases/gdbserver.py | 4 +- .../oeqa/selftest/cases/gitarchivetests.py | 2 +- .../oeqa/selftest/cases/incompatible_lic.py | 2 + meta/lib/oeqa/selftest/cases/minidebuginfo.py | 7 +- meta/lib/oeqa/selftest/cases/oelib/license.py | 4 +- meta/lib/oeqa/selftest/cases/sstatetests.py | 4 +- .../cases/yoctotestresultsquerytests.py | 2 +- meta/recipes-bsp/barebox/barebox-common.inc | 4 +- .../CVE-2025-12801-dependent_p1.patch | 81 + .../CVE-2025-12801-dependent_p2.patch | 181 ++ .../CVE-2025-12801-dependent_p3.patch | 465 +++++ .../nfs-utils/nfs-utils/CVE-2025-12801.patch | 254 +++ .../nfs-utils/nfs-utils_2.8.4.bb | 4 + ...sysroot-and-debug-prefix-map-from-co.patch | 2 +- .../{openssl_3.5.5.bb => openssl_3.5.6.bb} | 2 +- ...23-qualifier-generic-fns-like-strchr.patch | 626 ++++++ meta/recipes-core/gettext/gettext_0.26.bb | 1 + meta/recipes-core/glibc/glibc-version.inc | 2 +- meta/recipes-core/glibc/glibc_2.42.bb | 2 +- .../images/build-appliance-image_15.0.0.bb | 6 +- ...24d6e87aeae631bc0a7bb1ba983cf8def4de.patch | 29 + meta/recipes-core/libxcrypt/libxcrypt.inc | 6 +- ...Tools-StringFuncs-fix-gcc-16-warning.patch | 42 + ...aseTools-EfiRom-fix-compiler-warning.patch | 44 + meta/recipes-core/ovmf/ovmf_git.bb | 2 + meta/recipes-core/systemd/systemd.inc | 4 +- ...ilter-out-EFSBADCRC-and-EFSCORRUPTED.patch | 34 + meta/recipes-core/util-linux/util-linux.inc | 1 + ...x-bsearch-macro-usage-with-glibc-C23.patch | 40 + .../binutils/binutils-2.45.inc | 13 +- ...tect-against-standard-library-macros.patch | 34 + ...-system-directories-when-cross-linki.patch | 38 +- .../binutils/0008-Use-libtool-2.4.patch | 1827 ++++++++--------- .../CVE-2025-69644_CVE-2025-69647.patch | 85 + .../binutils/binutils/CVE-2025-69648.patch | 189 ++ .../binutils/binutils/CVE-2025-69649.patch | 41 + .../binutils/binutils/CVE-2025-69652.patch | 40 + meta/recipes-devtools/gcc/gcc-15.2.inc | 1 + ...dy-Make-it-buildable-by-C-11-to-C-26.patch | 257 +++ .../go/{go-1.25.8.inc => go-1.25.9.inc} | 2 +- ...e_1.25.8.bb => go-binary-native_1.25.9.bb} | 6 +- ..._1.25.8.bb => go-cross-canadian_1.25.9.bb} | 0 ...{go-cross_1.25.8.bb => go-cross_1.25.9.bb} | 0 ...osssdk_1.25.8.bb => go-crosssdk_1.25.9.bb} | 0 ...runtime_1.25.8.bb => go-runtime_1.25.9.bb} | 0 ...ent-based-hash-generation-less-pedan.patch | 8 +- ...d-go-make-GOROOT-precious-by-default.patch | 2 +- .../go/{go_1.25.8.bb => go_1.25.9.bb} | 0 meta/recipes-devtools/m4/m4-1.4.20.inc | 3 + ...-Fix-some-g-Wsystem-headers-warnings.patch | 135 ++ ...pilation-error-on-macOS-with-fortify.patch | 126 ++ ...23-qualifier-generic-fns-like-strchr.patch | 194 ++ meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +- ...{python3_3.13.11.bb => python3_3.13.12.bb} | 2 +- ...ibarchive_3.8.5.bb => libarchive_3.8.6.bb} | 2 +- ...sue-with-gcc-16-replaeces-PR-6542-65.patch | 50 + .../spir/spirv-tools_1.4.328.1.bb | 3 +- ...once_flag-ONCE_FLAG_INIT-when-presen.patch | 55 + .../virglrenderer/virglrenderer_1.1.1.bb | 1 + .../0001-Fix-discarded-const-qualifiers.patch | 83 + meta/recipes-kernel/dtc/dtc_1.7.2.bb | 1 + .../{libpng_1.6.55.bb => libpng_1.6.56.bb} | 2 +- ...unner_2.4.5.1.bb => ptest-runner_2.5.1.bb} | 5 +- .../sqlite/files/CVE-2025-70873.patch | 33 + meta/recipes-support/sqlite/sqlite3_3.48.0.bb | 1 + .../vim/files/CVE-2026-28418.patch | 78 + .../vim/files/CVE-2026-28419.patch | 86 + .../vim/files/CVE-2026-33412.patch | 61 + meta/recipes-support/vim/vim.inc | 3 + scripts/combo-layer.conf.example | 4 +- scripts/contrib/patchtest.sh | 4 +- scripts/install-buildtools | 4 +- scripts/lib/recipetool/create.py | 2 +- scripts/yocto_testresults_query.py | 2 +- 87 files changed, 4290 insertions(+), 1108 deletions(-) create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801-dependent_p1.patch create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801-dependent_p2.patch create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801-dependent_p3.patch create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/CVE-2025-12801.patch rename meta/recipes-connectivity/openssl/{openssl_3.5.5.bb => openssl_3.5.6.bb} (99%) create mode 100644 meta/recipes-core/gettext/gettext/0001-Port-to-C23-qualifier-generic-fns-like-strchr.patch create mode 100644 meta/recipes-core/libxcrypt/files/174c24d6e87aeae631bc0a7bb1ba983cf8def4de.patch create mode 100644 meta/recipes-core/ovmf/ovmf/0006-BaseTools-StringFuncs-fix-gcc-16-warning.patch create mode 100644 meta/recipes-core/ovmf/ovmf/0007-BaseTools-EfiRom-fix-compiler-warning.patch create mode 100644 meta/recipes-core/systemd/systemd/0001-errno-list-filter-out-EFSBADCRC-and-EFSCORRUPTED.patch create mode 100644 meta/recipes-core/util-linux/util-linux/0001-lsfd-fix-bsearch-macro-usage-with-glibc-C23.patch create mode 100644 meta/recipes-devtools/binutils/binutils/0001-gprofng-protect-against-standard-library-macros.patch create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-69644_CVE-2025-69647.patch create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-69648.patch create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-69649.patch create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-69652.patch create mode 100644 meta/recipes-devtools/gcc/gcc/0028-libcody-Make-it-buildable-by-C-11-to-C-26.patch rename meta/recipes-devtools/go/{go-1.25.8.inc => go-1.25.9.inc} (91%) rename meta/recipes-devtools/go/{go-binary-native_1.25.8.bb => go-binary-native_1.25.9.bb} (79%) rename meta/recipes-devtools/go/{go-cross-canadian_1.25.8.bb => go-cross-canadian_1.25.9.bb} (100%) rename meta/recipes-devtools/go/{go-cross_1.25.8.bb => go-cross_1.25.9.bb} (100%) rename meta/recipes-devtools/go/{go-crosssdk_1.25.8.bb => go-crosssdk_1.25.9.bb} (100%) rename meta/recipes-devtools/go/{go-runtime_1.25.8.bb => go-runtime_1.25.9.bb} (100%) rename meta/recipes-devtools/go/{go_1.25.8.bb => go_1.25.9.bb} (100%) create mode 100644 meta/recipes-devtools/m4/m4/0001-string-h-wchar-h-Fix-some-g-Wsystem-headers-warnings.patch create mode 100644 meta/recipes-devtools/m4/m4/0002-string-h-Fix-compilation-error-on-macOS-with-fortify.patch create mode 100644 meta/recipes-devtools/m4/m4/0003-Port-to-C23-qualifier-generic-fns-like-strchr.patch rename meta/recipes-devtools/python/{python3_3.13.11.bb => python3_3.13.12.bb} (99%) rename meta/recipes-extended/libarchive/{libarchive_3.8.5.bb => libarchive_3.8.6.bb} (96%) create mode 100644 meta/recipes-graphics/spir/spirv-tools/0001-opt-Fix-build-issue-with-gcc-16-replaeces-PR-6542-65.patch create mode 100644 meta/recipes-graphics/virglrenderer/virglrenderer/0001-c11-use-glibc-s-once_flag-ONCE_FLAG_INIT-when-presen.patch create mode 100644 meta/recipes-kernel/dtc/dtc/0001-Fix-discarded-const-qualifiers.patch rename meta/recipes-multimedia/libpng/{libpng_1.6.55.bb => libpng_1.6.56.bb} (97%) rename meta/recipes-support/ptest-runner/{ptest-runner_2.4.5.1.bb => ptest-runner_2.5.1.bb} (93%) create mode 100644 meta/recipes-support/sqlite/files/CVE-2025-70873.patch create mode 100644 meta/recipes-support/vim/files/CVE-2026-28418.patch create mode 100644 meta/recipes-support/vim/files/CVE-2026-28419.patch create mode 100644 meta/recipes-support/vim/files/CVE-2026-33412.patch
Signature · 2 lines
Yoann Congal Smile ECS