=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/games/dd2", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for dd2-0.2.2nb3 --- all-recursive --- Making all in src --- all-recursive --- Making all in data --- menu.o --- --- SDL_plus.o --- --- menu.o --- gcc -DPACKAGE=\"dd2\" -DVERSION=\"0.2.2\" -DHAVE_LIBM=1 -DHAVE_LIBSDL_MIXER=1 -I. -I. -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -DDD2_DATA=\"/opt/local/share/dd2\" -Wall -DDD2_SCORE=\"/var/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -Wall -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c menu.c --- SDL_plus.o --- gcc -DPACKAGE=\"dd2\" -DVERSION=\"0.2.2\" -DHAVE_LIBM=1 -DHAVE_LIBSDL_MIXER=1 -I. -I. -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -DDD2_DATA=\"/opt/local/share/dd2\" -Wall -DDD2_SCORE=\"/var/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -Wall -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c SDL_plus.c --- menu.o --- menu.c: In function 'getName': menu.c:88:16: warning: variable 'tick' set but not used [-Wunused-but-set-variable] 88 | Uint32 tick; | ^~~~ menu.c: In function 'hiscores': menu.c:283:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 283 | if (mevent.type==SDL_QUIT) | ^~ menu.c:285:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 285 | if(mevent.type==SDL_KEYDOWN) { | ^~ menu.c: In function 'credits': menu.c:659:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 659 | if (mevent.type==SDL_QUIT) | ^~ menu.c:661:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 661 | if(mevent.type==SDL_KEYDOWN) { | ^~ --- cfg.o --- gcc -DPACKAGE=\"dd2\" -DVERSION=\"0.2.2\" -DHAVE_LIBM=1 -DHAVE_LIBSDL_MIXER=1 -I. -I. -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -DDD2_DATA=\"/opt/local/share/dd2\" -Wall -DDD2_SCORE=\"/var/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -Wall -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c cfg.c --- engine.o --- gcc -DPACKAGE=\"dd2\" -DVERSION=\"0.2.2\" -DHAVE_LIBM=1 -DHAVE_LIBSDL_MIXER=1 -I. -I. -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -DDD2_DATA=\"/opt/local/share/dd2\" -Wall -DDD2_SCORE=\"/var/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -Wall -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c engine.c --- control.o --- gcc -DPACKAGE=\"dd2\" -DVERSION=\"0.2.2\" -DHAVE_LIBM=1 -DHAVE_LIBSDL_MIXER=1 -I. -I. -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -DDD2_DATA=\"/opt/local/share/dd2\" -Wall -DDD2_SCORE=\"/var/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -Wall -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c control.c --- engine.o --- engine.c: In function 'enemy_type5': engine.c:1688:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1688 | e->var[1]=(int)e & 0x0f; /* pseudo random :) */ | ^ --- main.o --- gcc -DPACKAGE=\"dd2\" -DVERSION=\"0.2.2\" -DHAVE_LIBM=1 -DHAVE_LIBSDL_MIXER=1 -I. -I. -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -DDD2_DATA=\"/opt/local/share/dd2\" -Wall -DDD2_SCORE=\"/var/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -Wall -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c main.c --- engine.o --- engine.c: In function 'engine_init': engine.c:171:14: warning: array subscript 64 is above array bounds of 'eDesc[64]' {aka 'struct edesc[64]'} [-Warray-bounds=] 171 | enemy[i].n=NULL; | ~~~~~^~~ engine.c:51:7: note: while referencing 'enemy' 51 | eDesc enemy[64]; | ^~~~~ engine.c:178:13: warning: array subscript 256 is above array bounds of 'fDesc[256]' {aka 'struct fdesc[256]'} [-Warray-bounds=] 178 | fire[i].n=NULL; | ~~~~^~~ engine.c:42:7: note: while referencing 'fire' 42 | fDesc fire[256]; | ^~~~ engine.c:179:13: warning: array subscript 256 is above array bounds of 'vDesc[256]' {aka 'struct vdesc[256]'} [-Warray-bounds=] 179 | vefx[i].n=NULL; | ~~~~^~~ engine.c:45:7: note: while referencing 'vefx' 45 | vDesc vefx[256]; | ^~~~ engine.c: In function 'engine_add_vefx': engine.c:589:31: warning: array subscript 7 is above array bounds of 'Mix_Chunk *[2]' [-Warray-bounds=] 589 | if(efx[7]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:577:31: warning: array subscript 7 is above array bounds of 'Mix_Chunk *[2]' [-Warray-bounds=] 577 | if(efx[7]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:565:31: warning: array subscript 4 is above array bounds of 'Mix_Chunk *[2]' [-Warray-bounds=] 565 | if(efx[4]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:549:31: warning: array subscript 6 is above array bounds of 'Mix_Chunk *[2]' [-Warray-bounds=] 549 | if(efx[6]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:531:31: warning: array subscript 3 is above array bounds of 'Mix_Chunk *[2]' [-Warray-bounds=] 531 | if(efx[3]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c: In function 'engine_obj': engine.c:397:79: warning: array subscript 7 is above array bounds of 'Mix_Chunk *[2]' [-Warray-bounds=] 397 | if(efx[7]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:330:79: warning: array subscript 7 is above array bounds of 'Mix_Chunk *[2]' [-Warray-bounds=] 330 | if(efx[7]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:383:87: warning: array subscript 7 is above array bounds of 'Mix_Chunk *[2]' [-Warray-bounds=] 383 | if(efx[7]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:365:87: warning: array subscript 7 is above array bounds of 'Mix_Chunk *[2]' [-Warray-bounds=] 365 | if(efx[7]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:347:87: warning: array subscript 7 is above array bounds of 'Mix_Chunk *[2]' [-Warray-bounds=] 347 | if(efx[7]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c: In function 'enemy_type6': engine.c:1896:47: warning: array subscript 5 is above array bounds of 'Mix_Chunk *[2]' [-Warray-bounds=] 1896 | if(efx[5]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c: In function 'enemy_type8': engine.c:2113:47: warning: array subscript 5 is above array bounds of 'Mix_Chunk *[2]' [-Warray-bounds=] 2113 | if(efx[5]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:2054:55: warning: array subscript 5 is above array bounds of 'Mix_Chunk *[2]' [-Warray-bounds=] 2054 | if(efx[5]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c: In function 'enemy_type10': engine.c:2345:55: warning: array subscript 5 is above array bounds of 'Mix_Chunk *[2]' [-Warray-bounds=] 2345 | if(efx[5]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c: In function 'engine_player': engine.c:1055:39: warning: array subscript 2 is above array bounds of 'Mix_Chunk *[2]' [-Warray-bounds=] 1055 | if(efx[2]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:1062:31: warning: array subscript 5 is above array bounds of 'Mix_Chunk *[2]' [-Warray-bounds=] 1062 | if(efx[5]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ --- dd2 --- gcc -DDD2_DATA=\"/opt/local/share/dd2\" -Wall -DDD2_SCORE=\"/var/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -Wall -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -o dd2 menu.o SDL_plus.o cfg.o engine.o control.o main.o -lSDL_mixer -lm -L/opt/local/lib -R/opt/local/lib -lSDL -lpthread -lposix4