libtraceevnet.la make[2]: Leaving directory '/builddir/build/BUILD/powertop-v2.9/traceevent' Making all in src make[2]: Entering directory '/builddir/build/BUILD/powertop-v2.9/src' make all-am make[3]: Entering directory '/builddir/build/BUILD/powertop-v2.9/src' CXX powertop-devlist.o CXX powertop-display.o CXX powertop-lib.o CXX powertop-main.o BUILDSTDERR: In file included from /usr/include/pci/pci.h:13, BUILDSTDERR: from lib.cpp:43: BUILDSTDERR: /usr/include/pci/config.h:8:2: error: #error Unknown Arch BUILDSTDERR: #error Unknown Arch BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from display.cpp:25: BUILDSTDERR: display.h: In member function 'virtual void tab_window::cursor_down()': BUILDSTDERR: display.h:65:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (cursor_pos < cursor_max ) cursor_pos++; repaint(); BUILDSTDERR: ^~ BUILDSTDERR: display.h:65:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (cursor_pos < cursor_max ) cursor_pos++; repaint(); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: display.h: In member function 'virtual void tab_window::cursor_up()': BUILDSTDERR: display.h:68:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (cursor_pos > 0) cursor_pos--; repaint(); BUILDSTDERR: ^~ BUILDSTDERR: display.h:68:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (cursor_pos > 0) cursor_pos--; repaint(); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from main.cpp:62: BUILDSTDERR: display.h: In member function 'virtual void tab_window::cursor_down()': BUILDSTDERR: display.h:65:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (cursor_pos < cursor_max ) cursor_pos++; repaint(); BUILDSTDERR: ^~ BUILDSTDERR: display.h:65:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (cursor_pos < cursor_max ) cursor_pos++; repaint(); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: display.h: In member function 'virtual void tab_window::cursor_up()': BUILDSTDERR: display.h:68:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (cursor_pos > 0) cursor_pos--; repaint(); BUILDSTDERR: ^~ BUILDSTDERR: display.h:68:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (cursor_pos > 0) cursor_pos--; repaint(); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: make[3]: *** [Makefile:1018: powertop-lib.o] Error 1 BUILDSTDERR: make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/builddir/build/BUILD/powertop-v2.9/src' make[2]: Leaving directory '/builddir/build/BUILD/powertop-v2.9/src' BUILDSTDERR: make[2]: *** [Makefile:579: all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/powertop-v2.9' BUILDSTDERR: make[1]: *** [Makefile:460: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:390: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.tVGxNe (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.tVGxNe (%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/powertop.spec