+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/preeny.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.VfFp5y + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf preeny-0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/preeny-0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd preeny-0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.L2kQaH + umask 022 + cd /builddir/build/BUILD + cd preeny-0.1 + export '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 ' + 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 ' + export 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + make -j4 make -C src clean make -C tests make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/builddir/build/BUILD/preeny-0.1/src' make[1]: Entering directory '/builddir/build/BUILD/preeny-0.1/tests' 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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld sock.c -o sock rm -f *.o rm -f *.so make[1]: Leaving directory '/builddir/build/BUILD/preeny-0.1/src' make -C src dist make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/builddir/build/BUILD/preeny-0.1/src' cc dealarm.c logging.c -o dealarm.so -shared -fPIC -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 -DLINUX -ldl 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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld hello.c -o hello cc desock.c logging.c -o desock.so -shared -fPIC -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 -DLINUX -ldl -lpthread 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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld rand.c -o rand make[1]: Leaving directory '/builddir/build/BUILD/preeny-0.1/tests' desock.c: In function 'preeny_socket_sync_loop': desock.c:116:7: warning: unused variable 'error_buf' [-Wunused-variable] char error_buf[1024]; ^~~~~~~~~ desock.c: In function 'preeny_socket_sync': desock.c:40:3: warning: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Wunused-result] strerror_r(errno, error_buf, 1024); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ desock.c:53:3: warning: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Wunused-result] strerror_r(errno, error_buf, 1024); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ desock.c:70:4: warning: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Wunused-result] strerror_r(errno, error_buf, 1024); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/socket.h: In function 'accept4': desock.c:237:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cc writeout.c logging.c -o writeout.so -shared -fPIC -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 -DLINUX -ldl cc patch.c logging.c -o patch.so -shared -fPIC -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 -DLINUX -ldl -ldl -lini_config patch.c: In function 'preeny_patch_apply_patch': patch.c:110:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ patch.c: In function 'preeny_patch_apply_file': patch.c:152:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cc desock_dup.c logging.c -o desock_dup.so -shared -fPIC -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 -DLINUX -ldl -ldl /usr/include/unistd.h: In function 'close': desock_dup.c:39:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /usr/include/unistd.h: In function 'dup2': desock_dup.c:52:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cc deptrace.c logging.c -o deptrace.so -shared -fPIC -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 -DLINUX -ldl -ldl cc logging.c -o logging.so -shared -fPIC -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 -DLINUX -ldl cc defork.c logging.c -o defork.so -shared -fPIC -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 -DLINUX -ldl cc startstop.c logging.c -o startstop.so -shared -fPIC -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 -DLINUX -ldl cc mallocwatch.c logging.c -o mallocwatch.so -shared -fPIC -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 -DLINUX -ldl -ldl cc ensock.c logging.c -o ensock.so -shared -fPIC -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 -DLINUX -ldl ensock.c: In function 'preeny_socketize': ensock.c:52:56: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] conn_fd = accept(fd, (struct sockaddr *)&client_addr, &client_len); ^ In file included from /usr/include/netinet/in.h:23:0, from ensock.c:3: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ cc derand.c logging.c -o derand.so -shared -fPIC -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 -DLINUX -ldl cc desrand.c logging.c -o desrand.so -shared -fPIC -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 -DLINUX -ldl -ldl cc desigact.c logging.c -o desigact.so -shared -fPIC -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 -DLINUX -ldl cc desleep.c logging.c -o desleep.so -shared -fPIC -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 -DLINUX -ldl mkdir -p ../riscv64-redhat-linux cp *.so ../riscv64-redhat-linux make[1]: Leaving directory '/builddir/build/BUILD/preeny-0.1/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZkuFyW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/preeny-0.1-3.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/preeny-0.1-3.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/preeny-0.1-3.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/preeny-0.1-3.fc28.riscv64 + cd preeny-0.1 + cd src + mkdir -p /builddir/build/BUILDROOT/preeny-0.1-3.fc28.riscv64/usr/lib64/preeny + install -pt /builddir/build/BUILDROOT/preeny-0.1-3.fc28.riscv64/usr/lib64/preeny dealarm.so defork.so deptrace.so derand.so desigact.so desleep.so desock.so desock_dup.so desrand.so ensock.so logging.so mallocwatch.so patch.so startstop.so writeout.so + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: preeny-0.1-3.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5nd3f6 + umask 022 + cd /builddir/build/BUILD + cd preeny-0.1 + DOCDIR=/builddir/build/BUILDROOT/preeny-0.1-3.fc28.riscv64/usr/share/doc/preeny + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/preeny-0.1-3.fc28.riscv64/usr/share/doc/preeny + cp -pr README.md /builddir/build/BUILDROOT/preeny-0.1-3.fc28.riscv64/usr/share/doc/preeny + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.SvVAwu + umask 022 + cd /builddir/build/BUILD + cd preeny-0.1 + LICENSEDIR=/builddir/build/BUILDROOT/preeny-0.1-3.fc28.riscv64/usr/share/licenses/preeny + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/preeny-0.1-3.fc28.riscv64/usr/share/licenses/preeny + cp -pr LICENSE /builddir/build/BUILDROOT/preeny-0.1-3.fc28.riscv64/usr/share/licenses/preeny + exit 0 Provides: preeny = 0.1-3.fc28 preeny(riscv-64) = 0.1-3.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) libini_config.so.5()(64bit) libini_config.so.5(INI_CONFIG_1.1.0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/preeny-0.1-3.fc28.riscv64 Wrote: /builddir/build/SRPMS/preeny-0.1-3.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/preeny-0.1-3.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TTNSJF + umask 022 + cd /builddir/build/BUILD + cd preeny-0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/preeny-0.1-3.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff