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/trinity.spec'], chrootPath='/var/lib/mock/f29-build-6817-1678/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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/trinity.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/trinity-1.8-2.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/trinity.spec'], chrootPath='/var/lib/mock/f29-build-6817-1678/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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/trinity.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bFO4XE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf trinity-1.8 + /usr/bin/xz -dc /builddir/build/SOURCES/trinity-1.8.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd trinity-1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (trinity-net-protocols.patch):' Patch #0 (trinity-net-protocols.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file syscalls/setsockopt.c + echo 'Patch #1 (trinity-autofs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 Patch #1 (trinity-autofs.patch): patching file configure patching file ioctls/autofs.c Patch #2 (trinity-memfd.patch): + echo 'Patch #2 (trinity-memfd.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file fds/memfd.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.a3U7iK + umask 022 + cd /builddir/build/BUILD + cd trinity-1.8 + ./configure [*] Checking system headers. [*] Checking autofs headers ... [NO] [*] Checking ipv6 headers ... [OK] [*] Checking if pppox can use pppol2tpin6.. [YES] [*] Checking if pppox can use pppol2tv3.. [YES] [*] Checking if pppox can use pptp.. [YES] [*] Checking if llc can use LLC_OPT_PKTINFO.. [YES] [*] Checking if glibc headers provide termios2.. [NO] [*] Checking if glibc headers provide nvme ioctls.. [YES] [*] Checking if bpf_attr can use map_flags.. [YES] [*] Checking if btrfs can use btrfs_ioctl_defrag_range_args.. [YES] [*] Checking header linux/auto_fs4.h ... [YES] [*] Checking header linux/caif/caif_socket.h ... [YES] [*] Checking header linux/fsmap.h ... [YES] [*] Checking header linux/if_alg.h ... [YES] [*] Checking header linux/rds.h ... [YES] [*] Checking header linux/vfio.h ... [YES] [*] Checking header drm/drm.h ... [YES] [*] Checking header drm/exynos_drm.h ... [YES] [*] Checking header sound/compress_offload.h ... [YES] [*] Checking header linux/kvm.h ... [NO] [*] Checking header linux/seccomp.h ... [YES] [*] Checking header linux/vhost.h ... [YES] [*] Checking header execinfo.h ... [YES] [*] Checking header netatalk/at.h ... [YES] [*] Checking header netrom/netrom.h ... [YES] [*] Checking header netrose/rose.h ... [YES] [*] Checking header neteconet/ec.h ... [YES] [*] Checking header netax25/ax25.h ... [YES] [*] Checking header netipx/ipx.h ... [YES] [-] Some header definitions were missing. This is not fatal. It usually means you're building on an older distribution which doesn't have header files describing newer kernel features. Trinity will still compile and run, it just won't use those new features. Go ahead, and run 'make' + make include/version.h + make -j4 V=1 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' '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 -I/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE' cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o arg-decoder.o -c arg-decoder.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o blockdevs.o -c blockdevs.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o child.o -c child.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o debug.o -c debug.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o devices.o -c devices.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o ftrace.o -c ftrace.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o generate-args.o -c generate-args.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o kcov.o -c kcov.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o locks.o -c locks.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o log-files.o -c log-files.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o log.o -c log.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o main.o -c main.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o objects.o -c objects.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o output.o -c output.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o params.o -c params.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o pathnames.o -c pathnames.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o pids.o -c pids.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o post-mortem.o -c post-mortem.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o results.o -c results.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o shm.o -c shm.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o signals.o -c signals.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o stats.o -c stats.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o syscall.o -c syscall.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o sysv-shm.o -c sysv-shm.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o tables-biarch.o -c tables-biarch.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o tables-uniarch.o -c tables-uniarch.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o tables.o -c tables.c cc -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/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o taint.o -c taint.c BUILDSTDERR: tables.c: In function 'select_syscall_tables': BUILDSTDERR: tables.c:520:32: error: 'SYSCALLS' undeclared (first use in this function); did you mean 'NI_SYSCALL'? BUILDSTDERR: syscalls = copy_syscall_table(SYSCALLS, ARRAY_SIZE(SYSCALLS)); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: NI_SYSCALL BUILDSTDERR: tables.c:520:32: note: each undeclared identifier is reported only once for each function it appears in BUILDSTDERR: make: *** [Makefile:132: tables.o] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.a3U7iK (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.a3U7iK (%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/trinity.spec