Bug#1113532: sparskit: FTBFS with CMake 4
roehling at debian.org
roehling at debian.org
Mon Sep 1 00:05:09 BST 2025
Source: sparskit
Version: 2.0.0-5
Severity: serious
User: cmake at packages.debian.org
Usertags: cmake-4
Tags: ftbfs, forky, sid
Dear maintainer,
During a test rebuild for CMake 4, sparskit failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
+------------------------------------------------------------------------------+
| Build Sat, 30 Aug 2025 20:51:27 +0000 |
+------------------------------------------------------------------------------+
Unpack source
-------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 3.0 (quilt)
Source: sparskit
Binary: libsparskit2.0, libsparskit-dev
Architecture: any
Version: 2.0.0-5
Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
Uploaders: Dominique Belhachemi <domibel at debian.org>, Étienne Mollier <emollier at debian.org>
Homepage: https://www-users.cs.umn.edu/~saad/software/SPARSKIT/
Standards-Version: 4.6.1
Vcs-Browser: https://salsa.debian.org/science-team/sparskit
Vcs-Git: https://salsa.debian.org/science-team/sparskit.git
Build-Depends: debhelper-compat (= 13), gfortran, cmake, liblapack-dev
Package-List:
libsparskit-dev deb libdevel optional arch=any
libsparskit2.0 deb libs optional arch=any
Checksums-Sha1:
5cf3caea211ee98aeb1e511e28c469d505708b28 1174748 sparskit_2.0.0.orig.tar.gz
806674ac22078f365791c082a652fa81d2d43600 4952 sparskit_2.0.0-5.debian.tar.xz
Checksums-Sha256:
decfa2fa4558161f1507aa0c5abdf5219bc7c4e003efa68bb1ec9590708c7298 1174748 sparskit_2.0.0.orig.tar.gz
1e30635f89aa2a9bee3aa0b923e5ecbc568750bdc32bc3f8eb2f0442f4be490d 4952 sparskit_2.0.0-5.debian.tar.xz
Files:
1ea355bee586b0264a820643330c7ba2 1174748 sparskit_2.0.0.orig.tar.gz
19d60e2858ee3a59cc19b2d0a108de74 4952 sparskit_2.0.0-5.debian.tar.xz
Dgit: e3a39b838c3481667e2b77e3c114627a49254793 debian archive/debian/2.0.0-5 https://git.dgit.debian.org/sparskit
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmLBSZEUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdq3wg//catlPXtzSW37EZ/4k8CP1kkEApMj
/JC5TQC38i2gzQokTdNIuGwZPUgMOqr2E3bb5mrTaC7KTKbgApgrfuKJEcHJHoOY
rAYwnlRdS5sT+psHwJUw6gocLKUva//iebbCZMSBn5KQ9Q1pnBwUydqFuMUTHlOQ
39rwZnIubKR1ULRsTecaQrmf2VPadsEIlIb0VeauU8KXv4ZHXMQmsaCjMcq+xNtu
67Ln/ChODSd0G2y9PzCzUTDgJIdq4awPmqe2sVtH0mhFTyhDNlxXVW9ugDZANwlZ
tzKSAt61TF3WyEyO4GDpXChnvBP4zDy9Ga3mCs7izbKu98+ftx01wGdjy+UVwcsi
A3BiM6UwC5V+6BTO4j/M+fpxl08c+hH63tENH7o6Pn9U/lHYC3A6gENgwRy7kKWb
cXQntVK1gt2GHSU70INZB8qU0kkbvdKSImEhh3w8eaXqhXChmxZ1k2GULdEI8aHE
pK2mvXyyIgUEW/YjteBwl0T4W/54CRbS6CvuYJ5wenOHeK+86ViQShlgDHqX/u84
DVouzKxzo2XtzNkobYVJXxC0CN5zZHw6ePQT/r9XRkHRgROMqW01EXUFOPv3fWF4
trlGPSQ3ltGQmNUF4FZboU2aYelrlOedu/yfIegF1b7AWIk13T+44OFdNTqCGUXY
eYbJN/EBFFZ592k=
=CHl7
-----END PGP SIGNATURE-----
dpkg-source: warning: cannot verify inline signature for ./sparskit_2.0.0-5.dsc: no acceptable signature found
dpkg-source: info: extracting sparskit in /build/reproducible-path/sparskit-2.0.0
dpkg-source: info: unpacking sparskit_2.0.0.orig.tar.gz
dpkg-source: info: unpacking sparskit_2.0.0-5.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 50_all_changes.diff
dpkg-source: info: applying gcc-10.patch
dpkg-source: info: applying spelling.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 sparskit
dpkg-buildpackage: info: source version 2.0.0-5
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Étienne Mollier <emollier at debian.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
debian/rules clean
dh clean
dh_auto_clean
make -j8 clean
make[1]: Entering directory '/build/reproducible-path/sparskit-2.0.0'
cleaning .
cleaning BLASSM
cleaning FORMATS
cleaning INFO
cleaning INOUT
cleaning ITSOL
cleaning MATGEN/FDIF
cleaning MATGEN/FEM
cleaning MATGEN/MISC
cleaning ORDERINGS
cleaning UNSUPP/BLAS1
cleaning UNSUPP/MATEXP
cleaning UNSUPP/PLOTS
make[1]: Leaving directory '/build/reproducible-path/sparskit-2.0.0'
debian/rules override_dh_clean
make[1]: Entering directory '/build/reproducible-path/sparskit-2.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/libsparskit2.0.substvars debian/libsparskit-dev.substvars debian/files
rm -fr -- debian/libsparskit2.0/ debian/tmp/ debian/libsparskit-dev/
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/sparskit-2.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/sparskit-2.0.0'
if [ ! -d DEB_build_static ]; then mkdir DEB_build_static; fi
cd DEB_build_static \
&& cmake /build/reproducible-path/sparskit-2.0.0 -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_SHARED_LIBS:BOOL=OFF -DBUILD_TESTING:BOOL=ON
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:27: override_dh_auto_configure] Error 1
make[1]: Leaving directory '/build/reproducible-path/sparskit-2.0.0'
make: *** [debian/rules:23: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-30T20:51:32Z
-------------------------------------------------------------------------------
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/2411406/
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/154911/
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