New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
source install [3.7.1] on debian jessie #79255
Comments
Hi Team, The configure is well, but when the make will output error messges: step1: [ok] 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 (venv36) myhost ➜ Python-3.7.1 uname -a Any questions pls mail me. |
Thanks for the report. Is this related using older version of GCC? Searching the bug tracker tells me a related issue (https://bugs.python.org/issue34112) where --enable-optimizations caused build error on 3.7.0 for older compiler toolchain like GCC 4 with a very similar traceback.
|
I've tested 2 way to solve this:
docker ➜ bin gcc --version |
Thanks, I guess then it's the same as bpo-34112 with --enable-optimizations being incompatible with older compiler toolchains like GCC 4 in this case. Feel free to close this if it resolves the issue. |
Sure! Yes, Pls close it. |
Sure, I am closing it with duplicate as resolution adding the related ticket bpo-34112 as superseder. Thanks for the report! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: