#7227: cannot build ghc-7.6.1 because haddock seg-faults
-------------------------+--------------------------------------------------
    Reporter:  maeder    |       Owner:              
        Type:  bug       |      Status:  new         
    Priority:  normal    |   Milestone:              
   Component:  Compiler  |     Version:  7.6.1       
    Keywords:            |          Os:  Solaris     
Architecture:  x86       |     Failure:  None/Unknown
  Difficulty:  Unknown   |    Testcase:              
   Blockedby:            |    Blocking:              
     Related:            |  
-------------------------+--------------------------------------------------

Comment(by maeder):

 I tried to "cabal install haddock" resulting in

 {{{
 [31 of 31] Compiling Documentation.Haddock ( src/Documentation/Haddock.hs,
 dist/build/Documentation/Haddock.o )

 src/Documentation/Haddock.hs:73:21:
     Couldn't match type `GhcMonad.Ghc' with `IO'
     Expected type: IO
                      ([(DocPaths, InterfaceFile)], [Interface], LinkEnv)
       Actual type: GhcMonad.Ghc
                      ([(DocPaths, InterfaceFile)], [Interface], LinkEnv)
     In the return type of a call of `readPackagesAndProcessModules'
     In a stmt of a 'do' block:
       (_, ifaces, _) <- readPackagesAndProcessModules flags modules
     In the expression:
       do { (_, ifaces, _) <- readPackagesAndProcessModules flags modules;
            return ifaces }
 cabal: Error: some packages failed to install:
 haddock-2.12.0 failed during the building phase. The exception was:
 ExitFailure 1
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7227#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to