Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cmake for openSUSE:Factory checked in at 2026-07-23 23:08:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cmake (Old) and /work/SRC/openSUSE:Factory/.cmake.new.2004 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cmake" Thu Jul 23 23:08:11 2026 rev:276 rq:1367039 version:4.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/cmake/cmake.changes 2026-06-23 17:35:14.802526750 +0200 +++ /work/SRC/openSUSE:Factory/.cmake.new.2004/cmake.changes 2026-07-23 23:08:12.251787153 +0200 @@ -1,0 +2,13 @@ +Tue Jul 21 18:18:47 UTC 2026 - Christoph G <[email protected]> + +- Include upstream patch cmake-4.4.0-meson-compatibility.patch for + compatibility with Meson + +------------------------------------------------------------------- +Thu Jun 18 15:21:12 UTC 2026 - Christoph G <[email protected]> + +- update to CMake 4.4.0 + Changelog https://cmake.org/cmake/help/latest/release/4.4.html +- Drop cmake-fix-ruby-test.patch which is part of upstream + +------------------------------------------------------------------- Old: ---- cmake-4.3.4-SHA-256.txt cmake-4.3.4-SHA-256.txt.asc cmake-4.3.4.tar.gz cmake-fix-ruby-test.patch New: ---- cmake-4.4.0-SHA-256.txt cmake-4.4.0-SHA-256.txt.asc cmake-4.4.0-meson-compatibility.patch cmake-4.4.0.tar.gz ----------(Old B)---------- Old: Changelog https://cmake.org/cmake/help/latest/release/4.4.html - Drop cmake-fix-ruby-test.patch which is part of upstream ----------(Old E)---------- ----------(New B)---------- New: - Include upstream patch cmake-4.4.0-meson-compatibility.patch for compatibility with Meson ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cmake.spec ++++++ --- /var/tmp/diff_new_pack.MF2np6/_old 2026-07-23 23:08:13.995848033 +0200 +++ /var/tmp/diff_new_pack.MF2np6/_new 2026-07-23 23:08:13.999848172 +0200 @@ -51,7 +51,7 @@ %define pyver 3 %endif Name: cmake%{?psuffix} -Version: 4.3.4 +Version: 4.4.0 Release: 0 Summary: Cross-platform make system License: BSD-3-Clause @@ -70,8 +70,8 @@ Source99: README.SUSE # Search for python interpreters from newest to oldest rather then picking up /usr/bin/python as first choice Patch1: feature-suse-python-interp-search-order.patch -# # PATCH-FIX-UPSTREAM https://gitlab.kitware.com/cmake/cmake/-/merge_requests/12189 -Patch2: cmake-fix-ruby-test.patch +#FIX-UPSTREAM compatibility with meson - cmake-4.4.0-meson-compatibility.patch +Patch2: cmake-4.4.0-meson-compatibility.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: pkgconfig ++++++ cmake-4.3.4-SHA-256.txt -> cmake-4.4.0-SHA-256.txt ++++++ --- /work/SRC/openSUSE:Factory/cmake/cmake-4.3.4-SHA-256.txt 2026-06-23 17:35:13.138468767 +0200 +++ /work/SRC/openSUSE:Factory/.cmake.new.2004/cmake-4.4.0-SHA-256.txt 2026-07-23 23:08:11.971777378 +0200 @@ -1,21 +1,21 @@ -179bb72c76c66c5743a33bc20313e8f1ad105c0908f4c549e12ce16ebbd038a8 cmake-4.3.4-files-v1.json -23a9c12b49692b207c1abdc9d03a22a3ed9a35e650020173ed6634574d1c0dce cmake-4.3.4-linux-aarch64.sh -56a8014a8f28b8ff9cbe2c6fa8beebc028ac5b1987195d122b847fb486dc5282 cmake-4.3.4-linux-aarch64.tar.gz -b0b61ae426a0d1130642a3287eb5c7f5ef6f88966fd42e2aed9656ec69d42415 cmake-4.3.4-linux-x86_64.sh -ca6f08ccbd5e6b0a9068d33317d0d1aff7278d08cccaed4529b8fbead7942a68 cmake-4.3.4-linux-x86_64.tar.gz -2aacd32eaaca88e2edcb29a892ff3d34db3f93ac09d9751aebef38e9ac80dd69 cmake-4.3.4-macos-universal.dmg -bf6647c78ac295c54dbe0a094d4428f495be93c1f810fd8bde57374e8b548523 cmake-4.3.4-macos-universal.tar.gz -a61a06d841c4cbecb819f11d6dcbfd21e0878ba20990d29f1acdb7360b30bc1d cmake-4.3.4-macos10.10-universal.dmg -fd891a2cd1c13a9678d5128523dad4c951f2e364c0e4b0e77f393c7ebb532dc0 cmake-4.3.4-macos10.10-universal.tar.gz -c2aaf0fa32927eb4eeb343519903b63245dc0a9cdd19deb6813bbeb4aca23ac7 cmake-4.3.4-sunos-sparc64.sh -62358e2a541863d4c921a3c17384d7f59e9ba1996e0136f7577c0e1390c82348 cmake-4.3.4-sunos-sparc64.tar.gz -d0e9e3c3c8be64df2a64ff9fbd747146197212c51696af96839122b5cc987cd2 cmake-4.3.4-sunos-x86_64.sh -3c458c9c692ef8588bc110909078c2f5cb0508ed3ecb41fcaa249084630fa252 cmake-4.3.4-sunos-x86_64.tar.gz -91a70d399778bf510790462edf112dccb3e5dcacf763ef392ebfc5b251a5589f cmake-4.3.4-windows-arm64.msi -91a59ca6ffbcec18e1fb05431fa22f538ab615b6e525d1bfd0b8dd67a4d45685 cmake-4.3.4-windows-arm64.zip -370b81c753916d89eda85e63590e72124569b661b0f47bb1bad53a3834800592 cmake-4.3.4-windows-i386.msi -d41f361d4f06e4eac4ad6220109155b7af9ae114229a6102c58d96e1a9590e36 cmake-4.3.4-windows-i386.zip -6f54ab92a19bf7d6695a40f3a774a8d1a54e90730c726fad8afb44544db892da cmake-4.3.4-windows-x86_64.msi -86e5fcafb38bdf58346a78b187c7b6b4f252ae5242cffe24c463a92bbd2e77d1 cmake-4.3.4-windows-x86_64.zip -fdeff897b9eb49d764539f2b1edc6eb7e1440df325678a97c1978499e931adda cmake-4.3.4.tar.gz -772aecd57adb96b480e50b3e1538ec35b0738845515b15b917bd8377f6b8199d cmake-4.3.4.zip +9ce55028a74bf65384d5aad97345f5d52ddd5906cc58ca4f6d19d2bda4359176 cmake-4.4.0-files-v1.json +9668922a215e89d04e7f82ceccc6e433358eb25f9cf24e6eb325b1db99b1b2db cmake-4.4.0-linux-aarch64.sh +e98bb53e0b00a8f672424517d34c05bb9b94fd1c888c89e0b81bc8df51d1a94b cmake-4.4.0-linux-aarch64.tar.gz +6e7cdca8b054a3f6a5adcb1fa012e591e4c669bd744a009788681575aac96f50 cmake-4.4.0-linux-x86_64.sh +3864eb649b4466ae126a64bbde1657adad78efbbaa068bf38201de5cf1b5349f cmake-4.4.0-linux-x86_64.tar.gz +86f4f074e21d3475ee52f706c13b4adc586a0d833c1a5df81ef5bc5b66c07801 cmake-4.4.0-macos-universal.dmg +09d6382059aa1b986b25fd1809459f5eb3da6a1ab342d44d6084265f38541397 cmake-4.4.0-macos-universal.tar.gz +cfd811dac6a5530aeb91a35aeb3e8b820189b7bbaebe535b79dbf18a541ea0b5 cmake-4.4.0-macos10.10-universal.dmg +8832966c824f913a9536d47a6cf673c4e5b69303a9d014859238f95c3fdaca1b cmake-4.4.0-macos10.10-universal.tar.gz +cf255885d72b6f0dc842398fdc0af7fab6bdeafcfe6665b426915c6ad5ccb10c cmake-4.4.0-sunos-sparc64.sh +f87bab41ebdc9c61704ebb14686cf1e42c89fca0e19090ca3640061758633507 cmake-4.4.0-sunos-sparc64.tar.gz +81400a022d21144c29c2bdb2d541328f79a630ffe9a9c41ed9794f3144be95de cmake-4.4.0-sunos-x86_64.sh +3628f9f720a8b429204d24d12a6be8951422c31fe88010b160e4fbe058454acd cmake-4.4.0-sunos-x86_64.tar.gz +47996e7e91026c21488ad7170246dd9fa36e45b605bd74927a9915e59795d534 cmake-4.4.0-windows-arm64.msi +57437e918b2929bbd25b8d427611120149df02d4b216872e0f48f361f03d71e5 cmake-4.4.0-windows-arm64.zip +786a25282a466c384e45d4d974ccd8d0528cd3cb70f1858bf7510266b095f2bb cmake-4.4.0-windows-i386.msi +1b2a35dfd18adb5eb0ccfe3d3a1e756a198f06981f9cd52dd44735615044d0f7 cmake-4.4.0-windows-i386.zip +82db53fcb8f38be541a26093489f39d5ed79b71b53cd121fc32a022a6bf310b1 cmake-4.4.0-windows-x86_64.msi +156d70eb7625a7b469444df7d0861d2af8d5d0a437fce32c350372b08f5620e8 cmake-4.4.0-windows-x86_64.zip +65757f442fdd242e27f1728fc26dc0cba4164f7a0791a5c788631c00080369bc cmake-4.4.0.tar.gz +47b8292123d589aab3b54ac39af6fd7aba2c996ed07959f5b3b3995b233c43ec cmake-4.4.0.zip ++++++ cmake-4.4.0-meson-compatibility.patch ++++++ >From 39cc425791394dd8c48e132fb8789ccea8249500 Mon Sep 17 00:00:00 2001 From: Brad King <[email protected]> Date: Mon, 20 Jul 2026 14:17:22 -0400 Subject: [PATCH] try_compile: Restore toleration of toolchain file setting internal variable Prior to commit 243462fafe (try_compile: Tolerate compile features from non-enabled languages, 2026-05-18, v4.4.0-rc1~84^2) we accidentally tolerated toolchain files setting `CMAKE_<LANG>_COMPILER_LOADED`. Meson accidentally relied on this, so restore toleration of it. Fixes: #27971 --- Source/cmGlobalGenerator.cxx | 7 +++++-- Tests/RunCMake/ToolchainFile/RunCMakeTest.cmake | 1 + .../ToolchainFile/SetCompilerLoaded-toolchain.cmake | 1 + Tests/RunCMake/ToolchainFile/SetCompilerLoaded.cmake | 5 +++++ 4 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 Tests/RunCMake/ToolchainFile/SetCompilerLoaded-toolchain.cmake create mode 100644 Tests/RunCMake/ToolchainFile/SetCompilerLoaded.cmake diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index cb2f82171c..13cee3e560 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -850,8 +850,11 @@ void cmGlobalGenerator::EnableLanguage( this->SetLanguageEnabled("NONE", mf); continue; } - std::string loadedLang = cmStrCat("CMAKE_", lang, "_COMPILER_LOADED"); - if (!mf->GetDefinition(loadedLang)) { + // Compiler information may have already been detected and saved. + // Load it if we have not enabled the language anywhere yet, or + // if we have not loaded compiler information in this directory. + if (!this->GetLanguageEnabled(lang) || + !mf->GetDefinition(cmStrCat("CMAKE_", lang, "_COMPILER_LOADED"))) { fpath = cmStrCat(rootBin, "/CMake", lang, "Compiler.cmake"); // If the existing build tree was already configured with this diff --git a/Tests/RunCMake/ToolchainFile/RunCMakeTest.cmake b/Tests/RunCMake/ToolchainFile/RunCMakeTest.cmake index b588ce03d1..5105e7afa9 100644 --- a/Tests/RunCMake/ToolchainFile/RunCMakeTest.cmake +++ b/Tests/RunCMake/ToolchainFile/RunCMakeTest.cmake @@ -14,6 +14,7 @@ run_cmake_toolchain(LinkFlagsInit) run_cmake_toolchain(CMP0126-NEW) run_cmake_toolchain(CMP0126-OLD) run_cmake_toolchain(CMP0126-WARN) +run_cmake_toolchain(SetCompilerLoaded) run_cmake_toolchain(SetCrossCompiling) function(run_IncludeDirectories) diff --git a/Tests/RunCMake/ToolchainFile/SetCompilerLoaded-toolchain.cmake b/Tests/RunCMake/ToolchainFile/SetCompilerLoaded-toolchain.cmake new file mode 100644 index 0000000000..b127236eaa --- /dev/null +++ b/Tests/RunCMake/ToolchainFile/SetCompilerLoaded-toolchain.cmake @@ -0,0 +1 @@ +set(CMAKE_C_COMPILER_LOADED 1) diff --git a/Tests/RunCMake/ToolchainFile/SetCompilerLoaded.cmake b/Tests/RunCMake/ToolchainFile/SetCompilerLoaded.cmake new file mode 100644 index 0000000000..e731cbc29e --- /dev/null +++ b/Tests/RunCMake/ToolchainFile/SetCompilerLoaded.cmake @@ -0,0 +1,5 @@ +enable_language(C) +try_compile(SHOULD_PASS SOURCE_FROM_CONTENT "main.c" "int main(void) { return 0; }") +if(NOT SHOULD_PASS) + message(FATAL_ERROR "try_compile failed but should have passed!") +endif() -- GitLab ++++++ cmake-4.3.4.tar.gz -> cmake-4.4.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/cmake/cmake-4.3.4.tar.gz /work/SRC/openSUSE:Factory/.cmake.new.2004/cmake-4.4.0.tar.gz differ: char 13, line 1
