To reproduce: ACCEPT_KEYWORDS=~x86 emerge ghc Build fails during execution of: ../../glafp-utils/docbook/db2html -d /var/tmp/portage/haddock-0.5/work/haddock-0.5/docs/fptools-both.dsl haddock.sgml with message: CATALOG file not set up; see installation guide for details.
One needs 3.1 version of sgml-dtd to build haddock and ghc with USE=+doc. Once I installed this version, haddock was able to build. I'm building ghc right now.
I cannot reproduce the bug. You are right, version 3.1 of the sgml-dtd is indeed needed to build haddock correctly with documentation. However, this version is also specified as a dependency of haddock-0.5, and should thus be automatically installed before the haddock emerge begins. This did not happen for you? Best (and sorry for the long delay), Andres
I got no further complaints so far and I still don't know what caused the problem, I will mark the bug as resolved.