Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/httptunnel.spec'], chrootPath='/var/lib/mock/f40-build-765441-123530/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/httptunnel-3.3-33.fc40.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/f40-build-765441-123530/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TMSGu8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf httptunnel-3.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/httptunnel_3.3+dfsg.orig.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd httptunnel-3.3 + rm -rf /builddir/build/BUILD/httptunnel-3.3-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/httptunnel-3.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/httptunnel-configure-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/httptunnel-headers-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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.JQK304 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd httptunnel-3.3 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 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 ++ grep -q runstatedir=DIR ./configure + ./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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ) works... yes checking whether the C compiler (gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ) 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c poll.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c daemon.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c vsyslog.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c endprotoent.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c getopt.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c getopt1.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c htc.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Iport -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c common.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Iport -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c tunnel.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Iport -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c http.c 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; | ^ tunnel.c: In function ‘tunnel_in_setsockopts’: tunnel.c:164:19: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness [-Wpointer-sign] 164 | &n); | ^~ | | | int * http.c: In function ‘http_parse_response’: 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 * In file included from /usr/include/features.h:503, from /usr/include/time.h:25, from http.c:9: /usr/include/stdlib.h:481:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 481 | __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 * /usr/include/stdlib.h:481:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 481 | __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 * /usr/include/stdlib.h:481:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 481 | __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; | ^ 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 * /usr/include/stdlib.h:481:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ 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:257:46: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 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 * /usr/include/stdlib.h:481:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ tunnel.c: In function ‘tunnel_out_setsockopts’: tunnel.c:198:21: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness [-Wpointer-sign] 198 | &n); | ^~ | | | int * /usr/include/sys/socket.h:257:46: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tunnel.c:225:17: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness [-Wpointer-sign] 225 | &n); | ^~ | | | int * /usr/include/sys/socket.h:257:46: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tunnel.c:254:21: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness [-Wpointer-sign] 254 | &n); | ^~ | | | int * /usr/include/sys/socket.h:257:46: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tunnel.c:303:17: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness [-Wpointer-sign] 303 | &n); | ^~ | | | int * /usr/include/sys/socket.h:257:46: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ htc.c: In function ‘main’: htc.c:411:5: warning: ignoring return value of ‘daemon’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 411 | 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:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 808 | unsigned char *buf, size_t *length) | ~~~~~~~~~~~~~~~^~~ 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 * /usr/include/sys/socket.h:307:42: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 307 | 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c base64.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; | ^ gcc -DHAVE_CONFIG_H -I. -I. -I. -Iport -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c hts.c hts.c: In function ‘main’: hts.c:286:5: warning: ignoring return value of ‘daemon’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 286 | daemon (0, 1); | ^~~~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o htc htc.o common.o tunnel.o http.o base64.o -Lport -lport gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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.aj2DfX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd httptunnel-3.3 + rm -rf /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.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-33.fc40.riscv64/usr/bin mkdir /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64 mkdir /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64/usr mkdir /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64/usr/bin /usr/bin/install -c htc /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64/usr/bin/htc /usr/bin/install -c hts /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.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-33.fc40.riscv64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64/usr/share mkdir /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64/usr/share/man mkdir /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64/usr/share/man/man1 /usr/bin/install -c -m 644 ./hts.1 /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64/usr/share/man/man1/hts.1 /usr/bin/install -c -m 644 ./htc.1 /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.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/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.3-33.fc40 --unique-debug-suffix -3.3-33.fc40.riscv64 --unique-debug-src-base httptunnel-3.3-33.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/httptunnel-3.3 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/httptunnel-3.3-33.fc40.riscv64 201 blocks find-debuginfo: done + /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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: httptunnel-3.3-33.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rU9JjN + umask 022 + cd /builddir/build/BUILD + cd httptunnel-3.3 + DOCDIR=/builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64/usr/share/doc/httptunnel + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64/usr/share/doc/httptunnel + cp -pr /builddir/build/BUILD/httptunnel-3.3/AUTHORS /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64/usr/share/doc/httptunnel + cp -pr /builddir/build/BUILD/httptunnel-3.3/ChangeLog /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64/usr/share/doc/httptunnel + cp -pr /builddir/build/BUILD/httptunnel-3.3/COPYING /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64/usr/share/doc/httptunnel + cp -pr /builddir/build/BUILD/httptunnel-3.3/DISCLAIMER /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64/usr/share/doc/httptunnel + cp -pr /builddir/build/BUILD/httptunnel-3.3/FAQ /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64/usr/share/doc/httptunnel + cp -pr /builddir/build/BUILD/httptunnel-3.3/HACKING /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64/usr/share/doc/httptunnel + cp -pr /builddir/build/BUILD/httptunnel-3.3/NEWS /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64/usr/share/doc/httptunnel + cp -pr /builddir/build/BUILD/httptunnel-3.3/README /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64/usr/share/doc/httptunnel + cp -pr /builddir/build/BUILD/httptunnel-3.3/TODO /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64/usr/share/doc/httptunnel + RPM_EC=0 ++ jobs -p + exit 0 Provides: httptunnel = 3.3-33.fc40 httptunnel(riscv-64) = 3.3-33.fc40 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: httptunnel-debugsource-3.3-33.fc40.riscv64 Provides: httptunnel-debugsource = 3.3-33.fc40 httptunnel-debugsource(riscv-64) = 3.3-33.fc40 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-33.fc40.riscv64 Provides: debuginfo(build-id) = 621922e64d44661bce3ecaaebbddf16f15b087bb debuginfo(build-id) = d7e126e7214fafdd873e5fe24f3f0525a9d60487 httptunnel-debuginfo = 3.3-33.fc40 httptunnel-debuginfo(riscv-64) = 3.3-33.fc40 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-33.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64 Wrote: /builddir/build/RPMS/httptunnel-3.3-33.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/httptunnel-debugsource-3.3-33.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/httptunnel-debuginfo-3.3-33.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kQIZ9c + umask 022 + cd /builddir/build/BUILD + cd httptunnel-3.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/httptunnel-3.3-33.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.aXkOKO + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/httptunnel-3.3-SPECPARTS + rm -rf httptunnel-3.3 httptunnel-3.3.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0