similarity index 86%
rename from meta/recipes-devtools/cmake/cmake-native_4.1.1.bb
rename to meta/recipes-devtools/cmake/cmake-native_4.1.2.bb
@@ -3,11 +3,12 @@ inherit native
DEPENDS += "bzip2-replacement-native xz-native zlib-native ncurses-native zstd-native openssl-native"
-SRC_URI += "file://OEToolchainConfig.cmake \
- file://environment.d-cmake.sh \
- file://0001-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal.patch \
- file://0002-CMakeLists.txt-disable-USE_NGHTTP2.patch \
- "
+SRC_URI += "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \
+ file://OEToolchainConfig.cmake \
+ file://environment.d-cmake.sh \
+ file://0001-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal.patch \
+ file://0002-CMakeLists.txt-disable-USE_NGHTTP2.patch \
+ "
LICENSE:append = " & BSD-1-Clause & MIT & BSD-2-Clause & curl"
LIC_FILES_CHKSUM:append = " \
@@ -20,7 +20,7 @@ SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \
file://0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch \
"
-SRC_URI[sha256sum] = "b29f6f19733aa224b7763507a108a427ed48c688e1faf22b29c44e1c30549282"
+SRC_URI[sha256sum] = "643f04182b7ba323ab31f526f785134fb79cba3188a852206ef0473fee282a15"
UPSTREAM_CHECK_REGEX = "cmake-(?P<pver>\d+(\.\d+)+)\.tar"
@@ -1,4 +1,4 @@
-From cf8210696ebbaff14612d845bc98fac447c0e6f5 Mon Sep 17 00:00:00 2001
+From 6ec7e98b4e0217b83d088eebaff321509077a612 Mon Sep 17 00:00:00 2001
From: Otavio Salvador <otavio@ossystems.com.br>
Date: Thu, 5 Jul 2018 10:28:04 -0300
Subject: [PATCH] Disable use of ext2fs/ext2_fs.h by cmake's internal
@@ -18,10 +18,10 @@ Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt
-index 04d986b6ea7d8dc0bd7e909d4e7b4e73c9e35437..014fe78063f7d30c9a4970b7cf3aeeaeb36bcdbc 100644
+index e6ab5de9..913887b5 100644
--- a/Utilities/cmlibarchive/CMakeLists.txt
+++ b/Utilities/cmlibarchive/CMakeLists.txt
-@@ -745,12 +745,8 @@ LA_CHECK_INCLUDE_FILE("copyfile.h" HAVE_COPYFILE_H)
+@@ -720,12 +720,8 @@ LA_CHECK_INCLUDE_FILE("copyfile.h" HAVE_COPYFILE_H)
LA_CHECK_INCLUDE_FILE("direct.h" HAVE_DIRECT_H)
LA_CHECK_INCLUDE_FILE("dlfcn.h" HAVE_DLFCN_H)
LA_CHECK_INCLUDE_FILE("errno.h" HAVE_ERRNO_H)
deleted file mode 100644
@@ -1,35 +0,0 @@
-From c8143074cf3954b1e169904eb9d843cfbe14acc3 Mon Sep 17 00:00:00 2001
-From: Brad King <brad.king@kitware.com>
-Date: Tue, 2 Sep 2025 11:41:10 -0400
-Subject: [PATCH] cmCTestCurl: Avoid using undocumented type for
- CURLOPT_PROXYTYPE values
-
-Since upstream curl commit `1a12663d06` (CURLOPT: bump `CURLPROXY_*`
-enums to `long`, drop casts, 2025-07-28), the `CURLPROXY_*` constants
-are integer literals instead of `enum curl_proxytype`. It turns out
-that `curl_easy_setopt` has always expected a `long` anyway, and that
-`curl_proxytype` is not documented for public use.
-
-Fixes: #27178
-Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
-Upstream-Status: Backport [https://gitlab.kitware.com/cmake/cmake/-/commit/c8143074cf3954b1e169904eb9d843cfbe14acc3]
----
- Source/CTest/cmCTestCurl.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Source/CTest/cmCTestCurl.h b/Source/CTest/cmCTestCurl.h
-index 7836f4b9c7..9113890b5a 100644
---- a/Source/CTest/cmCTestCurl.h
-+++ b/Source/CTest/cmCTestCurl.h
-@@ -52,7 +52,7 @@ private:
- std::vector<std::string> HttpHeaders;
- std::string HTTPProxyAuth;
- std::string HTTPProxy;
-- curl_proxytype HTTPProxyType;
-+ long HTTPProxyType;
- bool UseHttp10 = false;
- bool Quiet = false;
- int TimeOutSeconds = 0;
-2.43.0
-
@@ -1,4 +1,4 @@
-From e0a1996a85dcb43d69d3c7daecab4da74599e5ba Mon Sep 17 00:00:00 2001
+From 5f40532d7d7dd8bc730f7dd367727967ad9edc88 Mon Sep 17 00:00:00 2001
From: Changqing Li <changqing.li@windriver.com>
Date: Wed, 28 Dec 2022 17:51:27 +0800
Subject: [PATCH] CMakeLists.txt: disable USE_NGHTTP2
@@ -22,10 +22,10 @@ Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt
-index 75b510205984894ffa11461e7aa04d3c479709b4..83463042d82d9c7f17932753f47c47b12aeec85b 100644
+index ddc975c2..cf60a43e 100644
--- a/Utilities/cmcurl/CMakeLists.txt
+++ b/Utilities/cmcurl/CMakeLists.txt
-@@ -105,7 +105,7 @@ set(USE_ECH OFF)
+@@ -110,7 +110,7 @@ set(USE_ECH OFF)
set(USE_HTTPSRR OFF)
set(USE_LIBIDN2 ON)
set(USE_LIBRTMP OFF)
Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *cmake-native,cmake* to *4.1.2,4.1.2* has Failed (devtool error). Detailed error information: The following devtool command failed: finish -f cmake /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake NOTE: Reconnecting to bitbake server... Loading cache...done. Loaded 1940 entries from dependency cache. Parsing recipes... Summary: There were 3 ERROR messages, returning a non-zero exit code. ERROR: /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/cmake-native_4.1.2.bb: Unable to get checksum for cmake-native SRC_URI entry 0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch: file could not be found The following paths were searched: /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/cmake-4.1.2/poky/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/cmake/poky/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/files/poky/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/cmake-4.1.2/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/cmake/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/files/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/cmake-4.1.2/x86-64/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/cmake/x86-64/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/files/x86-64/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/cmake-4.1.2/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/cmake/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/files/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch ERROR: /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/cmake_4.1.1.bb: Unable to get checksum for nativesdk-cmake SRC_URI entry 0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch: file could not be found The following paths were searched: /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/cmake-4.1.1/poky/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/cmake/poky/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/files/poky/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/cmake-4.1.1/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/cmake/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/files/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/cmake-4.1.1/x86-64/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/cmake/x86-64/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/files/x86-64/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/cmake-4.1.1/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/cmake/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/cmake/files/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch ERROR: Parsing halted due to errors, see error messages above ERROR: Failed to start bitbake environment Next steps: - apply the patch: git am 0001-cmake-native-cmake-upgrade-4.1.1-4.1.2-4.1.1-4.1.2.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From a2e3ce4f6083f3ede1bce24819a1ee639818030c Mon Sep 17 00:00:00 2001 From: Upgrade Helper <auh@yoctoproject.org> Date: Wed, 1 Oct 2025 05:59:32 +0000 Subject: [PATCH] cmake-native,cmake: upgrade 4.1.1 -> 4.1.2,4.1.1 -> 4.1.2 --- ...-native_4.1.1.bb => cmake-native_4.1.2.bb} | 11 +++--- meta/recipes-devtools/cmake/cmake.inc | 2 +- ...ext2fs-ext2_fs.h-by-cmake-s-internal.patch | 6 ++-- ...d-using-undocumented-type-for-CURLOP.patch | 35 ------------------- ...2-CMakeLists.txt-disable-USE_NGHTTP2.patch | 6 ++-- 5 files changed, 13 insertions(+), 47 deletions(-) rename meta/recipes-devtools/cmake/{cmake-native_4.1.1.bb => cmake-native_4.1.2.bb} (86%) delete mode 100644 meta/recipes-devtools/cmake/cmake/0001-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOP.patch