FTBFS in natty

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

Bug Description

Binary package hint: python-evas

not related to python2.7, but needed to build it with 2.7

set -e; for buildver in 2.6 2.7; do \
  cd /build/buildd/python-evas-0.5.0+r49677 && cd . && python$buildver setup.py build --build-base="/build/buildd/python-evas-0.5.0+r49677/./build"; \
 done
running build
running build_py
creating /build/buildd/python-evas-0.5.0+r49677/build
creating /build/buildd/python-evas-0.5.0+r49677/build/lib.linux-i686-2.6
creating /build/buildd/python-evas-0.5.0+r49677/build/lib.linux-i686-2.6/evas
copying evas/utils.py -> /build/buildd/python-evas-0.5.0+r49677/./build/lib.linux-i686-2.6/evas
copying evas/__init__.py -> /build/buildd/python-evas-0.5.0+r49677/./build/lib.linux-i686-2.6/evas
copying evas/debug.py -> /build/buildd/python-evas-0.5.0+r49677/./build/lib.linux-i686-2.6/evas
copying evas/decorators.py -> /build/buildd/python-evas-0.5.0+r49677/./build/lib.linux-i686-2.6/evas
running build_ext
cythoning evas/evas.c_evas.pyx to evas/evas.c_evas.c
warning: /build/buildd/python-evas-0.5.0+r49677/evas/evas.c_evas.pyx:18:0: 'python_ref' is deprecated, use 'cpython'
warning: /build/buildd/python-evas-0.5.0+r49677/evas/evas.c_evas.pyx:19:0: 'python_method' is deprecated, use 'cpython'
warning: /build/buildd/python-evas-0.5.0+r49677/evas/evas.c_evas.pyx:20:0: 'python_mem' is deprecated, use 'cpython'

Error converting Pyrex file to C:
------------------------------------------------------------
...
            f = flags
        else:
            f = NULL
        evas_object_image_save(self.obj, filename, k, f)

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

/build/buildd/python-evas-0.5.0+r49677/evas/evas.c_evas_object_image.pxi:517:30: Cannot convert 1 argument from 'Py_ssize_t *' to 'int *'
building 'evas.c_evas' extension
creating /build/buildd/python-evas-0.5.0+r49677/build/temp.linux-i686-2.6
creating /build/buildd/python-evas-0.5.0+r49677/build/temp.linux-i686-2.6/evas
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -g -Wall -O2 -fPIC -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/eina-0 -I/usr/include/eina-0/eina -Iinclude -I/usr/include/python2.6 -c evas/evas.c_evas.c -o /build/buildd/python-evas-0.5.0+r49677/./build/temp.linux-i686-2.6/evas/evas.c_evas.o
evas/evas.c_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-evas] Error 1

Tags: python27

Related branches

Revision history for this message
Barry Warsaw (barry) wrote :

It would be nice to be able to upgrade python-evas to 0.7.1, which is the latest available in the Cheeseshop, however this depends on libevas-dev >= 1.0. What are the chances we can get the latter upgrade too? (Natty curently has 0.9.9.4989-1)

Revision history for this message
Barry Warsaw (barry) wrote :

In the meantime, here's a branch that fixes the build failure.

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

enlightenment is available in debian experimental. so find out the whole set of packages, test build and request syncs or do merges.

honestly, not something you do want to do ...

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-evas - 0.5.0+r49677-1ubuntu1

---------------
python-evas (0.5.0+r49677-1ubuntu1) natty; urgency=low

  * Port to Python 2.7. LP: #685492.
 -- Barry Warsaw <email address hidden> Tue, 14 Dec 2010 15:37:58 -0500

Changed in python-evas (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.