Bug#1139620: dolfin: FTBFS against HDF5 2.1.0

Gilles Filippini pini at debian.org
Wed Jun 10 10:52:44 BST 2026


Source: dolfin
Version: 2019.2.0~legacy20240219.1c52e83-29
Severity: important
Tags: ftbfs patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

During a test rebuild of HDF5's reverse dependencies against HDF5 2.1.0
currently in experimental, dolfin FTBFS because its build toolchain
doesn't support this new major release.

The attached patch is a workaround for this issue and supports both
HDF5 1.14.6 in unstable and HDF5 2.1.0 in experimental.

Best,
_g.


- -- System Information:
Debian Release: 12.0
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-44-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

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

iQEzBAEBCgAdFiEEoJObzArDE05WtIyR7+hsbH/+z4MFAmopM+QACgkQ7+hsbH/+
z4MNTAf+KMjTGQ7qeXD9Ep+92OO15VTYPj5a/MXLBw20yKI5HLepQqtlytazubsB
0mz7VPeFiM8ZoQmLcyaW6HW/sAqx/uM52DPhrzsHlG38SR7Zh9eCyou12xNyqOZW
SrWPpdvgo5dm5D2/Noxr8i/oc+/bNmWHcdEPR4H06bOL5Bh10234CRcD3aoYpm51
DKmbvbgehVUTt7cVIlMqREtDbGAO+lqul0sjbhrsZF/gQ0mfOQ8MyxBcW4aifFuJ
8TGRqWkz/xMlcbFhbkjhvT3ATn1HM4/LHVl2HFEZj099O3QV2b4BDUc7oJ0app51
mYdz8Pwht0X3Ne3CByRFxQTkdg9RBg==
=zK9V
-----END PGP SIGNATURE-----
-------------- next part --------------
diff -Nru dolfin-2019.2.0~legacy20240219.1c52e83/debian/changelog dolfin-2019.2.0~legacy20240219.1c52e83/debian/changelog
--- dolfin-2019.2.0~legacy20240219.1c52e83/debian/changelog	2026-05-11 10:24:37.000000000 +0200
+++ dolfin-2019.2.0~legacy20240219.1c52e83/debian/changelog	2026-06-08 21:04:55.000000000 +0200
@@ -1,3 +1,10 @@
+dolfin (2019.2.0~legacy20240219.1c52e83-29.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS against HDF5 2.1.0
+
+ -- Gilles Filippini <pini at debian.org>  Mon, 08 Jun 2026 21:04:55 +0200
+
 dolfin (2019.2.0~legacy20240219.1c52e83-29) unstable; urgency=medium
 
   * Add eigen_5_compatibility.patch, which changes the cmake module to find
diff -Nru dolfin-2019.2.0~legacy20240219.1c52e83/debian/rules dolfin-2019.2.0~legacy20240219.1c52e83/debian/rules
--- dolfin-2019.2.0~legacy20240219.1c52e83/debian/rules	2026-05-02 14:40:33.000000000 +0200
+++ dolfin-2019.2.0~legacy20240219.1c52e83/debian/rules	2026-06-08 21:04:55.000000000 +0200
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 include /usr/share/dpkg/architecture.mk
+include /usr/share/mpi-default-dev/debian_defaults
 
 OS_ID := $(shell grep -E "^ID" /etc/os-release | sed "s/^ID=//")
 
@@ -199,7 +200,8 @@
 	-D CMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=OFF \
 	-D DOLFIN_ENABLE_TRILINOS:BOOL=OFF \
 	-D DOLFIN_ENABLE_HDF5:BOOL=ON \
-	-D HDF5_C_COMPILER_EXECUTABLE:FILEPATH=/usr/bin/h5pcc \
+	-D HDF5_NO_FIND_PACKAGE_CONFIG_FILE:BOOL=ON \
+	-D HDF5_ROOT=/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/$(ARCH_DEFAULT_MPI_IMPL) \
 	-D DOLFIN_ENABLE_PARMETIS:BOOL=OFF \
 	-D DOLFIN_ENABLE_SCOTCH:BOOL=ON \
 	-D DOLFIN_ENABLE_DOCS:BOOL=OFF \


More information about the debian-science-maintainers mailing list