[issue32335] Failed Python build on Fedora 27

2017-12-25 Thread Xavier de Gaye

Change by Xavier de Gaye :


--
resolution:  -> not a bug

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32335] Failed Python build on Fedora 27

2017-12-24 Thread Amit Ghadge

Amit Ghadge  added the comment:

It's work and build succeed. Thanks Xavier

--
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32335] Failed Python build on Fedora 27

2017-12-24 Thread Xavier de Gaye

Xavier de Gaye  added the comment:

Your build failure output shows that _threadmodule.c is not compiled and 
therefore the _thread module is missing.

You just need to overwrite the current Modules/Setup file (it is possibly 
corrupted somehow) as suggested at the start of your attached build output and 
then run make again:

$ cp Modules/Setup.dist Modules/Setup
$ make

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32335] Failed Python build on Fedora 27

2017-12-24 Thread Amit Ghadge

Amit Ghadge  added the comment:

build failure output;

--
Added file: https://bugs.python.org/file47347/build_.txt

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32335] Failed Python build on Fedora 27

2017-12-24 Thread Xavier de Gaye

Xavier de Gaye  added the comment:

I get the same build failure when the following line is commented out in 
Modules/Setup:

_thread _threadmodule.c # low-level threading interface

Can you please attach the full output of the build.

--
nosy: +xdegaye

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32335] Failed Python build on Fedora 27

2017-12-15 Thread Amit Ghadge

Amit Ghadge  added the comment:

My current git log is,
Author: Victor Stinner 
Date:   Fri Dec 15 16:29:24 2017 +0100

bpo-32294: Fix multiprocessing test_semaphore_tracker() (#4885)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32335] Failed Python build on Fedora 27

2017-12-15 Thread Amit Ghadge

Amit Ghadge  added the comment:

After the some investigation,
1f06a680de465be0c24a78ea3b610053955daa99 PR was OK,
a6a4dc816d68df04a7d592e0b6af8c7ecc4d4344 build failed but ./python run
88c60c9668f0aa732693517a60b851cc1dfce0cb build failed and same error comes 
after click ./python

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32335] Failed Python build on Fedora 27

2017-12-15 Thread Amit Ghadge

New submission from Amit Ghadge :

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 "", line 1141, in _install
  File "", line 1133, in _setup
  File "", line 1100, in _builtin_from_name
ImportError: no built-in module named _thread
Fatal Python error: initimport: importlib install failed

Current thread 0x7fefeacef600 (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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com