Hadrian build fails on FreeBSD
Hi,
I've tried a hadrian/build.sh -j on my FreeBSD machine and got greeted by a rather nasty looking error.
Up to date
shakeArgsWith 0.000s 0%
Function shake 0.275s 80% =========================
Database read 0.000s 0%
With database 0.000s 0%
Running rules 0.065s 19% =====
Total 0.340s 100%
Error when running Shake build system:
* OracleQ (KeyValue ("hadrian/cfg/system.config","host-os"))
* hadrian/cfg/system.config
* hadrian/cfg/system.config settings mk/config.h compiler/ghc.cabal rts/rts.cabal
Configuration file hadrian/cfg/system.config is missing.
Run the configure script manually or let Hadrian run it automatically by passing the flag --configure.
CallStack (from HasCallStack):
error, called at src/Rules/Configure.hs:25:13 in main:Rules.Configure
I've tried this with commit 1a3b9bd0b674ad16a41b942c738b8f34564bcd8d and my current system is FreeBSD lain 12.0-BETA3 FreeBSD 12.0-BETA3 r340097 GENERIC amd64.
Building GHC with the old build system worked perfectly fine though.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.7 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Build System (Hadrian) |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |