Bug#1125523: forge: autopkgtest failure with CMake 4

Adrian Bunk bunk at debian.org
Thu Jan 15 13:59:38 GMT 2026


Source: forge
Version: 1.0.1-5
Severity: serious
X-Debbugs-Cc: Andreas Tille <tille at debian.org>

https://ci.debian.net/packages/f/forge/testing/amd64/67800441/

...
 42s -- Configuring incomplete, errors occurred!
 42s CMake Error at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
 42s   Compatibility with CMake < 3.5 has been removed from CMake.
 42s 
 42s   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
 42s   to tell CMake that the project requires at least <min> but has been updated
 42s   to work with policies introduced by <max> or earlier.
 42s 
 42s   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
 42s 
 42s 
 42s autopkgtest [03:30:23]: test command1: -----------------------]
 42s command1             FAIL non-zero exit status 1
...



Also patching examples/CMakeLists.txt in cmake.patch fixes it.



More information about the debian-science-maintainers mailing list