Thursday, April 28, 2022

Re: ghc-9.2.2 upgrade (and many dependent ports)

Thanks Volker for catching the bug.

Matthias Kilian <kili@outback.escape.de> writes:

>> 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 && \

Mea culpa, I didn't rebuild the complete ghc package from scratch after
doing i386 removal. Thanks Matthias for quickly sending the fix. Here's
the updated patch (with @conflict markers restored as noted by Stuart).

Thanks
Greg

No comments:

Post a Comment