Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/powertop.spec'], chrootPath='/var/lib/mock/f29-build-25457-13266/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/powertop.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/powertop-2.9-9.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/powertop.spec'], chrootPath='/var/lib/mock/f29-build-25457-13266/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/powertop.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JYq9dv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf powertop-v2.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/powertop-v2.9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd powertop-v2.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (powertop-2.7-always-create-params.patch): + echo 'Patch #0 (powertop-2.7-always-create-params.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .always-create-params --fuzz=0 patching file src/parameters/persistent.cpp Patch #1 (powertop-2.9-cstates-rewrite-fix.patch): + echo 'Patch #1 (powertop-2.9-cstates-rewrite-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cstates-rewrite-fix --fuzz=0 patching file src/cpu/abstract_cpu.cpp + echo 'Patch #2 (powertop-2.9-intel-glk-support.patch):' Patch #2 (powertop-2.9-intel-glk-support.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .intel-glk-support --fuzz=0 patching file src/cpu/intel_cpus.cpp + echo 'Patch #3 (powertop-2.9-intel-cnluy-support.patch):' Patch #3 (powertop-2.9-intel-cnluy-support.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .intel-cnluy-support --fuzz=0 patching file src/cpu/intel_cpus.cpp Patch #4 (powertop-2.9-intel-cpu-check-aperf.patch): + echo 'Patch #4 (powertop-2.9-intel-cpu-check-aperf.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .intel-cpu-check-aperf --fuzz=0 patching file src/cpu/cpu.cpp patching file src/cpu/intel_cpus.cpp patching file src/cpu/intel_cpus.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JxRqI0 + umask 022 + cd /builddir/build/BUILD + cd powertop-v2.9 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for riscv64-koji-linux-gnu-g++... no checking for riscv64-koji-linux-gnu-c++... no checking for riscv64-koji-linux-gnu-gpp... no checking for riscv64-koji-linux-gnu-aCC... no checking for riscv64-koji-linux-gnu-CC... no checking for riscv64-koji-linux-gnu-cxx... no checking for riscv64-koji-linux-gnu-cc++... no checking for riscv64-koji-linux-gnu-cl.exe... no checking for riscv64-koji-linux-gnu-FCC... no checking for riscv64-koji-linux-gnu-KCC... no checking for riscv64-koji-linux-gnu-RCC... no checking for riscv64-koji-linux-gnu-xlC_r... no checking for riscv64-koji-linux-gnu-xlC... no checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether make supports nested variables... (cached) yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done BUILDSTDERR: ./configure: line 5845: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory BUILDSTDERR: ./configure: line 5845: cd: /usr/lib64/lp64d/../lib64/lp64d/: No such file or directory checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for riscv64-koji-linux-gnu-ar... no checking for riscv64-koji-linux-gnu-lib... no checking for riscv64-koji-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking how to run the C preprocessor... gcc -E checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) none checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for riscv64-koji-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for FORTIFY_SOURCE support... checking whether g++ supports C++11 features by default... yes checking if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... no checking for _Bool... no checking for inline... inline checking for int64_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for working strtod... yes checking for fdatasync... yes checking for getpagesize... (cached) yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for munmap... yes checking for pow... yes checking for realpath... yes checking for regcomp... yes checking for select... yes checking for setlocale... yes checking for socket... yes checking for sqrt... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strstr... yes checking for strtoul... yes checking for strtoull... yes checking for library containing clock_gettime... none required checking for riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for NCURSES... yes checking for PCIUTILS... yes checking for LIBNL... yes checking for library containing inet_aton... none required checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating Doxyfile config.status: creating src/Makefile config.status: creating traceevent/Makefile config.status: creating po/Makefile.in config.status: creating doc/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing libtool commands + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' make all-recursive make[1]: Entering directory '/builddir/build/BUILD/powertop-v2.9' Making all in traceevent make[2]: Entering directory '/builddir/build/BUILD/powertop-v2.9/traceevent' CC event-parse.lo CC parse-filter.lo CC parse-utils.lo CC trace-seq.lo BUILDSTDERR: parse-filter.c: In function 'arg_to_str': BUILDSTDERR: parse-filter.c:2034:8: warning: 'op' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: char *op; BUILDSTDERR: ^~ BUILDSTDERR: parse-filter.c: In function 'reparent_op_arg': BUILDSTDERR: parse-filter.c:752:7: warning: 'ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: *ptr = NULL; BUILDSTDERR: ^ BUILDSTDERR: parse-filter.c:756:3: warning: 'other_child' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: free_arg(other_child); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: event-parse.c: In function 'pevent_find_event_by_name': BUILDSTDERR: event-parse.c:3231:21: warning: 'event' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: pevent->last_event = event; BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: event-parse.c: In function 'pevent_data_lat_fmt': BUILDSTDERR: event-parse.c:4358:4: warning: 'migrate_disable' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: trace_seq_printf(s, "%d", migrate_disable); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: event-parse.c:4365:4: warning: 'lock_depth' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: trace_seq_printf(s, "%d", lock_depth); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: event-parse.c: In function 'pevent_event_info': BUILDSTDERR: event-parse.c:4210:7: warning: 'len_arg' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: trace_seq_printf(s, format, len_arg, (char)val); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: event-parse.c:4062:6: note: 'len_arg' was declared here BUILDSTDERR: int len_arg; BUILDSTDERR: ^~~~~~~ CCLD 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.JxRqI0 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.JxRqI0 (%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