[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bug in ghc 9.6 ?



Hello I am preparing the hkl package whcih contain an haskell program (binoculars-ng)

when I try to recompile it with ghc 9.6 on Deban unstable I get this error message.

[35 of 35] Compiling Hkl              ( src/Hkl.hs, /home/picca/src/repo.or.cz/hkl/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.6.6/hkl-0.1.0.2/build/Hkl.o, /home/picca/src/repo.or.cz/hkl/binoculars-ng/dist-newstyle/build/x86_64-linux/ghc-9.6.6/hkl-0.1.0.2/build/Hkl.dyn_o )
panic! (the 'impossible' happened)
  GHC version 9.6.6:
	Data.Binary.Get.runGet at position 8: Invalid magic number "/* GNU l"
CallStack (from HasCallStack):
  error, called at libraries/binary/src/Data/Binary/Get.hs:345:5 in binary-0.8.9.1:Data.Binary.Get

So my question is how can I help solve this issue ?

thanks for your help

Fred

to reproduce on Debian unstable

sudo apt build-dep hkl
git clone https://repo.or.cz/hkl
cd hkl
./autogen.sh
./configure
make


Reply to: