=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/games/rocksndiamonds", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for rocksndiamonds-4.4.2.3nb1 gmake[1]: Entering directory '/tmp/work/games/rocksndiamonds/work/rocksndiamonds-4.4.2.3/src/libgame' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c system.c -o system.o gmake[1]: Entering directory '/tmp/work/games/rocksndiamonds/work/rocksndiamonds-4.4.2.3/src/game_bd' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c main_bd.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c bd_cave.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c gadgets.c -o gadgets.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c bd_cavedb.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c text.c -o text.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c bd_caveengine.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c sound.c -o sound.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c snapshot.c -o snapshot.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c joystick.c -o joystick.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c bd_caveobject.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c image.c -o image.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c bd_bdcff.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c random.c -o random.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c hash.c -o hash.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c list.c -o list.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c bd_caveset.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c http.c -o http.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c bd_c64import.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c base64.c -o base64.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c setup.c -o setup.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c bd_gameplay.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c bd_graphics.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c misc.c -o misc.o misc.c: In function 'getSplitStringArray': misc.c:1345:18: error: 'INT_MAX' undeclared (first use in this function) 1345 | max_tokens = INT_MAX; | ^~~~~~~ misc.c:34:1: note: 'INT_MAX' is defined in header ''; did you forget to '#include '? 33 | #include "image.h" +++ |+#include 34 | misc.c:1345:18: note: each undeclared identifier is reported only once for each function it appears in 1345 | max_tokens = INT_MAX; | ^~~~~~~ gmake[1]: *** [Makefile:70: misc.o] Error 1 gmake[1]: Leaving directory '/tmp/work/games/rocksndiamonds/work/rocksndiamonds-4.4.2.3/src/libgame' gmake: *** [Makefile:306: libgame_dir] Error 2 gmake: *** Waiting for unfinished jobs.... gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c bd_colors.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c bd_random.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/opt/local/include/SDL2 -D_REENTRANT -DBASE_PATH="\"/opt/local/share/rocksndiamonds\"" -c bd_sound.c ar cr game_bd.a main_bd.o bd_cave.o bd_cavedb.o bd_caveengine.o bd_caveobject.o bd_bdcff.o bd_caveset.o bd_c64import.o bd_gameplay.o bd_graphics.o bd_colors.o bd_random.o bd_sound.o ranlib game_bd.a gmake[1]: Leaving directory '/tmp/work/games/rocksndiamonds/work/rocksndiamonds-4.4.2.3/src/game_bd' *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/rocksndiamonds *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/rocksndiamonds