[New-bugs-announce] [issue32335] Failed Python build on Fedora 27

Amit Ghadge report at bugs.python.org
Fri Dec 15 12:27:34 EST 2017


New submission from Amit Ghadge <amitg.b14 at gmail.com>:

Hi, I'm try to build Python from source on Fedora 27 but it shows below message and build was failed,
gcc -pthread   -Xlinker -export-dynamic -o python Programs/python.o libpython3.7dm.a -lpthread -ldl  -lutil   -lm  
gcc -pthread   -Xlinker -export-dynamic -o Programs/_testembed Programs/_testembed.o libpython3.7dm.a -lpthread -ldl  -lutil   -lm  
./python -E -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
	echo "generate-posix-vars failed" ; \
	rm -f ./pybuilddir.txt ; \
	exit 1 ; \
fi
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 1141, in _install
  File "<frozen importlib._bootstrap>", line 1133, in _setup
  File "<frozen importlib._bootstrap>", line 1100, in _builtin_from_name
ImportError: no built-in module named _thread
Fatal Python error: initimport: importlib install failed

Current thread 0x00007fefeacef600 (most recent call first):
/bin/sh: line 5: 12806 Aborted                 (core dumped) ./python -E -S -m sysconfig --generate-posix-vars
generate-posix-vars failed
make: *** [Makefile:590: pybuilddir.txt] Error 1

----------
messages: 308413
nosy: amitg-b14
priority: normal
severity: normal
status: open
title: Failed Python build on Fedora 27
type: compile error
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32335>
_______________________________________


More information about the New-bugs-announce mailing list