This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author foxleoly
Recipients foxleoly
Date 2018-10-26.06:57:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1540537075.17.0.788709270274.issue35074@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-10-26 06:57:55foxleolysetrecipients: + foxleoly
2018-10-26 06:57:55foxleolysetmessageid: <1540537075.17.0.788709270274.issue35074@psf.upfronthosting.co.za>
2018-10-26 06:57:55foxleolylinkissue35074 messages
2018-10-26 06:57:54foxleolycreate