[GHC] #14050: GHC HEAD test suite is broken with Python 3.4.3

GHC ghc-devs at haskell.org
Fri Jul 28 20:22:36 UTC 2017


#14050: GHC HEAD test suite is broken with Python 3.4.3
-------------------------------------+-------------------------------------
           Reporter:  RyanGlScott    |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  highest        |         Milestone:  8.4.1
          Component:  Test Suite     |           Version:  8.3
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 After commit 5e940bd3d554729ce650008a72b4f82a78578a7b, I'm unable to run
 the GHC test suite on my machine:

 {{{
 ghc2/testsuite$ make test
 make -C ./tests test
 make[1]: Entering directory `/home/rgscott/Software/ghc2/testsuite/tests'
 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=True -e
 config.have_profiling=False -e ghc_with_threaded_rts=1 -e
 ghc_with_dynamic_rts=1 -e config.have_interp=True -e
 config.unregisterised=False -e config.ghc_dynamic_by_default=False -e
 config.ghc_dynamic=True -e ghc_with_smp=1 -e ghc_with_llvm=1 -e
 windows=False -e darwin=False -e config.in_tree_compiler=True -e
 config.cleanup=True -e config.local=True --rootdir=. --config-
 file=../config/ghc -e 'config.confdir="../config"' -e
 'config.platform="x86_64-unknown-linux"' -e 'config.os="linux"' -e
 'config.arch="x86_64"' -e 'config.wordsize="64"' -e 'config.timeout=int()
 or config.timeout' -e 'config.exeext=""' -e
 'config.top="/home/rgscott/Software/ghc2/testsuite"' --config
 'compiler="/home/rgscott/Software/ghc2/inplace/test   spaces/ghc-stage2"'
 --config 'ghc_pkg="/home/rgscott/Software/ghc2/inplace/test   spaces/ghc-
 pkg"' --config 'haddock=' --config
 'hp2ps="/home/rgscott/Software/ghc2/inplace/test   spaces/hp2ps"' --config
 'hpc="/home/rgscott/Software/ghc2/inplace/test   spaces/hpc"' --config
 'gs="gs"' --config 'timeout_prog="../timeout/install-inplace/bin/timeout"'
 -e "config.stage=2"   --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  --rootdir=../../libraries/unix/tests \
                  \
                  \
                  \
                  \
                  \
                  \

 Traceback (most recent call last):
   File "../driver/runtests.py", line 46, in <module>
     allow_abbrev=False)
 TypeError: __init__() got an unexpected keyword argument 'allow_abbrev'
 make[1]: *** [test] Error 1
 make[1]: Leaving directory `/home/rgscott/Software/ghc2/testsuite/tests'
 make: *** [test] Error 2
 }}}

 geekosaur mentioned that my version of Python is likely to be important:

 {{{
 $ python3 --version
 Python 3.4.3
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14050>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list