FTBFS: error Do not use this file it is the result of a failed Cython compilation

Bug #1280829 reported by Andreas Moog
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xpra (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Hi there,

the package xpra fails to build in a current Ubuntu rebuild test on i386.

(Hopefully) Relevant part of the log:
--------------------------------------

            else:
                self.pixel_format = BGRA
        else:
            raise Exception("invalid image depth: %s bpp" % self.depth)
        assert self.pixel_format in RGB_FORMATS
                                ^
------------------------------------------------------------

xpra/x11/gtk_x11/gdk_bindings.pyx:694:33: Compiler crash in AnalyseExpressionsTransform

ModuleNode.body = StatListNode(gdk_bindings.pyx:7:0)
StatListNode.stats[85] = StatListNode(gdk_bindings.pyx:654:5)
StatListNode.stats[0] = CClassDefNode(gdk_bindings.pyx:654:5,
    as_name = u'XImageWrapper',
    class_name = u'XImageWrapper',
    module_name = u'',
    visibility = u'private')
CClassDefNode.body = StatListNode(gdk_bindings.pyx:655:4)
StatListNode.stats[1] = CFuncDefNode(gdk_bindings.pyx:678:9,
    args = [...]/2,
    modifiers = [...]/0,
    visibility = u'private')
File 'Nodes.py', line 388, in analyse_expressions: StatListNode(gdk_bindings.pyx:679:8)
File 'Nodes.py', line 5292, in analyse_expressions: AssertStatNode(gdk_bindings.pyx:694:8)
File 'ExprNodes.py', line 432, in analyse_boolean_expression: PrimaryCmpNode(gdk_bindings.pyx:694:33,
    operator = u'in',
    result_is_used = True,
    use_managed_ref = True)
File 'ExprNodes.py', line 10218, in coerce_to_boolean: PrimaryCmpNode(gdk_bindings.pyx:694:33,
    operator = u'in',
    result_is_used = True,
    use_managed_ref = True)

Compiler crash traceback from this point on:
  File "/usr/lib/python2.7/dist-packages/Cython/Compiler/ExprNodes.py", line 10218, in coerce_to_boolean
    if self.is_pycmp:
AttributeError: 'PrimaryCmpNode' object has no attribute 'is_pycmp'
building 'xpra.x11.gtk_x11.gdk_bindings' extension
i686-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/include/gtk-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/libpng12 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/pygtk-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/python2.7 -c xpra/x11/gtk_x11/gdk_bindings.c -o build/temp.linux-i686-2.7/xpra/x11/gtk_x11/gdk_bindings.o -Wall -Werror=implicit-function-declaration -fPIC
xpra/x11/gtk_x11/gdk_bindings.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
 #error Do not use this file, it is the result of a failed Cython compilation.
  ^
error: command 'i686-linux-gnu-gcc' failed with exit status 1
dh_auto_build: python setup.py build --force returned exit code 1
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/build/buildd/xpra-0.10.12+dfsg'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20140205-0745
FAILED [dpkg-buildpackage died]

A full buildlog is available at https://launchpad.net/ubuntu/+archive/test-rebuild-20140127/+build/5525357/+files/buildlog_ubuntu-trusty-i386.xpra_0.10.12+dfsg-1ubuntu1_FAILEDTOBUILD.txt.gz

Thanks for your time!

Regards,
  Andreas

--
PGP-encrypted mails preferred
PGP Fingerprint: 74CD D9FE 5BCB FE0D 13EE 8EEA 61F3 4426 74DE 6624

Andreas Moog (ampelbein)
Changed in xpra (Ubuntu):
importance: Undecided → High
Revision history for this message
Micah Gersten (micahg) wrote :

As we have 0.12.3+dfsg-1ubuntu1 in trusty, this was obviously fixed.

Changed in xpra (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.