#1112986 hdf5-blosc: FTBFS with CMake 4

#1112986#5
Date:
2025-08-31 22:55:02 UTC
From:
To:
Dear maintainer,

During a test rebuild for CMake 4, hdf5-blosc failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
 ff672977d40d3e39e0d745dd49b2af09 4208 hdf5-blosc_1.0.1-1.debian.tar.xz
Dgit: 5385442082cfaa78bd1f037c56b0d71f8d6f6646 debian archive/debian/1.0.1-1 https://git.dgit.debian.org/hdf5-blosc
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmfmilYACgkQOTWH2X2G
UAsunA//VBTwkWC09DsEW1j6SS2SWHe39u/GZWlwRmy1O1/uX/xJlKCaGHQxszEu
ZsoJp5v55uiYxK9Oj5E+L54Z3DSGXVwMon9beZJ6JaxDzf+GQzmNdnMt052GqAuG
e/ZXcePxKNmiWKHEXqX1JykFmD2+92zuP2pIb7aeXti09nxTzBKUqLLDysREy5Ok
0JOK5xZgnLLtguY3SjUvL+tiSaRr8YVwrCeMHDN4lPUJjfPDeElQx4JAAQKHct8o
hnrvCQ33FPka5dnIkFyvtPL7K9e6D4d+V+7iZdPnWT3GGItbuqWd+MoN8ZbQHwQ0
iN8RLQgYn+eDTIpmtCi2C/tDR7OTooXuyLdudygSaY76hmdOLiKHf5Ne2IaBllqc
upErL4Hx3rDmCef8MlJGmG7d39gVsa9EWoVFDz3v79aFGUqL37Feg2Y5OtPd64DU
24j/5Syg8RoAAEhtYZ2S0OTPpIp38bGOXbPIgHzm0StD54dSvXToVpqa3uUZ8F/i
AWRBFhJEaGX6qtzj3+ITdeFMangM1wVrLdC8b5v5juRa5poO+/DPCbuirZaMDujz
gcKvgZ5L3D1dAVX+PTCyycTO0u5hs3eabVtRCzSd7TjiQWAPj8URKrzixbidPEaz
eGg6qXFCsvc59rR9Vop1b0+etsG1MRzUo3+BFRnpG2zrnp7pU8o=
=ctfj
-----END PGP SIGNATURE-----

dpkg-source: warning: cannot verify inline signature for ./hdf5-blosc_1.0.1-1.dsc: no acceptable signature found
dpkg-source: info: extracting hdf5-blosc in /build/reproducible-path/hdf5-blosc-1.0.1
dpkg-source: info: unpacking hdf5-blosc_1.0.1.orig.tar.gz
dpkg-source: info: unpacking hdf5-blosc_1.0.1-1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying no-download.patch
dpkg-source: info: applying adapt-lib-and-plugin-path.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 hdf5-blosc
dpkg-buildpackage: info: source version 1.0.1-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Colin Watson <cjwatson@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
dpkg-source: info: using options from hdf5-blosc-1.0.1/debian/source/options: --extend-diff-ignore=(^|/)testrpm$
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/reproducible-path/hdf5-blosc-1.0.1'
dh_auto_configure -O--buildsystem=cmake --  -DPLUGIN_INSTALL_PATH=/usr/lib/aarch64-linux-gnu/hdf5/serial/plugins
	cd obj-aarch64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g\+\+ -DCMAKE_INSTALL_LIBDIR=lib/aarch64-linux-gnu -DPLUGIN_INSTALL_PATH=/usr/lib/aarch64-linux-gnu/hdf5/serial/plugins ..
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/2393504/ 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/153054/ 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
#1112986#12
Date:
2025-09-01 11:51:43 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

