ches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fno-strict-aliasing -Wno-unused-parameter -DGIAC_GENERIC_CONSTANTS -fpermissive -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../../qcas-0.5.3 -I. -I../../qcas-0.5.3 -I../qt -I/usr/include/qt5 -I/usr/include/qt5/QtSvg -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_prefdialog.o moc_prefdialog.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fno-strict-aliasing -Wno-unused-parameter -DGIAC_GENERIC_CONSTANTS -fpermissive -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../../qcas-0.5.3 -I. -I../../qcas-0.5.3 -I../qt -I/usr/include/qt5 -I/usr/include/qt5/QtSvg -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_plotfunctiondialog.o moc_plotfunctiondialog.cpp g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o qcas MainWindow.o output.o main.o config.o CasManager.o WizardMatrix.o WizardEquation.o WizardCatalog.o WizardAlgo.o spreadsheet.o qtmmlwidget.o FormalSheet.o FormalLineWidgets.o FormalLine.o CentralTabWidget.o prefdialog.o geometry.o plotfunctiondialog.o qrc_qcas.o moc_MainWindow.o moc_output.o moc_CasManager.o moc_WizardMatrix.o moc_WizardEquation.o moc_WizardCatalog.o moc_WizardAlgo.o moc_spreadsheet.o moc_FormalSheet.o moc_FormalLineWidgets.o moc_FormalLine.o moc_CentralTabWidget.o moc_prefdialog.o moc_plotfunctiondialog.o -ldl -lgiac -lgmp /usr/lib64/libQt5Svg.so /usr/lib64/libQt5Widgets.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Xml.so /usr/lib64/libQt5Core.so -lGL -pthread /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libgiac.so: undefined reference to `CoCoA::SymbolRange(std::__cxx11::basic_string, std::allocator > const&, CoCoA::MachineInt const&, CoCoA::MachineInt const&)' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libgiac.so: undefined reference to `CoCoA::PPMonoidBase::myOutput(CoCoA::OpenMathOutput&, CoCoA::PPMonoidElemConstRawPtr) const' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libgiac.so: undefined reference to `CoCoA::BigInt::BigInt(__mpz_struct const*, CoCoA::BigInt::CopyFromMPZ_t)' collect2: error: ld returned 1 exit status make: *** [Makefile:242: qcas] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.aEO8DL (%build) Bad exit status from /var/tmp/rpm-tmp.aEO8DL (%build) RPM build errors: 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/qcas.spec