Build fails on Debian kFreeBSD
pypy 3.x has never built on Debian kFreeBSD. That is, it failed on 7.0.0 and 7.1.1, and still fails with the py3.6 HEAD (d21e9a6b4037). The failure is:
[translation:info] Error:
File "/home/stefanor/pypy3.d21e9a6b4037/rpython/translator/goal/translate.py", line 318, in main
drv.proceed(goals)
File "/home/stefanor/pypy3.d21e9a6b4037/rpython/translator/driver.py", line 554, in proceed
result = self._execute(goals, task_skip = self._maybe_skip())
File "/home/stefanor/pypy3.d21e9a6b4037/rpython/translator/tool/taskengine.py", line 114, in _execute
res = self._do(goal, taskcallable, *args, **kwds)
File "/home/stefanor/pypy3.d21e9a6b4037/rpython/translator/driver.py", line 278, in _do
res = func()
File "/home/stefanor/pypy3.d21e9a6b4037/rpython/translator/driver.py", line 315, in task_annotate
s = annotator.build_types(self.entry_point, self.inputtypes)
File "/home/stefanor/pypy3.d21e9a6b4037/rpython/annotator/annrpython.py", line 92, in build_types
return self.build_graph_types(flowgraph, inputs_s, complete_now=complete_now)
File "/home/stefanor/pypy3.d21e9a6b4037/rpython/annotator/annrpython.py", line 140, in build_graph_types
self.complete()
File "/home/stefanor/pypy3.d21e9a6b4037/rpython/annotator/annrpython.py", line 229, in complete
self.complete_pending_blocks()
File "/home/stefanor/pypy3.d21e9a6b4037/rpython/annotator/annrpython.py", line 224, in complete_pending_blocks
self.processblock(graph, block)
File "/home/stefanor/pypy3.d21e9a6b4037/rpython/annotator/annrpython.py", line 398, in processblock
self.flowin(graph, block)
File "/home/stefanor/pypy3.d21e9a6b4037/rpython/annotator/annrpython.py", line 572, in flowin
self.follow_link(graph, link, constraints)
File "/home/stefanor/pypy3.d21e9a6b4037/rpython/annotator/annrpython.py", line 603, in follow_link
self.addpendingblock(graph, link.target, inputs_s)
File "/home/stefanor/pypy3.d21e9a6b4037/rpython/annotator/annrpython.py", line 189, in addpendingblock
self.mergeinputargs(graph, block, cells)
File "/home/stefanor/pypy3.d21e9a6b4037/rpython/annotator/annrpython.py", line 435, in mergeinputargs
unions = [annmodel.unionof(c1,c2) for c1, c2 in zip(oldcells,inputcells)]
File "/home/stefanor/pypy3.d21e9a6b4037/rpython/annotator/model.py", line 775, in unionof
s1 = pair(s1, s2).union()
File "/home/stefanor/pypy3.d21e9a6b4037/rpython/annotator/binaryop.py", line 790, in union
return obj.noneify()
File "/home/stefanor/pypy3.d21e9a6b4037/rpython/annotator/model.py", line 122, in noneify
raise UnionError(self, s_None)
[translation:ERROR] UnionError:
Offending annotations:
SomeInteger(knowntype=int, nonneg=False, unsigned=False)
SomeNone()
In <FunctionGraph of (pypy.module.posix.interp_posix:1611)do_utimens__star_0 at 0x242f9f30>:
Happened at file /home/stefanor/pypy3.d21e9a6b4037/pypy/module/posix/interp_posix.py line 1611
def do_utimens(space, func, arg, utime, *args):
Processing block:
block@3[space_90...] is a <class 'rpython.flowspace.flowcontext.EggBlock'>
in (pypy.module.posix.interp_posix:1611)do_utimens__star_0
containing the following operations:
now_0 = getitem(utime_0, (0))
atime_s_0 = getitem(utime_0, (1))
atime_ns_0 = getitem(utime_0, (2))
mtime_s_0 = getitem(utime_0, (3))
mtime_ns_0 = getitem(utime_0, (4))
v1083 = bool(now_0)
--end--
Full Build log example: https://buildd.debian.org/status/fetch.php?pkg=pypy3&arch=kfreebsd-amd64&ver=7.1.1%2Bdfsg-1&stamp=1565368857&raw=0