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

John MacFarlane jgm at berkeley.edu
Mon Feb 22 17:36:48 UTC 2010


+++ John MacFarlane [Feb 22 10 09:14 ]:
> +++ 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.

On further investigation:  the source files in the current Hackage
package (0.2.6) do seem to be properly encoded.  (I generated them
on a machine running ghc 6.10.4.)  So I am not sure what the problem
is with the D.hs module...

John






More information about the Pkg-haskell-maintainers mailing list