+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/rwho.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.jTeanG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf netkit-rwho-0.17 + /usr/bin/gzip -dc /builddir/build/SOURCES/netkit-rwho-0.17.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd netkit-rwho-0.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (rwho-0.15-alpha.patch):' Patch #0 (rwho-0.15-alpha.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .alpha --fuzz=0 patching file ruptime/ruptime.c patching file rwho/Makefile patching file rwhod/rwhod.c Hunk #2 succeeded at 247 (offset 28 lines). Hunk #3 succeeded at 579 (offset 84 lines). Hunk #4 succeeded at 598 (offset 84 lines). Hunk #5 succeeded at 624 (offset 84 lines). Hunk #6 succeeded at 637 (offset 84 lines). Hunk #7 succeeded at 651 (offset 84 lines). + echo 'Patch #1 (rwho-0.17-bug22014.patch):' Patch #1 (rwho-0.17-bug22014.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .bug22014 --fuzz=0 patching file ruptime/Makefile + echo 'Patch #2 (rwho-0.17-fixbcast.patch):' Patch #2 (rwho-0.17-fixbcast.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fixbcast --fuzz=0 patching file rwhod/rwhod.c Hunk #1 succeeded at 617 (offset 84 lines). + echo 'Patch #3 (rwho-0.17-fixhostname.patch):' Patch #3 (rwho-0.17-fixhostname.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fixhostname --fuzz=0 patching file rwhod/rwhod.c + echo 'Patch #4 (rwho-0.17-strip.patch):' Patch #4 (rwho-0.17-strip.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .strip --fuzz=0 patching file rwho/Makefile patching file ruptime/Makefile patching file rwhod/Makefile Hunk #1 succeeded at 12 (offset 1 line). + echo 'Patch #5 (rwho-0.17-include.patch):' Patch #5 (rwho-0.17-include.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .include --fuzz=0 patching file include/protocols/rwhod.h + echo 'Patch #6 (rwho-0.17-wd_we.patch):' Patch #6 (rwho-0.17-wd_we.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .wd_we --fuzz=0 patching file include/protocols/rwhod.h patching file rwhod/rwhod.c + echo 'Patch #7 (rwho-0.17-time.patch):' Patch #7 (rwho-0.17-time.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .time --fuzz=0 patching file rwhod/rwhod.c + echo 'Patch #8 (rwho-0.17-gcc4.patch):' Patch #8 (rwho-0.17-gcc4.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc4 --fuzz=0 patching file rwhod/rwhod.c patching file rwhod/daemon.c + echo 'Patch #9 (rwho-0.17-waitchild.patch):' Patch #9 (rwho-0.17-waitchild.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .waitchild --fuzz=0 patching file rwhod/rwhod.c + echo 'Patch #10 (rwho-0.17-neighbours.patch):' Patch #10 (rwho-0.17-neighbours.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .neighbours --fuzz=0 patching file rwhod/rwhod.c + echo 'Patch #11 (rwho-0.17-hostnamelen.patch):' Patch #11 (rwho-0.17-hostnamelen.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .hostnamelen --fuzz=0 patching file ruptime/ruptime.1 patching file ruptime/ruptime.c + echo 'Patch #12 (rwho-0.17-stderr.patch):' Patch #12 (rwho-0.17-stderr.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .stderr --fuzz=0 patching file ruptime/ruptime.c patching file rwho/rwho.c + /usr/bin/perl -pi -e ' s|^LDFLAGS=|LDFLAGS="-pie -Wl,-z,relro,-z,now"|; s,^BINDIR=.*$,BINDIR=/usr/bin,; s,^MANDIR=.*$,MANDIR=/usr/share/man,; s,^SBINDIR=.*$,SBINDIR=/usr/sbin,; ' configure + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6TJooE + umask 022 + cd /builddir/build/BUILD + cd netkit-rwho-0.17 + 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../include -fpic' + sh configure --with-c-compiler=gcc Directories: /usr/bin /usr/sbin /usr/share/man Checking if C compiler works... yes Checking if gcc accepts gcc warnings... yes Checking if gcc accepts -O2... yes Checking for BSD signal semantics... yes Checking for snprintf declaration... ok Checking for snprintf implementation... ok Generating MCONFIG... + make -j4 (cd rwho && make) (cd rwhod && make) (cd ruptime && make) make[1]: Entering directory '/builddir/build/BUILD/netkit-rwho-0.17/rwho' gcc -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../include -fpic -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rwho.c -c make[1]: Entering directory '/builddir/build/BUILD/netkit-rwho-0.17/rwhod' gcc -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../include -fpic -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include rwhod.c -c make[1]: Entering directory '/builddir/build/BUILD/netkit-rwho-0.17/ruptime' gcc -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../include -fpic -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline ruptime.c -c gcc -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../include -fpic -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include daemon.c -c daemon.c: In function 'daemon': daemon.c:62:4: warning: implicit declaration of function 'perror' [-Wimplicit-function-declaration] perror("Couldn't chdir to /"); ^~~~~~ daemon.c:62:4: warning: nested extern declaration of 'perror' [-Wnested-externs] gcc -pie -Wl,-z,relro,-z,now rwho.o -o rwho make[1]: Leaving directory '/builddir/build/BUILD/netkit-rwho-0.17/rwho' gcc -pie -Wl,-z,relro,-z,now ruptime.o -o ruptime make[1]: Leaving directory '/builddir/build/BUILD/netkit-rwho-0.17/ruptime' gcc -pie -Wl,-z,relro,-z,now rwhod.o daemon.o -o rwhod make[1]: Leaving directory '/builddir/build/BUILD/netkit-rwho-0.17/rwhod' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BsuWW6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64 + cd netkit-rwho-0.17 + mkdir -p /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64/var/spool/rwho + make INSTALLROOT=/builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64 install (cd rwho && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rwho-0.17/rwho' install -m755 rwho /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64/usr/bin install -m644 rwho.1 /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64/usr/share/man/man1/ make[1]: Leaving directory '/builddir/build/BUILD/netkit-rwho-0.17/rwho' (cd rwhod && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rwho-0.17/rwhod' install -m755 rwhod /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64/usr/sbin install -m644 rwhod.8 /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64/usr/share/man/man8/ make[1]: Leaving directory '/builddir/build/BUILD/netkit-rwho-0.17/rwhod' (cd ruptime && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rwho-0.17/ruptime' install -m755 ruptime /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64/usr/bin install -m644 ruptime.1 /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64/usr/share/man/man1/ make[1]: Leaving directory '/builddir/build/BUILD/netkit-rwho-0.17/ruptime' + make INSTALLROOT=/builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64 install -C ruptime make: Entering directory '/builddir/build/BUILD/netkit-rwho-0.17/ruptime' install -m755 ruptime /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64/usr/bin install -m644 ruptime.1 /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64/usr/share/man/man1/ make: Leaving directory '/builddir/build/BUILD/netkit-rwho-0.17/ruptime' + install -m 644 /builddir/build/SOURCES/rwhod.service /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64/usr/lib/systemd/system/rwhod.service + /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: rwho-0.17-60.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.C5Qnbh + umask 022 + cd /builddir/build/BUILD + cd netkit-rwho-0.17 + DOCDIR=/builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64/usr/share/doc/rwho + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64/usr/share/doc/rwho + cp -pr README /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64/usr/share/doc/rwho + exit 0 Provides: rwho = 0.17-60.fc28 rwho(riscv-64) = 0.17-60.fc28 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd 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) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64 Wrote: /builddir/build/SRPMS/rwho-0.17-60.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/rwho-0.17-60.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qBgdng + umask 022 + cd /builddir/build/BUILD + cd netkit-rwho-0.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rwho-0.17-60.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff