ftbfs with python2.7

Bug #685486 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-ecore (Ubuntu)
Fix Released
High
Barry Warsaw

Bug Description

Binary package hint: python-ecore

maybe unrelated to python2.7 ...

gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -O2 -g -Wall -O2 /build/buildd/python-ecore-0.5.0+r49824/./build/temp.linux-i686-2.6/ecore/ecore.c_ecore.o -lecore -leina -o /build/buildd/python-ecore-0.5.0+r49824/./build/lib.linux-i686-2.6/ecore/c_ecore.so
cythoning ecore/evas/ecore.evas.c_ecore_evas.pyx to ecore/evas/ecore.evas.c_ecore_evas.c
warning: /build/buildd/python-ecore-0.5.0+r49824/ecore/evas/ecore.evas.c_ecore_evas.pyx:18:0: 'python_ref' is deprecated, use 'cpython'
warning: /build/buildd/python-ecore-0.5.0+r49824/ecore/evas/ecore.evas.c_ecore_evas.pyx:19:0: 'python_mem' is deprecated, use 'cpython'
warning: /build/buildd/python-ecore-0.5.0+r49824/ecore/evas/ecore.evas.c_ecore_evas.pyx:20:0: 'python_oldbuffer' is deprecated, use 'cpython'

Error converting Pyrex file to C:
------------------------------------------------------------
...
        if ptrptr != NULL:
            buf = <void*>ecore_evas_buffer_pixels_get(self.obj);
            ptrptr[0] = buf
        return self._get_buf_size()

    def __getsegcount__(self, int *lenp):
                             ^
------------------------------------------------------------

/build/buildd/python-ecore-0.5.0+r49824/ecore/evas/ecore.evas.c_ecore_evas_buffer.pxi:43:30: Cannot convert 1 argument from 'Py_ssize_t *' to 'int *'
warning: /build/buildd/python-ecore-0.5.0+r49824/ecore/evas/ecore.evas.c_ecore_evas.pyx:1:0: __getslice__, __setslice__, and __delslice__ are not supported by Python 3, use __getitem__, __setitem__, and __delitem__ instead
building 'ecore.evas.c_ecore_evas' extension
creating /build/buildd/python-ecore-0.5.0+r49824/build/temp.linux-i686-2.6/ecore/evas
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -g -Wall -O2 -fPIC -I/usr/include/eina-0 -I/usr/include/eina-0/eina -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/fribidi -I/usr/include/freetype2 -Iinclude -I/usr/include/python2.6 -c ecore/evas/ecore.evas.c_ecore_evas.c -o /build/buildd/python-ecore-0.5.0+r49824/./build/temp.linux-i686-2.6/ecore/evas/ecore.evas.c_ecore_evas.o
ecore/evas/ecore.evas.c_ecore_evas.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
error: command 'gcc' failed with exit status 1
make: *** [debian/python-module-stampdir/python-ecore] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Tags: python27

Related branches

Barry Warsaw (barry)
Changed in python-ecore (Ubuntu):
assignee: nobody → Barry Warsaw (barry)
importance: Undecided → High
status: New → In Progress
milestone: none → natty-alpha-2
Revision history for this message
Matthias Klose (doko) wrote :

fixed, please use LP: #<bug> to automatically close the report.

python-ecore (0.5.0+r49824-1ubuntu1) natty; urgency=low

  * Fix build failure due to incorrect Pyrex type. (LP: 685486)

Changed in python-ecore (Ubuntu):
status: In Progress → 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.