[From nobody Mon Jun 15 16:51:04 2026
Received: (at submit) by bugs.debian.org; 10 Jun 2026 08:32:31 +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, 56; hammy, 150; neutral, 163; 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]:47650)
 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 1wXEMR-00ETA9-1P for submit@bugs.debian.org;
 Wed, 10 Jun 2026 08:32:31 +0000
Content-Type: multipart/mixed; boundary=&quot;===============1403378997214997036==&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: mapsembler2: FTBFS against HDF5 2.1.0
Message-ID: &lt;178108034818.58796.10399785643921261849.reportbug@pinibrem14&gt;
Date: Wed, 10 Jun 2026 10:32:28 +0200
X-Spamd-Bar: --
Delivered-To: submit@bugs.debian.org

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


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

Source: mapsembler2
Version: 2.2.4+dfsg1-6
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, mapsembler2 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/+z4MFAmopIRQACgkQ7+hsbH/+
z4MuBAf+K9jwcou1vhvX3FjQBqAtOeCbUEbnhs28rmU61/6/1Wh7rYuHs42qsIPT
bTUhs4n8n+FcuOPavtBWX9FGbOyuYr2ORT/lTGkOEuEXMdA60IRk/I81m7wSral8
75YZxZrSV1YdjjOzyrx+sjy6M9xuDp7UJSPrL9Gt7r/EK1BwypQoHKqeIlRmq6bM
lZCc06mwYUGOWtkkGZEwfyKMexiR/J/m0SWlVfJlfdIO6/z/VqaKfSCInVUYo98D
lJRUHdd/0HPJd0VvbdmyTiDn6ujcJ5ct07jQiShl5dTvhbDUMlt33KI5pxUONxu2
UHZIlGHUf9dVD9uQFaO/zQSj6tU7bw==
=/7El
-----END PGP SIGNATURE-----

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

diff -Nru mapsembler2-2.2.4+dfsg1/debian/changelog mapsembler2-2.2.4+dfsg1/debian/changelog
--- mapsembler2-2.2.4+dfsg1/debian/changelog	2026-04-28 14:51:08.000000000 +0200
+++ mapsembler2-2.2.4+dfsg1/debian/changelog	2026-06-01 17:29:09.000000000 +0200
@@ -1,3 +1,10 @@
+mapsembler2 (2.2.4+dfsg1-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS against HDF5 2.1.0
+
+ -- Gilles Filippini &lt;pini@debian.org&gt;  Mon, 01 Jun 2026 17:29:09 +0200
+
 mapsembler2 (2.2.4+dfsg1-6) unstable; urgency=medium
 
   * Fix build with CMake 4
diff -Nru mapsembler2-2.2.4+dfsg1/debian/patches/hdf5-2.1.0.patch mapsembler2-2.2.4+dfsg1/debian/patches/hdf5-2.1.0.patch
--- mapsembler2-2.2.4+dfsg1/debian/patches/hdf5-2.1.0.patch	1970-01-01 01:00:00.000000000 +0100
+++ mapsembler2-2.2.4+dfsg1/debian/patches/hdf5-2.1.0.patch	2026-06-01 17:29:09.000000000 +0200
@@ -0,0 +1,12 @@
+Index: mapsembler2-2.2.4+dfsg1/mapsembler2_extremities/thirdparty/gatb-core/CMakeLists.txt
+===================================================================
+--- mapsembler2-2.2.4+dfsg1.orig/mapsembler2_extremities/thirdparty/gatb-core/CMakeLists.txt
++++ mapsembler2-2.2.4+dfsg1/mapsembler2_extremities/thirdparty/gatb-core/CMakeLists.txt
+@@ -221,7 +221,6 @@ ADD_SUBDIRECTORY(thirdparty)
+ find_package (HDF5 REQUIRED)
+ if (HDF5_FOUND)
+     include_directories (${HDF5_INCLUDE_DIRS})
+-    set (gatb-core-libraries ${gatb-core-libraries} ${HDF5_LIBRARIES})
+     set (gatb-core-libraries ${gatb-core-libraries} PARENT_SCOPE)
+ endif()
+ 
diff -Nru mapsembler2-2.2.4+dfsg1/debian/patches/series mapsembler2-2.2.4+dfsg1/debian/patches/series
--- mapsembler2-2.2.4+dfsg1/debian/patches/series	2026-04-28 14:51:08.000000000 +0200
+++ mapsembler2-2.2.4+dfsg1/debian/patches/series	2026-06-01 17:29:09.000000000 +0200
@@ -11,3 +11,4 @@
 cross.patch
 gcc11.patch
 cmake4.patch
+hdf5-2.1.0.patch

--===============1403378997214997036==--
]