Bug 2275488 - python-gevent FTBFS with Cython 3.0.10
Summary: python-gevent FTBFS with Cython 3.0.10
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-gevent
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2272366
TreeView+ depends on / blocked
 
Reported: 2024-04-17 12:42 UTC by Charalampos Stratakis
Modified: 2024-09-24 02:35 UTC (History)
2 users (show)

Fixed In Version: python-gevent-24.2.1-3.fc42
Clone Of:
Environment:
Last Closed: 2024-09-24 02:35:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github gevent gevent issues 2031 0 None open gevent fails to build with Cython 3.0.10 2024-04-24 22:43:31 UTC

Description Charalampos Stratakis 2024-04-17 12:42:16 UTC
Hello,

I'm testing a Cython rebase from 3.0.9 to 3.0.10 and gevent fails with the latest version.

Error:
src/gevent/queue.c: In function ‘__pyx_pf_6gevent_14_gevent_cqueue_12UnboundQueue_2put’:
src/gevent/queue.c:11895:83: error: passing argument 1 of ‘__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put’ from incompatible pointer type [-Wincompatible-pointer-types]
11895 |   __pyx_t_1 = __pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put(__pyx_v_self, __pyx_v_item, 1, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 432, __pyx_L1_error)
      |                                                                                   ^~~~~~~~~~~~
      |                                                                                   |
      |                                                                                   struct __pyx_obj_6gevent_14_gevent_cqueue_UnboundQueue *
src/gevent/queue.c:11895:83: note: expected ‘struct __pyx_obj_6gevent_14_gevent_cqueue_Queue *’ but argument is of type ‘struct __pyx_obj_6gevent_14_gevent_cqueue_UnboundQueue *’
src/gevent/queue.c:11895:114: error: passing argument 4 of ‘__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put’ from incompatible pointer type [-Wincompatible-pointer-types]
11895 |   __pyx_t_1 = __pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put(__pyx_v_self, __pyx_v_item, 1, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 432, __pyx_L1_error)
      |                                                                                                                  ^~~~~~~~~~
      |                                                                                                                  |
      |                                                                                                                  struct __pyx_opt_args_6gevent_14_gevent_cqueue_12UnboundQueue_put *
src/gevent/queue.c:11895:114: note: expected ‘struct __pyx_opt_args_6gevent_14_gevent_cqueue_5Queue_put *’ but argument is of type ‘struct __pyx_opt_args_6gevent_14_gevent_cqueue_12UnboundQueue_put *’
src/gevent/queue.c: At top level:
src/gevent/queue.c:7636:12: warning: ‘__pyx_pw_6gevent_14_gevent_cqueue_5Queue_25__nonzero__’ defined but not used [-Wunused-function]
 7636 | static int __pyx_pw_6gevent_14_gevent_cqueue_5Queue_25__nonzero__(PyObject *__pyx_v_self) {
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Full logs here: https://copr.fedorainfracloud.org/coprs/cstratak/Cython-3.0.10/build/7319147/ 

Reproducible: Always

Comment 1 Fedora Update System 2024-09-24 02:31:16 UTC
FEDORA-2024-5936c73aca (python-gevent-24.2.1-3.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-5936c73aca

Comment 2 Fedora Update System 2024-09-24 02:35:40 UTC
FEDORA-2024-5936c73aca (python-gevent-24.2.1-3.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.