Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v5 0/7] cmake: Major version bump to 4.0.3
@ 2025-07-03 13:27 Moritz Haase
  2025-07-03 13:27 ` [PATCH v5 1/7] libcomps: Backport patch to support builds with CMake 4+ Moritz Haase
                   ` (7 more replies)
  0 siblings, 8 replies; 25+ messages in thread
From: Moritz Haase @ 2025-07-03 13:27 UTC (permalink / raw)
  To: openembedded-core
  Cc: Moritz Haase, alex.kanavin, quentin.schulz, antonin.godard,
	Peter.Marko

This patch series bumps CMake to 4.0.3, the most current of the 4.x releases.
That bump allows us to drop all of the upstreamable patches for CMake itself
that we currently carry, which was the motivation for the update as suggested by
Alex Kanavin in [0].

A number of components require (minor) patches to build with the new CMake
version. In most cases, those are backports of commits that haven't made it into
an upstream release yet.

The bump depends on this patches, but not vice-versa (since we are already on
CMake 3.31). Thus, if desired, it would be possible to pull the 'Allow builds
with CMake 4+' patches in in advance of the actual bump.

changes in v5:
- Fix for oe_selftest failure in 'DevtoolAddTests.test_devtool_add_library'
- Updated patch for musl-locales based on upstream feedback

changes in v4:
- Fixed broken patch formatting.

changes in v3:

- Updated patch series description.
- Added four additional commits with patches for build failures seen on
  Autobuilder. Those should be all be fixed now, apart from the one in
  meta-virt (yajl-2.1.0), which I don't have set up locally.
- Fix for test failure seen in SDK tests.

changes in v2:

- Re-ordered / squashed commits to keep bisectability (see [3], [4])
- Fixed patchtest findings

[0]: https://lists.openembedded.org/g/openembedded-core/message/219113
[1]: https://git.openembedded.org/openembedded-core/commit/?id=c3efca7495889f3682225af8c9e01ceb094b1bb7
[2]: https://git.openembedded.org/openembedded-core/commit/?id=cb5234acdab200bd43b89416d8d7e9df91af58cc
[3]: https://lists.openembedded.org/g/openembedded-core/message/219403
[4]: https://lists.openembedded.org/g/openembedded-core/message/219425

CC: alex.kanavin@gmail.com
CC: quentin.schulz@cherry.de
CC: antonin.godard@bootlin.com
CC: Peter.Marko@siemens.com

