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/rwho.spec'], chrootPath='/var/lib/mock/f29-build-24765-12886/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'}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/rwho.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'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/rwho-0.17-63.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rwho.spec'], chrootPath='/var/lib/mock/f29-build-24765-12886/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'}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/rwho.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'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IBVMgw + 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 . Patch #0 (rwho-0.15-alpha.patch): + echo '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). Patch #3 (rwho-0.17-fixhostname.patch): + echo '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). Patch #5 (rwho-0.17-include.patch): + echo '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 ' BUILDSTDERR: s|^LDFLAGS=|LDFLAGS="-pie -Wl,-z,relro,-z,now"|; BUILDSTDERR: s,^BINDIR=.*$,BINDIR=/usr/bin,; BUILDSTDERR: s,^MANDIR=.*$,MANDIR=/usr/share/man,; BUILDSTDERR: s,^SBINDIR=.*$,SBINDIR=/usr/sbin,; BUILDSTDERR: ' configure + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IJn0M3 + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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' 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: daemon.c: In function 'daemon': BUILDSTDERR: daemon.c:62:4: warning: implicit declaration of function 'perror' [-Wimplicit-function-declaration] BUILDSTDERR: perror("Couldn't chdir to /"); BUILDSTDERR: ^~~~~~ BUILDSTDERR: daemon.c:62:4: warning: nested extern declaration of 'perror' [-Wnested-externs] BUILDSTDERR: rwho.c: In function 'main': BUILDSTDERR: rwho.c:184:11: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] BUILDSTDERR: sizeof(we->we_utmp.out_line)); BUILDSTDERR: ^ BUILDSTDERR: rwho.c:187:11: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] BUILDSTDERR: sizeof(we->we_utmp.out_name)); BUILDSTDERR: ^ 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.GYICxA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64 + cd netkit-rwho-0.17 + mkdir -p /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64/var/spool/rwho + make INSTALLROOT=/builddir/build/BUILDROOT/rwho-0.17-63.fc29.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-63.fc29.riscv64/usr/bin install -m644 rwho.1 /builddir/build/BUILDROOT/rwho-0.17-63.fc29.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-63.fc29.riscv64/usr/sbin install -m644 rwhod.8 /builddir/build/BUILDROOT/rwho-0.17-63.fc29.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-63.fc29.riscv64/usr/bin install -m644 ruptime.1 /builddir/build/BUILDROOT/rwho-0.17-63.fc29.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-63.fc29.riscv64 install -C ruptime make: Entering directory '/builddir/build/BUILD/netkit-rwho-0.17/ruptime' install -m755 ruptime /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64/usr/bin install -m644 ruptime.1 /builddir/build/BUILDROOT/rwho-0.17-63.fc29.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-63.fc29.riscv64/usr/lib/systemd/system/rwhod.service + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.17-63.fc29 --unique-debug-suffix -0.17-63.fc29.riscv64 --unique-debug-src-base rwho-0.17-63.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/netkit-rwho-0.17 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64/usr/bin/ruptime explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64/usr/bin/rwho explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64/usr/sbin/rwhod extracting debug info from /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64/usr/sbin/rwhod extracting debug info from /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64/usr/bin/rwho extracting debug info from /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64/usr/bin/ruptime /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. BUILDSTDERR: 78 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: rwho-0.17-63.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gO6nwr + umask 022 + cd /builddir/build/BUILD + cd netkit-rwho-0.17 + DOCDIR=/builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64/usr/share/doc/rwho + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64/usr/share/doc/rwho + cp -pr README /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64/usr/share/doc/rwho + exit 0 Provides: rwho = 0.17-63.fc29 rwho(riscv-64) = 0.17-63.fc29 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) Processing files: rwho-debugsource-0.17-63.fc29.riscv64 Provides: rwho-debugsource = 0.17-63.fc29 rwho-debugsource(riscv-64) = 0.17-63.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rwho-debuginfo-0.17-63.fc29.riscv64 Provides: debuginfo(build-id) = 07944a013f97b472abcbb4965ecdff16750b1f24 debuginfo(build-id) = 157f6a269c79652fb5b1397cf98cc30ef39ad194 debuginfo(build-id) = 1a2ceef58a4601372dfbada664b7d8363681c75f rwho-debuginfo = 0.17-63.fc29 rwho-debuginfo(riscv-64) = 0.17-63.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rwho-debugsource(riscv-64) = 0.17-63.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64 Wrote: /builddir/build/RPMS/rwho-0.17-63.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/rwho-debugsource-0.17-63.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/rwho-debuginfo-0.17-63.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xjZtwi + umask 022 + cd /builddir/build/BUILD + cd netkit-rwho-0.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rwho-0.17-63.fc29.riscv64 + exit 0 Child return code was: 0