Bug#1113161: libitpp: FTBFS with CMake 4
roehling at debian.org
roehling at debian.org
Sun Aug 31 23:58:19 BST 2025
Source: libitpp
Version: 4.3.1-10
Severity: serious
User: cmake at packages.debian.org
Usertags: cmake-4
Tags: ftbfs, forky, sid
Dear maintainer,
During a test rebuild for CMake 4, libitpp failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
+------------------------------------------------------------------------------+
| Build Sat, 30 Aug 2025 03:55:16 +0000 |
+------------------------------------------------------------------------------+
Unpack source
-------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 3.0 (quilt)
Source: libitpp
Binary: libitpp-dev, libitpp8v5, libitpp8v5-dbg, libitpp-doc
Architecture: any all
Version: 4.3.1-10
Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
Uploaders: Kumar Appaiah <akumar at debian.org>
Homepage: http://itpp.sourceforge.net
Standards-Version: 4.1.1
Vcs-Browser: https://salsa.debian.org/science-team/libitpp
Vcs-Git: https://salsa.debian.org/science-team/libitpp.git
Build-Depends: debhelper (>= 9), libblas-dev, libfftw3-dev, liblapack-dev, gfortran, libgtest-dev, cmake
Build-Depends-Indep: doxygen-latex, ghostscript
Package-List:
libitpp-dev deb libdevel optional arch=any
libitpp-doc deb doc optional arch=all
libitpp8v5 deb libs optional arch=any
libitpp8v5-dbg deb debug optional arch=any
Checksums-Sha1:
b8a050c2bf07aa6978c9571f204435a4f7d887ed 1551234 libitpp_4.3.1.orig.tar.gz
947f029fb23af78b79ac58530f3567790e019e16 9704 libitpp_4.3.1-10.debian.tar.xz
Checksums-Sha256:
15333863c837dba1a0b3e6e84b5a2394e44bb62e3b751521b94f9b65bbf0ad91 1551234 libitpp_4.3.1.orig.tar.gz
37156af7a82d75da9ec4545f2b46f33124dc1fd42c44b8ba5287ef5e481791b7 9704 libitpp_4.3.1-10.debian.tar.xz
Files:
99c00a331276dae7b733067dd540e093 1551234 libitpp_4.3.1.orig.tar.gz
5799e91b4890d53226c4b07d8a9348b0 9704 libitpp_4.3.1-10.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEERm/dvxBWD1Cc3jpMeo9J6LY0gL4FAmEbnXgACgkQeo9J6LY0
gL7MchAAmhWiFXGoMKzR2wmke7IoPpUgizorvb2MPy0E1IEDWJvb1Mzf6LTKoBNP
TxI4ANn8YutQe3NeG1+x9LoUsWrnRoxqlgf7eU34PO/beFZjtB4f1hrVhee+nbbI
fjvfY48EAiDDK+aEFHYkpfGsaH+/rwS0Ik9OJVMl/vC+X31Y8tGoSX9AbzdTdHxW
ROlYe9fhIdcy4dABZtXiGeptMjX80rpG/zsSGqQlIK/gr0qcU98jMGz+jUorGc+h
cra13dCHc0F5c4LJM8Gu9fVQLQAVPyMOCRG/8CBMOBG5ShCEj1+/nSieuiegpdMW
8NobREZjl0QIXyDRv4eDz99bM9PD7QZ/afonsF/vnK5PLiAtsGlyC1cU7RH1ksBT
PZMbdpaYYI73AubkxOcPmTT0RPQGTPKJ9Lj8ncZVNgX6KuKZ1dqqTbjuUNDTD/ZQ
pUpeNxjKWO3h+Dp+aswxiH2AiV+oSGyfZeM2QnnLGHM6rri6lF4ENxPrxRTNIJ2m
hKHQjEhW/8Jam/SB+pV0PzDuFJ8op+SlxCUSlbI1crtM68yBpCKEJ6mAanCFDjTO
6EbT4QCiTGCeC4neo1vjsvQWfgahxVT3Yv/WfMNnqLbqop6pG/S5XH5RiDPT62be
ZsIc3nIZyGnRkXdX25dieEvDWZgjDOQJcneOeTfYQYzomfswpZ0=
=YKtG
-----END PGP SIGNATURE-----
dpkg-source: warning: cannot verify inline signature for ./libitpp_4.3.1-10.dsc: no acceptable signature found
dpkg-source: info: extracting libitpp in /build/reproducible-path/libitpp-4.3.1
dpkg-source: info: unpacking libitpp_4.3.1.orig.tar.gz
dpkg-source: info: unpacking libitpp_4.3.1-10.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying sse2-immediate-fix.diff
dpkg-source: info: applying 741814-FTBFS-fix.diff
dpkg-source: info: applying itpp-pc-fix.diff
dpkg-source: info: applying delete-sflogo.diff
dpkg-source: info: applying honour-SOURCE_DATE_EPOCH.diff
dpkg-source: info: applying gpp11_fix.diff
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 libitpp
dpkg-buildpackage: info: source version 4.3.1-10
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Kumar Appaiah <akumar at debian.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
dpkg-source: info: using options from libitpp-4.3.1/debian/source/options: --extend-diff-ignore=^\.travis\.yml$
debian/rules clean
VERBOSE=1 dh clean --parallel --builddirectory=build
dh_auto_clean -O--builddirectory=build
dh_auto_clean: warning: Use of debian/compat is deprecated and will be removed in debhelper (>= 14~).
dh_autoreconf_clean -O--builddirectory=build
dh_clean -O--builddirectory=build
debian/rules binary
VERBOSE=1 dh binary --parallel --builddirectory=build
dh_update_autotools_config -O--builddirectory=build
dh_autoreconf -O--builddirectory=build
debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/reproducible-path/libitpp-4.3.1'
mkdir -p build
(cd build && cmake .. -DCMAKE_CXX_FLAGS="" -DCMAKE_CXX_FLAGS_RELEASE="-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/libitpp-4.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=ON -DGTEST_DIR=/usr/src/gtest -DHTML_DOCS=off -DCMAKE_LIBRARY_ARCHITECTURE="aarch64-linux-gnu")
Re-run cmake no build system arguments
CMake Error at CMakeLists.txt:28 (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:18: override_dh_auto_configure] Error 1
make[1]: Leaving directory '/build/reproducible-path/libitpp-4.3.1'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-30T03:55:21Z
-------------------------------------------------------------------------------
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/2400913/
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/153779/
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