config.status: error: cannot find input file: `ghc-prim.buildinfo.in'
I am trying to build with hadrian, using
make distclean
./boot && ./configure
hadrian/build.sh -j --flavour=devel2
but I get this result:
/---------------------------------------------------------\
| Successfully built program 'hp2ps' (Stage1). |
| Executable: _build/stage1/bin/hp2ps |
| Program synopsis: Heap Profile to PostScript converter. |
\---------------------------------------------------------/
| Run Make "_build/stage1/libffi/build": none => none
Makefile:3407: Warnung: Die Befehle für das Ziel „libffi.map“ werden überschrieben
Makefile:732: Warnung: Alte Befehle für das Ziel „libffi.map“ werden ignoriert
Makefile:1804: Warnung: Die Befehle für das Ziel „libffi.map“ werden überschrieben
Makefile:672: Warnung: Alte Befehle für das Ziel „libffi.map“ werden ignoriert
Makefile:1804: Warnung: Die Befehle für das Ziel „libffi.map“ werden überschrieben
Makefile:672: Warnung: Alte Befehle für das Ziel „libffi.map“ werden ignoriert
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
Makefile:1804: Warnung: Die Befehle für das Ziel „libffi.map“ werden überschrieben
Makefile:672: Warnung: Alte Befehle für das Ziel „libffi.map“ werden ignoriert
| Copy file (untracked): _build/stage1/libffi/build/inst/include/ffi.h => _build/stage1/rts/build/ffi.h
| Copy file (untracked): _build/stage1/libffi/build/inst/include/ffitarget.h => _build/stage1/rts/build/ffitarget.h
| Copy file (untracked): _build/stage1/libffi/build/inst/lib/libffi.a => _build/stage1/rts/build/libCffi.a
| Copy file (untracked): _build/stage1/libffi/build/inst/lib/libffi.a => _build/stage1/rts/build/libCffi.a
| Copy file (untracked): _build/stage1/libffi/build/inst/lib/libffi.a => _build/stage1/rts/build/libCffi_thr.a
| Successfully bundled custom library 'libffi' with rts
| Copy package 'rts'
# cabal-copy (for _build/stage1/lib/package.conf.d/rts-1.0.conf)
| Register package 'rts'
# cabal-register (for _build/stage1/lib/package.conf.d/rts-1.0.conf)
# cabal-configure (for _build/stage1/libraries/ghc-prim/setup-config)
config.status: error: cannot find input file: `ghc-prim.buildinfo.in'
Error when running Shake build system:
at action, called at src/Rules.hs:69:19 in main:Rules
at need, called at src/Rules.hs:91:5 in main:Rules
* Depends on: _build/stage1/lib/package.conf.d/ghc-prim-0.6.1.conf
at apply1, called at src/Development/Shake/Internal/Rules/Oracle.hs:159:32 in shake-0.17.8-4fb3f6384658350f717d2f64c3769f5e9b68aa286c8e727ec252c3cc8aacc395:Development.Shake.Internal.Rules.Oracle
* Depends on: OracleQ (ContextDataKey (Context {stage = Stage1, package = Package {pkgType = Library, pkgName = "ghc-prim", pkgPath = "libraries/ghc-prim"}, 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-prim/setup-config
* Raised the exception:
ExitFailure 1