+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/connect-proxy.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 warning: bogus date in %changelog: Wed Dec 12 2005 Jarod Wilson 1.93-1 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4DvUok + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf connect-proxy-1.100 + /usr/bin/mkdir -p connect-proxy-1.100 + cd connect-proxy-1.100 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/connect-1.100.c connect.c + cp /builddir/build/SOURCES/connect.html . + echo 'Patch #0 (connect-proxy-make-man.patch):' Patch #0 (connect-proxy-make-man.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file connect-proxy.1 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5IUpp3 + umask 022 + cd /builddir/build/BUILD + cd connect-proxy-1.100 + make '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 ' -j4 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 -c -o connect.o connect.c connect.c: In function 'expand_host_and_port': connect.c:548:23: warning: unused variable 'ptr' [-Wunused-variable] char *buf, *dst, *ptr; ^~~ connect.c: At top level: connect.c:1031:1: warning: return type defaults to 'int' [-Wimplicit-int] domain_match(const char *s1, const char *s2) ^~~~~~~~~~~~ connect.c: In function 'is_direct_name': connect.c:1074:25: warning: unused variable 'd' [-Wunused-variable] const char *n, *d; ^ connect.c:1074:21: warning: unused variable 'n' [-Wunused-variable] const char *n, *d; ^ connect.c:1072:13: warning: unused variable 'dlen' [-Wunused-variable] int dlen, neg; ^~~~ connect.c:1064:17: warning: variable 'tail' set but not used [-Wunused-but-set-variable] const char *tail; ^~~~ connect.c: In function 'make_revstr': connect.c:1472:12: warning: unused variable 'len' [-Wunused-variable] size_t len; ^~~ connect.c: In function 'socks5_do_auth_userpass': connect.c:2032:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy( ptr, relay_user ); ^~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from connect.c:205: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ connect.c:2036:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy( ptr, pass ); ^~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from connect.c:205: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ connect.c:2042:20: warning: pointer targets in passing argument 2 of 'atomic_out' differ in signedness [-Wpointer-sign] atomic_out( s, buf, ptr-buf ); ^~~ connect.c:1851:1: note: expected 'char *' but argument is of type 'unsigned char *' atomic_out( SOCKET s, char *buf, int size ) ^~~~~~~~~~ connect.c:2044:19: warning: pointer targets in passing argument 2 of 'atomic_in' differ in signedness [-Wpointer-sign] atomic_in( s, buf, 2 ); ^~~ connect.c:1877:1: note: expected 'char *' but argument is of type 'unsigned char *' atomic_in( SOCKET s, char *buf, int size ) ^~~~~~~~~ connect.c: In function 'begin_socks5_relay': connect.c:2130:42: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char buf[256], *ptr, *env = socks5_auth; ^~~~~~~~~~~ connect.c:2141:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] env = getparam(ENV_SOCKS5_AUTH); ^ connect.c:2148:36: warning: pointer targets in passing argument 1 of 'socks5_auth_parse' differ in signedness [-Wpointer-sign] n_auth = socks5_auth_parse(env, auth_list, 10); ^~~ connect.c:2103:1: note: expected 'char *' but argument is of type 'unsigned char *' socks5_auth_parse(char *start, unsigned char *auth_list, int max_auth){ ^~~~~~~~~~~~~~~~~ connect.c:2156:20: warning: pointer targets in passing argument 2 of 'atomic_out' differ in signedness [-Wpointer-sign] atomic_out( s, buf, ptr-buf ); /* send requst */ ^~~ connect.c:1851:1: note: expected 'char *' but argument is of type 'unsigned char *' atomic_out( SOCKET s, char *buf, int size ) ^~~~~~~~~~ connect.c:2157:19: warning: pointer targets in passing argument 2 of 'atomic_in' differ in signedness [-Wpointer-sign] atomic_in( s, buf, 2 ); /* recv response */ ^~~ connect.c:1877:1: note: expected 'char *' but argument is of type 'unsigned char *' atomic_in( SOCKET s, char *buf, int size ) ^~~~~~~~~ connect.c:2210:20: warning: pointer targets in passing argument 2 of 'atomic_out' differ in signedness [-Wpointer-sign] atomic_out( s, buf, ptr-buf); /* send request */ ^~~ connect.c:1851:1: note: expected 'char *' but argument is of type 'unsigned char *' atomic_out( SOCKET s, char *buf, int size ) ^~~~~~~~~~ connect.c:2211:19: warning: pointer targets in passing argument 2 of 'atomic_in' differ in signedness [-Wpointer-sign] atomic_in( s, buf, 4 ); /* recv response */ ^~~ connect.c:1877:1: note: expected 'char *' but argument is of type 'unsigned char *' atomic_in( SOCKET s, char *buf, int size ) ^~~~~~~~~ connect.c:2220:23: warning: pointer targets in passing argument 2 of 'atomic_in' differ in signedness [-Wpointer-sign] atomic_in( s, ptr, 4+2 ); /* recv IPv4 addr and port */ ^~~ connect.c:1877:1: note: expected 'char *' but argument is of type 'unsigned char *' atomic_in( SOCKET s, char *buf, int size ) ^~~~~~~~~ connect.c:2223:23: warning: pointer targets in passing argument 2 of 'atomic_in' differ in signedness [-Wpointer-sign] atomic_in( s, ptr, 1 ); /* recv name and port */ ^~~ connect.c:1877:1: note: expected 'char *' but argument is of type 'unsigned char *' atomic_in( SOCKET s, char *buf, int size ) ^~~~~~~~~ connect.c:2224:23: warning: pointer targets in passing argument 2 of 'atomic_in' differ in signedness [-Wpointer-sign] atomic_in( s, ptr+1, *(unsigned char*)ptr + 2); ^~~ connect.c:1877:1: note: expected 'char *' but argument is of type 'unsigned char *' atomic_in( SOCKET s, char *buf, int size ) ^~~~~~~~~ connect.c:2227:23: warning: pointer targets in passing argument 2 of 'atomic_in' differ in signedness [-Wpointer-sign] atomic_in( s, ptr, 16+2 ); /* recv IPv6 addr and port */ ^~~ connect.c:1877:1: note: expected 'char *' but argument is of type 'unsigned char *' atomic_in( SOCKET s, char *buf, int size ) ^~~~~~~~~ connect.c: In function 'begin_socks4_relay': connect.c:2288:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy( ptr, relay_user ); ^~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from connect.c:205: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ connect.c:2292:17: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy( ptr, dest_host ); ^~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from connect.c:205: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ connect.c:2297:20: warning: pointer targets in passing argument 2 of 'atomic_out' differ in signedness [-Wpointer-sign] atomic_out( s, buf, ptr-buf); /* send request */ ^~~ connect.c:1851:1: note: expected 'char *' but argument is of type 'unsigned char *' atomic_out( SOCKET s, char *buf, int size ) ^~~~~~~~~~ connect.c:2298:19: warning: pointer targets in passing argument 2 of 'atomic_in' differ in signedness [-Wpointer-sign] atomic_in( s, buf, 8 ); /* recv response */ ^~~ connect.c:1877:1: note: expected 'char *' but argument is of type 'unsigned char *' atomic_in( SOCKET s, char *buf, int size ) ^~~~~~~~~ connect.c: In function 'make_base64_string': connect.c:2343:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dst = (unsigned char *)buf; ^ connect.c: In function 'accept_connection': connect.c:2841:41: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] connection = accept( sock, &client, &socklen); ^ In file included from connect.c:235:0: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ connect.c: In function 'tty_readpass': connect.c:1183:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(tty, prompt, strlen(prompt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connect.c:1188:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(tty, "\n", 1); /* new line */ ^~~~~~~~~~~~~~~~~~~ At top level: connect.c:255:14: warning: 'vcid' defined but not used [-Wunused-variable] static char *vcid = "$Id$"; ^~~~ cc -o connect-proxy connect.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.laq3Wn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/connect-proxy-1.100-16.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/connect-proxy-1.100-16.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/connect-proxy-1.100-16.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/connect-proxy-1.100-16.fc28.riscv64 + cd connect-proxy-1.100 + rm -rf /builddir/build/BUILDROOT/connect-proxy-1.100-16.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT/connect-proxy-1.100-16.fc28.riscv64 + make DESTDIR=/builddir/build/BUILDROOT/connect-proxy-1.100-16.fc28.riscv64 install mkdir -p /builddir/build/BUILDROOT/connect-proxy-1.100-16.fc28.riscv64/usr/bin/ install connect-proxy /builddir/build/BUILDROOT/connect-proxy-1.100-16.fc28.riscv64/usr/bin/ + mkdir -p /builddir/build/BUILDROOT/connect-proxy-1.100-16.fc28.riscv64/usr/share/man/man1 + cp -p connect-proxy.1 /builddir/build/BUILDROOT/connect-proxy-1.100-16.fc28.riscv64/usr/share/man/man1/ + /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: connect-proxy-1.100-16.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Kf31nO + umask 022 + cd /builddir/build/BUILD + cd connect-proxy-1.100 + DOCDIR=/builddir/build/BUILDROOT/connect-proxy-1.100-16.fc28.riscv64/usr/share/doc/connect-proxy + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/connect-proxy-1.100-16.fc28.riscv64/usr/share/doc/connect-proxy + cp -pr connect.html /builddir/build/BUILDROOT/connect-proxy-1.100-16.fc28.riscv64/usr/share/doc/connect-proxy + exit 0 Provides: connect-proxy = 1.100-16.fc28 connect-proxy(riscv-64) = 1.100-16.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) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/connect-proxy-1.100-16.fc28.riscv64 Wrote: /builddir/build/SRPMS/connect-proxy-1.100-16.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/connect-proxy-1.100-16.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JAt3zP + umask 022 + cd /builddir/build/BUILD + cd connect-proxy-1.100 + rm -rf /builddir/build/BUILDROOT/connect-proxy-1.100-16.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