cpp: In function 'void* array_QsciAPIs(Py_ssize_t)': /builddir/build/BUILD/QScintilla_gpl-2.11.2/Python3-qt5/Qsci/sipQsciQsciAPIs.cpp:817:37: error: no matching function for call to 'QsciAPIs::QsciAPIs()' 817 | return new ::QsciAPIs[sipNrElem]; | ^ In file included from /builddir/build/BUILD/QScintilla_gpl-2.11.2/Python3-qt5/sip/qsciapis.sip:24: ../../Qt5/Qsci/qsciapis.h:209:5: note: candidate: 'QsciAPIs::QsciAPIs(const QsciAPIs&)' 209 | QsciAPIs(const QsciAPIs &); | ^~~~~~~~ ../../Qt5/Qsci/qsciapis.h:209:5: note: candidate expects 1 argument, 0 provided ../../Qt5/Qsci/qsciapis.h:73:5: note: candidate: 'QsciAPIs::QsciAPIs(QsciLexer*)' 73 | QsciAPIs(QsciLexer *lexer); | ^~~~~~~~ ../../Qt5/Qsci/qsciapis.h:73:5: note: candidate expects 1 argument, 0 provided make[1]: *** [Makefile:573: sipQsciQsciAPIs.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/QScintilla_gpl-2.11.2/Python3-qt5/Qsci' g++ -c -pipe -fno-exceptions -O2 -Wall -Wextra -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQSCINTILLA_DLL -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../Qt5 -isystem /usr/include/python3.9 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o sipQsciQsciAbstractAPIs.o sipQsciQsciAbstractAPIs.cpp make[1]: Leaving directory '/builddir/build/BUILD/QScintilla_gpl-2.11.2/Python3-qt5/Qsci' make[1]: Entering directory '/builddir/build/BUILD/QScintilla_gpl-2.11.2/Python3-qt5/Qsci' g++ -c -pipe -fno-exceptions -O2 -Wall -Wextra -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQSCINTILLA_DLL -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../Qt5 -isystem /usr/include/python3.9 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o sipQsciQsciCommand.o sipQsciQsciCommand.cpp make[1]: Leaving directory '/builddir/build/BUILD/QScintilla_gpl-2.11.2/Python3-qt5/Qsci' make[1]: Entering directory '/builddir/build/BUILD/QScintilla_gpl-2.11.2/Python3-qt5/Qsci' g++ -c -pipe -fno-exceptions -O2 -Wall -Wextra -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQSCINTILLA_DLL -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../Qt5 -isystem /usr/include/python3.9 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o sipQsciQsciCommandSet.o sipQsciQsciCommandSet.cpp make[1]: Leaving directory '/builddir/build/BUILD/QScintilla_gpl-2.11.2/Python3-qt5/Qsci' make: *** [Makefile:47: sub-Qsci-make_first-ordered] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.ftNCed (%build) RPM build errors: Macro expanded in comment on line 22: %{?fedora} > 28 Macro expanded in comment on line 23: %{_datadir}/python3-sip Macro expanded in comment on line 24: %{_bindir}/python3-sip Bad exit status from /var/tmp/rpm-tmp.ftNCed (%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/qscintilla.spec