: ppl/linear_algebra.cpp:11624:12: warning: ‘int __Pyx_ExportFunction(const char*, void (*)(), const char*)’ defined but not used [-Wunused-function] 11624 | static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig) { | ^~~~~~~~~~~~~~~~~~~~ ppl/linear_algebra.cpp:4729:18: warning: ‘PyObject* __pyx_pf_3ppl_14linear_algebra_17Linear_Expression_12shift_space_dimensions(__pyx_obj_3ppl_14linear_algebra_Linear_Expression*, PyObject*, int)’ defined but not used [-Wunused-function] 4729 | static PyObject *__pyx_pf_3ppl_14linear_algebra_17Linear_Expression_12shift_space_dimensions(struct __pyx_obj_3ppl_14linear_algebra_Linear_Expression *__pyx_v_self, PyObject *__pyx_v_v, Parma_Polyhedra_Library::dimension_type __pyx_v_n) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ppl/linear_algebra.cpp:4413:18: warning: ‘PyObject* __pyx_pf_3ppl_14linear_algebra_17Linear_Expression_8set_space_dimension(__pyx_obj_3ppl_14linear_algebra_Linear_Expression*, int)’ defined but not used [-Wunused-function] 4413 | static PyObject *__pyx_pf_3ppl_14linear_algebra_17Linear_Expression_8set_space_dimension(struct __pyx_obj_3ppl_14linear_algebra_Linear_Expression *__pyx_v_self, Parma_Polyhedra_Library::dimension_type __pyx_v_n) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ppl/linear_algebra.cpp:2037:12: warning: ‘int __pyx_pf_3ppl_14linear_algebra_8Variable___cinit__(__pyx_obj_3ppl_14linear_algebra_Variable*, int)’ defined but not used [-Wunused-function] 2037 | static int __pyx_pf_3ppl_14linear_algebra_8Variable___cinit__(struct __pyx_obj_3ppl_14linear_algebra_Variable *__pyx_v_self, Parma_Polyhedra_Library::dimension_type __pyx_v_i) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: command '/usr/bin/gcc' failed with exit code 1 error: subprocess-exited-with-error × Building wheel for pplpy (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. full command: /usr/bin/python3 /usr/lib/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /builddir/build/BUILD/pplpy-0.8.7/.pyproject-builddir/tmptt44t5ht cwd: /builddir/build/BUILD/pplpy-0.8.7 Building wheel for pplpy (pyproject.toml): finished with status 'error' ERROR: Failed building wheel for pplpy Failed to build pplpy ERROR: Failed to build one or more wheels error: Bad exit status from /var/tmp/rpm-tmp.ZYWvbK (%build) RPM build warnings: The %{pyproject_build_lib} macro is deprecated. It only works with setuptools and is not build-backend-agnostic. The macro i RPM build errors: s not scheduled for removal, but there is a possibility of incompatibilities with future versions of setuptools. As a replacement for the macro for the setuptools backend on Fedora 37+, you can use $PWD/build/lib for pure Python packages, or $PWD/build/lib.%{python3_platform}-cpython-%{python3_version_nodots} for packages with extension modules. Other build backends and older distributions may need different paths. See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/HMLOPAU3RZLXD4BOJHTIPKI3I4U6U7OE/ for details. Bad exit status from /var/tmp/rpm-tmp.ZYWvbK (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-pplpy.spec