
The Windows build is broken again. Here's the tail of the log It would be good if we could stop this happening Simon == End post-build package check make: Entering directory '/c/code/HEAD/testsuite/tests' WARNING: cache is out of date: C:\code\HEAD\inplace\lib\package.conf.d\package.cache ghc will see an old view of this package db. Use 'ghc-pkg recache' to fix. WARNING: cache is out of date: C:\code\HEAD\inplace\lib\package.conf.d\package.cache ghc will see an old view of this package db. Use 'ghc-pkg recache' to fix. "/c/code/HEAD/inplace/bin/ghc-stage2.exe" --make -o ../mk/ghc-config ../mk/ghc-config.hs [1 of 1] Compiling Main ( ..\mk\ghc-config.hs, ..\mk\ghc-config.o ) Linking ../mk/ghc-config.exe ... ../mk/ghc-config "/c/code/HEAD/inplace/bin/ghc-stage2.exe" >"../mk/ghcconfig_c_code_HEAD_inplace_bin_ghc-stage2.exe.mk"; if [ $? != 0 ]; then rm -f "../mk/ghcconfig_c_code_HEAD_inplace_bin_ghc-stage2.exe.mk"; exit 1; fi WARNING: cache is out of date: C:\code\HEAD\inplace\lib\package.conf.d\package.cache ghc will see an old view of this package db. Use 'ghc-pkg recache' to fix. WARNING: cache is out of date: C:\code\HEAD\inplace\lib\package.conf.d\package.cache ghc will see an old view of this package db. Use 'ghc-pkg recache' to fix. # See Note [validate and testsuite speed] in toplevel Makefile. make SPEED=2 make[1]: Entering directory '/c/code/HEAD/testsuite/tests' WARNING: cache is out of date: C:\code\HEAD\inplace\lib\package.conf.d\package.cache ghc will see an old view of this package db. Use 'ghc-pkg recache' to fix. WARNING: cache is out of date: C:\code\HEAD\inplace\lib\package.conf.d\package.cache ghc will see an old view of this package db. Use 'ghc-pkg recache' to fix. Looks like you don't have timeout, building it first... make -C ../timeout all make[2]: Entering directory '/c/code/HEAD/testsuite/timeout' rm -f -f TimeMe.o TimeMe.hi TimeMe TimeMe.exe python3 calibrate '' > calibrate.out rm -rf install-inplace '/c/code/HEAD/inplace/bin/ghc-stage2.exe' --make Setup [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking Setup.exe ... ./Setup configure --with-compiler='/c/code/HEAD/inplace/bin/ghc-stage2.exe' \ --with-hc-pkg='/c/code/HEAD/inplace/bin/ghc-pkg.exe' \ --with-hsc2hs='/c/code/HEAD/inplace/bin/hsc2hs.exe' \ \ --ghc-option=-threaded --prefix='/c/code/HEAD/testsuite/timeout/install-inplace' Configuring timeout-1... ./Setup build Preprocessing executable 'timeout' for timeout-1.. Building executable 'timeout' for timeout-1.. [1 of 2] Compiling WinCBindings ( dist\build\timeout\timeout-tmp\WinCBindings.hs, dist\build\timeout\timeout-tmp\WinCBindings.o ) [2 of 2] Compiling Main ( timeout.hs, dist\build\timeout\timeout-tmp\Main.o ) Linking dist\build\timeout\timeout.exe ... ./Setup install Installing executable timeout in C:/code/HEAD/testsuite/timeout/install-inplace\bin Warning: The directory C:/code/HEAD/testsuite/timeout/install-inplace\bin is not in the system search path. make[2]: Leaving directory '/c/code/HEAD/testsuite/timeout' PYTHON="python3" "python3" ../driver/runtests.py -e ghc_compiler_always_flags="'-dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -dno-debug-output'" -e config.compiler_debugged=False -e ghc_with_native_codegen=1 -e config.have_vanilla=True -e config.have_dynamic=False -e config.have_profiling=False -e ghc_with_threaded_rts=1 -e ghc_with_dynamic_rts=0 -e config.have_interp=True -e config.unregisterised=False -e config.ghc_dynamic_by_default=False -e config.ghc_dynamic=False -e ghc_with_smp=1 -e ghc_with_llvm=0 -e windows=True -e darwin=False -e config.in_tree_compiler=True --threads=5 -e config.cleanup=True -e config.local=False --rootdir=. --configfile=../config/ghc -e 'config.confdir="../config"' -e 'config.platform="x86_64-unknown-mingw32"' -e 'config.os="mingw32"' -e 'config.arch="x86_64"' -e 'config.wordsize="64"' -e 'config.timeout=int() or config.timeout' -e 'config.exeext=".exe"' -e 'config.top="/c/code/HEAD/testsuite"' --config 'compiler="/c/code/HEAD/inplace/bin/ghc-stage2.exe"' --config 'ghc_pkg="/c/code/HEAD/inplace/bin/ghc-pkg.exe"' --config 'haddock="/c/code/HEAD/inplace/bin/haddock.exe"' --config 'hp2ps="/c/code/HEAD/inplace/bin/hp2ps.exe"' --config 'hpc="/c/code/HEAD/inplace/bin/hpc.exe"' --config 'gs="gs"' --config 'timeout_prog="../timeout/install-inplace/bin/timeout.exe"' -e "config.stage=2" --summary-file "../../testsuite_summary.txt" --no-print-summary 1 --rootdir=../../libraries/Win32/tests --rootdir=../../libraries/array/tests --rootdir=../../libraries/base/tests --rootdir=../../libraries/binary/tests --rootdir=../../libraries/bytestring/tests --rootdir=../../libraries/containers/tests --rootdir=../../libraries/deepseq/tests --rootdir=../../libraries/directory/tests --rootdir=../../libraries/filepath/tests --rootdir=../../libraries/ghc-compact/tests --rootdir=../../libraries/ghc-prim/tests --rootdir=../../libraries/haskeline/tests --rootdir=../../libraries/hpc/tests --rootdir=../../libraries/pretty/tests --rootdir=../../libraries/process/tests --rootdir=../../libraries/template-haskell/tests \ \ \ \ \ \ -e config.speed="2" \ Traceback (most recent call last): File "../driver/runtests.py", line 189, in <module> pkginfo = str(getStdout([config.ghc_pkg, 'dump'])) File "/c/code/HEAD/testsuite/driver/testutil.py", line 25, in getStdout raise Exception("stderr from command: " + str(cmd_and_args)) Exception: stderr from command: ['"/c/code/HEAD/inplace/bin/ghc-pkg.exe"', 'dump'] make[1]: *** [../mk/test.mk:299: test] Error 1 make[1]: Leaving directory '/c/code/HEAD/testsuite/tests' make: *** [../mk/test.mk:315: fasttest] Error 2 make: Leaving directory '/c/code/HEAD/testsuite/tests' make: Entering directory '/c/code/HEAD/testsuite/tests/stage1' WARNING: cache is out of date: C:\code\HEAD\inplace\lib\package.conf.d\package.cache ghc will see an old view of this package db. Use 'ghc-pkg recache' to fix. ../../mk/ghc-config "/c/code/HEAD/inplace/bin/ghc-stage1.exe" >"../../mk/ghcconfig_c_code_HEAD_inplace_bin_ghc-stage1.exe.mk"; if [ $? != 0 ]; then rm -f "../../mk/ghcconfig_c_code_HEAD_inplace_bin_ghc-stage1.exe.mk"; exit 1; fi WARNING: cache is out of date: C:\code\HEAD\inplace\lib\package.conf.d\package.cache ghc will see an old view of this package db. Use 'ghc-pkg recache' to fix. # See Note [validate and testsuite speed] in toplevel Makefile. make SPEED=2 make[1]: Entering directory '/c/code/HEAD/testsuite/tests/stage1' WARNING: cache is out of date: C:\code\HEAD\inplace\lib\package.conf.d\package.cache ghc will see an old view of this package db. Use 'ghc-pkg recache' to fix. PYTHON="python3" "python3" ../../driver/runtests.py -e ghc_compiler_always_flags="'-dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -dno-debug-output'" -e config.compiler_debugged=True -e ghc_with_native_codegen=1 -e config.have_vanilla=True -e config.have_dynamic=False -e config.have_profiling=False -e ghc_with_threaded_rts=1 -e ghc_with_dynamic_rts=0 -e config.have_interp=False -e config.unregisterised=False -e config.ghc_dynamic_by_default=False -e config.ghc_dynamic=False -e ghc_with_smp=1 -e ghc_with_llvm=0 -e windows=True -e darwin=False -e config.in_tree_compiler=True --threads=5 -e config.cleanup=True -e config.local=False --rootdir=. --configfile=../../config/ghc -e 'config.confdir="../../config"' -e 'config.platform="x86_64-unknown-mingw32"' -e 'config.os="mingw32"' -e 'config.arch="x86_64"' -e 'config.wordsize="64"' -e 'config.timeout=int() or config.timeout' -e 'config.exeext=".exe"' -e 'config.top="/c/code/HEAD/testsuite"' --config 'compiler="/c/code/HEAD/inplace/bin/ghc-stage1.exe"' --config 'ghc_pkg="/c/code/HEAD/inplace/bin/ghc-pkg.exe"' --config 'haddock="/c/code/HEAD/inplace/bin/haddock.exe"' --config 'hp2ps="/c/code/HEAD/inplace/bin/hp2ps.exe"' --config 'hpc="/c/code/HEAD/inplace/bin/hpc.exe"' --config 'gs="gs"' --config 'timeout_prog="../../timeout/install-inplace/bin/timeout.exe"' -e "config.stage=1" --summary-file "../../../testsuite_summary_stage1.txt" --no-print-summary 1 \ \ \ \ \ \ -e config.speed="2" \ Traceback (most recent call last): File "../../driver/runtests.py", line 189, in <module> pkginfo = str(getStdout([config.ghc_pkg, 'dump'])) File "/c/code/HEAD/testsuite/driver/testutil.py", line 25, in getStdout raise Exception("stderr from command: " + str(cmd_and_args)) Exception: stderr from command: ['"/c/code/HEAD/inplace/bin/ghc-pkg.exe"', 'dump'] make[1]: *** [../../mk/test.mk:299: test] Error 1 make[1]: Leaving directory '/c/code/HEAD/testsuite/tests/stage1' make: *** [../../mk/test.mk:315: fasttest] Error 2 make: Leaving directory '/c/code/HEAD/testsuite/tests/stage1' ==== STAGE 1 TESTS ==== cat: testsuite_summary_stage1.txt: No such file or directory /c/code/HEAD$