[Haskell-cafe] Cannot run GHC-7.10.1 tests

Jeremy Henty onepoint at starurchin.org
Tue Apr 28 21:48:21 UTC 2015


I successfully built GHC-7.10.1 but I cannot run the tests (at least
not when I follow the instructions at
https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests).

"make fast" fails like this:

    ===--- building phase 0
    make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds
    make[1]: Nothing to be done for `phase_0_builds'.
    ===--- building phase 1
    make -r --no-print-directory -f ghc.mk phase=1 phase_1_builds
    make[1]: Nothing to be done for `phase_1_builds'.
    ===--- building final phase
    make -r --no-print-directory -f ghc.mk phase=final fast
    make[1]: *** No rule to make target `fast'.  Stop.
    make: *** [fast] Error 2

"make testfast" fails in exactly the  same way, except that the broken
make target is "testfast" instead of fast.

"make test" and "make fulltest" fail like this:

    make -C testsuite/tests CLEANUP=1 OUTPUT_SUMMARY=../../testsuite_summary.txt fast
    make[1]: Entering directory `/data/build.d/6.8/ghc-7.10.1/testsuite/tests'
    ../mk/boilerplate.mk:168: ../mk/ghcconfig_data_build.d_6.8_ghc-7.10.1_inplace_bin_ghc-stage2.mk: No such file or directory
    ../mk/ghc-config "/data/build.d/6.8/ghc-7.10.1/inplace/bin/ghc-stage2" >"../mk/ghcconfig_data_build.d_6.8_ghc-7.10.1_inplace_bin_ghc-stage2.mk"; if [ $? != 0 ]; then rm -f "../mk/ghcconfig_data_build.d_6.8_ghc-7.10.1_inplace_bin_ghc-stage2.mk"; exit 1; fi
    /bin/sh: ../mk/ghc-config: cannot execute binary file
    make[1]: *** [../mk/ghcconfig_data_build.d_6.8_ghc-7.10.1_inplace_bin_ghc-stage2.mk] Error 1
    make[1]: Leaving directory `/data/build.d/6.8/ghc-7.10.1/testsuite/tests'
    make: *** [test] Error 2

Interestingly, for GHC-7.8.4  "make fast" and "make  testfast" fail in
exactly the same way but "make test" and "make fulltest" both work.

So, how do I test GHC-7.10.1 ?

Regards,

Jeremy Henty


More information about the Haskell-Cafe mailing list