>>> opentracker: Building community/opentracker 0_git20210823-r2 (using abuild 3.14.1-r1) started Fri, 01 Nov 2024 21:56:06 +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 (20241101.215635) OK: 272 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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_fullscrape.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); | ^~~~~~~~~~~~ gcc -c -o ot_accesslist.o -Os -fstack-clash-protection -Wformat -Werror=format-security -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_iovec.c ot_udp.c: In function 'udp_worker': ot_udp.c:195:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 195 | int64 sock = (int64)args; | ^ ot_udp.c: In function 'udp_init': ot_udp.c:224:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 224 | pthread_create( &thread_id, NULL, udp_worker, (void *)sock ); | ^ gcc -c -o ot_fullscrape.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -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 -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 -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 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_livesync.c ot_fullscrape.c: In function 'fullscrape_write_one': ot_fullscrape.c:116:28: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'ot_time' {aka 'long long int'} [-Wformat=] 116 | r += sprintf( r, ":%zd:%zd\n", peer_list->base, peer_list->down_count ); | ~~^ ~~~~~~~~~~~~~~~ | | | | int ot_time {aka long long int} | %lld gcc -c -o ot_rijndael.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_FULLSCRAPE ot_rijndael.c 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); | ^~~~~~~~~~~~ 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_udp.c: In function 'udp_worker': ot_udp.c:195:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 195 | int64 sock = (int64)args; | ^ ot_udp.c: In function 'udp_init': ot_udp.c:224:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 224 | pthread_create( &thread_id, NULL, udp_worker, (void *)sock ); | ^ ot_fullscrape.c: In function 'fullscrape_write_one': ot_fullscrape.c:116:28: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'ot_time' {aka 'long long int'} [-Wformat=] 116 | r += sprintf( r, ":%zd:%zd\n", peer_list->base, peer_list->down_count ); | ~~^ ~~~~~~~~~~~~~~~ | | | | int ot_time {aka long long int} | %lld 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); | ^~~~~~~~~~~~ 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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_livesync.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); | ^~~~~~~~~~~~ gcc -c -o ot_rijndael.o -Os -fstack-clash-protection -Wformat -Werror=format-security -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 -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 -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 -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 -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 -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 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_vector.c ot_udp.c: In function 'udp_worker': ot_udp.c:195:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 195 | int64 sock = (int64)args; | ^ ot_udp.c: In function 'udp_init': ot_udp.c:224:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 224 | pthread_create( &thread_id, NULL, udp_worker, (void *)sock ); | ^ gcc -c -o ot_clean.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_clean.c ot_fullscrape.c: In function 'fullscrape_write_one': ot_fullscrape.c:116:28: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'ot_time' {aka 'long long int'} [-Wformat=] 116 | r += sprintf( r, ":%zd:%zd\n", peer_list->base, peer_list->down_count ); | ~~^ ~~~~~~~~~~~~~~~ | | | | int ot_time {aka long long int} | %lld gcc -c -o ot_udp.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -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 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_iovec.c 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 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -o ot_fullscrape.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -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 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_accesslist.c 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 -c -o ot_http.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_IP_FROM_PROXY -DWANT_V6 -DWANT_FULLSCRAPE ot_http.c 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) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -o ot_livesync.debug.o -Os -fstack-clash-protection -Wformat -Werror=format-security -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 -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_udp.c: In function 'udp_worker': ot_udp.c:195:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 195 | int64 sock = (int64)args; | ^ ot_udp.c: In function 'udp_init': ot_udp.c:224:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 224 | pthread_create( &thread_id, NULL, udp_worker, (void *)sock ); | ^ ot_fullscrape.c: In function 'fullscrape_write_one': ot_fullscrape.c:116:28: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'ot_time' {aka 'long long int'} [-Wformat=] 116 | r += sprintf( r, ":%zd:%zd\n", peer_list->base, peer_list->down_count ); | ~~^ ~~~~~~~~~~~~~~~ | | | | int ot_time {aka long long int} | %lld 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 -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 -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... libfakeroot internal error: payload not recognized! >>> opentracker-openrc*: Create opentracker-openrc-0_git20210823-r2.apk >>> opentracker*: Tracing dependencies... /bin/sh so:libc.musl-armv7.so.1 >>> opentracker*: Package size: 69.4 KB >>> opentracker*: Compressing data... >>> opentracker*: Create checksum... libfakeroot internal error: payload not recognized! >>> opentracker*: Create opentracker-0_git20210823-r2.apk >>> opentracker6*: Tracing dependencies... so:libc.musl-armv7.so.1 >>> opentracker6*: Package size: 65.5 KB >>> opentracker6*: Compressing data... >>> opentracker6*: Create checksum... >>> opentracker6*: Create opentracker6-0_git20210823-r2.apk >>> opentracker: Build complete at Fri, 01 Nov 2024 21:56:46 +0000 elapsed time 0h 0m 40s >>> opentracker: Cleaning up srcdir >>> opentracker: Cleaning up pkgdir >>> opentracker: Uninstalling dependencies... (1/3) Purging .makedepends-opentracker (20241101.215635) (2/3) Purging libowfat-dev (0.33-r0) (3/3) Purging zlib-dev (1.3.1-r2) OK: 271 MiB in 101 packages >>> opentracker: Updating the community/armv7 repository index... >>> opentracker: Signing the index...