Your message dated Tue, 11 Aug 2026 15:26:28 +0000
with message-id <[email protected]>
and subject line Bug#1140089: fixed in cctbx 2026.7+ds2+~3.30.0+ds1-3
has caused the Debian Bug report #1140089,
regarding cctbx: FTBFS against HDF5 2.1.0 - cannot find -lhdf5: No such file or 
directory
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1140089: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1140089
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: cctbx
Version: 2026.4+ds2+~3.28.0+ds1-2
Severity: important
Tags: ftbfs patch

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

Hi,

During a test rebuild of HDF5's reverse dependcies against HDF5 2.1.0
currently in experimental, cctbx FTBFS with:

g++ -o lib/dxtbx_format_image_ext.so.0.0.1 -shared -rdynamic -std=c++14 
-Wl,-soname=dxtbx_format_image_ext.so.0 
dxtbx/src/dxtbx/format/boost_python/image_ext.o 
dxtbx/src/dxtbx/format/boost_python/cbf_read_buffer.o -L/usr/lib -L/usr/lib64 
-L/usr/lib/x86_64-linux-gnu -Llib 
-L/build/cctbx-TF7EYi/cctbx-2026.4+ds2+~3.28.0+ds1/lib -Llib 
-L/build/cctbx-TF7EYi/cctbx-2026.4+ds2+~3.28.0+ds1/lib 
-L/build/cctbx-TF7EYi/cctbx-2026.4+ds2+~3.28.0+ds1/.pybuild/cpython3_3.13_cctbx/base/lib
 -Llib -L/build/cctbx-TF7EYi/cctbx-2026.4+ds2+~3.28.0+ds1/lib -L/usr/lib -lm 
-ltiff -lboost_python313 -lcbf -lhdf5
/usr/bin/x86_64-linux-gnu-ld.bfd: cannot find -lhdf5: No such file or directory
collect2: error: ld returned 1 exit status
scons: *** [lib/dxtbx_format_image_ext.so.0.0.1] Error 1


Tha attached patch has a workaround for this issue and works with both
HDF5 1.14.6 in unstable and HDF5 2.1.0 in experimental.

