Skip to content

Hadrian build fails on Windows

/---------------------------------------------------\
| Successfully built library 'rts' (Stage1, way v). |
| Library: _build/stage1/rts/build/libHSrts-1.0.a   |
\---------------------------------------------------/
| Run Ld Stage1: _build/stage1/rts/build/c/Adjustor.o (and 117 more) => _build/stage1/rts/build/HSrts-1.0.o
copyFile: does not exist (The system cannot find the file specified.)
shakeArgsWith     0.001s    0%                           
Function shake    0.017s    0%                           
Database read     0.337s    0%                           
With database     0.033s    0%                           
Running rules  4047.874s   99%  =========================
Total          4048.261s  100%                           
Error when running Shake build system:
  at src/Main.hs:58:30-42:
* Depends on: binary-dist
  at src/Rules/BinaryDist.hs:97:9-21:
* Depends on: _build/stage1/lib/package.conf.d/rts-1.0.conf
* Raised the exception:
ExitFailure 1

See https://gitlab.haskell.org/ghc/ghc/-/jobs/2838.

Edited by Ben Gamari
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information