[From nobody Fri Aug  7 20:41:08 2026
Received: (at submit) by bugs.debian.org; 10 Jun 2026 09:52:47 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-10.6 required=4.0 tests=BAYES_00,FOURLA,
 FROMDEVELOPER,FVGT_m_MULTI_ODD,HEADER_FROM_DIFFERENT_DOMAINS,
 PGPSIGNATURE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 57; hammy, 150; neutral, 153; spammy,
 0. spammytokens: hammytokens:0.000-+--HTo:N*Debian,
 0.000-+--H*Ad:N*Bug, 0.000-+--H*Ad:N*Tracking, 0.000-+--sk:taint_o,
 0.000-+--sk:TAINT_O
Return-path: &lt;SRS0=a6bP=EG=debian.org=pini@bou-fi.net&gt;
Received: from mail.bou-fi.net ([51.255.91.82]:58540)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;SRS0=a6bP=EG=debian.org=pini@bou-fi.net&gt;)
 id 1wXFc7-00EdUE-1C for submit@bugs.debian.org;
 Wed, 10 Jun 2026 09:52:47 +0000
Content-Type: multipart/mixed; boundary=&quot;===============3796012403447796998==&quot;
Authentication-Results: mail.bou-fi.net;
 auth=pass smtp.mailfrom=pini@debian.org
MIME-Version: 1.0
From: Gilles Filippini &lt;pini@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: dolfin: FTBFS against HDF5 2.1.0
Message-ID: &lt;178108516445.29220.12187798394855404952.reportbug@pinibrem14&gt;
Date: Wed, 10 Jun 2026 11:52:44 +0200
X-Spamd-Bar: --
Delivered-To: submit@bugs.debian.org

This is a multi-part MIME message sent by reportbug.


--===============3796012403447796998==
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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-----

--===============3796012403447796998==
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=&quot;dolfin.debdiff&quot;

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 &lt;pini@debian.org&gt;  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 &quot;^ID&quot; /etc/os-release | sed &quot;s/^ID=//&quot;)
 
@@ -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 \

--===============3796012403447796998==--
]