+ 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/orbital_eunuchs_sniper-1.30nb6/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/orbital_eunuchs_sniper-1.30nb6/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for orbital_eunuchs_sniper-1.30nb6 /opt/pkg/bin/bmake all-recursive Making all in bin Making all in src /opt/pkg/bin/bmake all-am if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -MT ai.o -MD -MP -MF ".deps/ai.Tpo" -c -o ai.o ai.cpp; then mv -f ".deps/ai.Tpo" ".deps/ai.Po"; else rm -f ".deps/ai.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -MT binds.o -MD -MP -MF ".deps/binds.Tpo" -c -o binds.o binds.cpp; then mv -f ".deps/binds.Tpo" ".deps/binds.Po"; else rm -f ".deps/binds.Tpo"; exit 1; fi binds.cpp: In function 'int (* (* oeskeymap_init(int (* (*)[512])(int)))[512])(int)': binds.cpp:118:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 118 | char *keysname="keys.cfg"; | ^~~~~~~~~~ if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -MT gameover.o -MD -MP -MF ".deps/gameover.Tpo" -c -o gameover.o gameover.cpp; then mv -f ".deps/gameover.Tpo" ".deps/gameover.Po"; else rm -f ".deps/gameover.Tpo"; exit 1; fi gameover.cpp: In function 'int draw_gameover(SDL_Surface*, const SDL_Rect*)': gameover.cpp:243:13: warning: variable 'w' set but not used [-Wunused-but-set-variable] 243 | int x, y, w, h; | ^ gameover.cpp:243:16: warning: variable 'h' set but not used [-Wunused-but-set-variable] 243 | int x, y, w, h; | ^ if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -MT highscores.o -MD -MP -MF ".deps/highscores.Tpo" -c -o highscores.o highscores.cpp; then mv -f ".deps/highscores.Tpo" ".deps/highscores.Po"; else rm -f ".deps/highscores.Tpo"; exit 1; fi highscores.cpp: In function 'int draw_hiscores(SDL_Surface*, const SDL_Rect*)': highscores.cpp:36:13: warning: variable 'w' set but not used [-Wunused-but-set-variable] 36 | int x, y, w, h; | ^ highscores.cpp:36:16: warning: variable 'h' set but not used [-Wunused-but-set-variable] 36 | int x, y, w, h; | ^ if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -MT logoscreen.o -MD -MP -MF ".deps/logoscreen.Tpo" -c -o logoscreen.o logoscreen.cpp; then mv -f ".deps/logoscreen.Tpo" ".deps/logoscreen.Po"; else rm -f ".deps/logoscreen.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -MT petopt.o -MD -MP -MF ".deps/petopt.Tpo" -c -o petopt.o petopt.cpp; then mv -f ".deps/petopt.Tpo" ".deps/petopt.Po"; else rm -f ".deps/petopt.Tpo"; exit 1; fi petopt.cpp: In function 'int petopt_parse_option(PETOPT*, PETOPTS**, const char**)': petopt.cpp:149:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | boolval = "true"; | ^~~~~~ petopt.cpp:154:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 154 | boolval = "false"; | ^~~~~~~ if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -MT prefs.o -MD -MP -MF ".deps/prefs.Tpo" -c -o prefs.o prefs.cpp; then mv -f ".deps/prefs.Tpo" ".deps/prefs.Po"; else rm -f ".deps/prefs.Tpo"; exit 1; fi prefs.cpp: In function 'PREFS* prefs_init(PREFS*)': prefs.cpp:12:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 12 | #define WWWBROWSER "mozilla" | ^~~~~~~~~ prefs.cpp:115:22: note: in expansion of macro 'WWWBROWSER' 115 | self->wwwbrowser = WWWBROWSER; | ^~~~~~~~~~ prefs.cpp: In function 'PREFS* prefs_load(PREFS*)': prefs.cpp:157:9: warning: variable 's' set but not used [-Wunused-but-set-variable] 157 | char *s; | ^ if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -MT prints.o -MD -MP -MF ".deps/prints.Tpo" -c -o prints.o prints.cpp; then mv -f ".deps/prints.Tpo" ".deps/prints.Po"; else rm -f ".deps/prints.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -MT render_ai.o -MD -MP -MF ".deps/render_ai.Tpo" -c -o render_ai.o render_ai.cpp; then mv -f ".deps/render_ai.Tpo" ".deps/render_ai.Po"; else rm -f ".deps/render_ai.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -MT snipe2d.o -MD -MP -MF ".deps/snipe2d.Tpo" -c -o snipe2d.o snipe2d.cpp; then mv -f ".deps/snipe2d.Tpo" ".deps/snipe2d.Po"; else rm -f ".deps/snipe2d.Tpo"; exit 1; fi snipe2d.cpp: In function 'void parse_args(int, char**)': snipe2d.cpp:396:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 396 | { 'n', POF_BOOL, "noaudio", &au, "Disable Audio" }, | ^~~~~~~~~ snipe2d.cpp:396:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 396 | { 'n', POF_BOOL, "noaudio", &au, "Disable Audio" }, | ^~~~~~~~~~~~~~~ snipe2d.cpp:397:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 397 | { 'f', POF_BOOL, "fullscreen", &fs, "Enable Fullscreen" }, | ^~~~~~~~~~~~ snipe2d.cpp:397:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 397 | { 'f', POF_BOOL, "fullscreen", &fs, "Enable Fullscreen" }, | ^~~~~~~~~~~~~~~~~~~ snipe2d.cpp:398:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 398 | { 'w', POF_BOOL, "windowed", &fs, "Disable Fullscreen" }, | ^~~~~~~~~~ snipe2d.cpp:398:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 398 | { 'w', POF_BOOL, "windowed", &fs, "Disable Fullscreen" }, | ^~~~~~~~~~~~~~~~~~~~ snipe2d.cpp:399:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 399 | { 'a', POF_BOOL, "audio", &au, "Enable Audio" }, | ^~~~~~~ snipe2d.cpp:399:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 399 | { 'a', POF_BOOL, "audio", &au, "Enable Audio" }, | ^~~~~~~~~~~~~~ snipe2d.cpp:400:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 400 | { '1', POF_OPT|POF_INT,"diff1", &ds, "Difficulty Setting 1" }, | ^~~~~~~ snipe2d.cpp:400:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 400 | { '1', POF_OPT|POF_INT,"diff1", &ds, "Difficulty Setting 1" }, | ^~~~~~~~~~~~~~~~~~~~~~ snipe2d.cpp:401:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 401 | { '2', POF_OPT|POF_INT,"diff2", &ds, "Difficulty Setting 2" }, | ^~~~~~~ snipe2d.cpp:401:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 401 | { '2', POF_OPT|POF_INT,"diff2", &ds, "Difficulty Setting 2" }, | ^~~~~~~~~~~~~~~~~~~~~~ snipe2d.cpp:402:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 402 | { '3', POF_OPT|POF_INT,"diff3", &ds, "Difficulty Setting 3" }, | ^~~~~~~ snipe2d.cpp:402:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 402 | { '3', POF_OPT|POF_INT,"diff3", &ds, "Difficulty Setting 3" }, | ^~~~~~~~~~~~~~~~~~~~~~ snipe2d.cpp:403:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 403 | { 'h', 0, "help", NULL, "Extended mode" }, | ^~~~~~ snipe2d.cpp:403:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 403 | { 'h', 0, "help", NULL, "Extended mode" }, | ^~~~~~~~~~~~~~~ if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -MT target.o -MD -MP -MF ".deps/target.Tpo" -c -o target.o target.cpp; then mv -f ".deps/target.Tpo" ".deps/target.Po"; else rm -f ".deps/target.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -MT ui.o -MD -MP -MF ".deps/ui.Tpo" -c -o ui.o ui.cpp; then mv -f ".deps/ui.Tpo" ".deps/ui.Po"; else rm -f ".deps/ui.Tpo"; exit 1; fi ui.cpp: In function 'void oesui_props_delete(oesui_props_t*)': ui.cpp:239:19: warning: variable 'next' set but not used [-Wunused-but-set-variable] 239 | llist_t *iter, *next; | ^~~~ ui.cpp: In function 'int oesui_event(oesui_t*, int, int)': ui.cpp:1360:15: warning: variable 'objtype' set but not used [-Wunused-but-set-variable] 1360 | const char *objtype; | ^~~~~~~ ui.cpp: In function 'int oesui_load(oesui_t*, const char*)': ui.cpp:1479:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1479 | char * menuname = "menus.cfg"; | ^~~~~~~~~~~ ui.cpp: In function 'void oesui_props_delete(oesui_props_t*)': ui.cpp:241:38: warning: pointer 'iter' used after 'void std::free(void*)' [-Wuse-after-free] 241 | for (iter = self->list; iter; iter = iter->next) | ~~~~~^~~~~~~~~~~~ ui.cpp:246:11: note: call to 'void std::free(void*)' here 246 | free(iter); | ~~~~^~~~~~ if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -MT zooms.o -MD -MP -MF ".deps/zooms.Tpo" -c -o zooms.o zooms.cpp; then mv -f ".deps/zooms.Tpo" ".deps/zooms.Po"; else rm -f ".deps/zooms.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -MT sexp.o -MD -MP -MF ".deps/sexp.Tpo" -c -o sexp.o `test -f 'sexpr/sexp.c' || echo './'`sexpr/sexp.c; then mv -f ".deps/sexp.Tpo" ".deps/sexp.Po"; else rm -f ".deps/sexp.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -MT sexp_ops.o -MD -MP -MF ".deps/sexp_ops.Tpo" -c -o sexp_ops.o `test -f 'sexpr/sexp_ops.c' || echo './'`sexpr/sexp_ops.c; then mv -f ".deps/sexp_ops.Tpo" ".deps/sexp_ops.Po"; else rm -f ".deps/sexp_ops.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -MT faststack.o -MD -MP -MF ".deps/faststack.Tpo" -c -o faststack.o `test -f 'sexpr/faststack.c' || echo './'`sexpr/faststack.c; then mv -f ".deps/faststack.Tpo" ".deps/faststack.Po"; else rm -f ".deps/faststack.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -MT io.o -MD -MP -MF ".deps/io.Tpo" -c -o io.o `test -f 'sexpr/io.c' || echo './'`sexpr/io.c; then mv -f ".deps/io.Tpo" ".deps/io.Po"; else rm -f ".deps/io.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -MT parser.o -MD -MP -MF ".deps/parser.Tpo" -c -o parser.o `test -f 'sexpr/parser.c' || echo './'`sexpr/parser.c; then mv -f ".deps/parser.Tpo" ".deps/parser.Po"; else rm -f ".deps/parser.Tpo"; exit 1; fi sexpr/parser.c: In function 'iparse_sexp': sexpr/parser.c:321:12: warning: variable 'pc' set but not used [-Wunused-but-set-variable] 321 | pcont_t *pc; | ^~ g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -o snipe2d.i86pc.dynamic ai.o binds.o gameover.o highscores.o logoscreen.o petopt.o prefs.o prints.o render_ai.o snipe2d.o target.o ui.o zooms.o sexp.o sexp_ops.o faststack.o io.o parser.o -lSDL_mixer -lSDL_image -lSDL -pthread -lpthread -lrt