Source: python-djvulibre
Version: 0.1.18-2
Tags: fixed-upstream patch

When rebuilt with cython 0.13-1 from experimental, the package fails to build from source:

| cd tests && \
|       set -x -e; \
|       for python in python2.5 python2.6; do \
|           PYTHONPATH=$(_py_=$python; _py_=${_py_#python}; ls -d 
/var/tmp/jwilk/scratch/python-djvulibre-0.1.18/build/lib.*-${_py_}) $python 
/usr/bin/nosetests --with-doctest --verbose decode.py sexpr.py const.py; \
|           PYTHONPATH=$(_py_=$python; _py_=${_py_#python}; ls -d 
/var/tmp/jwilk/scratch/python-djvulibre-0.1.18/build/lib_d.*-${_py_} 
2>/dev/null || ls -d 
/var/tmp/jwilk/scratch/python-djvulibre-0.1.18/build/lib.*-${_py_}-pydebug) 
$python-dbg /usr/bin/nosetests --with-doctest --verbose decode.py sexpr.py 
const.py; \
|       done
| + _py_=python2.5
| + _py_=2.5
| + ls -d 
/var/tmp/jwilk/scratch/python-djvulibre-0.1.18/build/lib.linux-i686-2.5
| + 
PYTHONPATH=/var/tmp/jwilk/scratch/python-djvulibre-0.1.18/build/lib.linux-i686-2.5
 python2.5 /usr/bin/nosetests --with-doctest --verbose decode.py sexpr.py 
const.py
| Segmentation fault

As discussed in another bug log[0], this is arguably a bug in Cython. Fortunately, it's easy to work around in python-djvulibre.

Patch: http://bitbucket.org/jwilk/python-djvulibre/changeset/4490ed9c856d
This bug is not present in python-djvulibre 0.3.X.


[0] http://bugs.debian.org/597848#40

--
Jakub Wilk



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to