+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/redir.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.X8Fbqt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf redir-2.2.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/redir-2.2.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd redir-2.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (01_fix_max_bandwidth_docs.dpatch):' Patch #0 (01_fix_max_bandwidth_docs.dpatch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file redir.c patching file redir.man + echo 'Patch #1 (02_use_ntohs.dpatch):' Patch #1 (02_use_ntohs.dpatch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file redir.c + echo 'Patch #2 (03_fix_tcp_wrappers.dpatch):' Patch #2 (03_fix_tcp_wrappers.dpatch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file redir.c + echo 'Patch #3 (04_fix_timeouts.dpatch):' Patch #3 (04_fix_timeouts.dpatch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file redir.c + echo 'Patch #4 (05_pedantic.dpatch):' Patch #4 (05_pedantic.dpatch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile patching file redir.c Hunk #5 succeeded at 720 (offset -4 lines). Hunk #6 succeeded at 731 (offset -4 lines). Hunk #7 succeeded at 765 (offset -4 lines). Hunk #8 succeeded at 792 (offset -4 lines). Hunk #9 succeeded at 823 (offset -4 lines). Hunk #10 succeeded at 847 (offset -4 lines). Hunk #11 succeeded at 859 (offset -4 lines). Hunk #12 succeeded at 920 (offset -4 lines). Hunk #13 succeeded at 959 (offset -4 lines). Hunk #14 succeeded at 977 (offset -4 lines). Hunk #15 succeeded at 1056 (offset -4 lines). Hunk #16 succeeded at 1076 (offset -4 lines). Hunk #17 succeeded at 1094 (offset -4 lines). Hunk #18 succeeded at 1106 (offset -4 lines). + echo 'Patch #5 (06_fix_shaper_buffer.dpatch):' Patch #5 (06_fix_shaper_buffer.dpatch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file redir.c Hunk #4 succeeded at 633 (offset -4 lines). Hunk #5 succeeded at 648 (offset -4 lines). Hunk #6 succeeded at 685 (offset -4 lines). + echo 'Patch #6 (07_cosmetics.dpatch):' Patch #6 (07_cosmetics.dpatch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file redir.man + echo 'Patch #7 (08_add_wrappers.dpatch):' Patch #7 (08_add_wrappers.dpatch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + echo 'Patch #8 (09_add_linux_software_map.dpatch):' Patch #8 (09_add_linux_software_map.dpatch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file redir-2.2.lsm + echo 'Patch #9 (15_deb_cosmetics.dpatch):' Patch #9 (15_deb_cosmetics.dpatch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file redir.man + echo 'Patch #10 (20_do_not_strip.dpatch):' Patch #10 (20_do_not_strip.dpatch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + echo 'Patch #11 (25_fix_setsockopt.dpatch):' Patch #11 (25_fix_setsockopt.dpatch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file redir.c + echo 'Patch #12 (30_fix_manpage.dpatch):' Patch #12 (30_fix_manpage.dpatch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file redir.man + echo 'Patch #13 (redir_gcc4.4-signedness.patch):' Patch #13 (redir_gcc4.4-signedness.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 patching file redir.c + echo 'Patch #14 (31_fix_transproxy_location.patch):' Patch #14 (31_fix_transproxy_location.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 patching file redir.man + for file in CHANGES + mv CHANGES timestamp + iconv -f ISO-8859-1 -t UTF-8 -o CHANGES timestamp + touch -r timestamp CHANGES + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PtwCze + umask 022 + cd /builddir/build/BUILD + cd redir-2.2.1 + make -j4 '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 ' 'LDFLAGS=-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 ' 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 -c -o redir.o redir.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 -o redir redir.o -lwrap + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gdV71G + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/redir-2.2.1-18.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/redir-2.2.1-18.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/redir-2.2.1-18.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/redir-2.2.1-18.fc28.riscv64 + cd redir-2.2.1 + rm -rf /builddir/build/BUILDROOT/redir-2.2.1-18.fc28.riscv64 + install -Dp -m 755 redir /builddir/build/BUILDROOT/redir-2.2.1-18.fc28.riscv64/usr/sbin/redir + install -Dp -m 644 redir.man /builddir/build/BUILDROOT/redir-2.2.1-18.fc28.riscv64/usr/share/man/man1/redir.1 + /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: redir-2.2.1-18.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fjJ5Nj + umask 022 + cd /builddir/build/BUILD + cd redir-2.2.1 + DOCDIR=/builddir/build/BUILDROOT/redir-2.2.1-18.fc28.riscv64/usr/share/doc/redir + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/redir-2.2.1-18.fc28.riscv64/usr/share/doc/redir + cp -pr README /builddir/build/BUILDROOT/redir-2.2.1-18.fc28.riscv64/usr/share/doc/redir + cp -pr CHANGES /builddir/build/BUILDROOT/redir-2.2.1-18.fc28.riscv64/usr/share/doc/redir + cp -pr COPYING /builddir/build/BUILDROOT/redir-2.2.1-18.fc28.riscv64/usr/share/doc/redir + cp -pr transproxy.txt /builddir/build/BUILDROOT/redir-2.2.1-18.fc28.riscv64/usr/share/doc/redir + exit 0 Provides: redir = 2.2.1-18.fc28 redir(riscv-64) = 2.2.1-18.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) libwrap.so.0()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/redir-2.2.1-18.fc28.riscv64 Wrote: /builddir/build/SRPMS/redir-2.2.1-18.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/redir-2.2.1-18.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Y2Qp3c + umask 022 + cd /builddir/build/BUILD + cd redir-2.2.1 + rm -rf /builddir/build/BUILDROOT/redir-2.2.1-18.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