cschwan / sage-on-gentoo

(Unofficial) Gentoo Overlay for Sage- and Sage-related ebuilds
78 stars 26 forks source link

dev-python/fpylll-0.6.0: build fails #767

Closed kcning closed 8 months ago

kcning commented 8 months ago

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 8 months ago

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

kcning commented 8 months ago

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

kiwifb commented 8 months ago

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 8 months ago

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

kiwifb commented 8 months ago

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 8 months ago

Taken care in the main tree