On Thu, Apr 28, 2022 at 04:23:01PM +0200, Matthias Kilian wrote:
> > Configuring haddock-2.26.0...
> > ghc-cabal: Encountered missing or private dependencies:
> > xhtml >=3000.2 && <3000.3
>
> Indeed, I get the same error. It looks like for whatever reason,
> the xhml library isn't built before the build system starts to (try
> to build) the stage2 compiler.
This (on top of Greg's diffs) should hopefully fix it:
--- Makefile.orig Thu Apr 28 16:31:06 2022
+++ Makefile Thu Apr 28 16:30:02 2022
@@ -169,7 +169,7 @@
done
cp ${WRKSRC}/mk/build.mk{.sample,}
echo
libraries/base_CONFIGURE_OPTS+=--configure-option=--with-libcharset=no >>
${WRKSRC}/mk/build.mk
- echo HADDOCK_DOCS=${HADDOCK_DOCS} >> ${WRKSRC}/mk/build.mk
+ echo HADDOCK_DOCS=YES >> ${WRKSRC}/mk/build.mk
do-test:
ulimit -c 0 -n 1024 && \