lib/lib@@sysprof-2@sha/sources_sp-source.c.o' -MF 'lib/lib@@sysprof-2@sha/sources_sp-source.c.o.d' -o 'lib/lib@@sysprof-2@sha/sources_sp-source.c.o' -c ../lib/sources/sp-source.c [27/101] cc -Ilib/lib@@sysprof-2@sha -Ilib -I../lib -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/polkit-1 -I/builddir/build/BUILD/sysprof-3.28.1/riscv64-redhat-linux-gnu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -Wcast-align -Wdeclaration-after-statement -Wformat-nonliteral -Wformat-security -Wmissing-include-dirs -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wno-cast-function-type -Wpointer-arith -Wredundant-decls -Wswitch-default -Wswitch-enum -Wuninitialized -Werror=format-security -Werror=format=2 -Werror=empty-body -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=pointer-arith -Werror=init-self -Werror=int-conversion -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=overflow -Werror=return-type -Werror=shadow -Werror=strict-prototypes -Werror=undef -DHAVE_CONFIG_H -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -O2 -g -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 -fPIC -pthread -DENABLE_POLKIT -MD -MQ 'lib/lib@@sysprof-2@sha/sources_sp-proc-source.c.o' -MF 'lib/lib@@sysprof-2@sha/sources_sp-proc-source.c.o.d' -o 'lib/lib@@sysprof-2@sha/sources_sp-proc-source.c.o' -c ../lib/sources/sp-proc-source.c [28/101] cc -Ilib/lib@@sysprof-2@sha -Ilib -I../lib -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/polkit-1 -I/builddir/build/BUILD/sysprof-3.28.1/riscv64-redhat-linux-gnu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -Wcast-align -Wdeclaration-after-statement -Wformat-nonliteral -Wformat-security -Wmissing-include-dirs -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wno-cast-function-type -Wpointer-arith -Wredundant-decls -Wswitch-default -Wswitch-enum -Wuninitialized -Werror=format-security -Werror=format=2 -Werror=empty-body -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=pointer-arith -Werror=init-self -Werror=int-conversion -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=overflow -Werror=return-type -Werror=shadow -Werror=strict-prototypes -Werror=undef -DHAVE_CONFIG_H -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -O2 -g -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 -fPIC -pthread -DENABLE_POLKIT -MD -MQ 'lib/lib@@sysprof-2@sha/sources_sp-perf-source.c.o' -MF 'lib/lib@@sysprof-2@sha/sources_sp-perf-source.c.o.d' -o 'lib/lib@@sysprof-2@sha/sources_sp-perf-source.c.o' -c ../lib/sources/sp-perf-source.c ninja: build stopped: subcommand failed. RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.wKyJOY (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.wKyJOY (%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/sysprof.spec