PS: a from-scratch build fell over like this (below).

the time-library problem in my other message happened when I said ‘sh validate –fast –no-clean’; that is, with -no-clean.  Which is odd.

Simoin

 

checking for __gmpz_powm_sec in -lgmp... yes

checking whether to use in-tree GMP... no

checking gmp.h usability... yes

checking gmp.h presence... yes

checking for gmp.h... yes

checking GMP version... 5.0.2

configure: creating ./config.status

config.status: creating integer-gmp.buildinfo

config.status: creating gmp/config.mk

config.status: creating include/HsIntegerGmp.h

configure: WARNING: unrecognized options: --with-compiler

"/home/simonpj/5builds/HEAD-5/inplace/bin/ghc-pkg" update -v0 --force  libraries/integer-gmp/dist-install/inplace-pkg-config

integer-gmp-1.0.0.1: Warning: haddock-interfaces: /5playpen/simonpj/HEAD-5/libraries/integer-gmp/dist-install/doc/html/integer-gmp/integer-gmp.haddock doesn't exist or isn't a file

<<ghc: 4852782432 bytes, 3574 GCs, 15628586/45742440 avg/max bytes residency (10 samples), 113M in use, 0.000 INIT (0.000 elapsed), 4.380 MUT (7.814 elapsed), 1.284 GC (1.363 elapsed) :ghc>>

echo "compiler_stage2_depfile_haskell_EXISTS = YES" >> compiler/stage2/build/.depend-v-dyn.haskell.tmp

for dir in compiler/stage2/build/./ compiler/stage2/build/CodeGen/ compiler/stage2/build/CodeGen/Platform/ compiler/stage2/build/Dwarf/ compiler/stage2/build/Hoopl/ compiler/stage2/build/Llvm/ compiler/stage2/build/LlvmCodeGen/ compiler/stage2/build/PPC/ compiler/stage2/build/RegAlloc/ compiler/stage2/build/RegAlloc/Graph/ compiler/stage2/build/RegAlloc/Linear/ compiler/stage2/build/RegAlloc/Linear/PPC/ compiler/stage2/build/RegAlloc/Linear/SPARC/ compiler/stage2/build/RegAlloc/Linear/X86/ compiler/stage2/build/RegAlloc/Linear/X86_64/ compiler/stage2/build/SPARC/ compiler/stage2/build/SPARC/CodeGen/ compiler/stage2/build/SysTools/ compiler/stage2/build/Vectorise/ compiler/stage2/build/Vectorise/Builtins/ compiler/stage2/build/Vectorise/Generic/ compiler/stage2/build/Vectorise/Monad/ compiler/stage2/build/Vectorise/Type/ compiler/stage2/build/Vectorise/Utils/ compiler/stage2/build/X86/; do if test ! -d $dir; then mkdir -p $dir; fi done

grep -v ' : [a-zA-Z]:/' compiler/stage2/build/.depend-v-dyn.haskell.tmp > compiler/stage2/build/.depend-v-dyn.haskell.tmp2

sed -e '/hs$/ p' -e '/hs$/ s/o /hi /g' -e '/hs$/ s/:/ : %hi: %o /' -e '/hs$/ s/^/$(eval $(call hi-rule,/' -e '/hs$/ s/$/))/' -e '/hs-boot$/ p' -e '/hs-boot$/ s/o-boot /hi-boot /g' -e '/hs-boot$/ s/:/ : %hi-boot: %o-boot /' -e '/hs-boot$/ s/^/$(eval $(call hi-rule,/' -e '/hs-boot$/ s/$/))/' compiler/stage2/build/.depend-v-dyn.haskell.tmp2 > compiler/stage2/build/.depend-v-dyn.haskell

make: *** [all] Error 2