[Pkg-haskell-maintainers] Bug#652507: [c2hs] #40: c2hs: fails reading its own intermediate representation (.chi)

c2hs cvs-ghc at haskell.org
Sun Dec 18 14:00:54 UTC 2011

#40: c2hs: fails reading its own intermediate representation (.chi)
 Reporter:  guest   |        Type:  defect 
   Status:  new     |    Priority:  normal 
Milestone:          |   Component:  general
  Version:  0.16.2  |    Keywords:         
 This bug was reported against the Debian package of c2hs, at

 c2hs uses shown Language.C data structures as an intermediate
 representation (the .chi files), and has its own code for parsing
 them. It seems that Language.C has changed its Show instance for
 lexemes, and c2hs can no longer parse its own .chi files.

 The symptom for me is that "cabal build" fails with the following
 error message:

   c2hs: Prelude.read: no parse

 Patch attached.

 (Patch at http://bugs.debian.org/cgi-


Ticket URL: <http://hackage.haskell.org/trac/c2hs/ticket/40>
c2hs <http://www.cse.unsw.edu.au/~chak/haskell/c2hs/>
C->Haskell, An Interface Generator for Haskell

More information about the Pkg-haskell-maintainers mailing list