Bug 2099824
| Summary: | bout++ fails to build with python3.11 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | david08741 |
| Component: | Cython | Assignee: | Miro Hrončok <mhroncok> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | igor.raits, mhroncok, ndbecker2, python-sig, steve.traylen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python3.11-3.11.0~b3-4.fc37 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-06-21 19:30:54 UTC | Type: | Bug |
| 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: | 2098677 | ||
Building bout++-4.4.2-3.fc37 for rawhide Created task: 88564598 Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=88564598 Thanks a lot :-) |
Description of problem: bout++, or rather its python interface fails to build with python3.11 Unfortunately I don't had the time so far to dig into this, but it seems to be a cython of cpython issue. Version-Release number of selected component (if applicable): 0.29.30-2.fc37 How reproducible: always Steps to Reproduce: 1. build bout++ for python3.11 Actual results: Fails with: In file included from /usr/include/python3.11/Python.h:38, from boutcore.cpp:262: /usr/include/python3.11/pyport.h: In instantiation of ‘type {anonymous}::_Py_CAST_impl(const expr_type&) [with type = _object*; expr_type = int]’: boutcore.cpp:64765:9: required from here /usr/include/python3.11/pyport.h:47:24: error: invalid ‘static_cast’ from type ‘int’ to type ‘_object*’ 47 | return static_cast<type>(const_cast<expr_type &>(expr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ boutcore.cpp: At global scope: boutcore.cpp:25759:45: warning: ‘__pyx_obj_8boutcore_Vector2D* __pyx_f_8boutcore_v2dFromObj(Vector2D)’ defined but not used [-Wunused-function] 25759 | static struct __pyx_obj_8boutcore_Vector2D *__pyx_f_8boutcore_v2dFromObj(Vector2D __pyx_v_i) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Expected results: No error Additional info: Failed build is here: https://koji.fedoraproject.org/koji/taskinfo?taskID=88350396