New submission from Leo Li <l...@foxleoly.me>:

Hi Team,
I met the issue consistently on 3.7 and 3.7.1.

The configure is well, but when the make will output error messges:

step1: [ok]
sudo ./configure --prefix=/opt/python3.71 --enable-optimizations

step2: make [fail]

if test $? -ne 0 ; then \
        echo "generate-posix-vars failed" ; \
        rm -f ./pybuilddir.txt ; \
        exit 1 ; \
fi
Could not import runpy module
Traceback (most recent call last):
  File "/opt/Python-3.7.1/Lib/runpy.py", line 15, in <module>
    import importlib.util
  File "/opt/Python-3.7.1/Lib/importlib/util.py", line 14, in <module>
    from contextlib import contextmanager
  File "/opt/Python-3.7.1/Lib/contextlib.py", line 4, in <module>
    import _collections_abc
SystemError: <built-in function compile> returned NULL without setting an error
generate-posix-vars failed
Makefile:595: recipe for target 'pybuilddir.txt' failed
make[1]: *** [pybuilddir.txt] Error 1
make[1]: Leaving directory '/opt/Python-3.7.1'
Makefile:523: recipe for target 'profile-opt' failed
make: *** [profile-opt] Error 2


(venv36) myhost ➜  Python-3.7.1 gcc --version
gcc (Debian 4.9.2-10+deb8u1) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(venv36) myhost ➜  Python-3.7.1 uname -a
Linux docker 3.16.0-6-amd64 #1 SMP Debian 3.16.57-2 (2018-07-14) x86_64 
GNU/Linux

Any questions pls mail me.

----------
messages: 328516
nosy: foxleoly
priority: normal
severity: normal
status: open
title: source install [3.7.1] on debian jessie
type: compile error
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35074>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to