Hadrian build can't find xhtml
Job #142873 failed for 47e16237:
Warning: -rtsopts and -with-rtsopts have no effect with -shared.
Call hs_init_ghc() from your main() function to set these options.
| Copy package 'ghc'
# cabal-copy (for _build/stage1/lib/package.conf.d/ghc-8.9.0.20190816.conf)
| Register package 'ghc'
# cabal-register (for _build/stage1/lib/package.conf.d/ghc-8.9.0.20190816.conf)
| Configure package 'haddock'
| Configure package 'ghc-bin'
# cabal-configure (for _build/stage1/utils/haddock/setup-config)
# cabal-configure (for _build/stage1/ghc/setup-config)
hadrian: Encountered missing or private dependencies:
xhtml ==3000.2.*
Error when running Shake build system:
at want, called at src/Main.hs:89:30 in main:Main
* Depends on: binary-dist
at apply1, called at src/Development/Shake/Internal/Rules/Rerun.hs:41:5 in shake-0.18.3-bb963dc752d823fb305bab7070274d0696e389771f360d9616585230ae411430:Development.Shake.Internal.Rules.Rerun
* Depends on: binary-dist-dir
at need, called at src/Rules/BinaryDist.hs:103:9 in main:Rules.BinaryDist
* Depends on: _build/stage1/bin/haddock
at apply1, called at src/Development/Shake/Internal/Rules/Oracle.hs:159:32 in shake-0.18.3-bb963dc752d823fb305bab7070274d0696e389771f360d9616585230ae411430:Development.Shake.Internal.Rules.Oracle
* Depends on: OracleQ (ContextDataKey (Context {stage = Stage1, package = Package {pkgType = Program, pkgName = "haddock", pkgPath = "utils/haddock"}, way = dyn}))
at need, called at src/Hadrian/Oracles/Cabal/Rules.hs:53:9 in main:Hadrian.Oracles.Cabal.Rules
* Depends on: _build/stage1/utils/haddock/setup-config
* Raised the exception:
ExitFailure 1
Strangely the same build in an earlier build of the same commit succeeded. Perhaps this is due non-determinism due to a missing dependency?
@alp, @DavidEichmann, any thoughts on this?