cschwan/sage-on-gentoo

dev-python/fpylll-0.6.0: build fails

Closed this issue · 6 comments

kcning commented

Hello,

this package fails to build with the following error.

116  2098 | __PYX_EXTERN_C bool evaluator_callback_call_obj(PyObject *, int, double *); /*proto*/
117       |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
118 In file included from build/src/fpylll/fplll/enumeration.cpp:871:
119 build/src/fpylll/fplll/enumeration_callback_helper.h:10:8: note: previous declaration with 'C++' linkage
120    10 |   bool evaluator_callback_call_obj(PyObject *obj, int n, double *new_sol_coord);
121       |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~

It might have something to do with gcc version 13.2.1_p20231014, but I'm not sure.

Please let me know if you need more info. Thank you.

kiwifb commented

Is it the brand new version of the main tree? And what version number as well?

kcning commented

sys-devel/gcc-13.2.1_p20231014
dev-python/fpylll-0.6.0

kiwifb commented

I will not be able to look at this until midday in my time zone. I would like to know if you have the same issue with fpylll-0.5.9 if you can do that check.

kcning commented

Thank you. I just tested. fpylll-0.5.9 builds with sys-devel/gcc-13.2.1_p20231014 without issues.

kiwifb commented

I had an early opportunity of looking at this and this the main tree ebuild not requiring cython 3 again - like cypari2. @orlitzky this is a cython 3+ package too.

kiwifb commented

Taken care in the main tree