Y_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 -DHAVE_CONFIG_H '-DHEXCHATLIBDIR="/usr/lib64/hexchat/plugins"' -pthread -DHAVE_LIBPCI '-DPCIIDS_FILE="/usr/share/hwdata/pci.ids"' -MD -MQ 'plugins/sysinfo/plugins@sysinfo@@sysinfo@sha/unix_backend.c.o' -MF 'plugins/sysinfo/plugins@sysinfo@@sysinfo@sha/unix_backend.c.o.d' -o 'plugins/sysinfo/plugins@sysinfo@@sysinfo@sha/unix_backend.c.o' -c ../plugins/sysinfo/unix/backend.c [88/94] cc -Iplugins/sysinfo/plugins@sysinfo@@sysinfo@sha -Iplugins/sysinfo -I../plugins/sysinfo -I../plugins/sysinfo/shared -I../plugins/sysinfo/unix -I. -I../ -Isrc/common -I../src/common -Isrc/common/dbus -I../src/common/dbus -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu89 -fPIE -funsigned-char -Wno-conversion -Wno-pointer-sign -Wno-padded -Wno-unused-parameter -Wno-missing-prototypes -Winline -Wstrict-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=1 -Werror=missing-include-dirs -Werror=date-time -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 -DHAVE_CONFIG_H '-DHEXCHATLIBDIR="/usr/lib64/hexchat/plugins"' -pthread -DHAVE_LIBPCI '-DPCIIDS_FILE="/usr/share/hwdata/pci.ids"' -MD -MQ 'plugins/sysinfo/plugins@sysinfo@@sysinfo@sha/unix_match.c.o' -MF 'plugins/sysinfo/plugins@sysinfo@@sysinfo@sha/unix_match.c.o.d' -o 'plugins/sysinfo/plugins@sysinfo@@sysinfo@sha/unix_match.c.o' -c ../plugins/sysinfo/unix/match.c [89/94] cc -Iplugins/perl/plugins@perl@@perl@sha -Iplugins/perl -I../plugins/perl -I/usr/local/include -I/usr/lib64/perl5/CORE -I. -I../ -Isrc/common -I../src/common -Isrc/common/dbus -I../src/common/dbus -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -pipe -std=gnu89 -fPIE -funsigned-char -Wno-conversion -Wno-pointer-sign -Wno-padded -Wno-unused-parameter -Wno-missing-prototypes -Winline -Wstrict-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=1 -Werror=missing-include-dirs -Werror=date-time -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 -DHAVE_CONFIG_H '-DHEXCHATLIBDIR="/usr/lib64/hexchat/plugins"' -pthread -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -include /builddir/build/BUILD/hexchat-2.14.1/riscv64-redhat-linux-gnu/config.h -MD -MQ 'plugins/perl/plugins@perl@@perl@sha/perl.c.o' -MF 'plugins/perl/plugins@perl@@perl@sha/perl.c.o.d' -o 'plugins/perl/plugins@perl@@perl@sha/perl.c.o' -c ../plugins/perl/perl.c ninja: build stopped: subcommand failed. error: RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.R0iO0g (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.R0iO0g (%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/hexchat.spec