New issue 2853: Build fails on FreeBSD 11.2 x64 https://bitbucket.org/pypy/pypy/issues/2853/build-fails-on-freebsd-112-x64
Babak Farrokhi: ```text $ uname -a FreeBSD dev4 11.2-RELEASE FreeBSD 11.2-RELEASE #0 r335510: Fri Jun 22 04:32:14 UTC 2018 r...@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 $ tar zxf pypy3-v6.0.0-src.tar.bz2 $ cd pypy3-v6.0.0-src/pypy/goal/ $ pypy ../../rpython/bin/rpython -Ojit [translation:info] 2.7.13 (0e7ea4fe15e82d5124e805e2e4a37cae1a402d4b, Jun 23 2018, 01:20:20) [PyPy 5.10.0 with GCC 4.2.1 Compatible FreeBSD Clang 4.0.0 (tags/RELEASE_400/final 297347)] [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' [translation:info] Translating target as defined by targetpypystandalone [translation] PyPy config object: [translation] [objspace] [std] intshortcut = True optimized_list_getitem = True withspecialisedtuple = True [usemodules] __pypy__ = True _ast = True _cffi_backend = True _codecs = True _collections = True _continuation = True _csv = True _jitlog = True _lsprof = True _md5 = True _minimal_curses = True _multibytecodec = True _multiprocessing = True _pickle_support = True _posixsubprocess = True _pypyjson = True _random = True _rawffi = True _socket = True _sre = True _string = True _testing = True _vmprof = True _weakref = True array = True atexit = True binascii = True bz2 = True cmath = True cpyext = True crypt = True errno = True faulthandler = True fcntl = True gc = True imp = True marshal = True math = True mmap = True parser = True pwd = True pyexpat = True pypyjit = True select = True signal = True struct = True symbol = True termios = True thread = True time = True token = True unicodedata = True zipimport = True zlib = True [translation] translate.py configuration: [translation] [translate] opt = jit [translation] translation configuration: [translation] [translation] check_str_without_nul = True continuation = True gc = incminimark gcrootfinder = shadowstack gctransformer = framework icon = pypy.ico jit = True list_comprehension_operations = True secondaryentrypoints = cpyext,main shared = True thread = True type_system = lltype withsmallfuncsets = 5 [translation:info] Annotating&simplifying... [1c00] {translation-task starting annotate [translation:info] with policy: pypy.tool.ann_override.PyPyAnnotatorPolicy ...snip... [Timer] Timings: [Timer] annotate --- 268.0 s [Timer] ========================================== [Timer] Total: --- 268.0 s [translation:info] Error: File "/root/pypy3-v6.0.0-src/rpython/translator/goal/translate.py", line 318, in main drv.proceed(goals) File "/root/pypy3-v6.0.0-src/rpython/translator/driver.py", line 554, in proceed result = self._execute(goals, task_skip = self._maybe_skip()) File "/root/pypy3-v6.0.0-src/rpython/translator/tool/taskengine.py", line 114, in _execute res = self._do(goal, taskcallable, *args, **kwds) File "/root/pypy3-v6.0.0-src/rpython/translator/driver.py", line 278, in _do res = func() File "/root/pypy3-v6.0.0-src/rpython/translator/driver.py", line 315, in task_annotate s = annotator.build_types(self.entry_point, self.inputtypes) File "/root/pypy3-v6.0.0-src/rpython/annotator/annrpython.py", line 92, in build_types return self.build_graph_types(flowgraph, inputs_s, complete_now=complete_now) File "/root/pypy3-v6.0.0-src/rpython/annotator/annrpython.py", line 140, in build_graph_types self.complete() File "/root/pypy3-v6.0.0-src/rpython/annotator/annrpython.py", line 229, in complete self.complete_pending_blocks() File "/root/pypy3-v6.0.0-src/rpython/annotator/annrpython.py", line 224, in complete_pending_blocks self.processblock(graph, block) File "/root/pypy3-v6.0.0-src/rpython/annotator/annrpython.py", line 398, in processblock self.flowin(graph, block) File "/root/pypy3-v6.0.0-src/rpython/annotator/annrpython.py", line 501, in flowin self.consider_op(op) File "/root/pypy3-v6.0.0-src/rpython/annotator/annrpython.py", line 653, in consider_op resultcell = op.consider(self) File "/root/pypy3-v6.0.0-src/rpython/flowspace/operation.py", line 104, in consider return spec(annotator, *self.args) File "/root/pypy3-v6.0.0-src/rpython/annotator/unaryop.py", line 118, in simple_call_SomeObject return s_func.call(argspec) File "/root/pypy3-v6.0.0-src/rpython/annotator/unaryop.py", line 978, in call return bookkeeper.pbc_call(self, args) File "/root/pypy3-v6.0.0-src/rpython/annotator/bookkeeper.py", line 535, in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) File "/root/pypy3-v6.0.0-src/rpython/annotator/description.py", line 398, in pycall s_result = self.specialize(inputcells, op) File "/root/pypy3-v6.0.0-src/rpython/annotator/description.py", line 281, in specialize return self.specializer(self, inputcells) File "/root/pypy3-v6.0.0-src/rpython/annotator/specialize.py", line 303, in memo _, _, memotable = memotables.find(firstvalues) File "/root/pypy3-v6.0.0-src/rpython/tool/algo/unionfind.py", line 48, in find info = self.info_factory(obj) File "/root/pypy3-v6.0.0-src/rpython/annotator/specialize.py", line 293, in compute_one_result value = func(*args) File "/root/pypy3-v6.0.0-src/rpython/rlib/rarithmetic.py", line 154, in _should_widen_type r_class = rffi.platform.numbertype_to_rclass[tp] [translation:ERROR] KeyError: <Void> Processing block: block@28[n_1] is a <class 'rpython.flowspace.flowcontext.SpamBlock'> in (rpython.rlib.rarithmetic:139)widen__NoneType containing the following operations: v805 = simple_call((function typeOf), n_1) v806 = simple_call((function _should_widen_type), v805) v807 = bool(v806) --end-- [translation] start debugger... > /root/pypy3-v6.0.0-src/rpython/rlib/rarithmetic.py(154)_should_widen_type() -> r_class = rffi.platform.numbertype_to_rclass[tp] (Pdb+) ``` _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue