Bug 2275488

Summary: python-gevent FTBFS with Cython 3.0.10
Product: [Fedora] Fedora Reporter: Charalampos Stratakis <cstratak>
Component: python-geventAssignee: Orion Poplawski <orion>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: igor.raits, orion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: python-gevent-24.2.1-3.fc42 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-09-24 02:35:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2272366    

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.