[issue20930] Debian 7.3: This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG
Martin Vahi
report at bugs.python.org
Wed Aug 3 23:16:06 EDT 2016
Martin Vahi added the comment:
If a stable version fails to build within a modern environment that has everything installed, then according to my understanding
THERE IS A BUG
That is to say, the current resolution, "not a bug", does not match with my understanding of this world. The whole console output is at the attached file, but here's an excerpt:
----citation---start---
s2 at linux-0fiz:~/m_local/bin_p/Python/kompil/Python-3.5.2$ time nice -n20 ./configure --prefix=/home/ts2/m_local/bin_p/Python/v_3_5_2 --with-address-sanitizer --with-valgrind --disable-ipv6
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checking MACHDEP... linux
checking for --without-gcc... no
checking for --with-icc... no
checking for gcc... clang
checking whether the C compiler works... yes
...
blablabla
...
real 0m32.365s
user 0m11.880s
sys 0m12.194s
ts2 at linux-0fiz:~/m_local/bin_p/Python/kompil/Python-3.5.2$ time nice -n20 make
clang -pthread -c -fsanitize=address -fno-omit-frame-pointer -Wno-unused-result -Wsign-compare -Wunreachable-code -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -mtune=native -ftree-vectorize -mtune=native -ftree-vectorize -Werror=declaration-after-statement -I. -IInclude -I./Include -DPy_BUILD_CORE -o Programs/python.o ./Programs/python.c
In file included from ./Programs/python.c:3:
In file included from Include/Python.h:50:
Include/pyport.h:261:13: error: "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"
# error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"
^
1 error generated.
Makefile:773: recipe for target 'Programs/python.o' failed
make: *** [Programs/python.o] Error 1
real 0m0.170s
user 0m0.083s
sys 0m0.022s
ts2 at linux-0fiz:~/m_local/bin_p/Python/kompil/Python-3.5.2$ uname -a
Linux linux-0fiz 3.16.7-35-desktop #1 SMP PREEMPT Sun Feb 7 17:32:21 UTC 2016 (832c776) x86_64 x86_64 x86_64 GNU/Linux
ts2 at linux-0fiz:~/m_local/bin_p/Python/kompil/Python-3.5.2$ date
Thu Aug 4 06:03:19 EEST 2016
ts2 at linux-0fiz:~/m_local/bin_p/Python/kompil/Python-3.5.2$
----citation---end---
----------
nosy: +Martin Vahi
Added file: http://bugs.python.org/file44001/2016_08_04_Python_3_5_2_stable_fails_to_build_on_64bit_openSUSE_Linux.txt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20930>
_______________________________________
More information about the Python-bugs-list
mailing list