In `pandoc/` source directory, `cabal install` fails (ghc 8.4.4)
Summary
Related to #20136 (closed) where I was unable to make stack
work. Am looking into upgrading ghc
(etc.).
Steps to reproduce
On Debian 10 (Buster). Cloned pandoc
project. cd pandoc
. cabal install
. Failed with a message that cabal install --force-reinstalls
MIGHT help. Failed:
Building library for unicode-collation-0.1.3..
[ 1 of 10] Compiling Text.Collate.Lang
[ 2 of 10] Compiling Text.Collate.Trie
[ 3 of 10] Compiling Text.Collate.UnicodeData
[ 4 of 10] Compiling Text.Collate.CanonicalCombiningClass
[ 5 of 10] Compiling Text.Collate.Normalize
[ 6 of 10] Compiling Text.Collate.Collation
[ 7 of 10] Compiling Text.Collate.TH
[ 8 of 10] Compiling Text.Collate.Tailorings
ghc: internal error: Unable to commit 1048576 bytes of memory
(GHC version 8.4.4 for x86_64_unknown_linux)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Failed to install unicode-collation-0.1.3
cabal: Error: some packages failed to install:
citeproc-0.4.1-7ZI54EVDhbJIJD03cyVJYa depends on citeproc-0.4.1 which failed
to install.
pandoc-2.14.1-6BAoAPUugMCJo4MspHVXNS depends on pandoc-2.14.1 which failed to
install.
unicode-collation-0.1.3-9y3g0HinU8j8DmKJJIEXvA failed during the building
phase. The exception was:
ExitFailure (-6)
Expected behavior
Build pandoc
and install it. Trying to upgrade to newer release than in the Debian 10 repositories.
Environment
- GHC version used: 8.4.4
Optional:
- Operating System: Debian 10 (Buster) on x86_64
- System Architecture: