ghc-bignum issue while running hadrian/build -j
Summary
I'm a newcomer working on Hadrian following the setup instructions here. While trying to get setup, I ran into the following error:
Error when running Shake build system:
at action, called at src/Rules.hs:40:19 in main:Rules
at need, called at src/Rules.hs:62:5 in main:Rules
* Depends on: _build/stage1/lib/package.conf.d/base-4.15.0.0.conf
at apply1, called at src/Development/Shake/Internal/Rules/Oracle.hs:159:32 in shake-0.18.5-ff2d55bc7a583713dacf2cc182c92c161d6347d3b0f20f7dd27741dbc345a51c:Development.Shake.Internal.Rules.Oracle
* Depends on: OracleQ (ContextDataKey (Context {stage = Stage1, package = Package {pkgType = Library, pkgName = "base", pkgPath = "libraries/base"}, way = v}))
at need, called at src/Hadrian/Oracles/Cabal/Rules.hs:53:9 in main:Hadrian.Oracles.Cabal.Rules
* Depends on: _build/stage1/libraries/base/setup-config
at apply1, called at src/Development/Shake/Internal/Rules/Oracle.hs:159:32 in shake-0.18.5-ff2d55bc7a583713dacf2cc182c92c161d6347d3b0f20f7dd27741dbc345a51c:Development.Shake.Internal.Rules.Oracle
* Depends on: OracleQ (ContextDataKey (Context {stage = Stage1, package = Package {pkgType = Library, pkgName = "ghc-bignum", pkgPath = "libraries/ghc-bignum"}, way = v}))
at need, called at src/Hadrian/Oracles/Cabal/Rules.hs:53:9 in main:Hadrian.Oracles.Cabal.Rules
* Depends on: _build/stage1/libraries/ghc-bignum/setup-config
* Raised the exception:
ExitFailure 1
Steps to reproduce
First I followed the GHC newcomer guide here
Then, I ran hadrian/build -j
Expected behavior
Not sure, but presumably it shouldn't give this error :)
Environment
- GHC version used: 9.0
Optional:
- Operating System: Ubuntu 18.04
- System Architecture: x86_64