- Package:
- src:ros-cmake-modules
- Source:
- src:ros-cmake-modules
- Submitter:
- Date:
- 2025-09-04 18:01:00 UTC
- Severity:
- normal
- Tags:
Dear maintainer,
During a test rebuild for CMake 4, ros-cmake-modules failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
debian/rules clean
dh clean --buildsystem=ros
dh_auto_clean -O--buildsystem=ros
dh_auto_clean --sourcedir=. --builddir=obj-aarch64-linux-gnu/cmake_modules --buildsystem=cmake --
dh_autoreconf_clean -O--buildsystem=ros
dh_clean -O--buildsystem=ros
debian/rules binary
dh binary --buildsystem=ros
dh_update_autotools_config -O--buildsystem=ros
dh_autoreconf -O--buildsystem=ros
dh_auto_configure -O--buildsystem=ros
dh_auto_build -O--buildsystem=ros
dh_auto_test -O--buildsystem=ros
create-stamp debian/debhelper-build-stamp
dh_testroot -O--buildsystem=ros
dh_prep -O--buildsystem=ros
dh_auto_install --destdir=debian/ros-cmake-modules/ -O--buildsystem=ros
#############################################################################
## Detected ROS packages (in build order): ##
## ##
## - cmake_modules [catkin] ##
#############################################################################
=============================================================================
= ROS Package cmake_modules =
=============================================================================
dh_auto_configure --sourcedir=. --builddir=obj-aarch64-linux-gnu/cmake_modules --buildsystem=cmake -- --no-warn-unused-cli -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DCATKIN_BUILD_BINARY_PACKAGE=ON -DCATKIN_DEVEL_PREFIX=/build/reproducible-path/ros-cmake-modules-0.5.2/obj-aarch64-linux-gnu/_devel -DCATKIN_TEST_RESULTS_DIR=/build/reproducible-path/ros-cmake-modules-0.5.2/obj-aarch64-linux-gnu/cmake_modules/test_results
cd obj-aarch64-linux-gnu/cmake_modules && PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/aarch64-linux-gnu --no-warn-unused-cli -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DCATKIN_BUILD_BINARY_PACKAGE=ON -DCATKIN_DEVEL_PREFIX=/build/reproducible-path/ros-cmake-modules-0.5.2/obj-aarch64-linux-gnu/_devel -DCATKIN_TEST_RESULTS_DIR=/build/reproducible-path/ros-cmake-modules-0.5.2/obj-aarch64-linux-gnu/cmake_modules/test_results ../..
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/2410395/
The most likely cause of build failures is the removed backwards compatibility for
CMake versions earlier than 3.5. You can find additional information in my
debian-devel announcement:
https://lists.debian.org/debian-devel/2025/04/msg00310.html
About the archive rebuild: The build was made on debusine.debian.net,
using sbuild.
You can find the build task here:
https://debusine.debian.net/work-request/154767/
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks,
Timo
I have downgraded the bug to non-RC severity temporarily and reverted CMake in unstable to version 3.31.6. I plan to re-upgrade in about a month's time. I realize that despite my April announcement, the upload to unstable came rather surprising, and I don't want to cause unnecessary pain. Also, the build log URL has an unfortunate mistake. The correct URL should include the workspace, i.e., https://debusine.debian.net/debian/developers/artifact/XXXX CMake 4 will also be available in experimental again, so it can be used to verify that the bug is fixed. Cheers Timo
Hello, Bug #1113474 in ros-cmake-modules reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/science-team/ros-cmake-modules/-/commit/9934a916b10364d62986c28b6968c22867d69c51 ------------------------------------------------------------------------ Bump cmake_minimum_required() Closes: #1113474 ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1113474
We believe that the bug you reported is fixed in the latest version of ros-cmake-modules, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1113474@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Timo Röhling <roehling@debian.org> (supplier of updated ros-cmake-modules package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Thu, 04 Sep 2025 18:27:58 +0200 Source: ros-cmake-modules Architecture: source Version: 0.5.2-2 Distribution: unstable Urgency: medium Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org> Changed-By: Timo Röhling <roehling@debian.org> Closes: 1113474 Changes: ros-cmake-modules (0.5.2-2) unstable; urgency=medium . * Bump cmake_minimum_required() (Closes: #1113474) Checksums-Sha1: 80c56bc88cfd0370232ad93ac66f8885ae43f335 2287 ros-cmake-modules_0.5.2-2.dsc 2921419f226844dae2e7e1e73d417d6d7087d7f8 6484 ros-cmake-modules_0.5.2-2.debian.tar.xz Checksums-Sha256: 1f71d33b104f1307a49d8efe18bfe72ce692d58a829815c9fd96307481ce12ef 2287 ros-cmake-modules_0.5.2-2.dsc 50bcb6ff34d64ac275d99387637b4a7bc38b112b6b6d935b741711932ff942a6 6484 ros-cmake-modules_0.5.2-2.debian.tar.xz Files: 5b6b970f833200a48ccaaa5a7686569f 2287 devel optional ros-cmake-modules_0.5.2-2.dsc 53857411667da96652881be096e0a0d5 6484 devel optional ros-cmake-modules_0.5.2-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEmwPruYMA35fCsSO/zIxr3RQD9MoFAmi5vkMUHHJvZWhsaW5n QGRlYmlhbi5vcmcACgkQzIxr3RQD9MqJaQ//f21K1wMcX/a3dy5gSdySOk3zaqFQ RzqJAIZhoSylPGJPtYdf5SF6p8wZ6ijJq4cNvGeeP7y9N850XpeIuyWyr9TtdzSq s39A10h2poiiG4YThpKgG/P1PmzgrfkCgoLN3K194AnpW+hbD4wryYvci+NLC7nh UFPVG5O8njEBQWq8psbM08HNnZDNM4YpyhJJ1v3uJX22l8TiX2jBtXSLy3WyVR6I Op3HVocf8/vOW2SB7u09goSOKgsiBIF14YuphK45ynt7e9/urfQAgvCDqQhsRzjj eY4vIETWfvrEvr5HthQwO9waDKXNnk66qclZpZYNFTfU5TVrN3vyroCIOX/dsEU/ TJw9of/iyvGXUHvXoj+8DcVoif1kJLXpOeRwMCZlFigJZMJAmoqBkUHHEdQD+Nyp XOxy0bW8nnP3UIQGRleyRo0zIF64eef+mH7I9NuqtSSpZ5eFOTi1PRCiaeKusSOb 4jLDbq3yMLMl++Hu/N73WxWvFOohQ7x+xyEnVeUAT+NHeNpWF8Rc9XHhvI3s8bgW WGeWDESZn15NXCkDRLvpnNuloH0IXw3n2YMlBeocJqgNW0FVhIYuK+2lnmZYTmvW 9BTS3a1HK6umMoVymoWbUKNyVblzdTHyWVRUsdmJWP6xSgOs84haIZ0HJbhKYpq9 zyGrbZOW7c1bv18= =KDlt -----END PGP SIGNATURE-----