+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/opentracker-0.0.20180526nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/opentracker-0.0.20180526nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for opentracker-0.0.20180526nb1
gcc -c -o opentracker.debug.o -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DWANT_ACCESSLIST_WHITE -DWANT_RESTRICT_STATS -I/opt/pkg/include -I/opt/pkg/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_FULLSCRAPE opentracker.c
opentracker.c: In function 'main':
opentracker.c:646:3: warning: 'io_setcookie' writing 1 byte into a region of size 0 overflows the destination [-Wstringop-overflow=]
  646 |   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:
/home/pbulk/build/net/opentracker/work/.buildlink/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:332:3: warning: 'io_setcookie' writing 1 byte into a region of size 0 overflows the destination [-Wstringop-overflow=]
  332 |   io_setcookie( sock, (void*)proto );
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: note: destination object is likely at address zero
/home/pbulk/build/net/opentracker/work/.buildlink/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 trackerlogic.debug.o -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DWANT_ACCESSLIST_WHITE -DWANT_RESTRICT_STATS -I/opt/pkg/include -I/opt/pkg/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_FULLSCRAPE trackerlogic.c
trackerlogic.c: In function 'remove_peer_from_torrent':
trackerlogic.c:368:37: warning: this statement may fall through [-Wimplicit-fallthrough=]
  368 |       case 2:  peer_list->seed_count--; /* Fall throughs intended */
      |                ~~~~~~~~~~~~~~~~~~~~~^~
trackerlogic.c:369:7: note: here
  369 |       case 1:  peer_list->peer_count--; /* Fall throughs intended */
      |       ^~~~
gcc -c -o scan_urlencoded_query.debug.o -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DWANT_ACCESSLIST_WHITE -DWANT_RESTRICT_STATS -I/opt/pkg/include -I/opt/pkg/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_FULLSCRAPE scan_urlencoded_query.c
gcc -c -o ot_mutex.debug.o -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DWANT_ACCESSLIST_WHITE -DWANT_RESTRICT_STATS -I/opt/pkg/include -I/opt/pkg/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_FULLSCRAPE ot_mutex.c
gcc -c -o ot_stats.debug.o -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DWANT_ACCESSLIST_WHITE -DWANT_RESTRICT_STATS -I/opt/pkg/include -I/opt/pkg/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_FULLSCRAPE ot_stats.c
gcc -c -o ot_vector.debug.o -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DWANT_ACCESSLIST_WHITE -DWANT_RESTRICT_STATS -I/opt/pkg/include -I/opt/pkg/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_FULLSCRAPE ot_vector.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 );
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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_clean.debug.o -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DWANT_ACCESSLIST_WHITE -DWANT_RESTRICT_STATS -I/opt/pkg/include -I/opt/pkg/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_FULLSCRAPE ot_clean.c
gcc -c -o ot_udp.debug.o -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DWANT_ACCESSLIST_WHITE -DWANT_RESTRICT_STATS -I/opt/pkg/include -I/opt/pkg/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_FULLSCRAPE ot_udp.c
gcc -c -o ot_iovec.debug.o -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DWANT_ACCESSLIST_WHITE -DWANT_RESTRICT_STATS -I/opt/pkg/include -I/opt/pkg/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_FULLSCRAPE ot_iovec.c
gcc -c -o ot_fullscrape.debug.o -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DWANT_ACCESSLIST_WHITE -DWANT_RESTRICT_STATS -I/opt/pkg/include -I/opt/pkg/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_FULLSCRAPE ot_fullscrape.c
gcc -c -o ot_accesslist.debug.o -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DWANT_ACCESSLIST_WHITE -DWANT_RESTRICT_STATS -I/opt/pkg/include -I/opt/pkg/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_FULLSCRAPE ot_accesslist.c
ot_accesslist.c: In function 'accesslist_readfile':
ot_accesslist.c:42:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   42 |   if( ( map = mmap_read( g_accesslist_filename, &maplen ) ) == NULL ) {
      |             ^
ot_accesslist.c: In function 'accesslist_worker':
ot_accesslist.c:129:12: error: too many arguments to function 'sigwait'
  129 |     while( sigwait (&signal_mask, &sig) != 0 && sig != SIGHUP );
      |            ^~~~~~~
In file included from ot_accesslist.c:11:
/usr/include/signal.h:165:12: note: declared here
  165 | extern int sigwait(sigset_t *);
      |            ^~~~~~~
*** [ot_accesslist.debug.o] Error code 1

bmake: stopped in /home/pbulk/build/net/opentracker/work/opentracker
1 error

bmake: stopped in /home/pbulk/build/net/opentracker/work/opentracker
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/opentracker
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/opentracker