Comment 4 for bug 308633

Revision history for this message
Morten Kjeldgaard (mok0) wrote :

Attached is a patch that fixes the FTBFS problem with lxml. What I've done is to avoid the recompilation of the *.pyx files with cython, thus removing the need for cython in Build-Depends.

Cythonizing the *.pyx files was introduced as a bug-fixing measure because of a bug in one of the .pyx files.

In general, however, it is probably a bad idea to cythonize the *.pyx files, since upstream already provides compiled *.c files in the tarball, appropriately compiled with whatever cython version upstream currently uses. Thus, It is the .c files that have been debugged and tested by upstream to function with the lxml modules,

If the *.pyx modules are automatically re-compiled with a random version of cython, there is no guarantee that the lxml modules will still work as intended.