* [OE-core][walnascar 0/7] Patch review
@ 2025-06-21 14:23 Steve Sakoman
2025-06-21 14:23 ` [OE-core][walnascar 1/7] go: set status of CVE-2024-3566 Steve Sakoman
` (6 more replies)
0 siblings, 7 replies; 9+ messages in thread
From: Steve Sakoman @ 2025-06-21 14:23 UTC (permalink / raw)
To: openembedded-core
Please review this set of changes for walnascar and have comments back by
end of day Tuesday, June 24
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/1854
The following changes since commit fd79c20430ad5c540522ddbe72ef235379c628bd:
tune-cortexr52: Remove aarch64 for ARM Cortex-R52 (2025-06-16 12:50:00 -0700)
are available in the Git repository at:
https://git.openembedded.org/openembedded-core-contrib stable/walnascar-nut
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/walnascar-nut
Archana Polampalli (1):
ghostscript: upgrade 10.05.0 -> 10.05.1
Moritz Haase (1):
cmake: Correctly handle cost data of tests with arbitrary chars in
name
Peter Marko (2):
go: set status of CVE-2024-3566
glibc: stable 2.41 branch updates
Praveen Kumar (1):
bind: upgrade 9.20.8 -> 9.20.9
Richard Purdie (1):
bind: upgrade 9.20.6 -> 9.20.7
Wang Mingyu (1):
bind: upgrade 9.20.7 -> 9.20.8
...1-avoid-start-failure-with-bind-user.patch | 2 +-
...d-V-and-start-log-hide-build-options.patch | 4 +-
...ching-for-json-headers-searches-sysr.patch | 4 +-
.../recipes-connectivity/bind/bind/conf.patch | 2 +-
...t.d-add-support-for-read-only-rootfs.patch | 2 +-
.../bind/make-etc-initd-bind-stop-work.patch | 2 +-
.../bind/{bind_9.20.6.bb => bind_9.20.9.bb} | 2 +-
meta/recipes-core/glibc/glibc-version.inc | 2 +-
...u-tests-that-can-hang-in-oe-selftest.patch | 2 +-
meta/recipes-core/glibc/glibc_2.41.bb | 2 +-
.../cmake/cmake-native_3.31.6.bb | 2 +-
...trary-characters-in-test-names-of-CT.patch | 202 ++++++++++++++++++
meta/recipes-devtools/cmake/cmake_3.31.6.bb | 1 +
.../go/go-binary-native_1.24.4.bb | 1 +
meta/recipes-devtools/go/go-common.inc | 1 +
...ript_10.05.0.bb => ghostscript_10.05.1.bb} | 2 +-
16 files changed, 219 insertions(+), 14 deletions(-)
rename meta/recipes-connectivity/bind/{bind_9.20.6.bb => bind_9.20.9.bb} (97%)
create mode 100644 meta/recipes-devtools/cmake/cmake/0001-ctest-Allow-arbitrary-characters-in-test-names-of-CT.patch
rename meta/recipes-extended/ghostscript/{ghostscript_10.05.0.bb => ghostscript_10.05.1.bb} (97%)
--
2.43.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [OE-core][walnascar 1/7] go: set status of CVE-2024-3566
2025-06-21 14:23 [OE-core][walnascar 0/7] Patch review Steve Sakoman
@ 2025-06-21 14:23 ` Steve Sakoman
2025-06-21 14:23 ` [OE-core][walnascar 2/7] glibc: stable 2.41 branch updates Steve Sakoman
` (5 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Steve Sakoman @ 2025-06-21 14:23 UTC (permalink / raw)
To: openembedded-core
From: Peter Marko <peter.marko@siemens.com>
NVD ([1]) tracks this as:
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
Running on/with
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
Yocto cve-check ignores the "Running on/with", so it needs to be ignored
explicitly.
[1] https://nvd.nist.gov/vuln/detail/CVE-2024-3566
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/recipes-devtools/go/go-binary-native_1.24.4.bb | 1 +
meta/recipes-devtools/go/go-common.inc | 1 +
2 files changed, 2 insertions(+)
diff --git a/meta/recipes-devtools/go/go-binary-native_1.24.4.bb b/meta/recipes-devtools/go/go-binary-native_1.24.4.bb
index 9f788536c4..a5324d0f06 100644
--- a/meta/recipes-devtools/go/go-binary-native_1.24.4.bb
+++ b/meta/recipes-devtools/go/go-binary-native_1.24.4.bb
@@ -17,6 +17,7 @@ UPSTREAM_CHECK_URI = "https://golang.org/dl/"
UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux"
CVE_PRODUCT = "golang:go"
+CVE_STATUS[CVE-2024-3566] = "not-applicable-platform: Issue only applies on Windows"
S = "${WORKDIR}/go"
diff --git a/meta/recipes-devtools/go/go-common.inc b/meta/recipes-devtools/go/go-common.inc
index ca8469dbd9..a79c90faf8 100644
--- a/meta/recipes-devtools/go/go-common.inc
+++ b/meta/recipes-devtools/go/go-common.inc
@@ -21,6 +21,7 @@ UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.src\.tar"
# all recipe variants are created from the same product
CVE_PRODUCT = "golang:go"
+CVE_STATUS[CVE-2024-3566] = "not-applicable-platform: Issue only applies on Windows"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
SSTATE_SCAN_CMD = "true"
--
2.43.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [OE-core][walnascar 2/7] glibc: stable 2.41 branch updates
2025-06-21 14:23 [OE-core][walnascar 0/7] Patch review Steve Sakoman
2025-06-21 14:23 ` [OE-core][walnascar 1/7] go: set status of CVE-2024-3566 Steve Sakoman
@ 2025-06-21 14:23 ` Steve Sakoman
2025-06-21 14:23 ` [OE-core][walnascar 3/7] bind: upgrade 9.20.6 -> 9.20.7 Steve Sakoman
` (4 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Steve Sakoman @ 2025-06-21 14:23 UTC (permalink / raw)
To: openembedded-core
From: Peter Marko <peter.marko@siemens.com>
$ git log --oneline 5b4c4617016d28569106549dff6f9fec73eed5ce..0c76c951620f9e12df2a89b2c684878b55bb6795
0c76c95162 ppc64le: Revert "powerpc: Optimized strcmp for power10" (CVE-2025-5702)
b48d7ab036 ppc64le: Revert "powerpc : Add optimized memchr for POWER10" (Bug 33059)
55cdcadf73 ppc64le: Revert "powerpc: Fix performance issues of strcmp power10" (CVE-2025-5702)
84bdbf8a6f ppc64le: Revert "powerpc: Optimized strncmp for power10" (CVE-2025-5745)
d952c6efaa sparc: Fix argument passing to __libc_start_main (BZ 32981)
515d4166f4 elf: Fix subprocess status handling for tst-dlopen-sgid (bug 32987)
899dd3ab2f x86_64: Fix typo in ifunc-impl-list.c.
624285af3b elf: Test case for bug 32976 (CVE-2025-4802)
2ca34d7627 support: Use const char * argument in support_capture_subprogram_self_sgid
dab44a3b2b elf: Keep using minimal malloc after early DTV resize (bug 32412)
5cf17ebc65 hurd: Fix tst-stack2 test build on Hurd
test results:
Before After Diff
FAIL 140 142 +2
PASS 5846 5846 0
UNSUPPORTED 243 243 0
XFAIL 16 16 0
XPASS 4 4 0
failed test changes:
-elf/tst-audit21
+elf/tst-audit-tlsdesc-dlopen2
+elf/tst-dlopen-sgid
-malloc/tst-free-errno-malloc-hugetlb1
+malloc/tst-free-errno
+malloc/tst-malloc-tcache-leak
-nptl/tst-mutex10
+nptl/tst-mutexpi8-static
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/recipes-core/glibc/glibc-version.inc | 2 +-
...3-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch | 2 +-
meta/recipes-core/glibc/glibc_2.41.bb | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-core/glibc/glibc-version.inc b/meta/recipes-core/glibc/glibc-version.inc
index d84106fb95..2d31131e03 100644
--- a/meta/recipes-core/glibc/glibc-version.inc
+++ b/meta/recipes-core/glibc/glibc-version.inc
@@ -1,6 +1,6 @@
SRCBRANCH ?= "release/2.41/master"
PV = "2.41+git"
-SRCREV_glibc ?= "5b4c4617016d28569106549dff6f9fec73eed5ce"
+SRCREV_glibc ?= "0c76c951620f9e12df2a89b2c684878b55bb6795"
SRCREV_localedef ?= "fab74f31b3811df543e24b6de47efdf45b538abc"
GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https"
diff --git a/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch b/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch
index 71777d3f2c..50d80ed577 100644
--- a/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch
+++ b/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch
@@ -40,7 +40,7 @@ index 8a755293b3..22dafcaad1 100644
# tests
# process_madvise requires CAP_SYS_ADMIN.
-@@ -277,9 +278,10 @@ tests-time64 += \
+@@ -282,9 +283,10 @@ tests-time64 += \
tst-ntp_gettimex-time64 \
tst-ppoll-time64 \
tst-prctl-time64 \
diff --git a/meta/recipes-core/glibc/glibc_2.41.bb b/meta/recipes-core/glibc/glibc_2.41.bb
index d707e1a677..7ddf7f9127 100644
--- a/meta/recipes-core/glibc/glibc_2.41.bb
+++ b/meta/recipes-core/glibc/glibc_2.41.bb
@@ -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_STATUS_STABLE_BACKPORTS = "CVE-2025-4802 CVE-2025-5702 CVE-2025-5745"
CVE_STATUS_STABLE_BACKPORTS[status] = "cpe-stable-backport: fix available in used git hash"
DEPENDS += "gperf-native bison-native"
--
2.43.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [OE-core][walnascar 3/7] bind: upgrade 9.20.6 -> 9.20.7
2025-06-21 14:23 [OE-core][walnascar 0/7] Patch review Steve Sakoman
2025-06-21 14:23 ` [OE-core][walnascar 1/7] go: set status of CVE-2024-3566 Steve Sakoman
2025-06-21 14:23 ` [OE-core][walnascar 2/7] glibc: stable 2.41 branch updates Steve Sakoman
@ 2025-06-21 14:23 ` Steve Sakoman
2025-06-21 14:23 ` [OE-core][walnascar 4/7] bind: upgrade 9.20.7 -> 9.20.8 Steve Sakoman
` (3 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Steve Sakoman @ 2025-06-21 14:23 UTC (permalink / raw)
To: openembedded-core
From: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 47128597fbc62164d614aae816edb47a745a5702)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
.../bind/bind/0001-avoid-start-failure-with-bind-user.patch | 2 +-
...0001-named-lwresd-V-and-start-log-hide-build-options.patch | 4 ++--
| 4 ++--
meta/recipes-connectivity/bind/bind/conf.patch | 2 +-
.../bind/bind/init.d-add-support-for-read-only-rootfs.patch | 2 +-
.../bind/bind/make-etc-initd-bind-stop-work.patch | 2 +-
.../bind/{bind_9.20.6.bb => bind_9.20.7.bb} | 2 +-
7 files changed, 9 insertions(+), 9 deletions(-)
rename meta/recipes-connectivity/bind/{bind_9.20.6.bb => bind_9.20.7.bb} (97%)
diff --git a/meta/recipes-connectivity/bind/bind/0001-avoid-start-failure-with-bind-user.patch b/meta/recipes-connectivity/bind/bind/0001-avoid-start-failure-with-bind-user.patch
index 0d670edda6..78ab6b87fc 100644
--- a/meta/recipes-connectivity/bind/bind/0001-avoid-start-failure-with-bind-user.patch
+++ b/meta/recipes-connectivity/bind/bind/0001-avoid-start-failure-with-bind-user.patch
@@ -1,4 +1,4 @@
-From 0a45935f9d1207535f83df62ed52f358ed546bbe Mon Sep 17 00:00:00 2001
+From c70f74164bea8a8c54c03becffb2f21103dd1f31 Mon Sep 17 00:00:00 2001
From: Chen Qi <Qi.Chen@windriver.com>
Date: Mon, 15 Oct 2018 16:55:09 +0800
Subject: [PATCH] avoid start failure with bind user
diff --git a/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch b/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch
index 10b8caafbb..53e439721f 100644
--- a/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch
+++ b/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch
@@ -1,4 +1,4 @@
-From dd484b0bd58832fc241afdc8ea05693228348353 Mon Sep 17 00:00:00 2001
+From 0dd67d85705cbcfa9a2759c46f3cdf3d0d6375de Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Mon, 27 Aug 2018 21:24:20 +0800
Subject: [PATCH] `named/lwresd -V' and start log hide build options
@@ -20,7 +20,7 @@ Signed-off-by: Armin Kuster <akuster@mvista.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
-index 13f9d7f..6516d0d 100644
+index f9cf4a4..0ce3d26 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,7 +35,7 @@ AC_DEFINE([PACKAGE_VERSION_EXTRA], ["][bind_VERSION_EXTRA]["], [BIND 9 Extra par
--git a/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch b/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch
index 49b0a5eea1..38d208fc1c 100644
--- a/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch
+++ b/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch
@@ -1,4 +1,4 @@
-From 9a06dbf831f012c6019237527d2bf1aa7a3a543a Mon Sep 17 00:00:00 2001
+From 8c9c817933eef20328f10237bbd964580db0a3ad Mon Sep 17 00:00:00 2001
From: Paul Gortmaker <paul.gortmaker@windriver.com>
Date: Tue, 9 Jun 2015 11:22:00 -0400
Subject: [PATCH] bind: ensure searching for json headers searches sysroot
@@ -32,7 +32,7 @@ Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
-index 168a77a..13f9d7f 100644
+index 334b551..f9cf4a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -863,7 +863,7 @@ AS_CASE([$with_lmdb],
diff --git a/meta/recipes-connectivity/bind/bind/conf.patch b/meta/recipes-connectivity/bind/bind/conf.patch
index 16ac510cfa..102fe46ffe 100644
--- a/meta/recipes-connectivity/bind/bind/conf.patch
+++ b/meta/recipes-connectivity/bind/bind/conf.patch
@@ -1,4 +1,4 @@
-From 27d1113a4c378583e0fcff91d70256bdcd78de0b Mon Sep 17 00:00:00 2001
+From 83a892af19bf1455ce7132350332ed6d7f1e2b94 Mon Sep 17 00:00:00 2001
From: Qing He <qing.he@intel.com>
Date: Tue, 30 Nov 2010 13:35:42 +0800
Subject: [PATCH] bind: add new recipe
diff --git a/meta/recipes-connectivity/bind/bind/init.d-add-support-for-read-only-rootfs.patch b/meta/recipes-connectivity/bind/bind/init.d-add-support-for-read-only-rootfs.patch
index baeeafe33e..984d401c70 100644
--- a/meta/recipes-connectivity/bind/bind/init.d-add-support-for-read-only-rootfs.patch
+++ b/meta/recipes-connectivity/bind/bind/init.d-add-support-for-read-only-rootfs.patch
@@ -1,4 +1,4 @@
-From 1fa4d0eb9631771bd751f04ce898433580996e5e Mon Sep 17 00:00:00 2001
+From 1393cbf6b0084128fdfc9b5afb3bcc307265d094 Mon Sep 17 00:00:00 2001
From: Chen Qi <Qi.Chen@windriver.com>
Date: Thu, 27 Mar 2014 02:34:41 +0000
Subject: [PATCH] init.d: add support for read-only rootfs
diff --git a/meta/recipes-connectivity/bind/bind/make-etc-initd-bind-stop-work.patch b/meta/recipes-connectivity/bind/bind/make-etc-initd-bind-stop-work.patch
index 93aa304126..74f2ef83a0 100644
--- a/meta/recipes-connectivity/bind/bind/make-etc-initd-bind-stop-work.patch
+++ b/meta/recipes-connectivity/bind/bind/make-etc-initd-bind-stop-work.patch
@@ -1,4 +1,4 @@
-From 2ea2e4e502e5840d52e76461e071882cc65f1766 Mon Sep 17 00:00:00 2001
+From ce06506bb3fe661e03161af3a603bd228590a254 Mon Sep 17 00:00:00 2001
From: Roy Li <rongqing.li@windriver.com>
Date: Thu, 15 Nov 2012 02:27:54 +0000
Subject: [PATCH] bind: make "/etc/init.d/bind stop" work
diff --git a/meta/recipes-connectivity/bind/bind_9.20.6.bb b/meta/recipes-connectivity/bind/bind_9.20.7.bb
similarity index 97%
rename from meta/recipes-connectivity/bind/bind_9.20.6.bb
rename to meta/recipes-connectivity/bind/bind_9.20.7.bb
index 7a03f8598d..b4202f1a59 100644
--- a/meta/recipes-connectivity/bind/bind_9.20.6.bb
+++ b/meta/recipes-connectivity/bind/bind_9.20.7.bb
@@ -20,7 +20,7 @@ SRC_URI = "https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.xz \
file://0001-avoid-start-failure-with-bind-user.patch \
"
-SRC_URI[sha256sum] = "ed7f54b44f84a7201a2fa7a949f3021ea568529bfad90fca664fd55c05104134"
+SRC_URI[sha256sum] = "43323c8d22d2144282c37b4060ec11e98c24835e225688876fad08ba7b95dca6"
UPSTREAM_CHECK_URI = "https://ftp.isc.org/isc/bind9/"
# follow the ESV versions divisible by 2
--
2.43.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [OE-core][walnascar 4/7] bind: upgrade 9.20.7 -> 9.20.8
2025-06-21 14:23 [OE-core][walnascar 0/7] Patch review Steve Sakoman
` (2 preceding siblings ...)
2025-06-21 14:23 ` [OE-core][walnascar 3/7] bind: upgrade 9.20.6 -> 9.20.7 Steve Sakoman
@ 2025-06-21 14:23 ` Steve Sakoman
2025-06-21 14:23 ` [OE-core][walnascar 5/7] bind: upgrade 9.20.8 -> 9.20.9 Steve Sakoman
` (2 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Steve Sakoman @ 2025-06-21 14:23 UTC (permalink / raw)
To: openembedded-core
From: Wang Mingyu <wangmy@fujitsu.com>
(From OE-Core rev: 670cb507b9125c152aa08702520f2d220c207c71)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
.../bind/{bind_9.20.7.bb => bind_9.20.8.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-connectivity/bind/{bind_9.20.7.bb => bind_9.20.8.bb} (97%)
diff --git a/meta/recipes-connectivity/bind/bind_9.20.7.bb b/meta/recipes-connectivity/bind/bind_9.20.8.bb
similarity index 97%
rename from meta/recipes-connectivity/bind/bind_9.20.7.bb
rename to meta/recipes-connectivity/bind/bind_9.20.8.bb
index b4202f1a59..864daed97e 100644
--- a/meta/recipes-connectivity/bind/bind_9.20.7.bb
+++ b/meta/recipes-connectivity/bind/bind_9.20.8.bb
@@ -20,7 +20,7 @@ SRC_URI = "https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.xz \
file://0001-avoid-start-failure-with-bind-user.patch \
"
-SRC_URI[sha256sum] = "43323c8d22d2144282c37b4060ec11e98c24835e225688876fad08ba7b95dca6"
+SRC_URI[sha256sum] = "3004d99c476beab49a986c2d49f902e2cd7766c9ab18b261e8b353cabf3a04b5"
UPSTREAM_CHECK_URI = "https://ftp.isc.org/isc/bind9/"
# follow the ESV versions divisible by 2
--
2.43.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [OE-core][walnascar 5/7] bind: upgrade 9.20.8 -> 9.20.9
2025-06-21 14:23 [OE-core][walnascar 0/7] Patch review Steve Sakoman
` (3 preceding siblings ...)
2025-06-21 14:23 ` [OE-core][walnascar 4/7] bind: upgrade 9.20.7 -> 9.20.8 Steve Sakoman
@ 2025-06-21 14:23 ` Steve Sakoman
2025-06-21 14:23 ` [OE-core][walnascar 6/7] ghostscript: upgrade 10.05.0 -> 10.05.1 Steve Sakoman
2025-06-21 14:23 ` [OE-core][walnascar 7/7] cmake: Correctly handle cost data of tests with arbitrary chars in name Steve Sakoman
6 siblings, 0 replies; 9+ messages in thread
From: Steve Sakoman @ 2025-06-21 14:23 UTC (permalink / raw)
To: openembedded-core
From: Praveen Kumar <praveen.kumar@windriver.com>
Overview of changes in bind 9.20.9
==================================
Security Fixes:
1. Prevent an assertion failure when processing TSIG algorithm.
2. DNS messages that included a Transaction Signature (TSIG) containing
an invalid value in the algorithm field caused named to crash with an
assertion failure. This has been fixed. (CVE-2025-40775) [GL #5300]
For additional feature changes and bug fixes, please see:
https://downloads.isc.org/isc/bind9/9.20.9/doc/arm/html/notes.html#notes-for-bind-9-20-9
(From OE-Core rev: c9d59ba50a102ace907779612e74646dec133271)
Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
.../bind/{bind_9.20.8.bb => bind_9.20.9.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-connectivity/bind/{bind_9.20.8.bb => bind_9.20.9.bb} (97%)
diff --git a/meta/recipes-connectivity/bind/bind_9.20.8.bb b/meta/recipes-connectivity/bind/bind_9.20.9.bb
similarity index 97%
rename from meta/recipes-connectivity/bind/bind_9.20.8.bb
rename to meta/recipes-connectivity/bind/bind_9.20.9.bb
index 864daed97e..93ff957fc5 100644
--- a/meta/recipes-connectivity/bind/bind_9.20.8.bb
+++ b/meta/recipes-connectivity/bind/bind_9.20.9.bb
@@ -20,7 +20,7 @@ SRC_URI = "https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.xz \
file://0001-avoid-start-failure-with-bind-user.patch \
"
-SRC_URI[sha256sum] = "3004d99c476beab49a986c2d49f902e2cd7766c9ab18b261e8b353cabf3a04b5"
+SRC_URI[sha256sum] = "3d26900ed9c9a859073ffea9b97e292c1248dad18279b17b05fcb23c3091f86d"
UPSTREAM_CHECK_URI = "https://ftp.isc.org/isc/bind9/"
# follow the ESV versions divisible by 2
--
2.43.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [OE-core][walnascar 6/7] ghostscript: upgrade 10.05.0 -> 10.05.1
2025-06-21 14:23 [OE-core][walnascar 0/7] Patch review Steve Sakoman
` (4 preceding siblings ...)
2025-06-21 14:23 ` [OE-core][walnascar 5/7] bind: upgrade 9.20.8 -> 9.20.9 Steve Sakoman
@ 2025-06-21 14:23 ` Steve Sakoman
2025-06-21 14:23 ` [OE-core][walnascar 7/7] cmake: Correctly handle cost data of tests with arbitrary chars in name Steve Sakoman
6 siblings, 0 replies; 9+ messages in thread
From: Steve Sakoman @ 2025-06-21 14:23 UTC (permalink / raw)
To: openembedded-core
From: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
.../{ghostscript_10.05.0.bb => ghostscript_10.05.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-extended/ghostscript/{ghostscript_10.05.0.bb => ghostscript_10.05.1.bb} (97%)
diff --git a/meta/recipes-extended/ghostscript/ghostscript_10.05.0.bb b/meta/recipes-extended/ghostscript/ghostscript_10.05.1.bb
similarity index 97%
rename from meta/recipes-extended/ghostscript/ghostscript_10.05.0.bb
rename to meta/recipes-extended/ghostscript/ghostscript_10.05.1.bb
index e937f04cb3..fa6ead0cd8 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_10.05.0.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_10.05.1.bb
@@ -27,7 +27,7 @@ SRC_URI = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/downlo
file://avoid-host-contamination.patch \
"
-SRC_URI[sha256sum] = "56e77833de683825c420d0af8cb90aa8ba7da71ea6fb5624290cbc1b53fe7942"
+SRC_URI[sha256sum] = "121861b6d29b2461dec6575c9f3cab665b810bd408d4ec02c86719fa708b0a49"
PACKAGECONFIG ??= ""
PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+3"
--
2.43.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [OE-core][walnascar 7/7] cmake: Correctly handle cost data of tests with arbitrary chars in name
2025-06-21 14:23 [OE-core][walnascar 0/7] Patch review Steve Sakoman
` (5 preceding siblings ...)
2025-06-21 14:23 ` [OE-core][walnascar 6/7] ghostscript: upgrade 10.05.0 -> 10.05.1 Steve Sakoman
@ 2025-06-21 14:23 ` Steve Sakoman
6 siblings, 0 replies; 9+ messages in thread
From: Steve Sakoman @ 2025-06-21 14:23 UTC (permalink / raw)
To: openembedded-core
From: Moritz Haase <Moritz.Haase@bmw.de>
ctest automatically optimizes the order of (parallel) test execution based on
historic test case runtime via the COST property (see [0]), which can have a
significant impact on overall test run times. Sadly this feature is broken in
CMake < 4.0.0 for test cases that have spaces in their name (see [1]).
This commit backports the upstream fix. As repeated test runs are expected to
mainly take place inside the SDK, the patch is only applied to 'nativesdk'
builds.
[0]: https://cmake.org/cmake/help/latest/prop_test/COST.html
[1]: https://gitlab.kitware.com/cmake/cmake/-/issues/26594
Reported-By: John Drouhard <john@drouhard.dev>
Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dcbaf42dd74cc0bda7254856589613718ed3f057)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
.../cmake/cmake-native_3.31.6.bb | 2 +-
...trary-characters-in-test-names-of-CT.patch | 202 ++++++++++++++++++
meta/recipes-devtools/cmake/cmake_3.31.6.bb | 1 +
3 files changed, 204 insertions(+), 1 deletion(-)
create mode 100644 meta/recipes-devtools/cmake/cmake/0001-ctest-Allow-arbitrary-characters-in-test-names-of-CT.patch
diff --git a/meta/recipes-devtools/cmake/cmake-native_3.31.6.bb b/meta/recipes-devtools/cmake/cmake-native_3.31.6.bb
index e285a17681..b940abb3fd 100644
--- a/meta/recipes-devtools/cmake/cmake-native_3.31.6.bb
+++ b/meta/recipes-devtools/cmake/cmake-native_3.31.6.bb
@@ -51,7 +51,7 @@ do_compile() {
do_install() {
oe_runmake 'DESTDIR=${D}' install
- # The following codes are here because eSDK needs to provide compatibilty
+ # The following codes are here because eSDK needs to provide compatibility
# for SDK. That is, eSDK could also be used like traditional SDK.
mkdir -p ${D}${datadir}/cmake
install -m 644 ${UNPACKDIR}/OEToolchainConfig.cmake ${D}${datadir}/cmake/
diff --git a/meta/recipes-devtools/cmake/cmake/0001-ctest-Allow-arbitrary-characters-in-test-names-of-CT.patch b/meta/recipes-devtools/cmake/cmake/0001-ctest-Allow-arbitrary-characters-in-test-names-of-CT.patch
new file mode 100644
index 0000000000..31f6148cac
--- /dev/null
+++ b/meta/recipes-devtools/cmake/cmake/0001-ctest-Allow-arbitrary-characters-in-test-names-of-CT.patch
@@ -0,0 +1,202 @@
+From c7e8b03324883760a2d6fab86ae034beb82af651 Mon Sep 17 00:00:00 2001
+From: John Drouhard <john@drouhard.dev>
+Date: Thu, 9 Jan 2025 20:34:42 -0600
+Subject: [PATCH] ctest: Allow arbitrary characters in test names of
+ CTestCostData.txt
+
+This changes the way lines in CTestCostData.txt are parsed to allow for
+spaces in the test name.
+
+It does so by looking for space characters from the end; and once two
+have been found, assumes everything from the beginning up to that
+second-to-last-space is the test name.
+
+Additionally, parsing the file should be much more efficient since there
+is no string or vector heap allocation per line. The std::string used by
+the parse function to convert the int and float should be within most
+standard libraries' small string optimization.
+
+Fixes: #26594
+
+Upstream-Status: Backport [4.0.0, 040da7d83216ace59710407e8ce35d5fd38e1340]
+Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
+---
+ Source/CTest/cmCTestMultiProcessHandler.cxx | 77 +++++++++++++++------
+ Source/CTest/cmCTestMultiProcessHandler.h | 3 +-
+ Tests/CTestTestScheduler/CMakeLists.txt | 4 +-
+ 3 files changed, 61 insertions(+), 23 deletions(-)
+
+diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx
+index 84ea32b84d40025ec333a90d30c42eeaf7adc9ef..231e7b5f39b1d8aa75f4e59a890a099b53fcdaac 100644
+--- a/Source/CTest/cmCTestMultiProcessHandler.cxx
++++ b/Source/CTest/cmCTestMultiProcessHandler.cxx
+@@ -20,6 +20,7 @@
+
+ #include <cm/memory>
+ #include <cm/optional>
++#include <cm/string_view>
+ #include <cmext/algorithm>
+
+ #include <cm3p/json/value.h>
+@@ -52,6 +53,48 @@ constexpr unsigned long kParallelLevelMinimum = 2u;
+ // Under a job server, parallelism is effectively limited
+ // only by available job server tokens.
+ constexpr unsigned long kParallelLevelUnbounded = 0x10000u;
++
++struct CostEntry
++{
++ cm::string_view name;
++ int prevRuns;
++ float cost;
++};
++
++cm::optional<CostEntry> splitCostLine(cm::string_view line)
++{
++ std::string part;
++ cm::string_view::size_type pos1 = line.size();
++ cm::string_view::size_type pos2 = line.find_last_of(' ', pos1);
++ auto findNext = [line, &part, &pos1, &pos2]() -> bool {
++ if (pos2 != cm::string_view::npos) {
++ cm::string_view sub = line.substr(pos2 + 1, pos1 - pos2 - 1);
++ part.assign(sub.begin(), sub.end());
++ pos1 = pos2;
++ if (pos1 > 0) {
++ pos2 = line.find_last_of(' ', pos1 - 1);
++ }
++ return true;
++ }
++ return false;
++ };
++
++ // parse the cost
++ if (!findNext()) {
++ return cm::nullopt;
++ }
++ float cost = static_cast<float>(atof(part.c_str()));
++
++ // parse the previous runs
++ if (!findNext()) {
++ return cm::nullopt;
++ }
++ int prev = atoi(part.c_str());
++
++ // from start to the last found space is the name
++ return CostEntry{ line.substr(0, pos1), prev, cost };
++}
++
+ }
+
+ namespace cmsys {
+@@ -797,24 +840,21 @@ void cmCTestMultiProcessHandler::UpdateCostData()
+ if (line == "---") {
+ break;
+ }
+- std::vector<std::string> parts = cmSystemTools::SplitString(line, ' ');
+ // Format: <name> <previous_runs> <avg_cost>
+- if (parts.size() < 3) {
++ cm::optional<CostEntry> entry = splitCostLine(line);
++ if (!entry) {
+ break;
+ }
+
+- std::string name = parts[0];
+- int prev = atoi(parts[1].c_str());
+- float cost = static_cast<float>(atof(parts[2].c_str()));
+-
+- int index = this->SearchByName(name);
++ int index = this->SearchByName(entry->name);
+ if (index == -1) {
+ // This test is not in memory. We just rewrite the entry
+- fout << name << " " << prev << " " << cost << "\n";
++ fout << entry->name << " " << entry->prevRuns << " " << entry->cost
++ << "\n";
+ } else {
+ // Update with our new average cost
+- fout << name << " " << this->Properties[index]->PreviousRuns << " "
+- << this->Properties[index]->Cost << "\n";
++ fout << entry->name << " " << this->Properties[index]->PreviousRuns
++ << " " << this->Properties[index]->Cost << "\n";
+ temp.erase(index);
+ }
+ }
+@@ -850,28 +890,25 @@ void cmCTestMultiProcessHandler::ReadCostData()
+ break;
+ }
+
+- std::vector<std::string> parts = cmSystemTools::SplitString(line, ' ');
++ // Format: <name> <previous_runs> <avg_cost>
++ cm::optional<CostEntry> entry = splitCostLine(line);
+
+ // Probably an older version of the file, will be fixed next run
+- if (parts.size() < 3) {
++ if (!entry) {
+ fin.close();
+ return;
+ }
+
+- std::string name = parts[0];
+- int prev = atoi(parts[1].c_str());
+- float cost = static_cast<float>(atof(parts[2].c_str()));
+-
+- int index = this->SearchByName(name);
++ int index = this->SearchByName(entry->name);
+ if (index == -1) {
+ continue;
+ }
+
+- this->Properties[index]->PreviousRuns = prev;
++ this->Properties[index]->PreviousRuns = entry->prevRuns;
+ // When not running in parallel mode, don't use cost data
+ if (this->GetParallelLevel() > 1 && this->Properties[index] &&
+ this->Properties[index]->Cost == 0) {
+- this->Properties[index]->Cost = cost;
++ this->Properties[index]->Cost = entry->cost;
+ }
+ }
+ // Next part of the file is the failed tests
+@@ -884,7 +921,7 @@ void cmCTestMultiProcessHandler::ReadCostData()
+ }
+ }
+
+-int cmCTestMultiProcessHandler::SearchByName(std::string const& name)
++int cmCTestMultiProcessHandler::SearchByName(cm::string_view name)
+ {
+ int index = -1;
+
+diff --git a/Source/CTest/cmCTestMultiProcessHandler.h b/Source/CTest/cmCTestMultiProcessHandler.h
+index fd6c17f2fac06949c20f3792dd3eae442b15850b..811be613c3387240c0181f8372b24cf09219621f 100644
+--- a/Source/CTest/cmCTestMultiProcessHandler.h
++++ b/Source/CTest/cmCTestMultiProcessHandler.h
+@@ -13,6 +13,7 @@
+ #include <vector>
+
+ #include <cm/optional>
++#include <cm/string_view>
+
+ #include "cmCTest.h"
+ #include "cmCTestResourceAllocator.h"
+@@ -110,7 +111,7 @@ protected:
+ void UpdateCostData();
+ void ReadCostData();
+ // Return index of a test based on its name
+- int SearchByName(std::string const& name);
++ int SearchByName(cm::string_view name);
+
+ void CreateTestCostList();
+
+diff --git a/Tests/CTestTestScheduler/CMakeLists.txt b/Tests/CTestTestScheduler/CMakeLists.txt
+index 6f8cb4dbc0de35984540e1868788e0a02124e819..daf6ce2b23d8c048334ae1047759130b246dccef 100644
+--- a/Tests/CTestTestScheduler/CMakeLists.txt
++++ b/Tests/CTestTestScheduler/CMakeLists.txt
+@@ -1,9 +1,9 @@
+-cmake_minimum_required(VERSION 3.10)
++cmake_minimum_required(VERSION 3.19)
+ project (CTestTestScheduler)
+ include (CTest)
+
+ add_executable (Sleep sleep.c)
+
+ foreach (time RANGE 1 4)
+- add_test (TestSleep${time} Sleep ${time})
++ add_test ("TestSleep ${time}" Sleep ${time})
+ endforeach ()
diff --git a/meta/recipes-devtools/cmake/cmake_3.31.6.bb b/meta/recipes-devtools/cmake/cmake_3.31.6.bb
index 7d8b8cac65..2d343d6f52 100644
--- a/meta/recipes-devtools/cmake/cmake_3.31.6.bb
+++ b/meta/recipes-devtools/cmake/cmake_3.31.6.bb
@@ -5,6 +5,7 @@ inherit cmake bash-completion
DEPENDS += "curl expat zlib libarchive xz ncurses bzip2"
SRC_URI:append:class-nativesdk = " \
+ file://0001-ctest-Allow-arbitrary-characters-in-test-names-of-CT.patch \
file://OEToolchainConfig.cmake \
file://SDKToolchainConfig.cmake.template \
file://cmake-setup.py \
--
2.43.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [OE-core][walnascar 0/7] Patch review
@ 2025-09-23 14:38 Steve Sakoman
0 siblings, 0 replies; 9+ messages in thread
From: Steve Sakoman @ 2025-09-23 14:38 UTC (permalink / raw)
To: openembedded-core
Please review this set of changes for walnascar and have comments back by
end of day Thursday, September 25
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/2423
The following changes since commit 3d161e94ad532f660d4a0259a32e26a32ea0c75d:
buildtools-tarball: fix unbound variable issues under 'set -u' (2025-09-17 09:51:15 -0700)
are available in the Git repository at:
https://git.openembedded.org/openembedded-core-contrib stable/walnascar-nut
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/walnascar-nut
Archana Polampalli (1):
ffmpeg: upgrade 7.1.1 -> 7.1.2
Bruce Ashfield (2):
linux-yocto/6.12: update to v6.12.47
linux-yocto/6.12: update CVE exclusions (6.12.47)
Martin Jansa (2):
sanity.conf: Update minimum bitbake version to 2.12.1
lib/oe/utils: use multiprocessing from bb
Ross Burton (1):
grub2: fix CVE-2024-56738
Yi Zhao (1):
python3-setuptools: restore build_scripts.executable support
meta/conf/sanity.conf | 2 +-
meta/lib/oe/utils.py | 3 +-
.../grub/files/CVE-2024-56738.patch | 74 ++++
meta/recipes-bsp/grub/grub2.inc | 1 +
...l-request-pypa-distutils-332-from-py.patch | 63 +++
...or-special-executable-under-a-Python.patch | 59 +++
.../python/python3-setuptools_76.0.0.bb | 2 +
.../linux/cve-exclusion_6.12.inc | 396 +++++++++++++++++-
.../linux/linux-yocto-rt_6.12.bb | 6 +-
.../linux/linux-yocto-tiny_6.12.bb | 6 +-
meta/recipes-kernel/linux/linux-yocto_6.12.bb | 28 +-
.../{ffmpeg_7.1.1.bb => ffmpeg_7.1.2.bb} | 2 +-
12 files changed, 600 insertions(+), 42 deletions(-)
create mode 100644 meta/recipes-bsp/grub/files/CVE-2024-56738.patch
create mode 100644 meta/recipes-devtools/python/python3-setuptools/0001-Revert-Merge-pull-request-pypa-distutils-332-from-py.patch
create mode 100644 meta/recipes-devtools/python/python3-setuptools/0002-Remove-support-for-special-executable-under-a-Python.patch
rename meta/recipes-multimedia/ffmpeg/{ffmpeg_7.1.1.bb => ffmpeg_7.1.2.bb} (99%)
--
2.43.0
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2025-09-23 14:39 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-21 14:23 [OE-core][walnascar 0/7] Patch review Steve Sakoman
2025-06-21 14:23 ` [OE-core][walnascar 1/7] go: set status of CVE-2024-3566 Steve Sakoman
2025-06-21 14:23 ` [OE-core][walnascar 2/7] glibc: stable 2.41 branch updates Steve Sakoman
2025-06-21 14:23 ` [OE-core][walnascar 3/7] bind: upgrade 9.20.6 -> 9.20.7 Steve Sakoman
2025-06-21 14:23 ` [OE-core][walnascar 4/7] bind: upgrade 9.20.7 -> 9.20.8 Steve Sakoman
2025-06-21 14:23 ` [OE-core][walnascar 5/7] bind: upgrade 9.20.8 -> 9.20.9 Steve Sakoman
2025-06-21 14:23 ` [OE-core][walnascar 6/7] ghostscript: upgrade 10.05.0 -> 10.05.1 Steve Sakoman
2025-06-21 14:23 ` [OE-core][walnascar 7/7] cmake: Correctly handle cost data of tests with arbitrary chars in name Steve Sakoman
-- strict thread matches above, loose matches on Subject: below --
2025-09-23 14:38 [OE-core][walnascar 0/7] Patch review Steve Sakoman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.