Skip to content

GHC panic while installing purescript

$ cabal install purescript
[1 of 1] Compiling Main             ( /tmp/purescript-0.5.6.2-11475/purescript-0.5.6.2/dist/setup/setup.hs, /tmp/purescript-0.5.6.2-11475/purescript-0.5.6.2/dist/setup/Main.o )
Linking /tmp/purescript-0.5.6.2-11475/purescript-0.5.6.2/dist/setup/setup ...
Configuring purescript-0.5.6.2...
Building purescript-0.5.6.2...
Preprocessing library purescript-0.5.6.2...
[ 1 of 53] Compiling Language.PureScript.Parser.State ( src/Language/PureScript/Parser/State.hs, dist/build/Language/PureScript/Parser/State.o )

...

[53 of 53] Compiling Language.PureScript ( src/Language/PureScript.hs, dist/build/Language/PureScript.o )
In-place registering purescript-0.5.6.2...
Preprocessing executable 'psc' for purescript-0.5.6.2...
[1 of 2] Compiling Paths_purescript ( dist/build/autogen/Paths_purescript.hs, dist/build/psc/psc-tmp/Paths_purescript.o )
[2 of 2] Compiling Main             ( psc/Main.hs, dist/build/psc/psc-tmp/Main.o )
ghc: panic! (the 'impossible' happened)
  (GHC version 7.4.1 for x86_64-unknown-linux):
	tyThingTyCon
    Data constructor `purescript-0.5.6.2:Language.PureScript.Options.Compile{d r21e}'

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

Failed to install purescript-0.5.6.2
cabal: Error: some packages failed to install:
purescript-0.5.6.2 failed during the building phase. The exception was:
ExitFailure 1
Trac metadata
Trac field Value
Version 7.4.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information