[pypy-dev] Translation Error building with cx_Oracle

Phillip Class mustang6565 at gmail.com
Mon Feb 27 15:59:11 CET 2012


Hello,

On Ubuntu 10.04 LTS 64-bit with Python 2.7, after cloning the latest repo I
am trying to build pypy with cx_Oracle mod using the command:
python translate.py -Ojit targetpypystandalone.py --withmod-oracle

After quite awhile it fails with the following translation errors. Can
somebody please take a look? Thanks!

[translation:ERROR] Error:
[translation:ERROR]  Traceback (most recent call last):
[translation:ERROR]    File "translate.py", line 309, in main
[translation:ERROR]     drv.proceed(goals)
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/translator/driver.py", line 814, in proceed
[translation:ERROR]     return self._execute(goals, task_skip =
self._maybe_skip())
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/translator/tool/taskengine.py", line 116, in
_execute
[translation:ERROR]     res = self._do(goal, taskcallable, *args, **kwds)
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/translator/driver.py", line 287, in _do
[translation:ERROR]     res = func()
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/translator/driver.py", line 399, in
task_pyjitpl_lltype
[translation:ERROR]     backend_name=self.config.translation.jit_backend,
inline=True)
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/jit/metainterp/warmspot.py", line 48, in
apply_jit
[translation:ERROR]     warmrunnerdesc.finish()
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/jit/metainterp/warmspot.py", line 236, in
finish
[translation:ERROR]     self.annhelper.finish()
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/rpython/annlowlevel.py", line 240, in finish
[translation:ERROR]     self.finish_annotate()
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/rpython/annlowlevel.py", line 259, in
finish_annotate
[translation:ERROR]     ann.complete_helpers(self.policy)
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/annotation/annrpython.py", line 180, in
complete_helpers
[translation:ERROR]     self.complete()
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/annotation/annrpython.py", line 254, in
complete
[translation:ERROR]     self.processblock(graph, block)
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/annotation/annrpython.py", line 452, in
processblock
[translation:ERROR]     self.flowin(graph, block)
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/annotation/annrpython.py", line 512, in flowin
[translation:ERROR]     self.consider_op(block.operations[i])
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/annotation/annrpython.py", line 714, in
consider_op
[translation:ERROR]     raise_nicer_exception(op, str(graph))
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/annotation/annrpython.py", line 711, in
consider_op
[translation:ERROR]     resultcell = consider_meth(*argcells)
[translation:ERROR]    File "<4506-codegen
/home/user/Desktop/pypy/pypy/annotation/annrpython.py:749>", line 3, in
consider_op_simple_call
[translation:ERROR]     return arg.simple_call(*args)
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/annotation/unaryop.py", line 175, in
simple_call
[translation:ERROR]     return
obj.call(getbookkeeper().build_args("simple_call", args_s))
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/annotation/unaryop.py", line 706, in call
[translation:ERROR]     return bookkeeper.pbc_call(pbc, args)
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/annotation/bookkeeper.py", line 668, in
pbc_call
[translation:ERROR]     results.append(desc.pycall(schedule, args,
s_previous_result, op))
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/annotation/description.py", line 976, in
pycall
[translation:ERROR]     return self.funcdesc.pycall(schedule, args,
s_previous_result, op)
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/annotation/description.py", line 297, in
pycall
[translation:ERROR]     result = schedule(graph, inputcells)
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/annotation/bookkeeper.py", line 664, in
schedule
[translation:ERROR]     return self.annotator.recursivecall(graph, whence,
inputcells)
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/annotation/annrpython.py", line 395, in
recursivecall
[translation:ERROR]     position_key)
[translation:ERROR]    File
"/home/user/Desktop/pypy/pypy/annotation/annrpython.py", line 235, in
addpendingblock
[translation:ERROR]     assert annmodel.unionof(s_oldarg, s_newarg) ==
s_oldarg
[translation:ERROR]  AssertionError':
[translation:ERROR]     .. v2309 = simple_call(v2301, v2302, v2303, v2304,
v2305, v2306, v2307, v2308)
[translation:ERROR]     ..
'(pypy.module.pypyjit.policy:49)PyPyJitIface._compile_hook'
[translation:ERROR] Processing block:
[translation:ERROR]  block at 226 is a <class
'pypy.objspace.flow.flowcontext.SpamBlock'>
[translation:ERROR]  in
(pypy.module.pypyjit.policy:49)PyPyJitIface._compile_hook
[translation:ERROR]  containing the following operations:
[translation:ERROR]        v2309 = simple_call(v2301, v2302, v2303, v2304,
v2305, v2306, v2307, v2308)
[translation:ERROR]  --end--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20120227/edfc3bd2/attachment.html>


More information about the pypy-dev mailing list