Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/connect-proxy.spec'], chrootPath='/var/lib/mock/f33-build-311525-57458/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Wrote: /builddir/build/SRPMS/connect-proxy-1.100-22.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/connect-proxy.spec'], chrootPath='/var/lib/mock/f33-build-311525-57458/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.v2oPxK + 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.paJqMI + umask 022 + cd /builddir/build/BUILD + cd connect-proxy-1.100 + make 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' -j4 cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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] 548 | char *buf, *dst, *ptr; | ^~~ connect.c: At top level: connect.c:1031:1: warning: return type defaults to 'int' [-Wimplicit-int] 1031 | 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] 1074 | const char *n, *d; | ^ connect.c:1074:21: warning: unused variable 'n' [-Wunused-variable] 1074 | const char *n, *d; | ^ connect.c:1072:13: warning: unused variable 'dlen' [-Wunused-variable] 1072 | int dlen, neg; | ^~~~ connect.c:1064:17: warning: variable 'tail' set but not used [-Wunused-but-set-variable] 1064 | const char *tail; | ^~~~ connect.c: In function 'make_revstr': connect.c:1472:12: warning: unused variable 'len' [-Wunused-variable] 1472 | 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] 2032 | strcpy( ptr, relay_user ); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, 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 *' 88 | __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] 2036 | strcpy( ptr, pass ); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, 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 *' 88 | __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] 2042 | atomic_out( s, buf, ptr-buf ); | ^~~ | | | unsigned char * connect.c:1851:29: note: expected 'char *' but argument is of type 'unsigned char *' 1851 | 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] 2044 | atomic_in( s, buf, 2 ); | ^~~ | | | unsigned char * connect.c:1877:28: note: expected 'char *' but argument is of type 'unsigned char *' 1877 | 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] 2130 | 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] 2141 | 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] 2148 | n_auth = socks5_auth_parse(env, auth_list, 10); | ^~~ | | | unsigned char * connect.c:2103:25: note: expected 'char *' but argument is of type 'unsigned char *' 2103 | 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] 2156 | atomic_out( s, buf, ptr-buf ); /* send requst */ | ^~~ | | | unsigned char * connect.c:1851:29: note: expected 'char *' but argument is of type 'unsigned char *' 1851 | 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] 2157 | atomic_in( s, buf, 2 ); /* recv response */ | ^~~ | | | unsigned char * connect.c:1877:28: note: expected 'char *' but argument is of type 'unsigned char *' 1877 | 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] 2210 | atomic_out( s, buf, ptr-buf); /* send request */ | ^~~ | | | unsigned char * connect.c:1851:29: note: expected 'char *' but argument is of type 'unsigned char *' 1851 | 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] 2211 | atomic_in( s, buf, 4 ); /* recv response */ | ^~~ | | | unsigned char * connect.c:1877:28: note: expected 'char *' but argument is of type 'unsigned char *' 1877 | 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] 2220 | atomic_in( s, ptr, 4+2 ); /* recv IPv4 addr and port */ | ^~~ | | | unsigned char * connect.c:1877:28: note: expected 'char *' but argument is of type 'unsigned char *' 1877 | 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] 2223 | atomic_in( s, ptr, 1 ); /* recv name and port */ | ^~~ | | | unsigned char * connect.c:1877:28: note: expected 'char *' but argument is of type 'unsigned char *' 1877 | 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] 2224 | atomic_in( s, ptr+1, *(unsigned char*)ptr + 2); | ~~~^~ | | | unsigned char * connect.c:1877:28: note: expected 'char *' but argument is of type 'unsigned char *' 1877 | 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] 2227 | atomic_in( s, ptr, 16+2 ); /* recv IPv6 addr and port */ | ^~~ | | | unsigned char * connect.c:1877:28: note: expected 'char *' but argument is of type 'unsigned char *' 1877 | 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] 2288 | strcpy( ptr, relay_user ); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, 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 *' 88 | __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] 2292 | strcpy( ptr, dest_host ); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, 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 *' 88 | __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] 2297 | atomic_out( s, buf, ptr-buf); /* send request */ | ^~~ | | | unsigned char * connect.c:1851:29: note: expected 'char *' but argument is of type 'unsigned char *' 1851 | 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] 2298 | atomic_in( s, buf, 8 ); /* recv response */ | ^~~ | | | unsigned char * connect.c:1877:28: note: expected 'char *' but argument is of type 'unsigned char *' 1877 | 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] 2343 | 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] 2841 | connection = accept( sock, &client, &socklen); | ^~~~~~~~ | | | int * In file included from connect.c:235: /usr/include/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 233 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ connect.c: In function 'tty_readpass': connect.c:1183:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1183 | write(tty, prompt, strlen(prompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connect.c:1188:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1188 | write(tty, "\n", 1); /* new line */ | ^~~~~~~~~~~~~~~~~~~ At top level: connect.c:255:14: warning: 'vcid' defined but not used [-Wunused-variable] 255 | static char *vcid = "$Id$"; | ^~~~ cc -o connect-proxy connect.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.E8KwVH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/connect-proxy-1.100-22.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/connect-proxy-1.100-22.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/connect-proxy-1.100-22.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/connect-proxy-1.100-22.fc33.riscv64 + cd connect-proxy-1.100 + rm -rf /builddir/build/BUILDROOT/connect-proxy-1.100-22.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT/connect-proxy-1.100-22.fc33.riscv64 + make DESTDIR=/builddir/build/BUILDROOT/connect-proxy-1.100-22.fc33.riscv64 install mkdir -p /builddir/build/BUILDROOT/connect-proxy-1.100-22.fc33.riscv64/usr/bin/ install connect-proxy /builddir/build/BUILDROOT/connect-proxy-1.100-22.fc33.riscv64/usr/bin/ + mkdir -p /builddir/build/BUILDROOT/connect-proxy-1.100-22.fc33.riscv64/usr/share/man/man1 + cp -p connect-proxy.1 /builddir/build/BUILDROOT/connect-proxy-1.100-22.fc33.riscv64/usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.100-22.fc33 --unique-debug-suffix -1.100-22.fc33.riscv64 --unique-debug-src-base connect-proxy-1.100-22.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/connect-proxy-1.100 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/connect-proxy-1.100-22.fc33.riscv64/usr/bin/connect-proxy extracting debug info from /builddir/build/BUILDROOT/connect-proxy-1.100-22.fc33.riscv64/usr/bin/connect-proxy original debug info size: 360kB, size after compression: 360kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 178 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: connect-proxy-1.100-22.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.J1Np9L + umask 022 + cd /builddir/build/BUILD + cd connect-proxy-1.100 + DOCDIR=/builddir/build/BUILDROOT/connect-proxy-1.100-22.fc33.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-22.fc33.riscv64/usr/share/doc/connect-proxy + cp -pr connect.html /builddir/build/BUILDROOT/connect-proxy-1.100-22.fc33.riscv64/usr/share/doc/connect-proxy + RPM_EC=0 ++ jobs -p + exit 0 Provides: connect-proxy = 1.100-22.fc33 connect-proxy(riscv-64) = 1.100-22.fc33 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) Processing files: connect-proxy-debugsource-1.100-22.fc33.riscv64 Provides: connect-proxy-debugsource = 1.100-22.fc33 connect-proxy-debugsource(riscv-64) = 1.100-22.fc33 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-22.fc33.riscv64 Provides: connect-proxy-debuginfo = 1.100-22.fc33 connect-proxy-debuginfo(riscv-64) = 1.100-22.fc33 debuginfo(build-id) = aef3f5c5c78d8de8c82a3560a57a847a7ec5dea7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: connect-proxy-debugsource(riscv-64) = 1.100-22.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/connect-proxy-1.100-22.fc33.riscv64 Wrote: /builddir/build/RPMS/connect-proxy-1.100-22.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/connect-proxy-debugsource-1.100-22.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/connect-proxy-debuginfo-1.100-22.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.coGAfK + umask 022 + cd /builddir/build/BUILD + cd connect-proxy-1.100 + /usr/bin/rm -rf /builddir/build/BUILDROOT/connect-proxy-1.100-22.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0