Moritz Haase (7):
  libcomps: Backport patch to support builds with CMake 4+
  createrepo-c: Backport patches to support builds with CMake 4+
  apt: Backport patch to support builds with CMake 4+
  libubootenv: Backport patch to support builds with CMake 4+
  musl-locales: Add patch to support builds with CMake 4+
  libwpe: Add patch to support builds with CMake 4+
  cmake: upgrade 3.31.6 -> 4.0.3

 .../sdkext/files/myapp_cmake/CMakeLists.txt   |   2 +-
 meta/lib/oeqa/selftest/cases/devtool.py       |  10 +-
 ...Update-cmake_minimum_required-to-3.5.patch |  50 ++++
 meta/recipes-bsp/u-boot/libubootenv_0.3.6.bb  |   4 +-
 ...red-CMake-version-to-3.5-to-allow-bu.patch |  41 ++++
 meta/recipes-core/musl/musl-locales_git.bb    |   4 +-
 ...mum_required-to-3.13-to-avoid-warnin.patch |  47 ++++
 meta/recipes-devtools/apt/apt_2.6.1.bb        |   1 +
 ...native_3.31.6.bb => cmake-native_4.0.3.bb} |   6 +-
 meta/recipes-devtools/cmake/cmake.inc         |   8 +-
 ...mpilerABI-Strip-pipe-from-compile-fl.patch |  63 -----
 ...xt2fs-ext2_fs.h-by-cmake-s-internal.patch} |   4 +-
 ...ng-undocumented-type-for-CURLOPT_NET.patch |  30 ---
 ...trary-characters-in-test-names-of-CT.patch | 202 ----------------
 ...-CMakeLists.txt-disable-USE_NGHTTP2.patch} |   6 +-
 .../cmake/{cmake_3.31.6.bb => cmake_4.0.3.bb} |   1 -
 .../0001-Fix-libname-of-Libs.private.patch    |  22 ++
 ...ED_TARGET-for-3rd-party-dependencies.patch | 226 ++++++++++++++++++
 ...-imported-targets-of-turned-off-depe.patch |  53 ++++
 ...ds-without-Doxygen-being-present-wit.patch |  50 ++++
 .../createrepo-c/createrepo-c_1.2.1.bb        |   4 +
 ...libcomps-Support-builds-with-CMake-4.patch | 132 ++++++++++
 .../libcomps/libcomps_0.1.21.bb               |   1 +
 ...red-CMake-version-to-3.5-to-allow-bu.patch |  38 +++
 meta/recipes-sato/webkit/libwpe_1.16.2.bb     |   6 +-
 25 files changed, 695 insertions(+), 316 deletions(-)
 create mode 100644 meta/recipes-bsp/u-boot/libubootenv/0001-Update-cmake_minimum_required-to-3.5.patch
 create mode 100644 meta/recipes-core/musl/musl-locales/0001-cmake-Bump-required-CMake-version-to-3.5-to-allow-bu.patch
 create mode 100644 meta/recipes-devtools/apt/apt/0001-Raise-cmake_minimum_required-to-3.13-to-avoid-warnin.patch
 rename meta/recipes-devtools/cmake/{cmake-native_3.31.6.bb => cmake-native_4.0.3.bb} (90%)
 delete mode 100644 meta/recipes-devtools/cmake/cmake/0001-CMakeDetermineCompilerABI-Strip-pipe-from-compile-fl.patch
 rename meta/recipes-devtools/cmake/cmake/{0005-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal-.patch => 0001-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal.patch} (90%)
 delete mode 100644 meta/recipes-devtools/cmake/cmake/0001-cmCurl-Avoid-using-undocumented-type-for-CURLOPT_NET.patch
 delete mode 100644 meta/recipes-devtools/cmake/cmake/0001-ctest-Allow-arbitrary-characters-in-test-names-of-CT.patch
 rename meta/recipes-devtools/cmake/cmake/{0001-CMakeLists.txt-disable-USE_NGHTTP2.patch => 0002-CMakeLists.txt-disable-USE_NGHTTP2.patch} (83%)
 rename meta/recipes-devtools/cmake/{cmake_3.31.6.bb => cmake_4.0.3.bb} (96%)
 create mode 100644 meta/recipes-devtools/createrepo-c/createrepo-c/0001-Fix-libname-of-Libs.private.patch
 create mode 100644 meta/recipes-devtools/createrepo-c/createrepo-c/0002-Use-IMPORTED_TARGET-for-3rd-party-dependencies.patch
 create mode 100644 meta/recipes-devtools/createrepo-c/createrepo-c/0003-Don-t-try-to-use-imported-targets-of-turned-off-depe.patch
 create mode 100644 meta/recipes-devtools/createrepo-c/createrepo-c/0004-cmake-Allow-builds-without-Doxygen-being-present-wit.patch
 create mode 100644 meta/recipes-devtools/libcomps/libcomps/0001-libcomps-Support-builds-with-CMake-4.patch
 create mode 100644 meta/recipes-sato/webkit/libwpe/0001-cmake-Bump-required-CMake-version-to-3.5-to-allow-bu.patch



^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2025-07-14 17:53 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-03 13:27 [PATCH v5 0/7] cmake: Major version bump to 4.0.3 Moritz Haase
2025-07-03 13:27 ` [PATCH v5 1/7] libcomps: Backport patch to support builds with CMake 4+ Moritz Haase
2025-07-03 13:27 ` [PATCH v5 2/7] createrepo-c: Backport patches " Moritz Haase
2025-07-03 13:27 ` [PATCH v5 3/7] apt: Backport patch " Moritz Haase
2025-07-03 13:27 ` [PATCH v5 4/7] libubootenv: " Moritz Haase
2025-07-03 13:27 ` [PATCH v5] musl-locales: Add " Moritz Haase
2025-07-03 13:27 ` [PATCH v5 6/7] libwpe: " Moritz Haase
2025-07-03 13:27 ` [PATCH v5 7/7] cmake: upgrade 3.31.6 -> 4.0.3 Moritz Haase
2025-07-03 13:49   ` Patchtest results for " patchtest
2025-07-04 10:42     ` Haase Moritz, JD-62
2025-07-07 16:53 ` [OE-core] [PATCH v5 0/7] cmake: Major version bump to 4.0.3 Khem Raj
2025-07-07 17:55   ` Alper Ak
2025-07-08  5:45   ` [OE-core] " Haase Moritz, JD-62
2025-07-08  6:08     ` Khem Raj
2025-07-08 13:13     ` Alper Ak
2025-07-10  6:34       ` [OE-core] " Haase Moritz, JD-62
2025-07-10 17:40         ` Khem Raj
2025-07-10 19:10           ` Alper Ak
2025-07-11  2:10             ` Khem Raj
2025-07-11 10:25               ` Haase Moritz, JD-62
2025-07-12 16:22                 ` Khem Raj
2025-07-13  5:45                   ` Khem Raj
2025-07-14  5:02                     ` Khem Raj
2025-07-14 12:16                       ` Haase Moritz, JD-62
2025-07-14 17:53                         ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox