[New-bugs-announce] [issue31396] Configure and make will fail with enabling --with-pydebug

Zhenqing Hu report at bugs.python.org
Fri Sep 8 13:19:03 EDT 2017


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 <report at bugs.python.org>
<https://bugs.python.org/issue31396>
_______________________________________


More information about the New-bugs-announce mailing list