>>> opentracker: Building community/opentracker 0_git20210823-r2 (using abuild 3.14.1-r1) started Sat, 09 Nov 2024 08:04:40 +0000 >>> opentracker: Validating /home/buildozer/aports/community/opentracker/APKBUILD... >>> opentracker: Analyzing dependencies... >>> opentracker: Installing for build: build-base libowfat-dev zlib-dev (1/3) Installing libowfat-dev (0.33-r0) (2/3) Installing zlib-dev (1.3.1-r2) (3/3) Installing .makedepends-opentracker (20241109.080505) OK: 396 MiB in 104 packages >>> opentracker: Cleaning up srcdir >>> opentracker: Cleaning up pkgdir >>> opentracker: Cleaning up tmpdir >>> opentracker: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/opentracker-0_git20210823.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.21/opentracker-0_git20210823.tar.gz.part' opentracker-0_git202 100% |********************************| 68775 0:00:00 ETA '/var/cache/distfiles/v3.21/opentracker-0_git20210823.tar.gz.part' saved >>> opentracker: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/opentracker-0_git20210823.tar.gz >>> opentracker: Checking sha512sums... opentracker-0_git20210823.tar.gz: OK opentracker.initd: OK show-version.patch: OK >>> opentracker: Unpacking /var/cache/distfiles/v3.21/opentracker-0_git20210823.tar.gz... >>> opentracker: show-version.patch patching file opentracker/ot_stats.c make: Entering directory '/home/buildozer/aports/community/opentracker/src/opentracker' Makefile:87: warning: ignoring prerequisites on suffix rule definition Makefile:84: warning: ignoring prerequisites on suffix rule definition Makefile:87: warning: ignoring prerequisites on suffix rule definition Makefile:87: warning: ignoring prerequisites on suffix rule definition Makefile:84: warning: ignoring prerequisites on suffix rule definition Makefile:87: warning: ignoring prerequisites on suffix rule definition gcc -c -o opentracker.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE opentracker.c gcc -c -o trackerlogic.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE trackerlogic.c gcc -c -o scan_urlencoded_query.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE scan_urlencoded_query.c gcc -c -o ot_mutex.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_mutex.c gcc -c -o ot_stats.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_stats.c gcc -c -o ot_vector.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_vector.c gcc -c -o ot_clean.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_clean.c gcc -c -o ot_udp.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_udp.c gcc -c -o ot_iovec.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_iovec.c gcc -c -o ot_fullscrape.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_fullscrape.c gcc -c -o ot_accesslist.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_accesslist.c gcc -c -o ot_http.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_http.c gcc -c -o ot_livesync.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_livesync.c gcc -c -o ot_rijndael.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_rijndael.c gcc -c -o opentracker.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE opentracker.c gcc -c -o trackerlogic.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE trackerlogic.c gcc -c -o scan_urlencoded_query.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE scan_urlencoded_query.c gcc -c -o ot_mutex.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_mutex.c gcc -c -o ot_stats.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_stats.c gcc -c -o ot_vector.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_vector.c gcc -c -o ot_clean.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_clean.c gcc -c -o ot_udp.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_udp.c gcc -c -o ot_iovec.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_iovec.c gcc -c -o ot_fullscrape.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_fullscrape.c gcc -c -o ot_accesslist.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_accesslist.c gcc -c -o ot_http.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_http.c gcc -c -o ot_livesync.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_livesync.c gcc -c -o ot_rijndael.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_rijndael.c opentracker.c: In function 'main': opentracker.c:675:3: warning: 'io_setcookie' writing 1 byte into a region of size 0 overflows the destination [-Wstringop-overflow=] 675 | io_setcookie( g_self_pipe[0], (void*)FLAG_SELFPIPE ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: note: destination object is likely at address zero In file included from opentracker.c:25: /usr/include/libowfat/io.h:147:6: note: in a call to function 'io_setcookie' declared with attribute 'access (write_only, 2)' 147 | void io_setcookie(int64 d,void* cookie); | ^~~~~~~~~~~~ ot_vector.c: In function 'vector_find_or_insert': ot_vector.c:74:31: warning: pointer 'base' may be used after 'realloc' [-Wuse-after-free] 74 | match = new_data + (match - (uint8_t*)vector->data); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ot_vector.c:71:25: note: call to 'realloc' here 71 | uint8_t *new_data = realloc( vector->data, new_space * member_size ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opentracker.c: In function 'main': opentracker.c:675:3: warning: 'io_setcookie' writing 1 byte into a region of size 0 overflows the destination [-Wstringop-overflow=] 675 | io_setcookie( g_self_pipe[0], (void*)FLAG_SELFPIPE ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: note: destination object is likely at address zero In file included from opentracker.c:25: /usr/include/libowfat/io.h:147:6: note: in a call to function 'io_setcookie' declared with attribute 'access (write_only, 2)' 147 | void io_setcookie(int64 d,void* cookie); | ^~~~~~~~~~~~ ot_vector.c: In function 'vector_find_or_insert_peer': ot_vector.c:100:31: warning: pointer 'base' may be used after 'realloc' [-Wuse-after-free] 100 | match = new_data + (match - (ot_peer*)vector->data); | ^ ot_vector.c:97:25: note: call to 'realloc' here 97 | ot_peer *new_data = realloc( vector->data, new_space * sizeof(ot_peer) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opentracker.c: In function 'ot_try_bind.isra': opentracker.c:361:3: warning: 'io_setcookie' writing 1 byte into a region of size 0 overflows the destination [-Wstringop-overflow=] 361 | io_setcookie( sock, (void*)proto ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: note: destination object is likely at address zero /usr/include/libowfat/io.h:147:6: note: in a call to function 'io_setcookie' declared with attribute 'access (write_only, 2)' 147 | void io_setcookie(int64 d,void* cookie); | ^~~~~~~~~~~~ gcc -o opentracker.debug opentracker.debug.o trackerlogic.debug.o scan_urlencoded_query.debug.o ot_mutex.debug.o ot_stats.debug.o ot_vector.debug.o ot_clean.debug.o ot_udp.debug.o ot_iovec.debug.o ot_fullscrape.debug.o ot_accesslist.debug.o ot_http.debug.o ot_livesync.debug.o ot_rijndael.debug.o -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -L/usr/include/libowfat -lowfat -pthread -lpthread -lz gcc -o opentracker opentracker.o trackerlogic.o scan_urlencoded_query.o ot_mutex.o ot_stats.o ot_vector.o ot_clean.o ot_udp.o ot_iovec.o ot_fullscrape.o ot_accesslist.o ot_http.o ot_livesync.o ot_rijndael.o -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -L/usr/include/libowfat -lowfat -pthread -lpthread -lz strip opentracker make: Leaving directory '/home/buildozer/aports/community/opentracker/src/opentracker' make: Entering directory '/home/buildozer/aports/community/opentracker/src/opentracker6' Makefile:87: warning: ignoring prerequisites on suffix rule definition Makefile:84: warning: ignoring prerequisites on suffix rule definition Makefile:87: warning: ignoring prerequisites on suffix rule definition Makefile:87: warning: ignoring prerequisites on suffix rule definition Makefile:84: warning: ignoring prerequisites on suffix rule definition Makefile:87: warning: ignoring prerequisites on suffix rule definition gcc -c -o opentracker.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE opentracker.c gcc -c -o trackerlogic.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE trackerlogic.c gcc -c -o scan_urlencoded_query.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE scan_urlencoded_query.c gcc -c -o ot_mutex.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_mutex.c gcc -c -o ot_stats.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_stats.c gcc -c -o ot_vector.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_vector.c gcc -c -o ot_clean.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_clean.c gcc -c -o ot_udp.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_udp.c gcc -c -o ot_iovec.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_iovec.c gcc -c -o ot_fullscrape.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_fullscrape.c gcc -c -o ot_accesslist.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_accesslist.c gcc -c -o ot_http.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_http.c gcc -c -o ot_livesync.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_livesync.c gcc -c -o ot_rijndael.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_rijndael.c gcc -c -o opentracker.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE opentracker.c gcc -c -o trackerlogic.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE trackerlogic.c gcc -c -o scan_urlencoded_query.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE scan_urlencoded_query.c gcc -c -o ot_mutex.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_mutex.c gcc -c -o ot_stats.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_stats.c gcc -c -o ot_vector.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_vector.c gcc -c -o ot_clean.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_clean.c gcc -c -o ot_udp.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_udp.c gcc -c -o ot_iovec.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_iovec.c gcc -c -o ot_fullscrape.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_fullscrape.c gcc -c -o ot_accesslist.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_accesslist.c gcc -c -o ot_http.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_http.c gcc -c -o ot_livesync.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_livesync.c gcc -c -o ot_rijndael.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_rijndael.c opentracker.c: In function 'main': opentracker.c:675:3: warning: 'io_setcookie' writing 1 byte into a region of size 0 overflows the destination [-Wstringop-overflow=] 675 | io_setcookie( g_self_pipe[0], (void*)FLAG_SELFPIPE ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: note: destination object is likely at address zero In file included from opentracker.c:25: /usr/include/libowfat/io.h:147:6: note: in a call to function 'io_setcookie' declared with attribute 'access (write_only, 2)' 147 | void io_setcookie(int64 d,void* cookie); | ^~~~~~~~~~~~ ot_vector.c: In function 'vector_find_or_insert': ot_vector.c:74:31: warning: pointer 'base' may be used after 'realloc' [-Wuse-after-free] 74 | match = new_data + (match - (uint8_t*)vector->data); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ot_vector.c:71:25: note: call to 'realloc' here 71 | uint8_t *new_data = realloc( vector->data, new_space * member_size ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ot_vector.c: In function 'vector_find_or_insert_peer': ot_vector.c:100:31: warning: pointer 'base' may be used after 'realloc' [-Wuse-after-free] 100 | match = new_data + (match - (ot_peer*)vector->data); | ^ ot_vector.c:97:25: note: call to 'realloc' here 97 | ot_peer *new_data = realloc( vector->data, new_space * sizeof(ot_peer) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opentracker.c: In function 'main': opentracker.c:675:3: warning: 'io_setcookie' writing 1 byte into a region of size 0 overflows the destination [-Wstringop-overflow=] 675 | io_setcookie( g_self_pipe[0], (void*)FLAG_SELFPIPE ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: note: destination object is likely at address zero In file included from opentracker.c:25: /usr/include/libowfat/io.h:147:6: note: in a call to function 'io_setcookie' declared with attribute 'access (write_only, 2)' 147 | void io_setcookie(int64 d,void* cookie); | ^~~~~~~~~~~~ opentracker.c: In function 'ot_try_bind.isra': opentracker.c:361:3: warning: 'io_setcookie' writing 1 byte into a region of size 0 overflows the destination [-Wstringop-overflow=] 361 | io_setcookie( sock, (void*)proto ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: note: destination object is likely at address zero /usr/include/libowfat/io.h:147:6: note: in a call to function 'io_setcookie' declared with attribute 'access (write_only, 2)' 147 | void io_setcookie(int64 d,void* cookie); | ^~~~~~~~~~~~ gcc -o opentracker6.debug opentracker.debug.o trackerlogic.debug.o scan_urlencoded_query.debug.o ot_mutex.debug.o ot_stats.debug.o ot_vector.debug.o ot_clean.debug.o ot_udp.debug.o ot_iovec.debug.o ot_fullscrape.debug.o ot_accesslist.debug.o ot_http.debug.o ot_livesync.debug.o ot_rijndael.debug.o -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -L/usr/include/libowfat -lowfat -pthread -lpthread -lz gcc -o opentracker6 opentracker.o trackerlogic.o scan_urlencoded_query.o ot_mutex.o ot_stats.o ot_vector.o ot_clean.o ot_udp.o ot_iovec.o ot_fullscrape.o ot_accesslist.o ot_http.o ot_livesync.o ot_rijndael.o -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -L/usr/include/libowfat -lowfat -pthread -lpthread -lz strip opentracker6 make: Leaving directory '/home/buildozer/aports/community/opentracker/src/opentracker6' 0_git20210823 0_git20210823 >>> opentracker: Entering fakeroot... >>> opentracker-openrc*: Running split function openrc... 'etc/init.d' -> '/home/buildozer/aports/community/opentracker/pkg/opentracker-openrc/etc/init.d' >>> opentracker-openrc*: Preparing subpackage opentracker-openrc... >>> opentracker-openrc*: Running postcheck for opentracker-openrc >>> opentracker6*: Running split function opentracker6... 'usr/bin/opentracker6' -> '/home/buildozer/aports/community/opentracker/pkg/opentracker6/usr/bin/opentracker6' >>> opentracker6*: Preparing subpackage opentracker6... >>> opentracker6*: Stripping binaries >>> opentracker6*: Running postcheck for opentracker6 >>> opentracker*: Running postcheck for opentracker >>> opentracker*: Preparing package opentracker... >>> opentracker*: Stripping binaries >>> opentracker*: Script found. /bin/sh added as a dependency for opentracker-0_git20210823-r2.apk >>> opentracker*: Adding .pre-install >>> opentracker-openrc*: Scanning shared objects >>> opentracker*: Scanning shared objects >>> opentracker6*: Scanning shared objects >>> opentracker-openrc*: Tracing dependencies... >>> opentracker-openrc*: Package size: 315.0 B >>> opentracker-openrc*: Compressing data... >>> opentracker-openrc*: Create checksum... >>> opentracker-openrc*: Create opentracker-openrc-0_git20210823-r2.apk >>> opentracker*: Tracing dependencies... /bin/sh so:libc.musl-x86_64.so.1 >>> opentracker*: Package size: 94.2 KB >>> opentracker*: Compressing data... >>> opentracker*: Create checksum... >>> opentracker*: Create opentracker-0_git20210823-r2.apk >>> opentracker6*: Tracing dependencies... so:libc.musl-x86_64.so.1 >>> opentracker6*: Package size: 94.3 KB >>> opentracker6*: Compressing data... >>> opentracker6*: Create checksum... >>> opentracker6*: Create opentracker6-0_git20210823-r2.apk >>> opentracker: Build complete at Sat, 09 Nov 2024 08:05:08 +0000 elapsed time 0h 0m 28s >>> opentracker: Cleaning up srcdir >>> opentracker: Cleaning up pkgdir >>> opentracker: Uninstalling dependencies... (1/3) Purging .makedepends-opentracker (20241109.080505) (2/3) Purging libowfat-dev (0.33-r0) (3/3) Purging zlib-dev (1.3.1-r2) OK: 395 MiB in 101 packages >>> opentracker: Updating the community/x86_64 repository index... >>> opentracker: Signing the index...