Skip to content

Unable to compile Pandoc-2.9.2.1 with ghc-8.10.1 on i586

Summary

Compilation of pandoc ends with compiler bug

Steps to reproduce

build pandoc on i586 with ghc-8.10.1

[ 2534s] [138 of 166] Compiling Text.Pandoc.Readers.LaTeX
[ 2597s] ghc: panic! (the 'impossible' happened)
[ 2597s]   (GHC version 8.10.1:
[ 2597s] 	expectJust cpeBody:collect_args
[ 2597s] CallStack (from HasCallStack):
[ 2597s]   error, called at compiler/utils/Maybes.hs:57:27 in ghc:Maybes
[ 2597s]   expectJust, called at compiler/coreSyn/CorePrep.hs:930:32 in ghc:CorePrep
[ 2597s] 
[ 2597s] Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug

full log at https://build.opensuse.org/package/live_build_log/devel:languages:haskell/pandoc/openSUSE_Tumbleweed/i586

Expected behavior

succesful compile of pandoc

Environment

  • GHC version used: ghc-8.10.1

Optional:

  • Operating System: openSUSE Tumbleweed
  • System Architecture: i586
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information