[Pkg-haskell-maintainers] Bug#570964: Bug#570964: FTBFS: hGetContents: invalid argument

John MacFarlane jgm at berkeley.edu
Mon Feb 22 17:14:43 UTC 2010


+++ Joachim Breitner [Feb 22 10 15:24 ]:
> Hi,
> 
> Am Montag, den 22.02.2010, 15:05 +0100 schrieb Cyril Brulebois:
> > Source: highlighting-kate
> > your package FTBFS:
> > | Running hscolour for highlighting-kate-0.2.5...
> > | HsColour: Text/Highlighting/Kate/Syntax/D.hs: hGetContents: invalid argument (invalid UTF-8 byte sequence)
> > | make: *** [build-haddock-stamp] Error 1

(Upstream developer here:) I think I see the root of the problem.
highlighting-kate's syntax highlighting modules are generated
programmatically from kate xml language definitions.  I updated
highlighting-kate's own modules for compatibility with GHC 6.12
(where you can't use System.IO.UTF8 or you'll get double
decoding/encoding), but I forgot to update the program that
writes the modules for particular languages. So these source
files are not themselves properly encoded.

I will fix this and upload a new version to HackageDB today if
I can.

John






More information about the Pkg-haskell-maintainers mailing list