>>> redsocks: Building community/redsocks 0.5-r3 (using abuild 3.10.0_rc1-r2) started Mon, 24 Oct 2022 18:48:06 +0000 >>> redsocks: Checking sanity of /home/buildozer/aports/community/redsocks/APKBUILD... >>> redsocks: Analyzing dependencies... >>> redsocks: Installing for build: build-base libevent-dev iptables-dev (1/15) Installing libffi (3.4.3-r0) (2/15) Installing gdbm (1.23-r0) (3/15) Installing mpdecimal (2.5.1-r1) (4/15) Installing readline (8.2.0-r0) (5/15) Installing sqlite-libs (3.39.4-r0) (6/15) Installing python3 (3.10.8-r1) (7/15) Installing libevent (2.1.12-r5) (8/15) Installing libevent-dev (2.1.12-r5) (9/15) Installing linux-headers (5.19.5-r0) (10/15) Installing libmnl (1.0.5-r0) (11/15) Installing libnftnl (1.2.3-r0) (12/15) Installing iptables (1.8.8-r2) (13/15) Installing iptables-dev (1.8.8-r2) (14/15) Installing .makedepends-redsocks (20221024.184807) (15/15) Installing iptables-openrc (1.8.8-r2) Executing busybox-1.35.0-r27.trigger OK: 440 MiB in 118 packages >>> redsocks: Cleaning up srcdir >>> redsocks: Cleaning up pkgdir >>> redsocks: Fetching https://distfiles.alpinelinux.org/distfiles/edge/redsocks-0.5.zip % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 523k 100 523k 0 0 2393k 0 --:--:-- --:--:-- --:--:-- 2400k >>> redsocks: Fetching https://distfiles.alpinelinux.org/distfiles/edge/redsocks-0.5.zip >>> redsocks: Checking sha512sums... redsocks-0.5.zip: OK redsocks.initd: OK >>> redsocks: Unpacking /var/cache/distfiles/edge/redsocks-0.5.zip... mkdir -p gen touch gen/.build rm -f gen/version.c.tmp echo '/* this file is auto-generated during build */' > gen/version.c.tmp echo '#include "../version.h"' >> gen/version.c.tmp echo 'const char* redsocks_version = ' >> gen/version.c.tmp if [ -d .git ]; then \ echo '"redsocks.git/'`git describe --tags`'"'; \ if [ `git status --porcelain | grep -v -c '^??'` != 0 ]; then \ echo '"'"-unclean-$(date --rfc-3339=seconds | tr ' ' 'T')-${USER}@$(uname -n)"'"'; \ fi \ else \ echo '"redsocks/0.5"'; \ fi >> gen/version.c.tmp echo ';' >> gen/version.c.tmp mv -f gen/version.c.tmp gen/version.c gcc -MM parser.c main.c redsocks.c log.c http-connect.c socks4.c socks5.c http-relay.c base.c base64.c md5.c http-auth.c utils.c redudp.c dnstc.c gen/version.c 2>/dev/null >.depend || \ ( \ for I in base.h base64.h dnstc.h http-auth.h libc-compat.h libevent-compat.h list.h log.h main.h md5.h parser.h redsocks.h redudp.h socks5.h utils.h version.h; do \ export ${I//[-.]/_}_DEPS="`sed '/^\#[ \t]*include \?"\(.*\)".*/!d;s//\1/' $I`"; \ done; \ echo -n >.depend; \ for SRC in parser.c main.c redsocks.c log.c http-connect.c socks4.c socks5.c http-relay.c base.c base64.c md5.c http-auth.c utils.c redudp.c dnstc.c gen/version.c; do \ echo -n "${SRC%.c}.o: " >>.depend; \ export SRC_DEPS="`sed '/\#[ \t]*include \?"\(.*\)".*/!d;s//\1/' $SRC | sort`"; \ while true; do \ export SRC_DEPS_OLD="$SRC_DEPS"; \ export SRC_DEEP_DEPS=""; \ for HDR in $SRC_DEPS; do \ eval export SRC_DEEP_DEPS="\"$SRC_DEEP_DEPS \$${HDR//[-.]/_}_DEPS\""; \ done; \ export SRC_DEPS="`echo $SRC_DEPS $SRC_DEEP_DEPS | sed 's/ */\n/g' | sort -u`"; \ test "$SRC_DEPS" = "$SRC_DEPS_OLD" && break; \ done; \ echo $SRC $SRC_DEPS >>.depend; \ done; \ ) gcc -Os -fomit-frame-pointer -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -Os -fomit-frame-pointer -c -o parser.o parser.c gcc -Os -fomit-frame-pointer -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -Os -fomit-frame-pointer -c -o main.o main.c gcc -Os -fomit-frame-pointer -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -Os -fomit-frame-pointer -c -o redsocks.o redsocks.c gcc -Os -fomit-frame-pointer -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -Os -fomit-frame-pointer -c -o log.o log.c gcc -Os -fomit-frame-pointer -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -Os -fomit-frame-pointer -c -o http-connect.o http-connect.c gcc -Os -fomit-frame-pointer -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -Os -fomit-frame-pointer -c -o socks4.o socks4.c gcc -Os -fomit-frame-pointer -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -Os -fomit-frame-pointer -c -o socks5.o socks5.c gcc -Os -fomit-frame-pointer -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -Os -fomit-frame-pointer -c -o http-relay.o http-relay.c gcc -Os -fomit-frame-pointer -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -Os -fomit-frame-pointer -c -o base.o base.c gcc -Os -fomit-frame-pointer -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -Os -fomit-frame-pointer -c -o base64.o base64.c gcc -Os -fomit-frame-pointer -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -Os -fomit-frame-pointer -c -o md5.o md5.c gcc -Os -fomit-frame-pointer -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -Os -fomit-frame-pointer -c -o http-auth.o http-auth.c gcc -Os -fomit-frame-pointer -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -Os -fomit-frame-pointer -c -o utils.o utils.c gcc -Os -fomit-frame-pointer -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -Os -fomit-frame-pointer -c -o redudp.o redudp.c gcc -Os -fomit-frame-pointer -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -Os -fomit-frame-pointer -c -o dnstc.o dnstc.c gcc -Os -fomit-frame-pointer -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -Os -fomit-frame-pointer -c -o gen/version.o gen/version.c log.c: In function 'fprint_timestamp': log.c:56:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 56 | fprintf(fd, "%lu.%6.6lu %s %s:%u %s(...) %s: %s\n", tv.tv_sec, tv.tv_usec, sprio, file, line, func, message, appendix); | ~~^ ~~~~~~~~~ | | | | long unsigned int time_t {aka long long int} | %llu log.c:56:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 56 | fprintf(fd, "%lu.%6.6lu %s %s:%u %s(...) %s: %s\n", tv.tv_sec, tv.tv_usec, sprio, file, line, func, message, appendix); | ~~~~~^ ~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %6.6llu log.c:58:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 58 | fprintf(fd, "%lu.%6.6lu %s %s:%u %s(...) %s\n", tv.tv_sec, tv.tv_usec, sprio, file, line, func, message); | ~~^ ~~~~~~~~~ | | | | long unsigned int time_t {aka long long int} | %llu log.c:58:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 58 | fprintf(fd, "%lu.%6.6lu %s %s:%u %s(...) %s\n", tv.tv_sec, tv.tv_usec, sprio, file, line, func, message); | ~~~~~^ ~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %6.6llu redudp.c: In function 'redudp_timeout': redudp.c:507:44: warning: format '%li' expects argument of type 'long int', but argument 9 has type 'time_t' {aka 'long long int'} [-Wformat=] 507 | redudp_log_error(client, LOG_INFO, "Client timeout. First: %li, last_client: %li, last_relay: %li.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 508 | client->first_event, client->last_client_event, client->last_relay_event); | ~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} redudp.c:38:121: note: in definition of macro 'redudp_log_error' 38 | redsocks_log_write_plain(__FILE__, __LINE__, __func__, 0, &(client)->clientaddr, get_destaddr(client), prio, ## msg) | ^~~ redudp.c:507:70: note: format string is defined here 507 | redudp_log_error(client, LOG_INFO, "Client timeout. First: %li, last_client: %li, last_relay: %li.", | ~~^ | | | long int | %lli redudp.c:507:44: warning: format '%li' expects argument of type 'long int', but argument 10 has type 'time_t' {aka 'long long int'} [-Wformat=] 507 | redudp_log_error(client, LOG_INFO, "Client timeout. First: %li, last_client: %li, last_relay: %li.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 508 | client->first_event, client->last_client_event, client->last_relay_event); | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} redudp.c:38:121: note: in definition of macro 'redudp_log_error' 38 | redsocks_log_write_plain(__FILE__, __LINE__, __func__, 0, &(client)->clientaddr, get_destaddr(client), prio, ## msg) | ^~~ redudp.c:507:88: note: format string is defined here 507 | redudp_log_error(client, LOG_INFO, "Client timeout. First: %li, last_client: %li, last_relay: %li.", | ~~^ | | | long int | %lli redudp.c:507:44: warning: format '%li' expects argument of type 'long int', but argument 11 has type 'time_t' {aka 'long long int'} [-Wformat=] 507 | redudp_log_error(client, LOG_INFO, "Client timeout. First: %li, last_client: %li, last_relay: %li.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 508 | client->first_event, client->last_client_event, client->last_relay_event); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} redudp.c:38:121: note: in definition of macro 'redudp_log_error' 38 | redsocks_log_write_plain(__FILE__, __LINE__, __func__, 0, &(client)->clientaddr, get_destaddr(client), prio, ## msg) | ^~~ redudp.c:507:105: note: format string is defined here 507 | redudp_log_error(client, LOG_INFO, "Client timeout. First: %li, last_client: %li, last_relay: %li.", | ~~^ | | | long int | %lli In file included from redsocks.c:37: redsocks.c: In function 'redsocks_drop_client': redsocks.c:686:54: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'time_t' {aka 'long long int'} [-Wformat=] 686 | redsocks_log_error(client, LOG_INFO, "dropping client (%s), relay (%s), idle %ld.%06lds", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 689 | idle.tv_sec, idle.tv_usec); | ~~~~~~~~~~~ | | | time_t {aka long long int} redsocks.h:146:120: note: in definition of macro 'redsocks_log_error' 146 | redsocks_log_write_plain(__FILE__, __LINE__, __func__, 0, &(client)->clientaddr, &(client)->destaddr, prio, ## msg) | ^~~ redsocks.c:686:96: note: format string is defined here 686 | redsocks_log_error(client, LOG_INFO, "dropping client (%s), relay (%s), idle %ld.%06lds", | ~~^ | | | long int | %lld redsocks.c:686:54: warning: format '%ld' expects argument of type 'long int', but argument 12 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 686 | redsocks_log_error(client, LOG_INFO, "dropping client (%s), relay (%s), idle %ld.%06lds", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 689 | idle.tv_sec, idle.tv_usec); | ~~~~~~~~~~~~ | | | suseconds_t {aka long long int} redsocks.h:146:120: note: in definition of macro 'redsocks_log_error' 146 | redsocks_log_write_plain(__FILE__, __LINE__, __func__, 0, &(client)->clientaddr, &(client)->destaddr, prio, ## msg) | ^~~ redsocks.c:686:102: note: format string is defined here 686 | redsocks_log_error(client, LOG_INFO, "dropping client (%s), relay (%s), idle %ld.%06lds", | ~~~~^ | | | long int | %06lld In file included from redsocks.c:34: redsocks.c: In function 'conn_pressure': redsocks.c:1045:32: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] 1045 | log_error(LOG_WARNING, "accept: backing off for %ld.%06lds", tvdelay.tv_sec, tvdelay.tv_usec); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | time_t {aka long long int} log.h:9:86: note: in definition of macro 'log_error' 9 | #define log_error(prio, msg...) _log_write(__FILE__, __LINE__, __func__, 0, prio, ## msg) | ^~~ redsocks.c:1045:59: note: format string is defined here 1045 | log_error(LOG_WARNING, "accept: backing off for %ld.%06lds", tvdelay.tv_sec, tvdelay.tv_usec); | ~~^ | | | long int | %lld redsocks.c:1045:32: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 1045 | log_error(LOG_WARNING, "accept: backing off for %ld.%06lds", tvdelay.tv_sec, tvdelay.tv_usec); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} log.h:9:86: note: in definition of macro 'log_error' 9 | #define log_error(prio, msg...) _log_write(__FILE__, __LINE__, __func__, 0, prio, ## msg) | ^~~ redsocks.c:1045:65: note: format string is defined here 1045 | log_error(LOG_WARNING, "accept: backing off for %ld.%06lds", tvdelay.tv_sec, tvdelay.tv_usec); | ~~~~^ | | | long int | %06lld redsocks.c: In function 'redsocks_debug_dump_instance': redsocks.c:1296:64: warning: format '%ld' expects argument of type 'long int', but argument 17 has type 'time_t' {aka 'long long int'} [-Wformat=] 1296 | redsocks_log_error(client, LOG_NOTICE, "client: %i (%s)%s%s, relay: %i (%s)%s%s, age: %ld.%06ld sec, idle: %ld.%06ld sec.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 1305 | age.tv_sec, age.tv_usec, | ~~~~~~~~~~ | | | time_t {aka long long int} redsocks.h:146:120: note: in definition of macro 'redsocks_log_error' 146 | redsocks_log_write_plain(__FILE__, __LINE__, __func__, 0, &(client)->clientaddr, &(client)->destaddr, prio, ## msg) | ^~~ redsocks.c:1296:113: note: format string is defined here 1296 | redsocks_log_error(client, LOG_NOTICE, "client: %i (%s)%s%s, relay: %i (%s)%s%s, age: %ld.%06ld sec, idle: %ld.%06ld sec.", | ~~^ | | | long int | %lld redsocks.c:1296:64: warning: format '%ld' expects argument of type 'long int', but argument 18 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 1296 | redsocks_log_error(client, LOG_NOTICE, "client: %i (%s)%s%s, relay: %i (%s)%s%s, age: %ld.%06ld sec, idle: %ld.%06ld sec.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 1305 | age.tv_sec, age.tv_usec, | ~~~~~~~~~~~ | | | suseconds_t {aka long long int} redsocks.h:146:120: note: in definition of macro 'redsocks_log_error' 146 | redsocks_log_write_plain(__FILE__, __LINE__, __func__, 0, &(client)->clientaddr, &(client)->destaddr, prio, ## msg) | ^~~ redsocks.c:1296:119: note: format string is defined here 1296 | redsocks_log_error(client, LOG_NOTICE, "client: %i (%s)%s%s, relay: %i (%s)%s%s, age: %ld.%06ld sec, idle: %ld.%06ld sec.", | ~~~~^ | | | long int | %06lld redsocks.c:1296:64: warning: format '%ld' expects argument of type 'long int', but argument 19 has type 'time_t' {aka 'long long int'} [-Wformat=] 1296 | redsocks_log_error(client, LOG_NOTICE, "client: %i (%s)%s%s, relay: %i (%s)%s%s, age: %ld.%06ld sec, idle: %ld.%06ld sec.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 1306 | idle.tv_sec, idle.tv_usec); | ~~~~~~~~~~~ | | | time_t {aka long long int} redsocks.h:146:120: note: in definition of macro 'redsocks_log_error' 146 | redsocks_log_write_plain(__FILE__, __LINE__, __func__, 0, &(client)->clientaddr, &(client)->destaddr, prio, ## msg) | ^~~ redsocks.c:1296:134: note: format string is defined here 1296 | redsocks_log_error(client, LOG_NOTICE, "client: %i (%s)%s%s, relay: %i (%s)%s%s, age: %ld.%06ld sec, idle: %ld.%06ld sec.", | ~~^ | | | long int | %lld redsocks.c:1296:64: warning: format '%ld' expects argument of type 'long int', but argument 20 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 1296 | redsocks_log_error(client, LOG_NOTICE, "client: %i (%s)%s%s, relay: %i (%s)%s%s, age: %ld.%06ld sec, idle: %ld.%06ld sec.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 1306 | idle.tv_sec, idle.tv_usec); | ~~~~~~~~~~~~ | | | suseconds_t {aka long long int} redsocks.h:146:120: note: in definition of macro 'redsocks_log_error' 146 | redsocks_log_write_plain(__FILE__, __LINE__, __func__, 0, &(client)->clientaddr, &(client)->destaddr, prio, ## msg) | ^~~ redsocks.c:1296:140: note: format string is defined here 1296 | redsocks_log_error(client, LOG_NOTICE, "client: %i (%s)%s%s, relay: %i (%s)%s%s, age: %ld.%06ld sec, idle: %ld.%06ld sec.", | ~~~~^ | | | long int | %06lld redsocks.c:1310:64: warning: format '%ld' expects argument of type 'long int', but argument 29 has type 'time_t' {aka 'long long int'} [-Wformat=] 1310 | redsocks_log_error(client, LOG_NOTICE, "client: buf %i (%s) splice %i (%s/%s) pipe[%d, %d]=%zu%s%s, relay: buf %i (%s) splice %i (%s/%s) pipe[%d, %d]=%zu%s%s, age: %ld.%06ld sec, idle: %ld.%06ld sec.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 1333 | age.tv_sec, age.tv_usec, | ~~~~~~~~~~ | | | time_t {aka long long int} redsocks.h:146:120: note: in definition of macro 'redsocks_log_error' 146 | redsocks_log_write_plain(__FILE__, __LINE__, __func__, 0, &(client)->clientaddr, &(client)->destaddr, prio, ## msg) | ^~~ redsocks.c:1310:191: note: format string is defined here 1310 | redsocks_log_error(client, LOG_NOTICE, "client: buf %i (%s) splice %i (%s/%s) pipe[%d, %d]=%zu%s%s, relay: buf %i (%s) splice %i (%s/%s) pipe[%d, %d]=%zu%s%s, age: %ld.%06ld sec, idle: %ld.%06ld sec.", | ~~^ | | | long int | %lld redsocks.c:1310:64: warning: format '%ld' expects argument of type 'long int', but argument 30 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 1310 | redsocks_log_error(client, LOG_NOTICE, "client: buf %i (%s) splice %i (%s/%s) pipe[%d, %d]=%zu%s%s, relay: buf %i (%s) splice %i (%s/%s) pipe[%d, %d]=%zu%s%s, age: %ld.%06ld sec, idle: %ld.%06ld sec.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 1333 | age.tv_sec, age.tv_usec, | ~~~~~~~~~~~ | | | suseconds_t {aka long long int} redsocks.h:146:120: note: in definition of macro 'redsocks_log_error' 146 | redsocks_log_write_plain(__FILE__, __LINE__, __func__, 0, &(client)->clientaddr, &(client)->destaddr, prio, ## msg) | ^~~ redsocks.c:1310:197: note: format string is defined here 1310 | redsocks_log_error(client, LOG_NOTICE, "client: buf %i (%s) splice %i (%s/%s) pipe[%d, %d]=%zu%s%s, relay: buf %i (%s) splice %i (%s/%s) pipe[%d, %d]=%zu%s%s, age: %ld.%06ld sec, idle: %ld.%06ld sec.", | ~~~~^ | | | long int | %06lld redsocks.c:1310:64: warning: format '%ld' expects argument of type 'long int', but argument 31 has type 'time_t' {aka 'long long int'} [-Wformat=] 1310 | redsocks_log_error(client, LOG_NOTICE, "client: buf %i (%s) splice %i (%s/%s) pipe[%d, %d]=%zu%s%s, relay: buf %i (%s) splice %i (%s/%s) pipe[%d, %d]=%zu%s%s, age: %ld.%06ld sec, idle: %ld.%06ld sec.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 1334 | idle.tv_sec, idle.tv_usec); | ~~~~~~~~~~~ | | | time_t {aka long long int} redsocks.h:146:120: note: in definition of macro 'redsocks_log_error' 146 | redsocks_log_write_plain(__FILE__, __LINE__, __func__, 0, &(client)->clientaddr, &(client)->destaddr, prio, ## msg) | ^~~ redsocks.c:1310:212: note: format string is defined here 1310 | redsocks_log_error(client, LOG_NOTICE, "client: buf %i (%s) splice %i (%s/%s) pipe[%d, %d]=%zu%s%s, relay: buf %i (%s) splice %i (%s/%s) pipe[%d, %d]=%zu%s%s, age: %ld.%06ld sec, idle: %ld.%06ld sec.", | ~~^ | | | long int | %lld redsocks.c:1310:64: warning: format '%ld' expects argument of type 'long int', but argument 32 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 1310 | redsocks_log_error(client, LOG_NOTICE, "client: buf %i (%s) splice %i (%s/%s) pipe[%d, %d]=%zu%s%s, relay: buf %i (%s) splice %i (%s/%s) pipe[%d, %d]=%zu%s%s, age: %ld.%06ld sec, idle: %ld.%06ld sec.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 1334 | idle.tv_sec, idle.tv_usec); | ~~~~~~~~~~~~ | | | suseconds_t {aka long long int} redsocks.h:146:120: note: in definition of macro 'redsocks_log_error' 146 | redsocks_log_write_plain(__FILE__, __LINE__, __func__, 0, &(client)->clientaddr, &(client)->destaddr, prio, ## msg) | ^~~ redsocks.c:1310:218: note: format string is defined here 1310 | redsocks_log_error(client, LOG_NOTICE, "client: buf %i (%s) splice %i (%s/%s) pipe[%d, %d]=%zu%s%s, relay: buf %i (%s) splice %i (%s/%s) pipe[%d, %d]=%zu%s%s, age: %ld.%06ld sec, idle: %ld.%06ld sec.", | ~~~~^ | | | long int | %06lld redsocks.c: In function 'redsocks_start_splicepump': redsocks.c:625:25: warning: 'pipe2' accessing 8 bytes in a region of size 4 [-Wstringop-overflow=] 625 | error = pipe2(&pump->request.read, O_NONBLOCK); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ redsocks.c:625:25: note: referencing argument 1 of type 'int[2]' In file included from /usr/include/fortify/unistd.h:22, from redsocks.c:25: /usr/include/unistd.h:40:5: note: in a call to function 'pipe2' 40 | int pipe2(int [2], int); | ^~~~~ redsocks.c:627:25: warning: 'pipe2' accessing 8 bytes in a region of size 4 [-Wstringop-overflow=] 627 | error = pipe2(&pump->reply.read, O_NONBLOCK); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ redsocks.c:627:25: note: referencing argument 1 of type 'int[2]' /usr/include/unistd.h:40:5: note: in a call to function 'pipe2' 40 | int pipe2(int [2], int); | ^~~~~ In file included from http-relay.c:31: http-relay.c: In function 'httpr_relay_read_cb': redsocks.h:146:9: warning: pointer 'line' may be used after 'free' [-Wuse-after-free] 146 | redsocks_log_write_plain(__FILE__, __LINE__, __func__, 0, &(client)->clientaddr, &(client)->destaddr, prio, ## msg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http-relay.c:171:57: note: in expansion of macro 'redsocks_log_error' 171 | redsocks_log_error(client, LOG_NOTICE, "HTTP Proxy auth required, but no <%s> header found: %s", auth_request_header, line); | ^~~~~~~~~~~~~~~~~~ http-relay.c:167:49: note: call to 'free' here 167 | free(line); | ^~~~~~~~~~ http-relay.c:218:25: warning: pointer 'line' may be used after 'free' [-Wuse-after-free] 218 | free(line); | ^~~~~~~~~~ http-relay.c:167:49: note: call to 'free' here 167 | free(line); | ^~~~~~~~~~ redsocks.c:625:25: warning: 'pipe2' accessing 8 bytes in a region of size 4 [-Wstringop-overflow=] 625 | error = pipe2(&pump->request.read, O_NONBLOCK); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ redsocks.c:625:25: note: referencing argument 1 of type 'int[2]' /usr/include/unistd.h:40:5: note: in a call to function 'pipe2' 40 | int pipe2(int [2], int); | ^~~~~ redsocks.c:627:25: warning: 'pipe2' accessing 8 bytes in a region of size 4 [-Wstringop-overflow=] 627 | error = pipe2(&pump->reply.read, O_NONBLOCK); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ redsocks.c:627:25: note: referencing argument 1 of type 'int[2]' /usr/include/unistd.h:40:5: note: in a call to function 'pipe2' 40 | int pipe2(int [2], int); | ^~~~~ redsocks.c:625:25: warning: 'pipe2' accessing 8 bytes in a region of size 4 [-Wstringop-overflow=] 625 | error = pipe2(&pump->request.read, O_NONBLOCK); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ redsocks.c:625:25: note: referencing argument 1 of type 'int[2]' /usr/include/unistd.h:40:5: note: in a call to function 'pipe2' 40 | int pipe2(int [2], int); | ^~~~~ redsocks.c:627:25: warning: 'pipe2' accessing 8 bytes in a region of size 4 [-Wstringop-overflow=] 627 | error = pipe2(&pump->reply.read, O_NONBLOCK); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ redsocks.c:627:25: note: referencing argument 1 of type 'int[2]' /usr/include/unistd.h:40:5: note: in a call to function 'pipe2' 40 | int pipe2(int [2], int); | ^~~~~ gcc -Os -fomit-frame-pointer -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -o redsocks parser.o main.o redsocks.o log.o http-connect.o socks4.o socks5.o http-relay.o base.o base64.o md5.o http-auth.o utils.o redudp.o dnstc.o gen/version.o -Wl,--as-needed,-O1,--sort-common -levent_core >>> redsocks: Entering fakeroot... >>> redsocks-openrc*: Running split function openrc... >>> redsocks-openrc*: Preparing subpackage redsocks-openrc... >>> redsocks-openrc*: Running postcheck for redsocks-openrc >>> redsocks*: Running postcheck for redsocks >>> redsocks*: Preparing package redsocks... >>> redsocks*: Stripping binaries >>> redsocks-openrc*: Scanning shared objects >>> redsocks*: Scanning shared objects >>> redsocks-openrc*: Tracing dependencies... >>> redsocks-openrc*: Package size: 16.0 KB >>> redsocks-openrc*: Compressing data... >>> redsocks-openrc*: Create checksum... >>> redsocks-openrc*: Create redsocks-openrc-0.5-r3.apk >>> redsocks*: Tracing dependencies... so:libc.musl-x86.so.1 so:libevent_core-2.1.so.7 >>> redsocks*: Package size: 132.0 KB >>> redsocks*: Compressing data... >>> redsocks*: Create checksum... >>> redsocks*: Create redsocks-0.5-r3.apk >>> redsocks: Build complete at Mon, 24 Oct 2022 18:48:11 +0000 elapsed time 0h 0m 5s >>> redsocks: Cleaning up srcdir >>> redsocks: Cleaning up pkgdir >>> redsocks: Uninstalling dependencies... (1/15) Purging .makedepends-redsocks (20221024.184807) (2/15) Purging libevent-dev (2.1.12-r5) (3/15) Purging python3 (3.10.8-r1) (4/15) Purging libevent (2.1.12-r5) (5/15) Purging iptables-dev (1.8.8-r2) (6/15) Purging linux-headers (5.19.5-r0) (7/15) Purging iptables-openrc (1.8.8-r2) (8/15) Purging iptables (1.8.8-r2) (9/15) Purging libffi (3.4.3-r0) (10/15) Purging gdbm (1.23-r0) (11/15) Purging mpdecimal (2.5.1-r1) (12/15) Purging readline (8.2.0-r0) (13/15) Purging sqlite-libs (3.39.4-r0) (14/15) Purging libnftnl (1.2.3-r0) (15/15) Purging libmnl (1.0.5-r0) Executing busybox-1.35.0-r27.trigger OK: 380 MiB in 103 packages >>> redsocks: Updating the community/x86 repository index... >>> redsocks: Signing the index...