New submission from Zhenqing Hu:
When I updated the source code into the latest version, and configure as well
as build with following command:
./configure --with-pydebug && make -j4
Build will fail with following error message:
==================================================================
Could not import runpy module
Traceback (most recent call last):
File "/home/kevin/research/openSource/cpython/Lib/runpy.py", line 14, in
<module>
import importlib.machinery # importlib first so we can test #15386 via -m
File "/home/kevin/research/openSource/cpython/Lib/importlib/__init__.py",
line 57, in <module>
import types
File "/home/kevin/research/openSource/cpython/Lib/types.py", line 175, in
<module>
import functools as _functools
File "/home/kevin/research/openSource/cpython/Lib/functools.py", line 21, in
<module>
from collections import namedtuple
File "/home/kevin/research/openSource/cpython/Lib/collections/__init__.py",
line 32, in <module>
from reprlib import recursive_repr as _recursive_repr
File "/home/kevin/research/openSource/cpython/Lib/reprlib.py", line 7, in
<module>
from _thread import get_ident
ModuleNotFoundError: No module named '_thread'
generate-posix-vars failed
Makefile:561: recipe for target 'pybuilddir.txt' failed
make: *** [pybuilddir.txt] Error 1
==================================================================
----------
components: Build
messages: 301701
nosy: huzq85
priority: normal
severity: normal
status: open
title: Configure and make will fail with enabling --with-pydebug
type: compile error
versions: Python 3.7
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue31396>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com