[From nobody Sun Sep 13 06:21:09 2026
Received: (at submit) by bugs.debian.org; 12 Sep 2026 20:10:36 +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=-118.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
 SPF_HELO_NONE,SPF_PASS,USER_IN_DKIM_WELCOMELIST autolearn=ham
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 36; hammy, 150; neutral, 158; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;maxy@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:46152)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;maxy@debian.org&gt;) id 1x5U3Y-00BrG5-06
 for submit@bugs.debian.org; Sat, 12 Sep 2026 20:10:36 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
 Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=WMlS0Bd6WYfwQd9dSQe/KhRWdTxgZLk8E+BKtfduLnU=; b=FJdKCdiAqhEBBCz1knTBE5pOd2
 dRzvMpRiPmV7KaAbUp+tO/AbvOGQIL5wuiQxjRNguQ8yq87H+TUbhnH+Al85QfnacOeHdF16mO9xI
 ZGn2DzdCQh9YmwBntTXo4XJ8CzDhvP6L3WqYT5ma1MKXj2GYY1CtlgZHcG0/4GE8agfnspuVBKUUE
 OjIwKt4v3Y6iLw8sJ6/pQy6MAjOkuiDKjxW+IGeoaPvu6u4Z/0fQ+3Z3v4dj9FQrwqNK88ocCkrxZ
 TP8jQ/JTbdxP4gL68SC12TA5+QQMmCOa10E9Pf+8zI8V5qygpq0kzMRTQTVMSC3hTA4i57a64I2IU
 9DUcJQEg==;
Received: from authenticated-user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;maxy@debian.org&gt;) id 1x5U3V-002JpB-0J
 for submit@bugs.debian.org; Sat, 12 Sep 2026 20:10:34 +0000
Date: Sat, 12 Sep 2026 22:10:24 +0200
From: Maximiliano Curia &lt;maxy@debian.org&gt;
To: submit@bugs.debian.org
Subject: adios2: Missing HDF5_PREFER_PARALLEL config flag
Message-ID: &lt;aqWxsN-4nhEVMFdu@hecuba.gnuservers.com.ar&gt;
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=&quot;2tYcCEvXNqLb110C&quot;
Content-Disposition: inline
X-Debian-User: maxy
Delivered-To: submit@bugs.debian.org

--2tYcCEvXNqLb110C
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline

Package: src:adios2
Version: 2.12.1+dfsg1-2
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: patch, ftbfs, forky, sid
Severity: serious

Hi!

While rebuilding the python related packages against the Python 3.15rc2
version I ran into the adios4dolfinx FTBFS [1], which is reported in
#1145118.

After looking into this, I found that the problem is due to the fact
that with HDF5 version 2, we need to pass an extra flag to enable
parallel (HDF5_PREFER_PARALLEL). So, I've added that in debian/rules,
for the MPI variant.

Additionally, the HDF5_ROOT:PATH variable is different when using the
serial variant or the MPI variant, and the FindHDF5 CMake module doesn't
find it, so I've also added those settings to debian/rules.

I've applied these changes in the sandbox [2] to verify that adios2
builds successfully, and then rebuilt adios4dolfinx against it, which
also built successfully.

Setting the severity as serious, as this misconfiguration triggers a
FTBFS in a different package.

Happy hacking,

[1]: https://buildd.debian.org/status/fetch.php?pkg=adios4dolfinx&amp;arch=all&amp;ver=0.11.0-2&amp;stamp=1789226652&amp;raw=0
[2]: https://debusine.debian.net/debian/r-python-python3.15/

-- 
&quot;Can you imagine what I would do if I could do all I can?&quot; -- Sun Tzu
Saludos /\/\ /\ &gt;&lt; `/

--2tYcCEvXNqLb110C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=adios2_2.12.1+dfsg1-3.debdiff

diff -Nru adios2-2.12.1+dfsg1/debian/changelog adios2-2.12.1+dfsg1/debian/changelog
--- adios2-2.12.1+dfsg1/debian/changelog	2026-06-09 10:12:14.000000000 +0200
+++ adios2-2.12.1+dfsg1/debian/changelog	2026-09-12 21:21:56.000000000 +0200
@@ -1,3 +1,11 @@
+adios2 (2.12.1+dfsg1-3) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Set HDF5_PREFER_PARALLEL for the parallel build
+  * Set the HDF5_ROOT:PATH explicitly
+
+ -- Maximiliano Curia &lt;maxy@debian.org&gt;  Sat, 12 Sep 2026 21:21:56 +0200
+
 adios2 (2.12.1+dfsg1-2) unstable; urgency=medium
 
   * Upload to unstable, see transition request in Bug #1135890.
diff -Nru adios2-2.12.1+dfsg1/debian/rules adios2-2.12.1+dfsg1/debian/rules
--- adios2-2.12.1+dfsg1/debian/rules	2026-06-09 10:10:37.000000000 +0200
+++ adios2-2.12.1+dfsg1/debian/rules	2026-09-12 21:21:56.000000000 +0200
@@ -59,7 +59,7 @@
 
 ifeq ($(DEB_HOST_ARCH_ENDIAN),big)
     configure_flags_common += -DADIOS2_USE_Blosc2:BOOL=OFF
-else 
+else
     configure_flags_common += -DADIOS2_USE_Blosc2:BOOL=ON
 endif
 
@@ -69,11 +69,13 @@
   -DADIOS2_LIBRARY_SUFFIX:STRING=_serial \
   -DADIOS2_EXECUTABLE_SUFFIX:STRING=.serial \
   -DADIOS2_USE_MPI:BOOL=OFF \
+  -DHDF5_ROOT:PATH=/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial \
   -DHDF5_C_COMPILER_EXECUTABLE:FILEPATH=/usr/bin/h5cc
 
 configure_flags_mpi_common := $(configure_flags_common) \
   -DADIOS2_USE_MPI:BOOL=ON \
-  -DADIOS2_USE_SSC:BOOL=ON
+  -DADIOS2_USE_SSC:BOOL=ON \
+  -DHDF5_PREFER_PARALLEL:BOOL=ON
 
 configure_flags_mpi := $(configure_flags_mpi_common) \
   -DCMAKE_INSTALL_CMAKEDIR:STRING=lib/$(DEB_HOST_GNU_TYPE)/cmake/adios2/mpi \
@@ -83,6 +85,7 @@
   -DMPI_C_COMPILER:FILEPATH=/usr/bin/mpicc.$(ARCH_DEFAULT_MPI_IMPL) \
   -DMPI_CXX_COMPILER:FILEPATH=/usr/bin/mpic++.$(ARCH_DEFAULT_MPI_IMPL) \
   -DMPI_Fortran_COMPILER:FILEPATH=/usr/bin/mpifort.$(ARCH_DEFAULT_MPI_IMPL) \
+  -DHDF5_ROOT:PATH=/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/$(ARCH_DEFAULT_MPI_IMPL) \
   -DHDF5_C_COMPILER_EXECUTABLE:FILEPATH=/usr/bin/h5pcc.$(ARCH_DEFAULT_MPI_IMPL)
 
 override_dh_auto_clean:

--2tYcCEvXNqLb110C--
]