n function `CapturedWindowInfoDialog::CapturedWindowInfoDialog(unsigned long, QWidget*)': BUILDSTDERR: /builddir/build/BUILD/antimicro-1e66e4b8737755ad1e5bfd3b1507e9716406ffc9/src/capturedwindowinfodialog.cpp:35: undefined reference to `vtable for CapturedWindowInfoDialog' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/antimicro-1e66e4b8737755ad1e5bfd3b1507e9716406ffc9/src/capturedwindowinfodialog.cpp:118: undefined reference to `vtable for CapturedWindowInfoDialog' BUILDSTDERR: /usr/bin/ld: CMakeFiles/antimicro.dir/src/eventhandlers/xtesteventhandler.cpp.o: in function `XTestEventHandler::XTestEventHandler(QObject*)': BUILDSTDERR: /builddir/build/BUILD/antimicro-1e66e4b8737755ad1e5bfd3b1507e9716406ffc9/src/eventhandlers/xtesteventhandler.cpp:30: undefined reference to `vtable for XTestEventHandler' BUILDSTDERR: /usr/bin/ld: CMakeFiles/antimicro.dir/src/qtuinputkeymapper.cpp.o: in function `.L0 ': BUILDSTDERR: /usr/include/qt5/QtCore/qhash.h:106: undefined reference to `vtable for QtUInputKeyMapper' BUILDSTDERR: /usr/bin/ld: CMakeFiles/antimicro.dir/src/uinputhelper.cpp.o: in function `UInputHelper::~UInputHelper()': BUILDSTDERR: /builddir/build/BUILD/antimicro-1e66e4b8737755ad1e5bfd3b1507e9716406ffc9/src/uinputhelper.cpp:33: undefined reference to `vtable for UInputHelper' BUILDSTDERR: /usr/bin/ld: CMakeFiles/antimicro.dir/src/uinputhelper.cpp.o: in function `UInputHelper::getDisplayString(unsigned int)': BUILDSTDERR: /builddir/build/BUILD/antimicro-1e66e4b8737755ad1e5bfd3b1507e9716406ffc9/src/uinputhelper.cpp:297: undefined reference to `UInputHelper::staticMetaObject' BUILDSTDERR: /usr/bin/ld: CMakeFiles/antimicro.dir/src/uinputhelper.cpp.o: in function `.L0 ': BUILDSTDERR: /usr/include/qt5/QtCore/qrefcount.h:71: undefined reference to `UInputHelper::staticMetaObject' BUILDSTDERR: /usr/bin/ld: CMakeFiles/antimicro.dir/src/uinputhelper.cpp.o: in function `.L0 ': BUILDSTDERR: /usr/include/c++/8/bits/atomic_base.h:304: undefined reference to `UInputHelper::staticMetaObject' BUILDSTDERR: /usr/bin/ld: CMakeFiles/antimicro.dir/src/uinputhelper.cpp.o: in function `UInputHelper::populateKnownAliases()': BUILDSTDERR: /builddir/build/BUILD/antimicro-1e66e4b8737755ad1e5bfd3b1507e9716406ffc9/src/uinputhelper.cpp:146: undefined reference to `UInputHelper::staticMetaObject' BUILDSTDERR: /usr/bin/ld: CMakeFiles/antimicro.dir/src/uinputhelper.cpp.o: in function `.L0 ': BUILDSTDERR: /usr/include/qt5/QtCore/qstring.h:694: undefined reference to `UInputHelper::staticMetaObject' BUILDSTDERR: /usr/bin/ld: CMakeFiles/antimicro.dir/src/uinputhelper.cpp.o:/builddir/build/BUILD/antimicro-1e66e4b8737755ad1e5bfd3b1507e9716406ffc9/src/uinputhelper.cpp:150: more undefined references to `UInputHelper::staticMetaObject' follow BUILDSTDERR: /usr/bin/ld: CMakeFiles/antimicro.dir/src/uinputhelper.cpp.o: in function `UInputHelper::populateKnownAliases()': BUILDSTDERR: /builddir/build/BUILD/antimicro-1e66e4b8737755ad1e5bfd3b1507e9716406ffc9/src/uinputhelper.cpp:246: undefined reference to `vtable for UInputHelper' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[2]: *** [CMakeFiles/antimicro.dir/build.make:1851: bin/antimicro] Error 1 BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:108: CMakeFiles/antimicro.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:133: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.w4jGUR (%install) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.w4jGUR (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do 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/antimicro.spec