+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/talk.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.ybrXiZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf netkit-ntalk-0.17 + /usr/bin/gzip -dc /builddir/build/SOURCES/netkit-ntalk-0.17.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd netkit-ntalk-0.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (netkit-ntalk-0.17-pre20000412-time.patch):' Patch #0 (netkit-ntalk-0.17-pre20000412-time.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .time --fuzz=0 patching file talkd/announce.c patching file talkd/table.c + echo 'Patch #1 (netkit-ntalk-0.17-strip.patch):' Patch #1 (netkit-ntalk-0.17-strip.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .strip --fuzz=0 patching file talk/Makefile patching file talkd/Makefile + echo 'Patch #2 (netkit-ntalk-0.17-sockopt.patch):' Patch #2 (netkit-ntalk-0.17-sockopt.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sockopt --fuzz=0 patching file talk/ctl_transact.c + echo 'Patch #3 (netkit-ntalk-0.17-i18n.patch):' Patch #3 (netkit-ntalk-0.17-i18n.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .i18n --fuzz=0 patching file talk/display.c patching file talk/talk.c + echo 'Patch #4 (netkit-ntalk-0.17-resize.patch):' Patch #4 (netkit-ntalk-0.17-resize.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .resize --fuzz=0 patching file talk/display.c + echo 'Patch #5 (netkit-ntalk-0.17-person.patch):' Patch #5 (netkit-ntalk-0.17-person.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .person --fuzz=0 patching file talkd/announce.c patching file talk/get_names.c patching file talk/talk.1 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yZ5gSZ + umask 022 + cd /builddir/build/BUILD + cd netkit-ntalk-0.17 + ./configure --with-c-compiler=cc Directories: /usr/bin /usr/sbin /usr/man Checking if C compiler works... yes Checking if cc accepts gcc warnings... yes Checking if cc accepts -O2... yes Checking for ncurses... yes Checking for socklen_t... yes Checking for snprintf declaration... ok Checking for snprintf implementation... ok Generating MCONFIG... + /usr/bin/perl -pi -e ' s,-O2,\$(RPM_OPT_FLAGS) -D_GNU_SOURCE -fpic -I/usr/include/ncursesw,; s,^LDFLAGS=,LDFLAGS=-pie,; s,^BINDIR=.*$,BINDIR=/usr/bin,; s,^MANDIR=.*$,MANDIR=/usr/share/man,; s,^SBINDIR=.*$,SBINDIR=/usr/sbin,; s,^LIBCURSES=.*$,LIBCURSES=-lncursesw,; ' MCONFIG + make (cd talk && make) make[1]: Entering directory '/builddir/build/BUILD/netkit-ntalk-0.17/talk' 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 -D_GNU_SOURCE -fpic -I/usr/include/ncursesw -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include ctl.c -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 -D_GNU_SOURCE -fpic -I/usr/include/ncursesw -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include ctl_transact.c -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 -D_GNU_SOURCE -fpic -I/usr/include/ncursesw -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include display.c -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 -D_GNU_SOURCE -fpic -I/usr/include/ncursesw -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include get_addrs.c -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 -D_GNU_SOURCE -fpic -I/usr/include/ncursesw -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include get_names.c -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 -D_GNU_SOURCE -fpic -I/usr/include/ncursesw -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include init_disp.c -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 -D_GNU_SOURCE -fpic -I/usr/include/ncursesw -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include invite.c -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 -D_GNU_SOURCE -fpic -I/usr/include/ncursesw -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include io.c -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 -D_GNU_SOURCE -fpic -I/usr/include/ncursesw -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include look_up.c -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 -D_GNU_SOURCE -fpic -I/usr/include/ncursesw -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include msgs.c -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 -D_GNU_SOURCE -fpic -I/usr/include/ncursesw -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include talk.c -c cc -pie ctl.o ctl_transact.o display.o get_addrs.o get_names.o init_disp.o invite.o io.o look_up.o msgs.o talk.o -lncursesw -o talk make[1]: Leaving directory '/builddir/build/BUILD/netkit-ntalk-0.17/talk' (cd talkd && make) make[1]: Entering directory '/builddir/build/BUILD/netkit-ntalk-0.17/talkd' 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 -D_GNU_SOURCE -fpic -I/usr/include/ncursesw -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include talkd.c -c talkd.c: In function 'main': talkd.c:325:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, msg, strlen(msg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -D_GNU_SOURCE -fpic -I/usr/include/ncursesw -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include announce.c -c announce.c: In function 'print_mesg': announce.c:152:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, big_buf, strlen(big_buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -D_GNU_SOURCE -fpic -I/usr/include/ncursesw -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include process.c -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 -D_GNU_SOURCE -fpic -I/usr/include/ncursesw -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include table.c -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 -D_GNU_SOURCE -fpic -I/usr/include/ncursesw -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include print.c -c print.c: In function 'print_request': print.c:151:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(logfd, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print.c: In function 'print_response': print.c:167:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(logfd, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print.c: In function 'debug': print.c:180:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(logfd, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print.c: In function 'print_broken_packet': print.c:191:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(packfd, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print.c:193:21: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] if (i%24 == 0) write(packfd, "\n ", 5); ^~~~~~~~~~~~~~~~~~~~~~~~~~ print.c:195:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(packfd, tmp, strlen(tmp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print.c:197:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(packfd, "\n", 1); ^~~~~~~~~~~~~~~~~~~~~~ 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 -D_GNU_SOURCE -fpic -I/usr/include/ncursesw -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include repairs.c -c cc -pie talkd.o announce.o process.o table.o print.o repairs.o -o talkd make[1]: Leaving directory '/builddir/build/BUILD/netkit-ntalk-0.17/talkd' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Nn2Rfa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64 + cd netkit-ntalk-0.17 + mkdir -p /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64/usr/sbin + make INSTALLROOT=/builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64 install (cd talk && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-ntalk-0.17/talk' install -m755 talk /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64/usr/bin install -m644 talk.1 /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64/usr/share/man/man1/ make[1]: Leaving directory '/builddir/build/BUILD/netkit-ntalk-0.17/talk' (cd talkd && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-ntalk-0.17/talkd' install -m755 talkd /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64/usr/sbin/in.ntalkd ln -sf in.ntalkd /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64/usr/sbin/in.talkd install -m644 talkd.8 /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64/usr/share/man/man8/in.ntalkd.8 ln -sf in.ntalkd.8 /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64/usr/share/man/man8/in.talkd.8 ln -sf in.ntalkd.8 /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64/usr/share/man/man8/ntalkd.8 ln -sf in.talkd.8 /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64/usr/share/man/man8/talkd.8 make[1]: Leaving directory '/builddir/build/BUILD/netkit-ntalk-0.17/talkd' + mkdir -p /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64/usr/lib/systemd/system + install -p -m 644 /builddir/build/SOURCES/ntalk.socket /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64/usr/lib/systemd/system/ntalk.socket + install -p -m 644 /builddir/build/SOURCES/ntalk.service /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64/usr/lib/systemd/system/ntalk.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: talk-0.17-54.fc28.riscv64 Provides: talk = 0.17-54.fc28 talk(riscv-64) = 0.17-54.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) libncursesw.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: talk-server-0.17-54.fc28.riscv64 Provides: ntalk = 0.17-54.fc28 talk-server = 0.17-54.fc28 talk-server(riscv-64) = 0.17-54.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) Obsoletes: ntalk < 0.17-54.fc28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/talk-0.17-54.fc28.riscv64 Wrote: /builddir/build/SRPMS/talk-0.17-54.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/talk-0.17-54.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/talk-server-0.17-54.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dxjdcF + umask 022 + cd /builddir/build/BUILD + cd netkit-ntalk-0.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/talk-0.17-54.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