-c -o sysinfo.o sysinfo.c make[2]: Leaving directory '/builddir/build/BUILD/hxtools-20150304/suser' BUILDSTDERR: In file included from /usr/include/pci/pci.h:13, BUILDSTDERR: from sysinfo.c:28: BUILDSTDERR: /usr/include/pci/config.h:8:2: error: #error Unknown Arch BUILDSTDERR: #error Unknown Arch BUILDSTDERR: ^~~~~ BUILDSTDERR: sysinfo.c: In function 'sy_loadavg': BUILDSTDERR: sysinfo.c:197:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%lf %lf %lf %u/%u", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: &sib->load_avg1, &avg5, &avg15, &run, &sib->num_tasks); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: make[2]: *** [Makefile:504: sysinfo.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/hxtools-20150304/suser' gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe -std=gnu11 -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 -c -o xcp.o xcp.c make[2]: Leaving directory '/builddir/build/BUILD/hxtools-20150304/suser' make[2]: Entering directory '/builddir/build/BUILD/hxtools-20150304/suser' gcc -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe -std=gnu11 -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 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o declone declone.o make[2]: Leaving directory '/builddir/build/BUILD/hxtools-20150304/suser' make[2]: Entering directory '/builddir/build/BUILD/hxtools-20150304/suser' gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe -std=gnu11 -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 -c -o tailhex.o tailhex.c make[2]: Leaving directory '/builddir/build/BUILD/hxtools-20150304/suser' BUILDSTDERR: make[1]: *** [Makefile:373: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:313: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Bs3MjD (%build) BUILDSTDERR: Macro expanded in comment on line 16: %{version}.tar.xz | gpg --verify hxtools-%{version}.tar.asc - BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Bs3MjD (%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/hxtools.spec