+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/trinity.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.r10S6l + 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):' Patch #1 (trinity-autofs.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file configure patching file ioctls/autofs.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6ekDxT + 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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -I/builddir/build/BUILD/trinity-1.8 -I/builddir/build/BUILD/trinity-1.8/include -D_GNU_SOURCE -o taint.o -c taint.c tables.c: In function 'select_syscall_tables': tables.c:520:32: error: 'SYSCALLS' undeclared (first use in this function); did you mean 'NI_SYSCALL'? syscalls = copy_syscall_table(SYSCALLS, ARRAY_SIZE(SYSCALLS)); ^~~~~~~~ NI_SYSCALL tables.c:520:32: note: each undeclared identifier is reported only once for each function it appears in make: *** [Makefile:132: tables.o] Error 1 make: *** Waiting for unfinished jobs.... error: Bad exit status from /var/tmp/rpm-tmp.6ekDxT (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.6ekDxT (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff