GHC 9.4.1-rc1 build error when trying a `perf` build using `hadrian`
Summary
The RC fails to build for me using hadrian
, complaining about a missing xhtml
dependency for haddock.
Steps to reproduce
- unpack ghc-9.4.1-rc1
- patch
utils/ghc-cabal/ghc-cabal.cabal
to work around #21914 (closed) - create
mk/build.mk
withBuildFlavour=perf
set ./configure
hadrian/build
Final lines of output:
[...]
/-----------------------------------------------------------------\
| Successfully built library 'ghc' (Stage0 InTreeLibs, way v). |
| Library: _build/stage0/compiler/build/libHSghc-9.4.0.20220721.a |
| Library synopsis: The GHC API. |
\-----------------------------------------------------------------/
| Copy package 'ghc'
# cabal-copy (for _build/stage0/lib/package.conf.d/ghc-9.4.0.20220721.conf)
| Register package 'ghc'
# cabal-register (for _build/stage0/lib/package.conf.d/ghc-9.4.0.20220721.conf)
| Configure package 'ghc-bin'
| Configure package 'haddock'
# cabal-configure (for _build/stage0/utils/haddock/setup-config)
hadrian: Encountered missing or private dependencies:
xhtml >=3000.2 && <3000.3
ExitFailure 1
Build failed.
Environment
- GHC version used: GHC-9.0.2
- cabal-install version: 3.6.2.0 (with an empty store, initially)
- Operating System: Linux
- System Architecture: x86-64
$ ghc-pkg list
/opt/ghc-9.0.2/lib/ghc-9.0.2/package.conf.d
Cabal-3.4.1.0
array-0.5.4.0
base-4.15.1.0
binary-0.8.8.0
bytestring-0.10.12.1
containers-0.6.4.1
deepseq-1.4.5.0
directory-1.3.6.2
exceptions-0.10.4
filepath-1.4.2.1
ghc-9.0.2
ghc-bignum-1.1
ghc-boot-9.0.2
ghc-boot-th-9.0.2
ghc-compact-0.1.0.0
ghc-heap-9.0.2
ghc-prim-0.7.0
ghci-9.0.2
haskeline-0.8.2
hpc-0.6.1.0
integer-gmp-1.1
libiserv-9.0.2
mtl-2.2.2
parsec-3.1.14.0
pretty-1.1.3.6
process-1.6.13.2
rts-1.0.2
stm-2.5.0.0
template-haskell-2.17.0.0
terminfo-0.4.1.5
text-1.2.5.0
time-1.9.3
transformers-0.5.6.2
unix-2.7.2.2
(Note that there is no xhtml
package here; maybe that's relevant?)