Unregisterised build error since haddock bump
Summary
Since commit 1578215f building an unregisterised GHC on s390x leads to the following error:
Command line: _build/stage0/bin/ghc -Wall -Wcompat -dynamic-too -hisuf hi -osuf o -hcsuf hc -static -hide-all-packages -no-user-package-db '-package-env -' '-package-db _build/stage1/inplace/package.conf.d' '-this-unit-id template-haskell-2.21.0.0-inplace' '-package-id base-4.19.0.0-inplace' '-package-id ghc-boot-th-9.9-inplace' '-package-id ghc-prim-0.10.0-inplace' '-package-id pretty-1.1.3.6-inplace' -i -i/devel/ghc/master/_build/stage1/libraries/template-haskell/build -i/devel/ghc/master/_build/stage1/libraries/template-haskell/build/autogen -i/devel/ghc/master/libraries/template-haskell/vendored-filepath -i/devel/ghc/master/libraries/template-haskell -Irts/include -I_build/stage1/libraries/template-haskell/build -I/devel/ghc/master/libraries/base/include -I/devel/ghc/master/_build/stage1/libraries/base/build/include -I/devel/ghc/master/libraries/ghc-bignum/include/ -I/devel/ghc/master/_build/stage1/libraries/ghc-bignum/build/include/ -I/devel/ghc/master/rts/include -I/devel/ghc/master/_build/stage1/rts/build/include -optP-include -optP_build/stage1/libraries/template-haskell/build/autogen/cabal_macros.h -outputdir _build/stage1/libraries/template-haskell/build -fdiagnostics-color=always -Wall -this-unit-id template-haskell -XHaskell2010 -XImplicitPrelude -no-global-package-db -package-db=/devel/ghc/master/_build/stage1/inplace/package.conf.d -ghcversion-file=rts/include/ghcversion.h -ghcversion-file=rts/include/ghcversion.h -Wnoncanonical-monad-instances -optc-Wno-error=inline -c libraries/template-haskell/Language/Haskell/TH/Syntax.hs -o _build/stage1/libraries/template-haskell/build/Language/Haskell/TH/Syntax.o -O2 -H32m -haddock -Wno-deprecated-flags
===> Command failed with error code: 1
<command line>: unknown unit: template-haskell
Command failed
Build failed.
Any idea what could have gone wrong?
Steps to reproduce
./boot && ./configure --enable-unregisterised && ./hadrian/build -j
Environment
- GHC version used: 9.4.4
Optional:
- Operating System: Fedora 37
- System Architecture: s390x