#1112986#19
Date:
2025-09-28 12:54:18 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
hdf5-blosc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1112986@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated hdf5-blosc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 28 Sep 2025 13:32:51 +0100
Source: hdf5-blosc
Architecture: source
Version: 1.0.1-2
Distribution: unstable
Urgency: medium
Maintainer: Freexian Packaging Team <team+freexian@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1112986
Changes:
 hdf5-blosc (1.0.1-2) unstable; urgency=medium
 .
   * Team upload.
   * Configure with -DCMAKE_POLICY_VERSION_MINIMUM=3.5 (closes: #1112986).
Checksums-Sha1:
 7a6b387bcbc366b981a1af75a4c2bd3c514a75c3 2301 hdf5-blosc_1.0.1-2.dsc
 cdb2aa007a7636336b28486357e7c7266c4dd6fc 4264 hdf5-blosc_1.0.1-2.debian.tar.xz
 4c006b4699b2573d4d4f64d761ece41910576980 32692 hdf5-blosc_1.0.1-2.git.tar.xz
 062dc631dbd2ee4c815bc05cbd733e0c8884339f 18230 hdf5-blosc_1.0.1-2_source.buildinfo
Checksums-Sha256:
 769568e046c15919958864e72ddc12a47088908c3c84a6d02221a7d5102e363d 2301 hdf5-blosc_1.0.1-2.dsc
 1f9d3a2813bd50dfb311cfe6abecf3de56037f5206f9061b2ba611fd059dc24c 4264 hdf5-blosc_1.0.1-2.debian.tar.xz
 95cf6aaec6a28c1a905df0f353c564eb79045272131b5a62b8d01118f8862268 32692 hdf5-blosc_1.0.1-2.git.tar.xz
 6145176339d06c4636c7bb23a38bbb0594228e88aed331d78da9d4aa5afce4d7 18230 hdf5-blosc_1.0.1-2_source.buildinfo
Files:
 8513352568867fd9f1d321ee26558933 2301 science optional hdf5-blosc_1.0.1-2.dsc
 67ba26690a7fb9045e9b3c193db4c90c 4264 science optional hdf5-blosc_1.0.1-2.debian.tar.xz
 4da3b766e87084223c6538d9a1ee5833 32692 science optional hdf5-blosc_1.0.1-2.git.tar.xz
 4671dd3f348fbb202a5ce9263a26c285 18230 science optional hdf5-blosc_1.0.1-2_source.buildinfo
Git-Tag-Info: tag=d016c89396ee2b77b4734ae359253f043b72dca4 fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <cjwatson@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmjZK1MACgkQYG0ITkaD
wHnCPA//YM6ErsRzSqFaT+ctB6RvZOvIFlGxe3Pokw/17Xn3fL2xZR9Jrws1POil
/gWebxLy/z/kDkoG/QfAybCHjiUju5sPYs1EtHZkO4QhFShXUdntM93NAviKXs/Q
HZo8mKPMDYpDAdH8j0eacCjrlViA85WFsHj7H2roC9AY7ulDVYMMAeddlLBepxlM
jUeXt32R3iejug+lBfyd8RC+pE7xCZdAVZaM8mkHxUcDedU2tiv64yQ5Ek7DxgK7
0kA4mC3Ju+h22P9pGAsrGn9KJKCFLwZrc2LzlVxUhctCu1XL7wa0MfukCeTESNIT
dOKOP56am66mZXBYiV+FoIurBCFlVRerOj1C7nw1NN3WWm4dn9OmQWesC41sZftj
8hOnEdWJ+MukDgNbsN+IKfMUd/GZeVKOagFigbFEjJKKMC2Tw4t7/ZNURDuUztxW
gvW+VSkJNyWx3dgIZrGDNxZzf18wIv9MatruaD9RwlKbLPsxR8mNhS9m8/1X2FNw
g8/ycLqFCzBEKuT9XvYJijumXHDkiMbd8CkAjQTK7vzj878iDrO7mqB6f4W5nwFt
mOyByjshtiwOgGO3k1p9J3Y7AGJd37tsEWz8nvDcsLB6ACQLQ04UNmkbeqHDfKSD
kaNzAOZFR0y3rvcR9MrEK6gTvCn2yN9lngGxJda93egO+GSp82g=
=2lIP
-----END PGP SIGNATURE-----