[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-haskell-commits] darcs: haskell-dbus: Upstream release of haskell-dbus_0.10



I think it was failing before Haddock's parser got a chance to run. The
error message was:

---------------------------------------------
creating dist-ghc/doc/html/dbus
hlibrary.setup: dist-ghc/doc/html/dbus/haddock-prolog2342.txt: invalid
argument
---------------------------------------------

So my guess is that the compiled Setup.hs was trying to write a [String]
to a Handle, but the Handle's encoding detection was disabled so it
couldn't write non-ASCII characters.

On 06/24/2012 02:28 AM, Joachim Breitner wrote:
> Hi,
> 
> Am Samstag, den 23.06.2012, 22:07 +0000 schrieb John Millikin:
>> diff -rN -u old-haskell-dbus//patches/remove-non-ascii-in-cabal-file.patch new-haskell-dbus//patches/remove-non-ascii-in-cabal-file.patch
>> --- old-haskell-dbus//patches/remove-non-ascii-in-cabal-file.patch	1970-01-01 00:00:00.000000000 +0000
>> +++ new-haskell-dbus//patches/remove-non-ascii-in-cabal-file.patch	2012-06-23 22:07:01.118324246 +0000
>> @@ -0,0 +1,26 @@
>> +Description: Remove non-ASCII characters from dbus.cabal
>> +  Haddock run in an sbuild fails if the Cabal description contains non-ASCII
>> +  characters because it runs with LANG=C.
>> +Origin: upstream, commit:jmillikin@gmail.com-20120623214536-chj7g8fifz99xezo
> 
> I’m surprised it works at all in unicode locales, as haddock generally
> does not allow for unicode characters in docs:
> http://www.haskell.org/haddock/doc/html/ch03s08.html
> But upstream is on the issue:
> http://trac.haskell.org/haddock/ticket/20
> 
> Greetings,
> Joachim
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: