+ 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 ===> 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 --- --- 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 -Wall -MT xform.o -MD -MP -MF .deps/xform.Tpo -c -o xform.o xform.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 -Wall -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o config.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 -Wall -MT debug.o -MD -MP -MF .deps/debug.Tpo -c -o debug.o debug.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 -Wall -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c --- debug.o --- debug.c: In function '_dump_packet': debug.c:106:17: error: 'PATH_MAX' undeclared (first use in this function) 106 | char fn[PATH_MAX] = {0}; | ^~~~~~~~ debug.c:106:17: note: each undeclared identifier is reported only once for each function it appears in debug.c:106:14: warning: unused variable 'fn' [-Wunused-variable] 106 | char fn[PATH_MAX] = {0}; | ^~ --- utils.o --- utils.c: In function 'str_replace': utils.c:113:17: 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); | ^~~~~~~~~~~~~~~ utils.c:114:17: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- debug.o --- *** [debug.o] Error code 1 bmake[2]: stopped making "all-am" in /home/pbulk/build/games/qstat/work/qstat-2.14 --- utils.o --- mv -f .deps/utils.Tpo .deps/utils.Po --- xform.o --- xform.c: In function 'xform_buf_resize': xform.c:130:51: warning: pointer 'oldbuf' may be used after 'realloc' [-Wuse-after-free] 130 | *bufp = xform_buf->buf + ((*bufp) - oldbuf); | ~~~~~~~~~^~~~~~~~~ xform.c:125:31: note: call to 'realloc' here 125 | if ((xform_buf->buf = realloc(xform_buf->buf, size)) == NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xform.c: In function 'xform_name': xform.c:430:54: 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]); | ^~~~~~ In function 'xform_name_u2', inlined from 'xform_name' at xform.c:716:7: xform.c:430:40: note: using the range [0, 255] for directive argument 430 | sprintf(color, "#%02hhx%02hhx%02hhx", s[0], s[1], s[2]); | ^~~~~~~~~~~~~~~~~~~~~ xform.c:430:25: note: 'sprintf' output 8 bytes into a destination of size 5 430 | sprintf(color, "#%02hhx%02hhx%02hhx", s[0], s[1], s[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- config.o --- config.c: In function 'qsc_load_default_config_files': config.c:198:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 198 | strncpy( path, var, len); | ^~~~~~~~~~~~~~~~~~~~~~~~ config.c:195:18: note: length computed here 195 | int len= strlen(var); | ^~~~~~~~~~~ --- xform.o --- mv -f .deps/xform.Tpo .deps/xform.Po --- config.o --- mv -f .deps/config.Tpo .deps/config.Po bmake[2]: 1 error bmake[2]: stopped making "all-am" in /home/pbulk/build/games/qstat/work/qstat-2.14 bmake[1]: stopped making "all-recursive" in /home/pbulk/build/games/qstat/work/qstat-2.14 bmake: stopped making "all" in /home/pbulk/build/games/qstat/work/qstat-2.14 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/qstat *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/qstat