g_AsDouble(obj) : __Pyx__PyObject_AsDouble(obj)) | ^~~ pymusic.cpp:13679:45: error: invalid cast from type 'std::string' {aka 'std::__cxx11::basic_string'} to type 'PyObject*' {aka '_object*'} 13679 | __pyx_t_10 = __Pyx_PyObject_AsDouble(((PyObject *)__pyx_v_vs)); if (unlikely(__pyx_t_10 == ((double)((double)-1)) && PyErr_Occurred())) __PYX_ERR(0, 441, __pyx_L10_error) | ^~~~~~~~~~~~~~~~~~~~~~ pymusic.cpp:2872:50: note: in definition of macro '__Pyx_PyObject_AsDouble' 2872 | PyLong_AsDouble(obj) : __Pyx__PyObject_AsDouble(obj)) | ^~~ pymusic.cpp: At global scope: pymusic.cpp:25805:15: warning: 'double __Pyx__PyObject_AsDouble(PyObject*)' defined but not used [-Wunused-function] 25805 | static double __Pyx__PyObject_AsDouble(PyObject* obj) { | ^~~~~~~~~~~~~~~~~~~~~~~~ make[4]: *** [Makefile:570: pymusic_la-pymusic.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Entering directory '/builddir/build/BUILD/MUSIC-1.2.1/MUSIC-1.2.1-mpich/pymusic' /bin/sh ../libtool --tag=CXX --mode=compile mpicxx -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python3.12 -I../src -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/mpich-riscv64 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MT pybuffer_la-pybuffer.lo -MD -MP -MF .deps/pybuffer_la-pybuffer.Tpo -c -o pybuffer_la-pybuffer.lo `test -f 'pybuffer.cpp' || echo './'`pybuffer.cpp libtool: compile: mpicxx -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python3.12 -I../src -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/mpich-riscv64 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MT pybuffer_la-pybuffer.lo -MD -MP -MF .deps/pybuffer_la-pybuffer.Tpo -c pybuffer.cpp -fPIC -DPIC -o .libs/pybuffer_la-pybuffer.o mv -f .deps/pybuffer_la-pybuffer.Tpo .deps/pybuffer_la-pybuffer.Plo make[4]: Leaving directory '/builddir/build/BUILD/MUSIC-1.2.1/MUSIC-1.2.1-mpich/pymusic' make[3]: *** [Makefile:589: all-recursive] Error 1 make[2]: *** [Makefile:449: all] Error 2 make[1]: *** [Makefile:445: all-recursive] Error 1 make: *** [Makefile:373: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.9BDMEr (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.9BDMEr (%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/MUSIC.spec