Bug#1125763: ros-laser-geometry FTBFS with CMake 4

Adrian Bunk bunk at debian.org
Sat Jan 17 02:39:13 GMT 2026


Source: ros-laser-geometry
Version: 1.6.7-5
Severity: serious
Tags: ftbfs patch forky sid
Forwarded: https://github.com/ros-perception/laser_geometry/commit/d39ce225c9e6706043638f8e768d6627fd879643
X-Debbugs-Cc: Timo Röhling <roehling at debian.org>

https://buildd.debian.org/status/fetch.php?pkg=ros-laser-geometry&arch=amd64&ver=1.6.7-5%2Bb3&stamp=1768615051&raw=0

...
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.


-- Configuring incomplete, errors occurred!
...


Increasing cmake_minimum_required in CMakeLists.txt to 3.5 fixes
the build.


More information about the debian-science-maintainers mailing list