+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/proxytunnel.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.GUTp18 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf proxytunnel-1.9.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/1.9.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd proxytunnel-1.9.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod -c 644 CHANGES mode of 'CHANGES' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + echo 'Patch #0 (proxytunnel-1.9.1-tls.patch):' Patch #0 (proxytunnel-1.9.1-tls.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file ptstream.c patching file Makefile + for f in CHANGES + iconv -f iso-8859-1 -t utf-8 CHANGES + touch -r CHANGES CHANGES.tmp + mv -f CHANGES.tmp CHANGES + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PoR1N1 + umask 022 + cd /builddir/build/BUILD + cd proxytunnel-1.9.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 ' 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 -DREVISION=\"$Revision$\" -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o proxytunnel.o proxytunnel.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 -DREVISION=\"$Revision$\" -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o base64.o base64.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 -DREVISION=\"$Revision$\" -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o strlcpy.o strlcpy.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 -DREVISION=\"$Revision$\" -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o strlcat.o strlcat.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 -DREVISION=\"$Revision$\" -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o strzcat.o strzcat.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 -DREVISION=\"$Revision$\" -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o setproctitle.o setproctitle.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 -DREVISION=\"$Revision$\" -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o io.o io.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 -DREVISION=\"$Revision$\" -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o http.o http.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 -DREVISION=\"$Revision$\" -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o basicauth.o basicauth.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 -DREVISION=\"$Revision$\" -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o readpassphrase.o readpassphrase.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 -DREVISION=\"$Revision$\" -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o messages.o messages.c http.c: In function 'proxy_protocol': http.c:161:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( args_info.encryptremproxy_flag ) ^~ http.c:164:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( args_info.verbose_flag ) ^~ 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 -DREVISION=\"$Revision$\" -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o cmdline.o cmdline.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 -DREVISION=\"$Revision$\" -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o ntlm.o ntlm.c readpassphrase.c: In function 'readpassphrase': readpassphrase.c:139:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(output, prompt, strlen(prompt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readpassphrase.c:157:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(output, "\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 -DREVISION=\"$Revision$\" -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o ptstream.o ptstream.c cmdline.c: In function 'cmdline_parser': cmdline.c:464:8: warning: variable 'r' set but not used [-Wunused-but-set-variable] int r; ^ make -C docs make[1]: Entering directory '/builddir/build/BUILD/proxytunnel-1.9.1/docs' asciidoc -b docbook -d manpage proxytunnel.1.txt asciidoc proxytunnel-paper.txt ptstream.c: In function 'stream_enable_ssl': ptstream.c:154:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] meth = SSLv23_client_method(); ^ asciidoc -d manpage proxytunnel.1.txt cc -o proxytunnel -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 -DREVISION=\"$Revision$\" -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT proxytunnel.o base64.o strlcpy.o strlcat.o strzcat.o setproctitle.o io.o http.o basicauth.o readpassphrase.o messages.o cmdline.o ntlm.o ptstream.o -lssl -lcrypto xmlto man proxytunnel.1.xml Warn: AUTHOR sect.: no personblurb|contrib for Proxytunnel develo proxytunnel Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr proxytunnel Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso proxytunnel Note: Writing proxytunnel.1 rm proxytunnel.1.xml make[1]: Leaving directory '/builddir/build/BUILD/proxytunnel-1.9.1/docs' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kVIgu2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/proxytunnel-1.9.1-4.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/proxytunnel-1.9.1-4.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/proxytunnel-1.9.1-4.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/proxytunnel-1.9.1-4.fc28.riscv64 + cd proxytunnel-1.9.1 + rm -rf /builddir/build/BUILDROOT/proxytunnel-1.9.1-4.fc28.riscv64 + make install prefix=/usr DESTDIR=/builddir/build/BUILDROOT/proxytunnel-1.9.1-4.fc28.riscv64 install -Dp -m0755 proxytunnel /builddir/build/BUILDROOT/proxytunnel-1.9.1-4.fc28.riscv64/usr/bin/proxytunnel make -C docs install make[1]: Entering directory '/builddir/build/BUILD/proxytunnel-1.9.1/docs' install -Dp -m0644 proxytunnel.1 /builddir/build/BUILDROOT/proxytunnel-1.9.1-4.fc28.riscv64/usr/share/man/man1/proxytunnel.1 make[1]: Leaving directory '/builddir/build/BUILD/proxytunnel-1.9.1/docs' + /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: proxytunnel-1.9.1-4.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oHf6IC + umask 022 + cd /builddir/build/BUILD + cd proxytunnel-1.9.1 + DOCDIR=/builddir/build/BUILDROOT/proxytunnel-1.9.1-4.fc28.riscv64/usr/share/doc/proxytunnel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/proxytunnel-1.9.1-4.fc28.riscv64/usr/share/doc/proxytunnel + cp -pr CHANGES /builddir/build/BUILDROOT/proxytunnel-1.9.1-4.fc28.riscv64/usr/share/doc/proxytunnel + cp -pr CREDITS /builddir/build/BUILDROOT/proxytunnel-1.9.1-4.fc28.riscv64/usr/share/doc/proxytunnel + cp -pr KNOWN_ISSUES /builddir/build/BUILDROOT/proxytunnel-1.9.1-4.fc28.riscv64/usr/share/doc/proxytunnel + cp -pr LICENSE.txt /builddir/build/BUILDROOT/proxytunnel-1.9.1-4.fc28.riscv64/usr/share/doc/proxytunnel + cp -pr README /builddir/build/BUILDROOT/proxytunnel-1.9.1-4.fc28.riscv64/usr/share/doc/proxytunnel + cp -pr RELNOTES /builddir/build/BUILDROOT/proxytunnel-1.9.1-4.fc28.riscv64/usr/share/doc/proxytunnel + cp -pr TODO /builddir/build/BUILDROOT/proxytunnel-1.9.1-4.fc28.riscv64/usr/share/doc/proxytunnel + exit 0 Provides: proxytunnel = 1.9.1-4.fc28 proxytunnel(riscv-64) = 1.9.1-4.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) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/proxytunnel-1.9.1-4.fc28.riscv64 Wrote: /builddir/build/SRPMS/proxytunnel-1.9.1-4.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/proxytunnel-1.9.1-4.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fwQ5GR + umask 022 + cd /builddir/build/BUILD + cd proxytunnel-1.9.1 + rm -rf /builddir/build/BUILDROOT/proxytunnel-1.9.1-4.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff