Bug#1113057: itsol: FTBFS with CMake 4

roehling at debian.org roehling at debian.org
Sun Aug 31 23:56:24 BST 2025


Source: itsol
Version: 1.0.0-3
Severity: serious
User: cmake at packages.debian.org
Usertags: cmake-4
Tags: ftbfs, forky, sid

Dear maintainer,

During a test rebuild for CMake 4, itsol failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]

+------------------------------------------------------------------------------+
| Build                                        Fri, 29 Aug 2025 22:46:47 +0000 |
+------------------------------------------------------------------------------+


Unpack source
-------------

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 3.0 (quilt)
Source: itsol
Binary: libitsol-dev, libitsol1
Architecture: any
Version: 1.0.0-3
Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
Uploaders: Dominique Belhachemi <domibel at debian.org>
Homepage: http://www-users.cs.umn.edu/~saad/software/ITSOL/
Standards-Version: 4.1.3
Vcs-Browser: https://salsa.debian.org/science-team/itsol.git
Vcs-Git: https://salsa.debian.org/science-team/itsol.git
Build-Depends: debhelper (>= 11), dh-exec, gfortran, liblapack-dev, cmake
Package-List:
 libitsol-dev deb libdevel optional arch=any
 libitsol1 deb libs optional arch=any
Checksums-Sha1:
 34fed82dc695b6fc379e8bdbadca9528a066d1d7 450096 itsol_1.0.0.orig.tar.gz
 a82888afc4552978d3886d10089952456a39b9bc 7608 itsol_1.0.0-3.debian.tar.xz
Checksums-Sha256:
 6fe8e53d8209bd5bfd480a52f6cc77da4094b034de82d0ad548477e4cc9f4fbb 450096 itsol_1.0.0.orig.tar.gz
 ef74b724c5615aa026e8cbd7102aa376779f648827bd52d7163c512567c3942a 7608 itsol_1.0.0-3.debian.tar.xz
Files:
 9d9af9feb5a812c78266b9d3477347bf 450096 itsol_1.0.0.orig.tar.gz
 be0b7fe078fe0c21456d1d863f815aa3 7608 itsol_1.0.0-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCAAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAlpp5UERHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtHcfw//dJiPB2m1F6vIlNdeHiuaIyvnacxZ+8iY
9o+Af8wntfgcf7q/cQUYbc18jOQr+nsEclZnuV5tV3v7MgcBiBbrAF1pDX5L7ybo
19FQUexTgO/4e5BVYxqZlcTXG7MiqZHow23CLLjZ16tTHhMwdscEugXT2+0Ivroi
R2Jb6g4L0mPUbQy8/Ifr9C2HxpX5Hx9DSVfdG3WrwD2vM5qXmhpBZiYR6b/Z+3pS
Mg4sGK5RtZLNB2NDcnwXIbt1sNy5l7GcmnAs+f8fTZDwt9s8MseiD7h4VyMlWYle
CKITzJac9oIc2zWQDe99ZsjKLJI9/5cEzOpGFOYgwsmEi7RPB5ufwfxAzURy4aXT
ML/T91hHUUqx0ElDoJEYAPXSI7yIRDVSSizpFS0KnR2MlFU/BidO6S0TUOgoaw2a
e2EBn0buS2as1d81EtddB4B1biCVK/iAjxnih7xIyhHpyzyUxaLboXBFgonSrBYX
P2Mieoqk6EJQ4E+CunSQKkOXNIb5DNeec0nG8KvnQ5khNJ3GDhEvaupeBm/34z+R
8wmJle67yRX1PzP0WrIQ0NtHpOxwW/SW1xFs1NIs3uvkeZPW52X1AChJ2UtfmBOb
MEWdHjpp/DMJodw5oh1rghXlLtaXYB6tTvI+ZN4NFamSHY8ANrVMbwcjQqhNwah0
uS6V+pyY8eU=
=XRNf
-----END PGP SIGNATURE-----

dpkg-source: warning: cannot verify inline signature for ./itsol_1.0.0-3.dsc: no acceptable signature found
dpkg-source: info: extracting itsol in /build/reproducible-path/itsol-1.0.0
dpkg-source: info: unpacking itsol_1.0.0.orig.tar.gz
dpkg-source: info: unpacking itsol_1.0.0-3.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 20_preprocessor.diff
dpkg-source: info: applying fix_format.patch

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=C.UTF-8
LC_ALL=C.UTF-8
LOGNAME=sbuild
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SHELL=/bin/sh
USER=sbuild

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -b
dpkg-buildpackage: info: source package itsol
dpkg-buildpackage: info: source version 1.0.0-3
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Andreas Tille <tille at debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean
   debian/rules override_dh_clean
make[1]: Entering directory '/build/reproducible-path/itsol-1.0.0'
rm -rf DEB_build_static
rm -rf DEB_build_shared
dh_clean 
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f -- debian/libitsol-dev.substvars debian/libitsol1.substvars debian/files
	rm -fr -- debian/libitsol-dev/ debian/tmp/ debian/libitsol1/
	find .  \( \( \
		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} + \) -o \
		\( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
make[1]: Leaving directory '/build/reproducible-path/itsol-1.0.0'
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/reproducible-path/itsol-1.0.0'
if [ ! -d DEB_build_static ]; then mkdir DEB_build_static; fi
cd DEB_build_static \
            && cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed" -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_TESTING:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=OFF
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!
make[1]: *** [debian/rules:25: override_dh_auto_configure] Error 1
make[1]: Leaving directory '/build/reproducible-path/itsol-1.0.0'
make: *** [debian/rules:21: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-29T22:46:52Z

-------------------------------------------------------------------------------

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/2394267/

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/153191/

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 debian-science-maintainers mailing list