#5651: panic while building darcs with profiling
---------------------------------+------------------------------------------
    Reporter:  dmwit             |        Owner:  simonmar    
        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
---------------------------------+------------------------------------------

Comment(by dmwit):

 I didn't see the haskeline error, but the other error ("Unacceptable
 argument type ...") is quite familiar to me. The fix for most packages is
 pretty mechanical: open up the offending file, grep for "import
 Foreign.C.Types" and add "(..)" to any type it imports, e.g. the diff
 would look like:

 {{{
 -import Foreign.C.Types ( CInt, CSize )
 +import Foreign.C.Types ( CInt(..), CSize(..) )
 }}}

 If you like, I will happily host corrected tarballs of versions of any
 package that doesn't build. I don't recall exactly which packages I had to
 fix, but I do remember fixing at least zlib and tar; see
 <http://dmwit.com/zlib-0.5.3.1.tar.gz> and
 <http://dmwit.com/tar-0.3.1.0.tar.gz> for corrected versions.

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