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

Joachim Breitner nomeata at debian.org
Mon Oct 17 07:12:25 UTC 2011


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 at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20111017/d35d7dab/attachment.pgp>


More information about the Pkg-haskell-maintainers mailing list