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

2010-02-22 Thread Joachim Breitner
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
 
 Full build logs:
   
 https://buildd.debian.org/status/package.php?suite=unstablep=highlighting-kate
 
 Please note that I tried several builds, including with uptodate
 hscolour (and I saw #570937, the give-back led to the same results as
 for the previous attempts).

It seems that in this case, there really are invalid UTF-8-Bytesequences
in the file, sourceful upload is pending. (I hope my computer handles
the build on i386, otherwise I’ll have to ask marco to build it.)

(I presume that in the other cases, where 1.16 fixed it, the error
message came because of double decoding or something like that before).

Greetings,
Joachim

-- 
Joachim nomeata Breitner
Debian Developer
  nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


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

2010-02-22 Thread Joachim Breitner
Hi,

Am Montag, den 22.02.2010, 15:34 +0100 schrieb Cyril Brulebois:
 Joachim Breitner nome...@debian.org (22/02/2010):
  (I hope my computer handles the build on i386, otherwise I’ll have
  to ask marco to build it.)
 
 Let me know if I can upload something for you.

Thanks for the offer. On i386 I could build it fine (on amd64, it was
using too much memory – one of the disadvantages of 64. What were the
advantages again? Nevermind ;-))

  (I presume that in the other cases, where 1.16 fixed it, the error
  message came because of double decoding or something like that before).
 
 Okay.

This also means that if the error happens again with 1.16, please file a
FTBFS bugreport, as it requires a sourceful upload to fix it.

Greetings,
Joachim

-- 
Joachim nomeata Breitner
Debian Developer
  nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


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

2010-02-22 Thread Cyril Brulebois
Joachim Breitner nome...@debian.org (22/02/2010):
 (I hope my computer handles the build on i386, otherwise I’ll have
 to ask marco to build it.)

Let me know if I can upload something for you.

 (I presume that in the other cases, where 1.16 fixed it, the error
 message came because of double decoding or something like that before).

Okay.

Mraw,
KiBi.


signature.asc
Description: Digital signature


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

2010-02-22 Thread John MacFarlane
+++ 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




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2010-02-22 Thread John MacFarlane
+++ 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




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org