#1139497 haskell-hdf5: FTBFS against HDF5 2.1.0 - Variable not in scope: h5t_decode

Package:
src:haskell-hdf5
Source:
src:haskell-hdf5
Submitter:
Gilles Filippini
Date:
2026-06-20 13:53:02 UTC
Severity:
normal
Tags:
#1139497#5
Date:
2026-06-09 09:57:50 UTC
From:
To:
Hi,

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

src/Bindings/HDF5/Datatype.hs:183:13: error: [GHC-88464]
    Variable not in scope:
      h5t_decode :: InArray CChar -> IO Bindings.HDF5.Raw.H5I.HId_t
    Suggested fix:
      Perhaps use one of these:
        ‘h5p_decode’ (imported from Bindings.HDF5.Raw.H5P),
        ‘h5t_decode1’ (imported from Bindings.HDF5.Raw.H5T),
        ‘h5t_encode’ (imported from Bindings.HDF5.Raw.H5T)
    |
183 |             h5t_decode (InArray buf)
    |             ^^^^^^^^^^


H5Tdecode() was deprecated starting with HDF5 2.0.0. I'm not familiar
at all with Haskell so I don't have any clue how to patch haskell-hdf5
so that it builds correctly against HDF5 1.14.6 in unstable and HDF5
2.1.0 in experimental.

Thanks in advance,
_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/+z4MFAmon45UACgkQ7+hsbH/+
z4N8fQgAhfCTVgNLAVfNkSadwrLV8T1idn8dpyhvwXRNtBcaUWdK+ArPaPldu5nV
aVWPUqHsMM5NUAoHI6erqGxMau82+DWlP+CN/81MrUthzMVTxDCWg5jd7VHnwNZS
YqsaIK++ekSbcewn+FavLw7zzL032f1k1M2OZo5mryMTO6iSgz7X0keNXExDxSII
kKZLXD4Rotaml0qaot0+zPMm2xgmaRnHmuG9JQcQ8h8cysD1PhOAs6gAw7gZtBYA
bvyzQDOt++hb/8S5WzkEJT6HX/ISNSv+WmgkwEqH8/4cQAB+fKpr3uVXBW2BjLf4
ZTAmMcQ3myOGNHky4irphWsmndmJxQ==
=Gd1C
-----END PGP SIGNATURE-----

#1139497#10
Date:
2026-06-20 11:47:35 UTC
From:
To:
Hi,

Gilles Filippini a écrit le 09/06/2026 à 11:57 :
Please review the attached patch.

Thanks,
_g.

#1139497#17
Date:
2026-06-20 13:51:12 UTC
From:
To:
Gilles Filippini a écrit le 20/06/2026 à 13:47 :

Patch updated to fix hkl FTBFS.

Best,
_g.