+ 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/rocksndiamonds-4.4.1.3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rocksndiamonds-4.4.1.3/work.log ===> Building for rocksndiamonds-4.4.1.3 gmake[1]: Entering directory '/home/pbulk/build/games/rocksndiamonds/work/rocksndiamonds-4.4.1.3/src/libgame' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/pkg/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/pkg/share/rocksndiamonds\"" -c system.c -o system.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/pkg/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/pkg/share/rocksndiamonds\"" -c gadgets.c -o gadgets.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/pkg/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/pkg/share/rocksndiamonds\"" -c text.c -o text.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/pkg/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/pkg/share/rocksndiamonds\"" -c sound.c -o sound.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/pkg/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/pkg/share/rocksndiamonds\"" -c snapshot.c -o snapshot.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/pkg/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/pkg/share/rocksndiamonds\"" -c joystick.c -o joystick.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/pkg/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/pkg/share/rocksndiamonds\"" -c image.c -o image.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/pkg/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/pkg/share/rocksndiamonds\"" -c random.c -o random.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/pkg/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/pkg/share/rocksndiamonds\"" -c hash.c -o hash.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/pkg/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/pkg/share/rocksndiamonds\"" -c list.c -o list.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/pkg/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/pkg/share/rocksndiamonds\"" -c http.c -o http.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/pkg/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/pkg/share/rocksndiamonds\"" -c base64.c -o base64.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/pkg/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/pkg/share/rocksndiamonds\"" -c setup.c -o setup.o setup.c: In function 'getLevelSetTitleMessageFilename': setup.c:1126:27: warning: '.txt' directive writing 4 bytes into a region of size between 0 and 18 [-Wformat-overflow=] 1126 | sprintf(basename, "%s_%d.txt", | ^~~~ In function 'getLevelSetTitleMessageBasename', inlined from 'getLevelSetTitleMessageFilename' at setup.c:1140:14: setup.c:1126:3: note: 'sprintf' output between 19 and 37 bytes into a destination of size 32 1126 | sprintf(basename, "%s_%d.txt", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1127 | (initial ? "titlemessage_initial" : "titlemessage"), nr + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ setup.c: In function 'SaveLevelSetup_LastSeries_Ext': setup.c:5475:28: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 5475 | sprintf(token, "%s.%03d", TOKEN_STR_LAST_LEVEL_SERIES, i); | ^ setup.c:5475:5: note: 'sprintf' output between 22 and 30 bytes into a destination of size 29 5475 | sprintf(token, "%s.%03d", TOKEN_STR_LAST_LEVEL_SERIES, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/pkg/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/pkg/share/rocksndiamonds\"" -c misc.c -o misc.o misc.c: In function 'getSplitStringArray': misc.c:1342:18: error: 'INT_MAX' undeclared (first use in this function) 1342 | max_tokens = INT_MAX; | ^~~~~~~ misc.c:34:1: note: 'INT_MAX' is defined in header ''; this is probably fixable by adding '#include ' 33 | #include "image.h" +++ |+#include 34 | misc.c:1342:18: note: each undeclared identifier is reported only once for each function it appears in 1342 | max_tokens = INT_MAX; | ^~~~~~~ gmake[1]: *** [Makefile:70: misc.o] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/games/rocksndiamonds/work/rocksndiamonds-4.4.1.3/src/libgame' gmake: *** [Makefile:280: libgame_dir] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/rocksndiamonds *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/rocksndiamonds