apshack/helpers/CToolBarSetupDialog.cpp:20: BUILDSTDERR: /builddir/build/BUILD/qmapshack-1.11.1/src/qmapshack/helpers/CToolBarConfig.h:27:7: note: forward declaration of 'class QAction' BUILDSTDERR: class QAction; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/qmapshack-1.11.1/src/qmapshack/helpers/CToolBarSetupDialog.cpp:88:19: error: invalid use of incomplete type 'class QAction' BUILDSTDERR: if (action->isSeparator()) BUILDSTDERR: ^~ BUILDSTDERR: In file included from /builddir/build/BUILD/qmapshack-1.11.1/src/qmapshack/helpers/CToolBarSetupDialog.cpp:20: BUILDSTDERR: /builddir/build/BUILD/qmapshack-1.11.1/src/qmapshack/helpers/CToolBarConfig.h:27:7: note: forward declaration of 'class QAction' BUILDSTDERR: class QAction; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/qmapshack-1.11.1/src/qmapshack/helpers/CToolBarSetupDialog.cpp:90:52: error: invalid use of incomplete type 'class QAction' BUILDSTDERR: selectedItems << new CDialogItem(action->icon(),"---------------",action->objectName()); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /builddir/build/BUILD/qmapshack-1.11.1/src/qmapshack/helpers/CToolBarSetupDialog.cpp:20: BUILDSTDERR: /builddir/build/BUILD/qmapshack-1.11.1/src/qmapshack/helpers/CToolBarConfig.h:27:7: note: forward declaration of 'class QAction' BUILDSTDERR: class QAction; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/qmapshack-1.11.1/src/qmapshack/helpers/CToolBarSetupDialog.cpp:90:85: error: invalid use of incomplete type 'class QAction' BUILDSTDERR: selectedItems << new CDialogItem(action->icon(),"---------------",action->objectName()); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /builddir/build/BUILD/qmapshack-1.11.1/src/qmapshack/helpers/CToolBarSetupDialog.cpp:20: BUILDSTDERR: /builddir/build/BUILD/qmapshack-1.11.1/src/qmapshack/helpers/CToolBarConfig.h:27:7: note: forward declaration of 'class QAction' BUILDSTDERR: class QAction; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/qmapshack-1.11.1/src/qmapshack/helpers/CToolBarSetupDialog.cpp:94:44: error: invalid use of incomplete type 'class QAction' BUILDSTDERR: QString configuredName = action->objectName(); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /builddir/build/BUILD/qmapshack-1.11.1/src/qmapshack/helpers/CToolBarSetupDialog.cpp:20: BUILDSTDERR: /builddir/build/BUILD/qmapshack-1.11.1/src/qmapshack/helpers/CToolBarConfig.h:27:7: note: forward declaration of 'class QAction' BUILDSTDERR: class QAction; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: make[2]: *** [src/qmapshack/CMakeFiles/qmapshack.dir/build.make:3316: src/qmapshack/CMakeFiles/qmapshack.dir/helpers/CToolBarSetupDialog.cpp.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/qmapshack-1.11.1/build' make[1]: Leaving directory '/builddir/build/BUILD/qmapshack-1.11.1/build' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:122: src/qmapshack/CMakeFiles/qmapshack.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:155: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.S63cSA (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.S63cSA (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/qmapshack.spec