panic when compiling again
haskelldb 0.10 doesn't build under ghc 6.10.1. I download it with:
cabal fetch
Then unpack it and use the attached modified .cabal file to enable a build with:
cabal build
It should build. Do a
cabal install
It will then attempt to rebuild, but will fail with the error:
[18 of 25] Compiling Database.HaskellDB.Database ( src/Database/HaskellDB/Database.hs, dist/build/Database/HaskellDB/Database.o )
ghc: panic! (the 'impossible' happened)
(GHC version 6.10.1 for i386-apple-darwin):
idInfo r{tv adJo} [tv]
However, if you clean and then install it will succeed
cabal clean
cabal install
ghc 6.10.1 doesn't like something about the intermediate files left over from the cabal build step.
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | MacOS X |
Architecture | x86 |