On 01/09/2023 22:25, Eric Schirra wrote:
Why not just use python-Cython0 as a dependency?
Regards Eric
Actually, now I remember why. python39 and python310 were just fine, but then in python311, I was getting this kind of things: [ 458s] efl/utils/deprecated.c: In function ‘__Pyx_AddTraceback’: [ 458s] efl/utils/deprecated.c:461:62: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’} [ 458s] 461 | #define __Pyx_PyFrame_SetLineNumber(frame, lineno) (frame)->f_lineno = (lineno) [ 458s] | ^~ [ 458s] efl/utils/deprecated.c:4806:5: note: in expansion of macro ‘__Pyx_PyFrame_SetLineNumber’ [ 458s] 4806 | __Pyx_PyFrame_SetLineNumber(py_frame, py_line); [ 458s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 458s] error: command '/usr/bin/gcc' failed with exit code 1 [ 458s] error: Bad exit status from /var/tmp/rpm-tmp.y06LDh (%build) So, decided to cythonize with 3 and after the patch it cythonized correctly and compiled with the python39, python310 and python311 alike. Cheers Fridrich