#3862: ghc crash while building hledger with cabal
---------------------------------+------------------------------------------
    Reporter:  simonmic          |        Owner:                    
        Type:  bug               |       Status:  new               
    Priority:  normal            |    Milestone:                    
   Component:  Compiler          |      Version:  6.10.4            
    Keywords:                    |   Difficulty:                    
          Os:  MacOS X           |     Testcase:                    
Architecture:  Unknown/Multiple  |      Failure:  Compile-time crash
---------------------------------+------------------------------------------

Comment(by simonpj):

 I suspect this is fixed in 6.12 (see eg #3528), but I couldn't try it
 because I get this when installing dependencies.  Maybe `HUnit` isn't 6.12
 compatible.
 {{{
 cabal install --with-ghc=$head1 --user HUnit
 Resolving dependencies...
 Downloading HUnit-1.2.0.0...
 Configuring HUnit-1.2.0.0...
 Preprocessing library HUnit-1.2.0.0...
 Building HUnit-1.2.0.0...
 [1 of 5] Compiling Test.HUnit.Terminal ( Test/HUnit/Terminal.lhs,
 dist/build/Test/HUnit/Terminal.o )
 [2 of 5] Compiling Test.HUnit.Lang  ( Test/HUnit/Lang.lhs,
 dist/build/Test/HUnit/Lang.o )

 Test/HUnit/Lang.lhs:23:43:
     Module `Control.Exception' does not export `throwDyn'
 cabal: Error: some packages failed to install:
 HUnit-1.2.0.0 failed during the building phase. The exception was:
 ExitFailure 1
 bash-3.2$
 }}}
 Would you like to try with 6.12?

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3862#comment:2>
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

Reply via email to