Bug#1143978: hkl: FTBFS: undefined reference to `H5Iregister_type'

Sebastian Ramacher <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <anhB-1PGVS_w7jFy__20998.0194152862$1786266195$gmane$org@ramacher.at>
Source: hkl
Version: 5.1.9-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: [email protected]

Dear maintainer,

hkl fails to build:

[2 of 2] Linking /build/reproducible-path/hkl-5.1.9/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.10.3/hkl-0.1.0.2/x/binoculars-ng/build/binoculars-ng/binoculars-ng
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.10.3-inplace/hdf5-1.8.15-2h6c12wJd1gJ8Hyb8VrAtX/libHShdf5-1.8.15-2h6c12wJd1gJ8Hyb8VrAtX.a(Datatype.o): in function `hdf5zm1zi8zi15zm2h6c12wJd1gJ8Hyb8VrAtX_BindingsziHDF5ziDatatype_getTypeCreationPList_info':
(.text+0xae8b): undefined reference to `H5Tdecode'
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.10.3-inplace/hdf5-1.8.15-2h6c12wJd1gJ8Hyb8VrAtX/libHShdf5-1.8.15-2h6c12wJd1gJ8Hyb8VrAtX.a(H5I.o): in function `hdf5zm1zi8zi15zm2h6c12wJd1gJ8Hyb8VrAtX_BindingsziHDF5ziRawziH5I_h5izuregisterzutype_info':
(.text+0x150f): undefined reference to `H5Iregister_type'
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.10.3-inplace/hdf5-1.8.15-2h6c12wJd1gJ8Hyb8VrAtX/libHShdf5-1.8.15-2h6c12wJd1gJ8Hyb8VrAtX.a(H5I.o):(.data+0x4c0): undefined reference to `H5Iregister_type'
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.10.3-inplace/hdf5-1.8.15-2h6c12wJd1gJ8Hyb8VrAtX/libHShdf5-1.8.15-2h6c12wJd1gJ8Hyb8VrAtX.a(H5T.o): in function `hdf5zm1zi8zi15zm2h6c12wJd1gJ8Hyb8VrAtX_BindingsziHDF5ziRawziH5T_h5tzudecode_info':
(.text+0x12432): undefined reference to `H5Tdecode'
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.10.3-inplace/hdf5-1.8.15-2h6c12wJd1gJ8Hyb8VrAtX/libHShdf5-1.8.15-2h6c12wJd1gJ8Hyb8VrAtX.a(H5T.o):(.data+0x2d40): undefined reference to `H5Tdecode'
collect2: error: ld returned 1 exit status
ghc-9.10.3: `x86_64-linux-gnu-gcc' failed in phase `Linker'. (Exit code: 1)
HasCallStack backtrace:
  collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in ghc-internal:GHC.Internal.Exception
  toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in ghc-internal:GHC.Internal.IO
  throwIO, called at libraries/exceptions/src/Control/Monad/Catch.hs:308:12 in exceptions-0.10.9-inplace:Control.Monad.Catch
  throwM, called at libraries/exceptions/src/Control/Monad/Catch.hs:797:84 in exceptions-0.10.9-inplace:Control.Monad.Catch
  onException, called at compiler/GHC/Driver/Make.hs:2983:23 in ghc-9.10.3-inplace:GHC.Driver.Make


Error: [Cabal-7125]
Failed to build exe:binoculars-ng from hkl-0.1.0.2.

make[4]: *** [Makefile:1483: binoculars-ng] Error 1

See
https://buildd.debian.org/status/fetch.php?pkg=hkl&arch=amd64&ver=5.1.9-1%2Bb1&stamp=1786094902&raw=0
for more details.

Cheers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.