Fedora Account System
Red Hat Associate
Red Hat Customer
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
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 :-)