>>> redsocks: Building community/redsocks 0.5-r3 (using abuild 3.14.1-r1) started Wed, 06 Nov 2024 02:12:54 +0000 >>> redsocks: Validating /home/buildozer/aports/community/redsocks/APKBUILD... >>> redsocks: Analyzing dependencies... >>> redsocks: Installing for build: build-base libevent-dev iptables-dev (1/20) Installing libbz2 (1.0.8-r6) (2/20) Installing libffi (3.4.6-r0) (3/20) Installing gdbm (1.24-r0) (4/20) Installing xz-libs (5.6.3-r0) (5/20) Installing mpdecimal (4.0.0-r0) (6/20) Installing libpanelw (6.5_p20241006-r2) (7/20) Installing sqlite-libs (3.47.0-r0) (8/20) Installing python3 (3.12.7-r1) (9/20) Installing python3-pycache-pyc0 (3.12.7-r1) (10/20) Installing pyc (3.12.7-r1) (11/20) Installing python3-pyc (3.12.7-r1) (12/20) Installing libevent (2.1.12-r7) (13/20) Installing libevent-dev (2.1.12-r7) (14/20) Installing linux-headers (6.6-r1) (15/20) Installing libip4tc (1.8.10-r5) (16/20) Installing libip6tc (1.8.10-r5) (17/20) Installing libipq (1.8.10-r5) (18/20) Installing libxtables (1.8.10-r5) (19/20) Installing iptables-dev (1.8.10-r5) (20/20) Installing .makedepends-redsocks (20241106.021333) Executing busybox-1.37.0-r6.trigger OK: 436 MiB in 121 packages >>> redsocks: Cleaning up srcdir >>> redsocks: Cleaning up pkgdir >>> redsocks: Cleaning up tmpdir >>> redsocks: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/redsocks-0.5.zip Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.21/redsocks-0.5.zip.part' redsocks-0.5.zip.par 100% |********************************| 523k 0:00:00 ETA '/var/cache/distfiles/v3.21/redsocks-0.5.zip.part' saved >>> redsocks: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/redsocks-0.5.zip >>> redsocks: Checking sha512sums... redsocks-0.5.zip: OK redsocks.initd: OK >>> redsocks: Unpacking /var/cache/distfiles/v3.21/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 config.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 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o parser.o parser.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o main.o main.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o redsocks.o redsocks.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o log.o log.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o http-connect.o http-connect.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o socks4.o socks4.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o socks5.o socks5.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o http-relay.o http-relay.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o base.o base.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o base64.o base64.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o md5.o md5.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o http-auth.o http-auth.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o utils.o utils.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o redudp.o redudp.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o dnstc.o dnstc.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o gen/version.o gen/version.c 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); | ^~~~~~~~~~ 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:23, 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); | ^~~~~ gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -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 -Wl,-z,pack-relative-relocs -levent_core >>> redsocks: Entering fakeroot... >>> redsocks-openrc*: Running split function openrc... 'etc/init.d' -> '/home/buildozer/aports/community/redsocks/pkg/redsocks-openrc/etc/init.d' >>> 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: 835.0 B >>> redsocks-openrc*: Compressing data... >>> redsocks-openrc*: Create checksum... >>> redsocks-openrc*: Create redsocks-openrc-0.5-r3.apk >>> redsocks*: Tracing dependencies... so:libc.musl-x86_64.so.1 so:libevent_core-2.1.so.7 >>> redsocks*: Package size: 117.0 KB >>> redsocks*: Compressing data... >>> redsocks*: Create checksum... >>> redsocks*: Create redsocks-0.5-r3.apk >>> redsocks: Build complete at Wed, 06 Nov 2024 02:13:35 +0000 elapsed time 0h 0m 41s >>> redsocks: Cleaning up srcdir >>> redsocks: Cleaning up pkgdir >>> redsocks: Uninstalling dependencies... (1/20) Purging .makedepends-redsocks (20241106.021333) (2/20) Purging libevent-dev (2.1.12-r7) (3/20) Purging python3-pyc (3.12.7-r1) (4/20) Purging python3-pycache-pyc0 (3.12.7-r1) (5/20) Purging pyc (3.12.7-r1) (6/20) Purging python3 (3.12.7-r1) (7/20) Purging libevent (2.1.12-r7) (8/20) Purging iptables-dev (1.8.10-r5) (9/20) Purging linux-headers (6.6-r1) (10/20) Purging libip4tc (1.8.10-r5) (11/20) Purging libip6tc (1.8.10-r5) (12/20) Purging libipq (1.8.10-r5) (13/20) Purging libxtables (1.8.10-r5) (14/20) Purging gdbm (1.24-r0) (15/20) Purging libbz2 (1.0.8-r6) (16/20) Purging libffi (3.4.6-r0) (17/20) Purging libpanelw (6.5_p20241006-r2) (18/20) Purging mpdecimal (4.0.0-r0) (19/20) Purging sqlite-libs (3.47.0-r0) (20/20) Purging xz-libs (5.6.3-r0) Executing busybox-1.37.0-r6.trigger OK: 395 MiB in 101 packages >>> redsocks: Updating the community/x86_64 repository index... >>> redsocks: Signing the index...