snapframework/snap

Install fails with ExitFailure 1 on either "cabal install snap" or "cabal install" after git-ing snap

Closed this issue · 1 comments

This is the error that I am recieving:

ghc: panic! (the 'impossible' happened)
(GHC version 7.0.2 for x86_64-unknown-linux):
loadArchive "/usr/lib/ghc-7.0.2/ghc-7.0.2/libHSghc-7.0.2.a": failed

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

cabal: Error: some packages failed to install:
snap-0.4 failed during the building phase. The exception was:
ExitFailure 1

Anything I can provide to help fixing this?

Hi there,

This is a known issue with the GHC 7.0.2 version packaged by some distributions -- something about stripping ".a" files in installer scripts. I believe it's an instance of this bug: http://hackage.haskell.org/trac/ghc/ticket/5004

Please take a look there. Closing this because it isn't a snap bug.