[GHC] #5651: panic while building darcs with profiling

GHC cvs-ghc at haskell.org
Tue Nov 22 11:06:02 CET 2011


#5651: panic while building darcs with profiling
---------------------------------+------------------------------------------
    Reporter:  dmwit             |        Owner:              
        Type:  bug               |       Status:  new         
    Priority:  high              |    Milestone:  7.4.1       
   Component:  Compiler          |      Version:  7.3         
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------
Changes (by simonmar):

 * cc: duncan@… (added)
  * priority:  normal => high
  * milestone:  => 7.4.1


Comment:

 How did you get the dependencies built?  I'm having various problems.

 {{{
 > cabal install --with-ghc=$ghcwrk --only-dependencies
 Resolving dependencies...
 cabal: cannot configure haskeline-0.6.4.0. It requires base ==2.*
 There is no available version of base that satisfies ==2.*
 }}}

 I don't understand this error message at all, since I already have
 `haskeline-0.6.4.0` installed.  Furthermore, when I just `cabal
 configure`, it doesn't mention `haskeline` as a missing dependency:

 {{{
 > cabal configure --with-ghc=$ghcwrk
 Resolving dependencies...
 Configuring darcs-2.7.3...
 setup: At least the following dependencies are missing:
 hashed-storage >=0.5.6 && <0.6,
 html ==1.0.*,
 parsec >=2.0 && <3.2,
 regex-compat >=0.95.1,
 tar ==0.3.*,
 text ==0.11.*,
 vector >=0.7,
 zlib >=0.5.1.0 && <0.6.0.0
 }}}

 I tried installing `hashed-storage` manually, but `zlib` is not building
 with GHC HEAD right now:

 {{{
 Building zlib-0.5.3.1...
 [1 of 5] Compiling Codec.Compression.Zlib.Stream (
 dist/build/Codec/Compression/Zlib/Stream.hs,
 dist/build/Codec/Compression/Zlib/Stream.o )

 Codec/Compression/Zlib/Stream.hsc:857:1:
     Unacceptable argument type in foreign declaration: CInt
     When checking declaration:
       foreign import ccall unsafe "static zlib.h inflateInit2_"
 c_inflateInit2_
         :: StreamState -> CInt -> Ptr CChar -> CInt -> IO CInt
 }}}

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



More information about the Glasgow-haskell-bugs mailing list