#5405: Strange closure type crash when using Template Haskell on OS X Lion
-------------------------------+--------------------------------------------
Reporter: AndreasVoellmy | Owner:
Type: bug | Status: new
Priority: normal | Component: GHCi
Version: 7.0.4 | Keywords:
Testcase: | Blockedby:
Os: MacOS X | Blocking:
Architecture: x86_64 (amd64) | Failure: GHCi crash
-------------------------------+--------------------------------------------
Comment(by AndreasVoellmy):
I tried to reproduce with 7.2.1, but am stuck sorting out dependencies. I
need both haskell-src-exts and syntax-trees packages installed, but
installing syntax-trees fails with the following problem:
{{{
$ cabal install syntax-trees
Resolving dependencies...
cabal: dependencies conflict: ghc-7.2.1 requires unix ==2.5.0.0 however
unix-2.5.0.0 was excluded because hint-0.3.3.2 requires unix >=2.2.0.0 &&
<2.5
}}}
I've gotten the hint package and updated the dependencies to allow
unix<=2.5.0.0, but installing hint with this updated hint.cabal file then
gives the following error:
{{{
/usr/bin/ghc --make -package-name haskell-src-1.0.1.4 -hide-all-packages
-fbuilding-cabal-package -i -idist/build -i. -idist/build/autogen
-Idist/build/autogen -Idist/build -optP-include
-optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build
-stubdir dist/build -package-id
array-0.3.0.3-c44933d3fbce723d80826d5476f34587 -package-id
base-4.4.0.0-b81f1ae0118e4c9367b9db3fd76eea62 -package-id
haskell98-2.0.0.0-9eb8dabb420ff8895b120c46656b2297 -package-id
pretty-1.1.0.0-a71ea30eded99ca18503f9083b61c91a -package-id
syb-0.3.3-a30fb29604a386579941b5a6f9820dc4 -O -XHaskell98 -XCPP
Language.Haskell.Lexer Language.Haskell.Parser Language.Haskell.ParseMonad
Language.Haskell.Pretty Language.Haskell.Syntax
Language.Haskell.ParseUtils
Implicit import declaration:
Ambiguous module name `Prelude':
it was found in multiple packages: base haskell98-2.0.0.0
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5405#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs