[issue21124] Compilation error on _struct module on Python 3.4
dellair jie
report at bugs.python.org
Tue Apr 1 16:52:48 CEST 2014
New submission from dellair jie:
Dear all,
I am compiling Python 3.4 on Cygwin 1.7.17.
The following has been done in order to reach the point where _struct module failed.
> A clean Python 3.4
> Applied patches:
cygwin_si_band.patch in Issue21085
0001-CYGWIN-issue13756-Python-make-fail-on-cygwin.patch in issue13756
0019-MINGW-export-_PyNode_SizeOf-as-PyAPI-for-parser-modu.patch in issue186373
> configure + make
The issue happened during make:
building '_struct' extension
gcc -Wno-unused-result -Werror=declaration-after-statement -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I./Include -I. -IInclude -I/cygdrive/c/temp/Python-3.4.0/Include -I/cygdrive/c/temp/Python-3.4.0 -c /cygdrive/c/temp/Python-3.4.0/Modules/_struct.c -o build/temp.cygwin-1.7.17-i686-3.4/cygdrive/c/temp/Python-3.4.0/Modules/_struct.o
/cygdrive/c/temp/Python-3.4.0/Modules/_struct.c:1630:5: error: initializer element is not constant
/cygdrive/c/temp/Python-3.4.0/Modules/_struct.c:1630:5: error: (near initialization for ‘unpackiter_type.ob_base.ob_base.ob_type’)
Please feel free to find the build.log and the output of _struct.c.txt (gcc with -dD -E -DPy_BUILD_core) for more information.
Thanks in advance,
Br,
Dellair
----------
files: _struct.c.txt
messages: 215321
nosy: dellair.jie
priority: normal
severity: normal
status: open
title: Compilation error on _struct module on Python 3.4
versions: Python 3.4
Added file: http://bugs.python.org/file34695/_struct.c.txt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21124>
_______________________________________
More information about the Python-bugs-list
mailing list