#1113057 itsol: FTBFS with CMake 4

#1113057#5
Date:
2025-08-31 22:56:24 UTC
From:
To:
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
-------------
Format: 3.0 (quilt)
Source: itsol
Binary: libitsol-dev, libitsol1
Architecture: any
Version: 1.0.0-3
Maintainer: Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Uploaders: Dominique Belhachemi <domibel@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@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.
------------------------------------------------------------------------------- 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
#1113057#12
Date:
2025-09-01 11:51:50 UTC
From:
To:
I have downgraded the bug to non-RC severity temporarily and reverted
CMake in unstable to version 3.31.6. I plan to re-upgrade in about a
month's time. I realize that despite my April announcement, the upload
to unstable came rather surprising, and I don't want to cause
unnecessary pain.

Also, the build log URL has an unfortunate mistake. The correct URL
should include the workspace, i.e.,

https://debusine.debian.net/debian/developers/artifact/XXXX

CMake 4 will also be available in experimental again, so it can be
used to verify that the bug is fixed.

Cheers
Timo

#1113057#17
Date:
2025-09-01 12:34:47 UTC
From:
To:
Dear submitter,

as the package itsol has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1113672

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)