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/httptunnel.spec'], chrootPath='/var/lib/mock/f33-build-298295-56107/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/httptunnel.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=1595894400 Wrote: /builddir/build/SRPMS/httptunnel-3.3-26.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/httptunnel.spec'], chrootPath='/var/lib/mock/f33-build-298295-56107/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/httptunnel.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=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AETR5y + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf httptunnel-3.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/httptunnel_3.3+dfsg.orig.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd httptunnel-3.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + recode AUTHORS iso-8859-15 + iconv -f iso-8859-15 -t utf-8 + mv -f AUTHORS_ AUTHORS + recode ChangeLog iso-8859-15 + iconv -f iso-8859-15 -t utf-8 + mv -f ChangeLog_ ChangeLog + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.B7f0Gz + umask 022 + cd /builddir/build/BUILD + cd httptunnel-3.3 + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking for mawk... no checking for gawk... gawk checking for gcc... gcc checking whether the C compiler (gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for ranlib... ranlib checking for gethostent... yes checking for setsockopt... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for fcntl.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for sys/poll.h... yes checking for working const... yes checking for inline... inline checking for size_t... yes checking for socklen_t... yes checking whether INADDR_NONE is defined... yes checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking for 8-bit clean memcmp... yes checking return type of signal handlers... void checking for vprintf... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for daemon... yes checking for vsyslog... yes checking for poll... yes checking for select... yes checking for endprotoent... yes checking for vsnprintf... yes checking for syslog... yes updating cache ./config.cache creating ./config.status creating Makefile creating port/Makefile creating port/sys/Makefile creating config.h + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/httptunnel-3.3' Making all in port make[2]: Entering directory '/builddir/build/BUILD/httptunnel-3.3/port' Making all in sys make[3]: Entering directory '/builddir/build/BUILD/httptunnel-3.3/port/sys' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/httptunnel-3.3/port/sys' make[3]: Entering directory '/builddir/build/BUILD/httptunnel-3.3/port' gcc -DHAVE_CONFIG_H -I. -I. -I.. -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 poll.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -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 daemon.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -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 vsyslog.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -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 endprotoent.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -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 getopt.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -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 getopt1.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -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 vsnprintf.c rm -f libport.a ar cru libport.a poll.o daemon.o vsyslog.o endprotoent.o getopt.o getopt1.o vsnprintf.o ranlib libport.a make[3]: Leaving directory '/builddir/build/BUILD/httptunnel-3.3/port' make[2]: Leaving directory '/builddir/build/BUILD/httptunnel-3.3/port' make[2]: Entering directory '/builddir/build/BUILD/httptunnel-3.3' gcc -DHAVE_CONFIG_H -I. -I. -I. -Iport -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 htc.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Iport -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 common.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Iport -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 tunnel.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Iport -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 http.c tunnel.c: In function 'tunnel_in_setsockopts': tunnel.c:164:5: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 164 | &n); | ^~ | | | int * In file included from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:27, from port/netdb_.h:10, from tunnel.c:11: /usr/include/sys/socket.h:210:32: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 210 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tunnel.c: In function 'tunnel_out_setsockopts': tunnel.c:198:7: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 198 | &n); | ^~ | | | int * In file included from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:27, from port/netdb_.h:10, from tunnel.c:11: /usr/include/sys/socket.h:210:32: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 210 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tunnel.c:225:3: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 225 | &n); | ^~ | | | int * In file included from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:27, from port/netdb_.h:10, from tunnel.c:11: /usr/include/sys/socket.h:210:32: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 210 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tunnel.c:254:7: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 254 | &n); | ^~ | | | int * In file included from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:27, from port/netdb_.h:10, from tunnel.c:11: /usr/include/sys/socket.h:210:32: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 210 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tunnel.c:303:3: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 303 | &n); | ^~ | | | int * In file included from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:27, from port/netdb_.h:10, from tunnel.c:11: /usr/include/sys/socket.h:210:32: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 210 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ http.c: In function 'http_method': http.c:45:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=] 45 | sprintf (str, "%d", length); | ~^ ~~~~~~ | | | | int ssize_t {aka long int} | %ld http.c: In function 'parse_header': http.c:329:11: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 329 | h->name = data; | ^ http.c:336:12: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 336 | h->value = data; | ^ http.c: In function 'http_parse_response': htc.c: In function 'main': http.c:506:35: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 506 | response->major_version = atoi (data); | ^~~~ | | | unsigned char * htc.c:597:7: warning: implicit declaration of function 'time'; did you mean 'utimes'? [-Wimplicit-function-declaration] 597 | time (&last_tunnel_write); | ^~~~ | utimes In file included from /usr/include/features.h:465, from /usr/include/time.h:25, from http.c:9: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ http.c:519:35: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 519 | response->minor_version = atoi (data); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/time.h:25, from http.c:9: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ http.c:532:33: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 532 | response->status_code = atoi (data); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/time.h:25, from http.c:9: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ http.c:545:28: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 545 | response->status_message = data; | ^ htc.c:410:5: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] 410 | daemon (0, 1); | ^~~~~~~~~~~~~ tunnel.c: In function 'tunnel_read': tunnel.c:934:48: warning: pointer targets in passing argument 3 of 'tunnel_read_request' differ in signedness [-Wpointer-sign] 934 | if (tunnel_read_request (tunnel, &req, tunnel->buf, &len) <= 0) | ~~~~~~^~~~~ | | | char * tunnel.c:808:23: note: expected 'unsigned char *' but argument is of type 'char *' 808 | unsigned char *buf, size_t *length) | ~~~~~~~~~~~~~~~^~~ http.c: In function 'http_parse_request': http.c:654:44: warning: pointer targets in passing argument 1 of 'http_string_to_method' differ in signedness [-Wpointer-sign] 654 | request->method = http_string_to_method (data, n - 1); | ^~~~ | | | unsigned char * http.c:157:36: note: expected 'const char *' but argument is of type 'unsigned char *' 157 | http_string_to_method (const char *method, size_t n) | ~~~~~~~~~~~~^~~~~~ http.c:674:16: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 674 | request->uri = data; | ^ http.c:701:34: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 701 | request->major_version = atoi (data); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/time.h:25, from http.c:9: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ http.c:714:34: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 714 | request->minor_version = atoi (data); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/time.h:25, from http.c:9: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ tunnel.c: In function 'tunnel_accept': tunnel.c:1115:68: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 1115 | s = accept (tunnel->server_socket, (struct sockaddr *)&addr, &len); | ^~~~ | | | int * In file included from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:27, from port/netdb_.h:10, from tunnel.c:11: /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); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ tunnel.c:1177:1: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 1177 | "HTTP/1.1 200 OK\r\n" | ^~~~~~~~~~~~~~~~~~~~~ ...... 1191 | tunnel->content_length + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} tunnel.c:1183:19: note: format string is defined here 1183 | "Content-Length: %d\r\n" | ~^ | | | int | %ld gcc -DHAVE_CONFIG_H -I. -I. -I. -Iport -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 base64.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Iport -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 hts.c base64.c: In function 'encode_base64': base64.c:44:7: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 44 | end = (char *)data + length - 3; | ^ base64.c:91:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 91 | *code = buf - n; | ^ hts.c: In function 'main': hts.c:433:7: warning: implicit declaration of function 'time'; did you mean 'utimes'? [-Wimplicit-function-declaration] 433 | time (&last_tunnel_write); | ^~~~ | utimes hts.c:285:5: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] 285 | daemon (0, 1); | ^~~~~~~~~~~~~ gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o htc htc.o common.o tunnel.o http.o base64.o -Lport -lport gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hts hts.o common.o tunnel.o http.o -Lport -lport make[2]: Leaving directory '/builddir/build/BUILD/httptunnel-3.3' make[1]: Leaving directory '/builddir/build/BUILD/httptunnel-3.3' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gWRYjC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64 + cd httptunnel-3.3 + rm -rf /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64 Making install in port make[1]: Entering directory '/builddir/build/BUILD/httptunnel-3.3/port' Making install in sys make[2]: Entering directory '/builddir/build/BUILD/httptunnel-3.3/port/sys' make[3]: Entering directory '/builddir/build/BUILD/httptunnel-3.3/port/sys' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/httptunnel-3.3/port/sys' make[2]: Leaving directory '/builddir/build/BUILD/httptunnel-3.3/port/sys' make[2]: Entering directory '/builddir/build/BUILD/httptunnel-3.3/port' make[3]: Entering directory '/builddir/build/BUILD/httptunnel-3.3/port' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/httptunnel-3.3/port' make[2]: Leaving directory '/builddir/build/BUILD/httptunnel-3.3/port' make[1]: Leaving directory '/builddir/build/BUILD/httptunnel-3.3/port' make[1]: Entering directory '/builddir/build/BUILD/httptunnel-3.3' make[2]: Entering directory '/builddir/build/BUILD/httptunnel-3.3' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/bin mkdir /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64 mkdir /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr mkdir /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/bin /usr/bin/install -c htc /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/bin/htc /usr/bin/install -c hts /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/bin/hts make install-man1 make[3]: Entering directory '/builddir/build/BUILD/httptunnel-3.3' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/share mkdir /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/share/man mkdir /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/share/man/man1 /usr/bin/install -c -m 644 ./hts.1 /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/share/man/man1/hts.1 /usr/bin/install -c -m 644 ./htc.1 /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/share/man/man1/htc.1 make[3]: Leaving directory '/builddir/build/BUILD/httptunnel-3.3' make[2]: Leaving directory '/builddir/build/BUILD/httptunnel-3.3' make[1]: Leaving directory '/builddir/build/BUILD/httptunnel-3.3' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.3-26.fc33 --unique-debug-suffix -3.3-26.fc33.riscv64 --unique-debug-src-base httptunnel-3.3-26.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/httptunnel-3.3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/bin/hts explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/bin/htc extracting debug info from /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/bin/hts extracting debug info from /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/bin/htc original debug info size: 820kB, size after compression: 796kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 200 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: httptunnel-3.3-26.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.M1Rizz + umask 022 + cd /builddir/build/BUILD + cd httptunnel-3.3 + DOCDIR=/builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/share/doc/httptunnel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/share/doc/httptunnel + cp -pr AUTHORS /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/share/doc/httptunnel + cp -pr ChangeLog /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/share/doc/httptunnel + cp -pr COPYING /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/share/doc/httptunnel + cp -pr DISCLAIMER /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/share/doc/httptunnel + cp -pr FAQ /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/share/doc/httptunnel + cp -pr HACKING /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/share/doc/httptunnel + cp -pr NEWS /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/share/doc/httptunnel + cp -pr README /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/share/doc/httptunnel + cp -pr TODO /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64/usr/share/doc/httptunnel + RPM_EC=0 ++ jobs -p + exit 0 Provides: httptunnel = 3.3-26.fc33 httptunnel(riscv-64) = 3.3-26.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: httptunnel-debugsource-3.3-26.fc33.riscv64 Provides: httptunnel-debugsource = 3.3-26.fc33 httptunnel-debugsource(riscv-64) = 3.3-26.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: httptunnel-debuginfo-3.3-26.fc33.riscv64 Provides: debuginfo(build-id) = 6173c46af20798f7ba87932baced9f59fbcf71b5 debuginfo(build-id) = b5829d2732cd784d72da98e9892b76f6e9d31737 httptunnel-debuginfo = 3.3-26.fc33 httptunnel-debuginfo(riscv-64) = 3.3-26.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: httptunnel-debugsource(riscv-64) = 3.3-26.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64 Wrote: /builddir/build/RPMS/httptunnel-3.3-26.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/httptunnel-debugsource-3.3-26.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/httptunnel-debuginfo-3.3-26.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.N8MlXC + umask 022 + cd /builddir/build/BUILD + cd httptunnel-3.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/httptunnel-3.3-26.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0