[Debian-pan-maintainers] Bug#1078406: hkl: FTBFS: make[4]: *** [Makefile:833: binoculars-ng] Error 1
Lucas Nussbaum
lucas at debian.org
Sat Aug 10 07:04:45 BST 2024
Source: hkl
Version: 5.0.0.3462-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240809 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[4]: Entering directory '/<<PKGBUILDDIR>>/binoculars-ng'
> touch empty-config-file
> /usr/bin/cabal \
> --config-file=empty-config-file \
> build \
> -fuseHklDev \
> --disable-shared \
> --enable-optimization \
> --enable-static \
> --extra-include-dirs=/<<PKGBUILDDIR>> \
> --extra-include-dirs=/<<PKGBUILDDIR>>/binoculars-ng/binoculars \
> --extra-lib-dirs=/<<PKGBUILDDIR>>/hkl/.libs \
> --extra-lib-dirs=/<<PKGBUILDDIR>>/binoculars-ng/binoculars/.libs \
> --offline
> Warning: No remote package servers have been specified. Usually you would have
> one specified in the config file.
> Resolving dependencies...
> Build profile: -w ghc-9.4.7 -O1
> In order, the following will be built (use -v for more details):
> - hkl-0.1.0.2 (lib) (first run)
> - hkl-0.1.0.2 (exe:binoculars-ng) (first run)
> Configuring library for hkl-0.1.0.2..
> Preprocessing library for hkl-0.1.0.2..
> Building library for hkl-0.1.0.2..
> [ 1 of 35] Compiling Hkl.C.Hkl ( /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/C/Hkl.hs, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/C/Hkl.o, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/C/Hkl.dyn_o )
> [ 2 of 35] Compiling Hkl.DArray ( src/Hkl/DArray.hs, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/DArray.o, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/DArray.dyn_o )
> [ 3 of 35] Compiling Hkl.HKD ( src/Hkl/HKD.hs, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/HKD.o, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/HKD.dyn_o )
> [ 4 of 35] Compiling Hkl.Image ( src/Hkl/Image.hs, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Image.o, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Image.dyn_o )
> [ 5 of 35] Compiling Hkl.Lattice ( src/Hkl/Lattice.hs, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Lattice.o, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Lattice.dyn_o )
> [ 6 of 35] Compiling Hkl.MyMatrix ( src/Hkl/MyMatrix.hs, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/MyMatrix.o, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/MyMatrix.dyn_o )
> [ 7 of 35] Compiling Hkl.Parameter ( src/Hkl/Parameter.hs, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Parameter.o, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Parameter.dyn_o )
> [ 8 of 35] Compiling Hkl.Engine ( src/Hkl/Engine.hs, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Engine.o, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Engine.dyn_o )
> [ 9 of 35] Compiling Hkl.Repa ( src/Hkl/Repa.hs, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Repa.o, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Repa.dyn_o )
>
> src/Hkl/Repa.hs:64:2: warning: [-Wunused-top-binds]
> Defined but not used: ‘unsafeIndex’
> |
> 64 | index, unsafeIndex
> | ^^^^^^^^^^^^^^^^^^...
>
> src/Hkl/Repa.hs:64:2: warning: [-Wunused-top-binds]
> Defined but not used: ‘index’
> |
> 64 | index, unsafeIndex
> | ^^^^^^^^^^^^^^^^^^...
>
> src/Hkl/Repa.hs:81:2: warning: [-Wunused-top-binds]
> Defined but not used: ‘deepSeqArray’
> |
> 81 | deepSeqArray
> | ^^^^^^^^^^^^...
>
> src/Hkl/Repa.hs:114:1: warning: [-Wmissing-signatures]
> Top-level binding with no type signature: stage :: String
> |
> 114 | stage = "Data.Array.Repa.Index"
> | ^^^^^
>
> src/Hkl/Repa.hs:159:9: warning: [-Wunused-top-binds]
> Defined but not used: ‘sizeIsValid’
> |
> 159 | sizeIsValid :: sh -> Bool
> | ^^^^^^^^^^^^^^^^^^^^^^^^^
> [10 of 35] Compiling Hkl.C.Binoculars ( /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/C/Binoculars.hs, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/C/Binoculars.o, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/C/Binoculars.dyn_o )
> [11 of 35] Compiling Hkl.Orphan ( src/Hkl/Orphan.hs, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Orphan.o, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Orphan.dyn_o )
>
> <no location info>: error:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.4.7/libHShdf5-1.8.12-7vN30ONv9AwlCS4i14H8u-ghc9.4.7.so: undefined symbol: H5Sencode2
> [13 of 35] Compiling Hkl.C ( src/Hkl/C.hs, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/C.o, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/C.dyn_o )
> [14 of 35] Compiling Hkl.Types ( src/Hkl/Types.hs, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Types.o, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Types.dyn_o )
> [15 of 35] Compiling Hkl.Sample ( src/Hkl/Sample.hs, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Sample.o, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Sample.dyn_o )
> [16 of 35] Compiling Hkl.Exception ( src/Hkl/Exception.hs, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Exception.o, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Exception.dyn_o )
> [17 of 35] Compiling Hkl.Detector ( src/Hkl/Detector.hs, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Detector.o, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Detector.dyn_o )
> [20 of 35] Compiling Hkl.Utils ( src/Hkl/Utils.hs, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Utils.o, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Utils.dyn_o )
> [21 of 35] Compiling Paths_hkl ( src/Paths_hkl.hs, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Paths_hkl.o, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Paths_hkl.dyn_o )
> [22 of 35] Compiling Hkl.Binoculars.Config ( src/Hkl/Binoculars/Config.hs, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Binoculars/Config.o, /<<PKGBUILDDIR>>/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.4.7/hkl-0.1.0.2/build/Hkl/Binoculars/Config.dyn_o )
>
> <no location info>: error:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.4.7/libHShdf5-1.8.12-7vN30ONv9AwlCS4i14H8u-ghc9.4.7.so: undefined symbol: H5Sencode2
> Error: cabal: Failed to build hkl-0.1.0.2 (which is required by
> exe:binoculars-ng from hkl-0.1.0.2).
>
> make[4]: *** [Makefile:833: binoculars-ng] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/08/09/hkl_5.0.0.3462-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240809;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240809&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Debian-pan-maintainers
mailing list