Bug#1125761: ros-robot-state-publisher FTBFS with CMake 4

Adrian Bunk bunk at debian.org
Sat Jan 17 00:54:12 GMT 2026


Source: ros-robot-state-publisher
Version: 1.15.2-5
Severity: serious
Tags: ftbfs forky sid
Forwarded: https://github.com/ros/robot_state_publisher/commit/4988ec4dbf413c6ec2518991d96254f4869ed954
X-Debbugs-Cc: Timo Röhling <roehling at debian.org>

https://buildd.debian.org/status/logs.php?pkg=ros-robot-state-publisher&ver=1.15.2-5%2Bb6

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