But ideally the same technique should be use in dxtbx/SConscript than
in cbflib_adaptbx/SConscript, using pkg-config on the hdf5 module to
retrieve the correct build flags for building against HDF5.

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/+z4MFAmowH/gACgkQ7+hsbH/+
z4OaZAf+Ko23TNIX1c4Ux7d1GVm79niSFA6x24mw3dV5no+xbnYppenVC7GzHGzR
G9Zy5aCJZm6b3LPXNo7NeAUhoa2CIcgVhb457lkPRSTAjfFbDAmlPTwRvafAxL3p
LAK3hu6AUmyqBC/WHTVsRktehXOVL0gKF2LzaRyxCXyz8KFbGdS5EN7BbC48wKMM
O+ltl/WfAt8uTW5R+3WYmJhYs8KC70QjOK4yYQ+96TsBPXAbGatD/0YbjGodsxnW
v4nDiEFUdm9Bu9PwVz1mEslt0hZYBQjwjRAbx1BBi8Tvg35S4zh+Z5ojGUM9iJ9B
U/dkXXQhD6m48h1pH6Xw+hEbMvInqQ==
=NfcT
-----END PGP SIGNATURE-----
diff -Nru cctbx-2026.4+ds2+~3.28.0+ds1/debian/changelog 
cctbx-2026.4+ds2+~3.28.0+ds1/debian/changelog
--- cctbx-2026.4+ds2+~3.28.0+ds1/debian/changelog       2026-05-09 
16:23:00.000000000 +0200
+++ cctbx-2026.4+ds2+~3.28.0+ds1/debian/changelog       2026-06-15 
11:12:51.000000000 +0200
@@ -1,3 +1,10 @@
+cctbx (2026.4+ds2+~3.28.0+ds1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS against HDF5 2.1.0
+
+ -- Gilles Filippini <[email protected]>  Mon, 15 Jun 2026 11:12:51 +0200
+
 cctbx (2026.4+ds2+~3.28.0+ds1-2) unstable; urgency=medium
 
   * Various packaging improvements thanks to "debcraft improve".
diff -Nru cctbx-2026.4+ds2+~3.28.0+ds1/debian/patches/hdf5-2.1.0.patch 
cctbx-2026.4+ds2+~3.28.0+ds1/debian/patches/hdf5-2.1.0.patch
--- cctbx-2026.4+ds2+~3.28.0+ds1/debian/patches/hdf5-2.1.0.patch        
1970-01-01 01:00:00.000000000 +0100
+++ cctbx-2026.4+ds2+~3.28.0+ds1/debian/patches/hdf5-2.1.0.patch        
2026-06-15 11:12:51.000000000 +0200
@@ -0,0 +1,13 @@
+Index: cctbx-2026.4+ds2+~3.28.0+ds1/dxtbx/SConscript
+===================================================================
+--- cctbx-2026.4+ds2+~3.28.0+ds1.orig/dxtbx/SConscript
++++ cctbx-2026.4+ds2+~3.28.0+ds1/dxtbx/SConscript
+@@ -49,7 +49,7 @@ env_etc.dxtbx_lib_paths = [
+     os.path.join(sys.prefix, "lib"),
+ ]
+ 
+-env_etc.dxtbx_hdf5_libs = ["hdf5"]
++env_etc.dxtbx_hdf5_libs = ["hdf5_serial"]
+ env_etc.dxtbx_hdf5_lib_paths = []
+ 
+ if sys.platform == "win32" and env_etc.compiler == "win32_cl":
diff -Nru cctbx-2026.4+ds2+~3.28.0+ds1/debian/patches/series 
cctbx-2026.4+ds2+~3.28.0+ds1/debian/patches/series
--- cctbx-2026.4+ds2+~3.28.0+ds1/debian/patches/series  2026-05-05 
17:57:25.000000000 +0200
+++ cctbx-2026.4+ds2+~3.28.0+ds1/debian/patches/series  2026-06-15 
11:12:51.000000000 +0200
@@ -28,3 +28,4 @@
 0028-dxtbx-force-pathlib-in-data-fetcher.patch
 0030_broken_six.patch
 0030-Stop-linking-against-boost_system.patch
+hdf5-2.1.0.patch

--- End Message ---
--- Begin Message ---
Source: cctbx
Source-Version: 2026.7+ds2+~3.30.0+ds1-3
Done: Roland Mas <[email protected]>

We believe that the bug you reported is fixed in the latest version of
cctbx, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Roland Mas <[email protected]> (supplier of updated cctbx 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 [email protected])


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

Format: 1.8
Date: Sun, 09 Aug 2026 15:54:08 +0200
Source: cctbx
Architecture: source
Version: 2026.7+ds2+~3.30.0+ds1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Roland Mas <[email protected]>
Closes: 1140089
Changes:
 cctbx (2026.7+ds2+~3.30.0+ds1-3) unstable; urgency=medium
 .
   * Bug fix: "FTBFS against HDF5 2.1.0 - cannot find -lhdf5: No such file
     or directory", thanks to Gilles Filippini (Closes: #1140089).
Checksums-Sha1:
 66286f473a88e543b7b655cf305151a6c43ec48f 4191 
cctbx_2026.7+ds2+~3.30.0+ds1-3.dsc
 f78d098c376a225cb2eb495c7979620e5f21c3b7 419828 
cctbx_2026.7+ds2+~3.30.0+ds1-3.debian.tar.xz
 bdee504ee929e7d4c59f16794cb661623488ab92 24045 
cctbx_2026.7+ds2+~3.30.0+ds1-3_amd64.buildinfo
Checksums-Sha256:
 dfc6f8eefdd1d4663ff7305be7857cb72ec26cc798fe0f7c0727706e7b9e7c46 4191 
cctbx_2026.7+ds2+~3.30.0+ds1-3.dsc
 a982ca09b773e97fa3f94df396bffd196dd99a504c1bed0152ed1b7e31f9ef90 419828 
cctbx_2026.7+ds2+~3.30.0+ds1-3.debian.tar.xz
 9b79b15ea90e40b10f91a25cf742166b97723449d87252f44bd502415a087826 24045 
cctbx_2026.7+ds2+~3.30.0+ds1-3_amd64.buildinfo
Files:
 b4f6a204e9d6862e4b4ac602edb33a36 4191 science optional 
cctbx_2026.7+ds2+~3.30.0+ds1-3.dsc
 49d9e7a8661597fb23535b8d6247d743 419828 science optional 
cctbx_2026.7+ds2+~3.30.0+ds1-3.debian.tar.xz
 3a0933a6042c5e855945e92bba96c68b 24045 science optional 
cctbx_2026.7+ds2+~3.30.0+ds1-3_amd64.buildinfo

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

iQIzBAEBCgAdFiEEtBU2D1kett1zr/uD0w3s0lmTIvwFAmp7DqkACgkQ0w3s0lmT
IvxnUhAAiZ8MyH+Hnbqo+ZOP+ChQw/acxCT5nCDR/r+411b2kTkDVomnV64jmxKL
1Ssl83+wJVEc0aaR2SjZR7Qoz/Y2e4Us8GQanXuet54hOvS6dqt9kE9p5oNO4/6K
57MEibTGn7tCMBk5G0Vp0CHiyg3krA/KlEW7M6VIoDJdazwKTEnNlRfYx6F+xoLE
EIcuV5nKp3pCCTAHT1oKUp4fS6feRXNRx6uF3BPHxchTSqe5ighoupupaI2d/9wS
tZVMgceep9vSihH2chJ9ONWrFq3vEew9aIZv4RwXgbHtK2a/x4naXSqfI+MCwoDG
vYw0oCELGMnMhcSWTvR2aZxosjR7QyMhPCWnjlTlLIiU7/O/0R9dc6wFM4VL6+YX
GpDnyTF9wMyvtJ3A7WhaPJ7eHbTqLdUePIH7FpQtMKt6+6v+hXzZ9mXVlTAE6K9v
duXr3r0x6Ko8TbrlpN/rpNXx2jo/z+OXi9JWA8LaviBlP2McZfDjeWQmWTZDGa3k
9l+HRB8TTxRkC7nC6d0OPYLh0kjf7WIO2SB+amqFy3l/lC3fKseBZ8mHzHIYftAQ
BATIfPmjSRMVDhGGxaxeCTTADpkyB966Y1U1YJaQqNu8GmvVSQ3+CU2SzljsjZY4
9JIw8ksgUPPhRWtoki00j9CE2/YVGJX/GvVsM52en22jfYP1+qw=
=ie+H
-----END PGP SIGNATURE-----

Attachment: pgpU_Y_Hsredv.pgp
Description: PGP signature


--- End Message ---

Reply via email to