+ 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/qstat-2.14/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/qstat-2.14/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for qstat-2.14 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in template Making all in info --- xform.o --- --- config.o --- --- debug.o --- --- utils.o --- --- hcache.o --- --- md5.o --- --- qserver.o --- --- qstat.o --- --- xform.o --- gcc -DHAVE_CONFIG_H -I. -Dsysconfdir=\"/opt/pkg/etc\" -DPKG_SYSCONFDIR="\"/etc/opt/pkg\"" -DDEBUG -DENABLE_DUMP -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -MT xform.o -MD -MP -MF .deps/xform.Tpo -c -o xform.o xform.c --- debug.o --- gcc -DHAVE_CONFIG_H -I. -Dsysconfdir=\"/opt/pkg/etc\" -DPKG_SYSCONFDIR="\"/etc/opt/pkg\"" -DDEBUG -DENABLE_DUMP -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -MT debug.o -MD -MP -MF .deps/debug.Tpo -c -o debug.o debug.c --- config.o --- gcc -DHAVE_CONFIG_H -I. -Dsysconfdir=\"/opt/pkg/etc\" -DPKG_SYSCONFDIR="\"/etc/opt/pkg\"" -DDEBUG -DENABLE_DUMP -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o config.c --- utils.o --- gcc -DHAVE_CONFIG_H -I. -Dsysconfdir=\"/opt/pkg/etc\" -DPKG_SYSCONFDIR="\"/etc/opt/pkg\"" -DDEBUG -DENABLE_DUMP -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c --- hcache.o --- gcc -DHAVE_CONFIG_H -I. -Dsysconfdir=\"/opt/pkg/etc\" -DPKG_SYSCONFDIR="\"/etc/opt/pkg\"" -DDEBUG -DENABLE_DUMP -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -MT hcache.o -MD -MP -MF .deps/hcache.Tpo -c -o hcache.o hcache.c --- md5.o --- gcc -DHAVE_CONFIG_H -I. -Dsysconfdir=\"/opt/pkg/etc\" -DPKG_SYSCONFDIR="\"/etc/opt/pkg\"" -DDEBUG -DENABLE_DUMP -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.c --- qserver.o --- gcc -DHAVE_CONFIG_H -I. -Dsysconfdir=\"/opt/pkg/etc\" -DPKG_SYSCONFDIR="\"/etc/opt/pkg\"" -DDEBUG -DENABLE_DUMP -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -MT qserver.o -MD -MP -MF .deps/qserver.Tpo -c -o qserver.o qserver.c --- qstat.o --- gcc -DHAVE_CONFIG_H -I. -Dsysconfdir=\"/opt/pkg/etc\" -DPKG_SYSCONFDIR="\"/etc/opt/pkg\"" -DDEBUG -DENABLE_DUMP -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -MT qstat.o -MD -MP -MF .deps/qstat.Tpo -c -o qstat.o qstat.c --- debug.o --- debug.c: In function '_dump_packet': debug.c:106:10: error: 'PATH_MAX' undeclared (first use in this function) 106 | char fn[PATH_MAX] = {0}; | ^~~~~~~~ debug.c:106:10: note: each undeclared identifier is reported only once for each function it appears in debug.c:106:7: warning: unused variable 'fn' [-Wunused-variable] 106 | char fn[PATH_MAX] = {0}; | ^~ --- utils.o --- utils.c: In function 'str_replace': utils.c:113:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 113 | strncpy(s, replace, rlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~ utils.c:109:16: note: length computed here 109 | int rlen = strlen(replace); | ^~~~~~~~~~~~~~~ --- debug.o --- *** [debug.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/games/qstat/work/qstat-2.14 --- utils.o --- utils.c:114:3: warning: 'strcpy' accessing 1 byte at offsets [-2147483648, 2147483647] and [-2147483648, 2147483647] overlaps 1 byte at offset [-2147483648, 2147483647] [-Wrestrict] 114 | strcpy(s + rlen, s + flen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/utils.Tpo .deps/utils.Po --- qserver.o --- mv -f .deps/qserver.Tpo .deps/qserver.Po --- qstat.o --- qstat.c: In function 'do_work': qstat.c:3097:18: warning: variable 'fd' set but not used [-Wunused-but-set-variable] 3097 | int pktlen, rc, fd; | ^~ --- xform.o --- xform.c: In function 'xform_name': xform.c:430:33: warning: '%02hhx' directive writing 2 bytes into a region of size 0 [-Wformat-overflow=] 430 | sprintf(color, "#%02hhx%02hhx%02hhx", s[0], s[1], s[2]); | ^~~~~~ xform.c:430:19: note: using the range [0, 255] for directive argument 430 | sprintf(color, "#%02hhx%02hhx%02hhx", s[0], s[1], s[2]); | ^~~~~~~~~~~~~~~~~~~~~ xform.c:430:4: note: 'sprintf' output 8 bytes into a destination of size 5 430 | sprintf(color, "#%02hhx%02hhx%02hhx", s[0], s[1], s[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- qstat.o --- qstat.c: In function 'deal_with_ghostrecon_packet': qstat.c:9778:26: warning: variable 'end' set but not used [-Wunused-but-set-variable] 9778 | char str[256], *start, *end, StartFlag, *lpszIgnoreServerPlayer; | ^~~ qstat.c:9778:18: warning: variable 'start' set but not used [-Wunused-but-set-variable] 9778 | char str[256], *start, *end, StartFlag, *lpszIgnoreServerPlayer; | ^~~~~ --- config.o --- config.c: In function 'qsc_load_default_config_files': config.c:198:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 198 | strncpy( path, var, len); | ^~~~~~~~~~~~~~~~~~~~~~~~ config.c:195:11: note: length computed here 195 | int len= strlen(var); | ^~~~~~~~~~~ --- md5.o --- mv -f .deps/md5.Tpo .deps/md5.Po --- qstat.o --- At top level: qstat.c:9754:19: warning: 'PacketStart' defined but not used [-Wunused-const-variable=] 9754 | static const char PacketStart = '\x42'; | ^~~~~~~~~~~ --- hcache.o --- mv -f .deps/hcache.Tpo .deps/hcache.Po --- xform.o --- mv -f .deps/xform.Tpo .deps/xform.Po --- config.o --- mv -f .deps/config.Tpo .deps/config.Po --- qstat.o --- mv -f .deps/qstat.Tpo .deps/qstat.Po 1 error bmake[2]: stopped in /home/pbulk/build/games/qstat/work/qstat-2.14 *** [all-recursive] Error code 1 bmake[1]: stopped in /home/pbulk/build/games/qstat/work/qstat-2.14 1 error bmake[1]: stopped in /home/pbulk/build/games/qstat/work/qstat-2.14 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/games/qstat/work/qstat-2.14 1 error bmake: stopped in /home/pbulk/build/games/qstat/work/qstat-2.14 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/qstat *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/qstat