ort' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `Py_Finalize' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `Py_DecRef' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `Py_InitializeEx' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PyGILState_Release' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PySet_Add' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PyModule_AddObject' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PySequence_GetItem' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PyType_GenericNew' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `Py_BuildValue' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PyDict_GetItemString' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PyBool_FromLong' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PyLong_AsLong' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PyExc_Exception' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PyFloat_Type' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PyExc_IndexError' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PySet_Pop' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PyType_FromSpec' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PySequence_Check' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `Py_IsInitialized' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PyObject_CallMethod' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PyModule_AddIntConstant' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PyList_New' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PyObject_Str' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PyErr_Format' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsigrokdecode.so: undefined reference to `PyTuple_Size' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/pulseview.dir/build.make:1693: pulseview] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/pulseview-0.4.2' make[1]: *** [CMakeFiles/Makefile2:122: CMakeFiles/pulseview.dir/all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/pulseview-0.4.2' make: *** [Makefile:175: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.fp8xeG (%build) Bad exit status from /var/tmp/rpm-tmp.fp8xeG (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/pulseview.spec