hes -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 -pthread -Wall -W -D_REENTRANT -fPIC -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I/usr/include/QtDBus -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I.moc -o .obj/moc_atspiadaptor.o .moc/moc_atspiadaptor.cpp make[1]: Leaving directory '/builddir/build/BUILD/qt-at-spi-qt-at-spi/src' make[1]: Entering directory '/builddir/build/BUILD/qt-at-spi-qt-at-spi/src' g++ -c -pipe -Werror -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 -pthread -Wall -W -D_REENTRANT -fPIC -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I/usr/include/QtDBus -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I.moc -o .obj/atspiadaptor.o atspiadaptor.cpp In file included from atspiadaptor.cpp:33: In member function 'RoleNames::RoleNames(RoleNames const&)', inlined from 'QHashNode::QHashNode(QAccessible::Role const&, RoleNames const&)' at /usr/include/QtCore/qhash.h:224:69, inlined from 'QHash::createNode(unsigned int, QAccessible::Role const&, RoleNames const&, QHashNode**)' at /usr/include/QtCore/qhash.h:545:16, inlined from 'QHash::operator[](QAccessible::Role const&)' at /usr/include/QtCore/qhash.h:747:26: constant_mappings.h:76:8: error: 'MEM[(const struct RoleNames &)&D.167125].spiRole_' may be used uninitialized [-Werror=maybe-uninitialized] 76 | struct RoleNames { | ^~~~~~~~~ In file included from /usr/include/QtCore/qset.h:45, from /usr/include/QtGui/qaccessible.h:48, from /usr/include/QtGui/qaccessible2.h:45, from atspiadaptor.h:23, from atspiadaptor.cpp:19: /usr/include/QtCore/qhash.h: In member function 'QHash::operator[](QAccessible::Role const&)': /usr/include/QtCore/qhash.h:747:36: note: '' declared here 747 | return createNode(h, akey, T(), node)->value; | ^~~ cc1plus: all warnings being treated as errors make[1]: *** [Makefile:365: .obj/atspiadaptor.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/qt-at-spi-qt-at-spi/src' make: *** [Makefile:43: sub-src-make_default-ordered] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.h845Q4 (%build) RPM build warnings: Macro expanded in comment on line 14: %{version} Macro expanded in comment on line 68: %{_qt4_docdir}? --rex RPM build errors: Bad exit status from /var/tmp/rpm-tmp.h845Q4 (%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/qt-at-spi.spec