--flavour=quick followed by --flavour=prof fails
Starting from a clean tree I first built successfully with --flavour=quick, I then changed to --flavour=prof and the build failed as follows:
/root/ghc/_build/stage1/rts/build/libCffi_p.a: copyFile: does not exist (No such file or directory)
shakeArgsWith 0.010s 0%
Function shake 0.435s 0%
Database read 0.670s 0%
With database 0.035s 0%
Running rules 123.401s 99% =========================
Total 124.551s 100%
Error when running Shake build system:
at src/Rules.hs:(32,19)-(45,17):
at src/Rules.hs:45:5-17:
* Depends on: _build/stage1/lib/package.conf.d/rts-1.0.conf
* Raised the exception:
ExitFailure 1
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.6.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Build System (Hadrian) |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |