[Pkg-sugar-devel] Bug#1113539: squeak-vm: FTBFS with CMake 4
roehling at debian.org
roehling at debian.org
Mon Sep 1 00:05:17 BST 2025
Source: squeak-vm
Version: 1:4.10.2.2614+20120917~dfsg-2
Severity: serious
User: cmake at packages.debian.org
Usertags: cmake-4
Tags: ftbfs, forky, sid
Dear maintainer,
During a test rebuild for CMake 4, squeak-vm failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
touch debian/stamp-upstream-cruft
set -e; mv ./platforms/unix/cmake/config.guess ./platforms/unix/cmake/config.guess.cdbs-orig; cp --remove-destination /usr/share/misc/config.guess ./platforms/unix/cmake/config.guess;
set -e; mv ./platforms/unix/cmake/config.sub ./platforms/unix/cmake/config.sub.cdbs-orig; cp --remove-destination /usr/share/misc/config.sub ./platforms/unix/cmake/config.sub;
cd build-tree && cmake /build/reproducible-path/squeak-vm-4.10.2.2614+20120917~dfsg/platforms/unix -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_C_COMPILER:FILEPATH="cc" -DCMAKE_CXX_COMPILER:FILEPATH="g++" -DCMAKE_C_FLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/squeak-vm-4.10.2.2614+20120917~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fno-caller-saves -fno-strict-overflow -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2" -DCMAKE_CXX_FLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/squeak-vm-4.10.2.2614+20120917~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2" -DCMAKE_SKIP_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_EXE_LINKER_FLAGS="-Wl,-z,relro" -DCMAKE_MODULE_LINKER_FLAGS="-Wl,-z,relro" -DCMAKE_SHARED_LINKER_FLAGS="-Wl,-z,relro" -DVM_HOST=aarch64-unknown-linux-gnu -DVM_VERSION=- -DPLATFORM_SOURCE_VERSION= -DOPT--prefix=/usr -DOPT--without-RomePlugin=1 -DOPT--without-Mpeg3Plugin=1 -DOPT--with-npsqueak=1
CMake Warning (dev) at CMakeLists.txt:5 (PROJECT):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
-- The C compiler identification is GNU 14.3.0
-- The CXX compiler identification is GNU 14.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:7 (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!
make: *** [/usr/share/cdbs/1/class/cmake.mk:75: obj-aarch64-linux-gnu/CMakeCache.txt] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-30T21:10:27Z
-------------------------------------------------------------------------------
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/2411756/
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/154933/
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
More information about the pkg-sugar-devel
mailing list