[Python-apps-team] Bug#541314: necessity for cython-dbg

Ondrej Certik ondrej at certik.cz
Wed May 5 17:33:02 UTC 2010


On Wed, May 5, 2010 at 10:00 AM, Yaroslav Halchenko
<debian at onerussian.com> wrote:
> severity 541314 important
> retitle 541314 cython-dbg is needed to avoid FTBFS for any python*-dbg using cython
> thanks
>
> Growing number of packages use cython and require it for building:
>
> $> build-rdeps --distribution sid cython
> Reverse Build-depends in main:
> ------------------------------
>
> pywavelets
> python-edje
> agtl
> python-edbus
> python-djvulibre
> python-elementary
> zhone
> python-phoneutils
> python-jswebkit
> fso-frameworkd
> scikit-learn
> python-evas
> sagemath
> python-ecore
>
> Found a total of 14 reverse build-depend(s) for cython.
>
> Not all of those yet package -dbg packages, which are of extreme
> importance while debugging generated dynamic libraries using python*-dbg and
> recent additions to gdb (via gdbinit tricks or Tools/gdb/libpython.py).
>
> Unfortunately that requires cython to have its own _d.so's built using
> python*-dbg as well (previous showstopper was scipy but thanks to Luca
> Falavigna, #525329 was resolved):
>
> $> python2.5-dbg -c 'import Cython.Compiler.Scanning'
> Traceback (most recent call last):
>  File "<string>", line 1, in <module>
> ImportError: /usr/lib/pymodules/python2.5/Cython/Compiler/Scanning.so: undefined symbol: Py_InitModule4_64
> [9099 refs]
>
> $> python2.6-dbg -c 'import Cython.Compiler.Scanning'
> Traceback (most recent call last):
>  File "<string>", line 1, in <module>
> ImportError: /usr/lib/pymodules/python2.6/Cython/Compiler/Scanning.so: undefined symbol: Py_InitModule4_64
> [16729 refs]
>
> Having no cython-dbg precludes me from finishing packaging of fresh NiPy
> code (src package  nipy), which could be considered FTBFS, thus I am
> raising the severity.
>
> Thank you very much in advance!

I don't have time to work on this. However, if you can submit a patch
fixing the cython package to produce the dbg, I am sure someone can
upload it (I am only a DM, so I can't upload to the NEW queue, which
will be required due to the new binary dbg package).

Ondrej





More information about the Python-apps-team mailing list