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/f38-build-713305-94347/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=1674086400 Wrote: /builddir/build/SRPMS/httptunnel-3.3-32.fc38.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/f38-build-713305-94347/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=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RaepJ4 + 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 + /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.p4LpAq + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -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,-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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -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,-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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 + '[' '-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 ++ 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 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -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,-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 -fstack-clash-protection -fno-omit-frame-pointer -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,-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 -fstack-clash-protection -fno-omit-frame-pointer -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,-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 -fstack-clash-protection -fno-omit-frame-pointer -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,-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 -fstack-clash-protection -fno-omit-frame-pointer -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,-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 -fstack-clash-protection -fno-omit-frame-pointer -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,-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 -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -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,-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 -fstack-clash-protection -fno-omit-frame-pointer -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,-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 -fstack-clash-protection -fno-omit-frame-pointer -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,-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 -fstack-clash-protection -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 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 * 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; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 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; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 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': 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 * 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); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 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: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 In file included from /usr/include/features.h:491, from /usr/include/time.h:25, from http.c:9: /usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'unsigned char *' 362 | __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:362:1: note: expected 'const char *' but argument is of type 'unsigned char *' 362 | __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:362:1: note: expected 'const char *' but argument is of type 'unsigned char *' 362 | __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:362:1: note: expected 'const char *' but argument is of type 'unsigned char *' 362 | __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 * /usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'unsigned char *' 362 | __NTH (atoi (const char *__nptr)) | ^~~~~ 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,-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 -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -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.XBZj4a + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -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,-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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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-32.fc38.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.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-32.fc38.riscv64/usr/bin mkdir /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64 mkdir /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr mkdir /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr/bin /usr/bin/install -c htc /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr/bin/htc /usr/bin/install -c hts /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.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-32.fc38.riscv64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr/share mkdir /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr/share/man mkdir /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr/share/man/man1 /usr/bin/install -c -m 644 ./hts.1 /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr/share/man/man1/hts.1 /usr/bin/install -c -m 644 ./htc.1 /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.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-32.fc38 --unique-debug-suffix -3.3-32.fc38.riscv64 --unique-debug-src-base httptunnel-3.3-32.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/httptunnel-3.3 extracting debug info from /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr/bin/hts extracting debug info from /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr/bin/htc original debug info size: 808kB, size after compression: 788kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 201 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/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-32.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.agZkqY + umask 022 + cd /builddir/build/BUILD + cd httptunnel-3.3 + DOCDIR=/builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr/share/doc/httptunnel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr/share/doc/httptunnel + cp -pr AUTHORS /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr/share/doc/httptunnel + cp -pr ChangeLog /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr/share/doc/httptunnel + cp -pr COPYING /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr/share/doc/httptunnel + cp -pr DISCLAIMER /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr/share/doc/httptunnel + cp -pr FAQ /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr/share/doc/httptunnel + cp -pr HACKING /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr/share/doc/httptunnel + cp -pr NEWS /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr/share/doc/httptunnel + cp -pr README /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr/share/doc/httptunnel + cp -pr TODO /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64/usr/share/doc/httptunnel + RPM_EC=0 ++ jobs -p + exit 0 Provides: httptunnel = 3.3-32.fc38 httptunnel(riscv-64) = 3.3-32.fc38 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-32.fc38.riscv64 Provides: httptunnel-debugsource = 3.3-32.fc38 httptunnel-debugsource(riscv-64) = 3.3-32.fc38 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-32.fc38.riscv64 Provides: debuginfo(build-id) = 1f8a49cc9f58d616cb04911dae5194499fc671ff debuginfo(build-id) = 20806cb14be09347cb8630ac106927c51c7f11e3 httptunnel-debuginfo = 3.3-32.fc38 httptunnel-debuginfo(riscv-64) = 3.3-32.fc38 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-32.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64 Wrote: /builddir/build/RPMS/httptunnel-3.3-32.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/httptunnel-debugsource-3.3-32.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/httptunnel-debuginfo-3.3-32.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fL6fdq + umask 022 + cd /builddir/build/BUILD + cd httptunnel-3.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/httptunnel-3.3-32.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.LC99ji + umask 022 + cd /builddir/build/BUILD + rm -rf httptunnel-3.3 httptunnel-3.3.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0