Occurs at line 655(relevant block):
if install_dir and stripbuildroot: if "BUILDROOT" in dirs: if sys.platform.startswith("netbsd"): (BAD LINE, fixed) #see: http://trac.cython.org/ticket/395 eifd += ["-fno-strict-aliasing"] if "debian" in dirs and "tmp" in dirs: #ugly fix for stripping the debian tmp dir: #ie: "???/tmp/???/tags/v0.15.x/src/debian/tmp/" -> "" while "tmp" in dirs: dirs = dirs[dirs.index("tmp")+1:] else: #strip rpm style build root:
This line needs to be one indentation to the left. Fixing this allows builds to continue.
Shocking. That block did not belong there at all, why did patch stick it here without any rejects?? More proper fix in r11650.
Thanks!
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1085