Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/connect-proxy.spec'], chrootPath='/var/lib/mock/f29-build-13181842-960331/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/connect-proxy.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/connect-proxy-1.100-18.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/connect-proxy.spec'], chrootPath='/var/lib/mock/f29-build-13181842-960331/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/connect-proxy.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JpSwTT + 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.WJUr1C + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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, 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, 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 of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] unsigned char buf[256], *ptr, *env = socks5_auth; ^~~~~~~~~~~ connect.c:2141:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' 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:26: 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, 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, 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 from 'unsigned char *' to 'char *' 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: /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.ljUi9H + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/connect-proxy-1.100-18.fc29.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/connect-proxy-1.100-18.fc29.aarch64 ++ dirname /builddir/build/BUILDROOT/connect-proxy-1.100-18.fc29.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/connect-proxy-1.100-18.fc29.aarch64 + cd connect-proxy-1.100 + rm -rf /builddir/build/BUILDROOT/connect-proxy-1.100-18.fc29.aarch64 + mkdir -p /builddir/build/BUILDROOT/connect-proxy-1.100-18.fc29.aarch64 + make DESTDIR=/builddir/build/BUILDROOT/connect-proxy-1.100-18.fc29.aarch64 install mkdir -p /builddir/build/BUILDROOT/connect-proxy-1.100-18.fc29.aarch64/usr/bin/ install connect-proxy /builddir/build/BUILDROOT/connect-proxy-1.100-18.fc29.aarch64/usr/bin/ + mkdir -p /builddir/build/BUILDROOT/connect-proxy-1.100-18.fc29.aarch64/usr/share/man/man1 + cp -p connect-proxy.1 /builddir/build/BUILDROOT/connect-proxy-1.100-18.fc29.aarch64/usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.100-18.fc29 --unique-debug-suffix -1.100-18.fc29.aarch64 --unique-debug-src-base connect-proxy-1.100-18.fc29.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/connect-proxy-1.100 extracting debug info from /builddir/build/BUILDROOT/connect-proxy-1.100-18.fc29.aarch64/usr/bin/connect-proxy /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 178 blocks + /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-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: connect-proxy-1.100-18.fc29.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bkBGiI + umask 022 + cd /builddir/build/BUILD + cd connect-proxy-1.100 + DOCDIR=/builddir/build/BUILDROOT/connect-proxy-1.100-18.fc29.aarch64/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-18.fc29.aarch64/usr/share/doc/connect-proxy + cp -pr connect.html /builddir/build/BUILDROOT/connect-proxy-1.100-18.fc29.aarch64/usr/share/doc/connect-proxy + exit 0 Provides: connect-proxy = 1.100-18.fc29 connect-proxy(aarch-64) = 1.100-18.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: connect-proxy-debugsource-1.100-18.fc29.aarch64 Provides: connect-proxy-debugsource = 1.100-18.fc29 connect-proxy-debugsource(aarch-64) = 1.100-18.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: connect-proxy-debuginfo-1.100-18.fc29.aarch64 Provides: connect-proxy-debuginfo = 1.100-18.fc29 connect-proxy-debuginfo(aarch-64) = 1.100-18.fc29 debuginfo(build-id) = f5ec3b865e090e964ebfa4c7cee7b4421503d24e Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: connect-proxy-debugsource(aarch-64) = 1.100-18.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/connect-proxy-1.100-18.fc29.aarch64 Wrote: /builddir/build/RPMS/connect-proxy-1.100-18.fc29.aarch64.rpm Wrote: /builddir/build/RPMS/connect-proxy-debugsource-1.100-18.fc29.aarch64.rpm Wrote: /builddir/build/RPMS/connect-proxy-debuginfo-1.100-18.fc29.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Kzs75P + umask 022 + cd /builddir/build/BUILD + cd connect-proxy-1.100 + /usr/bin/rm -rf /builddir/build/BUILDROOT/connect-proxy-1.100-18.fc29.aarch64 + exit 0 Child return code was: 0