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

Re: [Pkg-haskell-maintainers] Bug#645573: haskell-hipmunk: FTBFS: errors building documentation



Hi,

Am Sonntag, den 16.10.2011, 23:09 -0400 schrieb Aaron M. Ucko:
> Source: haskell-hipmunk
> Version: 5.2.0.4-1
> Severity: serious
> Justification: fails to build from source
> 
> Automatic builds of haskell-hipmunk's architecture-dependent packages
> (which run without build-depends-indep) have been failing:
> 
>   [ ! -x /usr/bin/haddock ] || debian/hlibrary.setup haddock --builddir=dist-ghc --hyperlink-source
>   Running Haddock for Hipmunk-5.2.0.4...
>   Preprocessing library Hipmunk-5.2.0.4...
>   Running hscolour for Hipmunk-5.2.0.4...
>   Warning: The documentation for the following packages are not installed. No
>   links will be generated to these packages: StateVar-1.0.0.0, array-0.3.0.2,
>   base-4.3.1.0, rts-1.0, containers-0.4.0.0, ghc-prim-0.2.0.0,
>   integer-gmp-0.2.0.3, transformers-0.2.2.0
>   hlibrary.setup: dist-ghc/doc/html/Hipmunk/haddock-prolog23382.txt: invalid
>   argument
>   make: *** [build-haddock-stamp] Error 1
> 
> I'm not sure why they're trying to run haddock at all (though I will
> note that haskell-devscripts's dependency on ghc-haddock makes the
> command's conditional redundant)

This might be due to confusion with cdbs, build-indep, build-arch et.
al.. Maybe the situation has changed since two years ago, someone could
check that.

>  or why other packages with your
> standard setup fare better, but there you have it; could you please
> take a look?

In this case, the package has unicode characters in the description,
which haddock does not seem to like in some cases. The problem can be
reproduced by setting "LANG=C", and it seems it is Cabal writing the
file that is the problem, not haddock reading it. Probably the encoding
should be set explicitly in cabal.

Anybody volunteering to discuss that with upstream?

Greetings,
Joachim


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

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: