[New-bugs-announce] [issue15923] Building from a fresh clone breaks on Parser/asdl_c.py
Barry A. Warsaw
report at bugs.python.org
Tue Sep 11 23:13:59 CEST 2012
New submission from Barry A. Warsaw:
After a fresh clone, configure && make fails due to a fairly obvious bug in the code. Note that if you `hg revert --all`, configure && make will succeed, probably because the timestamps get updated enough to fool make.
@resist[~/projects/python:1043]% hg clone ssh://hg@hg.python.org/releasing/3.3.0
[...]
@resist[~/projects/python:1044]% cd 3.3.0/
@resist[~/projects/python/3.3.0:1045]% ./configure && make
[...]
gcc -pthread -c -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Python/_warnings.o Python/_warnings.c
./Parser/asdl_c.py -h ./Include ./Parser/Python.asdl
./Parser/asdl_c.py -c ./Python ./Parser/Python.asdl
Error visitingSum([Constructor(Load, []), Constructor(Store, []), Constructor(Del, []), Constructor(AugLoad, []), Constructor(AugStore, []), Constructor(Param, [])], [])
not all arguments converted during string formatting
Traceback (most recent call last):
File "/home/barry/projects/python/3.3.0/Parser/asdl.py", line 309, in visit
meth(object, *args)
File "./Parser/asdl_c.py", line 1043, in visitSum
self.simpleSum(sum, name)
File "./Parser/asdl_c.py", line 1067, in simpleSum
self.emit("default:" % name, 2)
TypeError: not all arguments converted during string formatting
make: *** [Python/Python-ast.c] Error 1
----------
messages: 170344
nosy: barry, georg.brandl, loewis
priority: normal
severity: normal
status: open
title: Building from a fresh clone breaks on Parser/asdl_c.py
versions: Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15923>
_______________________________________
More information about the New-bugs-announce
mailing list