Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,867
    • Issues 4,867
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 456
    • Merge requests 456
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #16399
Closed
Open
Created Mar 06, 2019 by Oleg Grenrus@phadejDeveloper

Error when running --share

On a fresh checkout, db039a4a

# succeeds
./hadrian/build.sh --progress-colour=Never --share=_share -j3
...

# fails
./hadrian/build.sh --progress-colour=Never --share=_share -j3  --build-root=_build-experiment
...

# this succeeds ok
./hadrian/build.sh --progress-colour=Never --share=_share -j3
...
Build completed in 6.97s

# Trying without share: still fails with the same error
./hadrian/build.sh --progress-colour=Never -j3  --build-root=_build-experiment
...
| Run Ghc CompileHs Stage1: libraries/ghc-prim/GHC/Classes.hs => _build-baseline/stage1/libraries/ghc-prim/build/GHC/Classes.p_o
Error when running Shake build system:
  at action, called at src/Rules.hs:35:19 in main:Rules
  at need, called at src/Rules.hs:52:5 in main:Rules
* Depends on: _build-baseline/stage1/bin/ghc-pkg
  at need, called at src/Utilities.hs:71:18 in main:Utilities
* Depends on: _build-baseline/stage1/libraries/integer-gmp/build/libHSinteger-gmp-1.0.2.0-ghc8.9.20190306.so
  at need, called at src/Rules/Gmp.hs:14:5 in main:Rules.Gmp
* Depends on: _build-baseline/stage1/gmp/include/ghc-gmp.h
  at need, called at src/Development/Shake/Internal/Derived.hs:118:15 in shake-0.17.6-ef5d6f7a92b6a347b5077f2591e0d47990d974d264275e5e4048829d4b393706:Development.Shake.Internal.Derived
* Depends on: _build-baseline/stage1/libraries/integer-gmp/build/config.mk
  at error, called at src/Development/Shake/Internal/Rules/File.hs:180:58 in shake-0.17.6-ef5d6f7a92b6a347b5077f2591e0d47990d974d264275e5e4048829d4b393706:Development.Shake.Internal.Rules.File
* Raised the exception:
Error, file does not exist and no rule available:
  _build-baseline/stage1/libraries/integer-gmp/build/config.mk
Trac metadata
Trac field Value
Version
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System (Hadrian)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking