Re: libraries in ghc6-doc
On Wed, Feb 04, 2009 at 01:39:05PM -0200, Marco Túlio Gontijo e Silva wrote:
> my build of ghc6 6.10.1+dfsg1-5 is not coming with
> the /usr/share/doc/ghc6-doc/libraries dir. I'm using haddock 2.4.1-1
> built with ghc 6.10.1+dfsg1-5.
> Is this expected? Am I supposed to do something else to get the docs?
Yes. If you want to build them for yourself, set the
BUILD_HADDOCK_DOCS variable in debian/rules to YES.
GHC includes a copy of haddock 2.3.0 with it and uses, by default,
that to build the haddock docs in ghc6-doc. IMHO it's better to use
the same version and copy of haddock to generate all docs, including
ghc6's own. So I disabled that part and set it to use the haddock in
Debian. But haddock needs to be built with the same version of GHC
that it generates docs for, so this'll take a few steps:
1) build ghc6, without generating haddock docs
2) build haddock, using the new ghc
3) build ghc6 again, using the haddock from 2)
We're still stuck at 1). My primary concern right now is to get ghc6
6.10.1 built on all arches. So far, I know that builds on ia64, armel
and hppa fail. We're looking at those. It'd be really helpful if
ghc6 would be buildable on all arches before uploading it to
But for experimental, we can do with what arches we have already and
try to solve the rest on the porter boxes. I can tell that people are
eager to have ghc6 available yesterday. I'll build -6 tomorrow for
i386 and amd64 and enable haddock docs for it.