After disabling check it failed to build on my Pandaboard with 512MB of swap: [translation] translate.py configuration: [translation] [translate] [translation] batch = True [translation] [goal_options] [translation] source = True [translation] opt = 3 [translation] targetspec = targetpypystandalone [translation] translation configuration: [translation] [translation] [translation] [backendopt] [translation] remove_asserts = True [translation] check_str_without_nul = True [translation] gc = minimark [translation] gctransformer = framework [translation] jit_ffi = True [translation] list_comprehension_operations = True [translation] profopt = -c 'from richards import main;main(); from test import pystone; pystone.main()' [translation] rweakref = True [translation] secondaryentrypoints = cpyext [translation] shared = False [translation] thread = True [translation] withsmallfuncsets = 5 [translation:info] Annotating&simplifying... [translation:info] with policy: pypy.translator.goal.ann_override.PyPyAnnotatorPolicy ..............................++++++++++++++++++++++++++++++++++++++++++++++++++ ..........................++++++++++++++++++++++++*##*++++++++++++++++++++++++++ .......................++++++++++++++++++++++++***%%##%%%%************++++++++++ ................++++++++++++++++++++++++********%%%%%%#%%%%******************+++ ...........++++++++++++++*******************%%%##%#######%#%%%****************** .......++++++++++*************************%%%%%%###########%%%%%**************** ....+++++++++***********************#%%#%%%%##%#############%%%%%%%%**%#******** ..+++++++************%%%%%%%%%%%%%%%%%#################################%%******* ++++++**********%%%%%%%%%%%%%%%%%%%%%##################################%%%%%**** ++++********%%%%%%%%%%%%%%%%%%%%%%#####################################%%%%%%%** ++********%%%#%%%#%%%#%###################################################%%%%%% +*******%%%%%%%##########################################################%%%%%%% *******%%%%%############################################################%%%%%%%% *****%%%###############################################################%%%%%%%%% #######################################################################%%%%%%%%% *****%%%###############################################################%%%%%%%%% *******%%%%%############################################################%%%%%%%% +*******%%%%%%%##########################################################%%%%%%% ++********%%%#%%%#%%%#%###################################################%%%%%% ++++********%%%%%%%%%%%%%%%%%%%%%%#####################################%%%%%%%** ++++++**********%%%%%%%%%%%%%%%%%%%%%##################################%%%%%**** ..+++++++************%%%%%%%%%%%%%%%%%#################################%%******* ....+++++++++***********************#%%#%%%%##%#############%%%%%%%%**%#******** .......++++++++++*************************%%%%%%###########%%%%%**************** ...........++++++++++++++*******************%%%##%#######%#%%%****************** ................++++++++++++++++++++++++********%%%%%%#%%%%******************+++ .......................++++++++++++++++++++++++***%%##%%%%************++++++++++ ..........................++++++++++++++++++++++++*##*++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++............................ +++++++++++++++++++*************+++++++++++++++++..... [Timer] Timings: [Timer] annotate --- 2084.3 s [Timer] =========================================== [Timer] Total: --- 2084.3 s [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/hrw/porting/pypy-1.8+dfsg/pypy/translator/driver.py", line 810, in proceed [translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip()) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/translator/tool/taskengine.py", line 116, in _execute [translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/translator/driver.py", line 287, in _do [translation:ERROR] res = func() [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/translator/driver.py", line 324, in task_annotate [translation:ERROR] s = annotator.build_types(self.entry_point, self.inputtypes) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/annrpython.py", line 107, in build_types [translation:ERROR] return self.build_graph_types(flowgraph, inputcells, complete_now=complete_now) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/annrpython.py", line 198, in build_graph_types [translation:ERROR] self.complete() [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/annrpython.py", line 254, in complete [translation:ERROR] self.processblock(graph, block) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/annrpython.py", line 452, in processblock [translation:ERROR] self.flowin(graph, block) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/annrpython.py", line 512, in flowin [translation:ERROR] self.consider_op(block.operations[i]) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/annrpython.py", line 714, in consider_op [translation:ERROR] raise_nicer_exception(op, str(graph)) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/annrpython.py", line 711, in consider_op [translation:ERROR] resultcell = consider_meth(*argcells) [translation:ERROR] File "<4383-codegen /home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/annrpython.py:749>", line 3, in consider_op_getattr [translation:ERROR] return arg.getattr(*args) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/unaryop.py", line 697, in getattr [translation:ERROR] return bookkeeper.pbc_getattr(pbc, s_attr) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/bookkeeper.py", line 604, in pbc_getattr [translation:ERROR] return first.s_read_attribute(attr) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/description.py", line 924, in s_read_attribute [translation:ERROR] return self.bookkeeper.immutablevalue(value) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/bookkeeper.py", line 397, in immutablevalue [translation:ERROR] result.dictdef.generalize_value(self.immutablevalue(ev)) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/bookkeeper.py", line 470, in immutablevalue [translation:ERROR] elif hasattr(x, '_freeze_') and x._freeze_(): ................++++++++++++++++++++++++********%%%%%%#%%%%******************+++ .......................++++++++++++++++++++++++***%%##%%%%************++++++++++ ..........................++++++++++++++++++++++++*##*++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++............................ +++++++++++++++++++*************+++++++++++++++++..... [Timer] Timings: [Timer] annotate --- 2084.3 s [Timer] =========================================== [Timer] Total: --- 2084.3 s [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/hrw/porting/pypy-1.8+dfsg/pypy/translator/driver.py", line 810, in proceed [translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip()) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/translator/tool/taskengine.py", line 116, in _execute [translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/translator/driver.py", line 287, in _do [translation:ERROR] res = func() [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/translator/driver.py", line 324, in task_annotate [translation:ERROR] s = annotator.build_types(self.entry_point, self.inputtypes) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/annrpython.py", line 107, in build_types [translation:ERROR] return self.build_graph_types(flowgraph, inputcells, complete_now=complete_now) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/annrpython.py", line 198, in build_graph_types [translation:ERROR] self.complete() [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/annrpython.py", line 254, in complete [translation:ERROR] self.processblock(graph, block) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/annrpython.py", line 452, in processblock [translation:ERROR] self.flowin(graph, block) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/annrpython.py", line 512, in flowin [translation:ERROR] self.consider_op(block.operations[i]) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/annrpython.py", line 714, in consider_op [translation:ERROR] raise_nicer_exception(op, str(graph)) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/annrpython.py", line 711, in consider_op [translation:ERROR] resultcell = consider_meth(*argcells) [translation:ERROR] File "<4383-codegen /home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/annrpython.py:749>", line 3, in consider_op_getattr [translation:ERROR] return arg.getattr(*args) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/unaryop.py", line 697, in getattr [translation:ERROR] return bookkeeper.pbc_getattr(pbc, s_attr) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/bookkeeper.py", line 604, in pbc_getattr [translation:ERROR] return first.s_read_attribute(attr) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/description.py", line 924, in s_read_attribute [translation:ERROR] return self.bookkeeper.immutablevalue(value) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/bookkeeper.py", line 397, in immutablevalue [translation:ERROR] result.dictdef.generalize_value(self.immutablevalue(ev)) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/annotation/bookkeeper.py", line 470, in immutablevalue [translation:ERROR] elif hasattr(x, '_freeze_') and x._freeze_(): [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/interpreter/mixedmodule.py", line 128, in _freeze_ [translation:ERROR] self.getdict(self.space) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/interpreter/mixedmodule.py", line 121, in getdict [translation:ERROR] w_value = self.get(name) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/interpreter/mixedmodule.py", line 74, in get [translation:ERROR] w_value = self.getdictvalue(space, name) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/interpreter/mixedmodule.py", line 86, in getdictvalue [translation:ERROR] return self._load_lazily(space, name) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/interpreter/mixedmodule.py", line 96, in _load_lazily [translation:ERROR] w_value = loader(space) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/interpreter/mixedmodule.py", line 203, in ifileloader [translation:ERROR] value = eval(spec, d) [translation:ERROR] File "", line 1, in [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/module/pyexpat/interp_pyexpat.py", line 395, in get_expat_version [translation:ERROR] return space.wrap(rffi.charp2str(XML_ExpatVersion())) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/rpython/lltypesystem/rffi.py", line 240, in wrapper [translation:ERROR] res = call_external_function(*real_args) [translation:ERROR] File "<711-codegen /home/hrw/porting/pypy-1.8+dfsg/pypy/rpython/lltypesystem/rffi.py:167>", line 6, in call_external_function [translation:ERROR] res = funcptr() [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/rpython/lltypesystem/lltype.py", line 1278, in __call__ [translation:ERROR] return callb(*args) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/rpython/lltypesystem/ll2ctypes.py", line 1122, in __call__ [translation:ERROR] cfunc = get_ctypes_callable(self.funcptr, self.calling_conv) [translation:ERROR] File "/home/hrw/porting/pypy-1.8+dfsg/pypy/rpython/lltypesystem/ll2ctypes.py", line 1055, in get_ctypes_callable [translation:ERROR] libpath = ctypes.util.find_library(libname) [translation:ERROR] File "/usr/lib/python2.7/ctypes/util.py", line 224, in find_library [translation:ERROR] return _findSoname_ldconfig(name) or _get_soname(_findLib_gcc(name)) [translation:ERROR] File "/usr/lib/python2.7/ctypes/util.py", line 213, in _findSoname_ldconfig [translation:ERROR] f = os.popen('/sbin/ldconfig -p 2>/dev/null') [translation:ERROR] OSError': [Errno 12] Cannot allocate memory [translation:ERROR] .. v41 = getattr(self_0, ('builtin_modules')) [translation:ERROR] .. '(pypy.interpreter.baseobjspace:415)getbuiltinmodule' [translation:ERROR] Processing block: [translation:ERROR] block@120 is a [translation:ERROR] in (pypy.interpreter.baseobjspace:415)getbuiltinmodule [translation:ERROR] containing the following operations: [translation:ERROR] v41 = getattr(self_0, ('builtin_modules')) [translation:ERROR] v42 = getitem_key(v41, name_0) [translation:ERROR] --end-- [translation] batch mode, not calling interactive helpers make[1]: *** [override_dh_auto_build-arch] Error 1 make[1]: Leaving directory `/home/hrw/porting/pypy-1.8+dfsg' make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 debuild: fatal error at line 1350: dpkg-buildpackage -rfakeroot -D -us -uc -b failed