+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=51 WRKLOG=/tmp/bulklog/stratagus-2.1nb24/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=51 WRKLOG=/tmp/bulklog/stratagus-2.1nb24/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for stratagus-2.1nb24 gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/action/obj/../action_attack.c -o src/action/obj/action_attack.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/action/obj/../action_board.c -o src/action/obj/action_board.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/action/obj/../action_build.c -o src/action/obj/action_build.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/action/obj/../action_die.c -o src/action/obj/action_die.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/action/obj/../action_follow.c -o src/action/obj/action_follow.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/action/obj/../action_move.c -o src/action/obj/action_move.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/action/obj/../action_patrol.c -o src/action/obj/action_patrol.o src/action/obj/../action_patrol.c: In function 'HandleActionPatrol': src/action/obj/../action_patrol.c:77:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 77 | tmp = (int)unit->Orders[0].Arg1; | ^ src/action/obj/../action_patrol.c:78:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 78 | unit->Orders[0].Arg1 = (void*)((unit->Orders[0].X << 16) | unit->Orders[0].Y); | ^ gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/action/obj/../action_repair.c -o src/action/obj/action_repair.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/action/obj/../action_research.c -o src/action/obj/action_research.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/action/obj/../action_resource.c -o src/action/obj/action_resource.o src/action/obj/../action_resource.c: In function 'LoseResource': src/action/obj/../action_resource.c:293:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 293 | unit->Orders[0].Arg1 = (void*)((unit->X << 16) | unit->Y); | ^ src/action/obj/../action_resource.c: In function 'StopGathering': src/action/obj/../action_resource.c:499:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 499 | unit->Orders[0].Arg1 = (void*)((unit->X << 16) | unit->Y); | ^ src/action/obj/../action_resource.c: In function 'WaitInDepot': src/action/obj/../action_resource.c:646:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 646 | x = (int)unit->Orders[0].Arg1 >> 16; | ^ src/action/obj/../action_resource.c:647:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 647 | y = (int)unit->Orders[0].Arg1 & 0xFFFF; | ^ gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/action/obj/../action_returngoods.c -o src/action/obj/action_returngoods.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/action/obj/../action_spellcast.c -o src/action/obj/action_spellcast.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/action/obj/../action_stand.c -o src/action/obj/action_stand.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/action/obj/../action_still.c -o src/action/obj/action_still.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/action/obj/../action_train.c -o src/action/obj/action_train.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/action/obj/../action_unload.c -o src/action/obj/action_unload.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/action/obj/../action_upgradeto.c -o src/action/obj/action_upgradeto.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/action/obj/../actions.c -o src/action/obj/actions.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/action/obj/../command.c -o src/action/obj/command.o src/action/obj/../command.c: In function 'CommandPatrolUnit': src/action/obj/../command.c:525:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 525 | order->Arg1 = (void*)((unit->X << 16) | unit->Y); | ^ gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/ai/obj/../ai.c -o src/ai/obj/ai.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/ai/obj/../ai_building.c -o src/ai/obj/ai_building.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/ai/obj/../ai_force.c -o src/ai/obj/ai_force.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/ai/obj/../ai_magic.c -o src/ai/obj/ai_magic.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/ai/obj/../ai_plan.c -o src/ai/obj/ai_plan.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/ai/obj/../ai_resource.c -o src/ai/obj/ai_resource.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/ai/obj/../script_ai.c -o src/ai/obj/script_ai.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/beos/obj/../beos.c -o src/beos/obj/beos.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/stratagus/obj/../script.c -o src/stratagus/obj/script.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/stratagus/obj/../script_player.c -o src/stratagus/obj/script_player.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/stratagus/obj/../stratagus.c -o src/stratagus/obj/stratagus.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/stratagus/obj/../construct.c -o src/stratagus/obj/construct.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/stratagus/obj/../groups.c -o src/stratagus/obj/groups.o gcc -c -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -I/usr/local/include src/stratagus/obj/../iolib.c -o src/stratagus/obj/iolib.o src/stratagus/obj/../iolib.c: In function 'CLopen': src/stratagus/obj/../iolib.c:162:52: error: assignment to 'struct gzFile_s **' from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-Wincompatible-pointer-types] 162 | (clf.cl_gz = gzopen(strcat(strcpy(buf, fn), ".gz"), openstring))) { | ^ src/stratagus/obj/../iolib.c:172:40: error: assignment to 'struct gzFile_s **' from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-Wincompatible-pointer-types] 172 | if ((clf.cl_gz = gzopen(strcat(strcpy(buf, fn), ".gz"), "rb"))) { | ^ src/stratagus/obj/../iolib.c:202:56: error: assignment to 'struct gzFile_s **' from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-Wincompatible-pointer-types] 202 | if ((clf.cl_gz = gzopen(fn, "rb"))) { | ^ src/stratagus/obj/../iolib.c: In function 'CLclose': src/stratagus/obj/../iolib.c:249:43: error: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] 249 | ret = gzclose(file->cl_gz); | ~~~~^~~~~~~ | | | struct gzFile_s ** In file included from ./src/include/iolib.h:43, from ./src/include/campaign.h:40, from src/stratagus/obj/../iolib.c:48: /home/pbulk/build/games/stratagus/work/.buildlink/include/zlib.h:1634:39: note: expected 'gzFile' {aka 'struct gzFile_s *'} but argument is of type 'struct gzFile_s **' 1634 | ZEXTERN int ZEXPORT gzclose(gzFile file); | ~~~~~~~^~~~ src/stratagus/obj/../iolib.c: In function 'CLread': src/stratagus/obj/../iolib.c:285:42: error: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] 285 | ret = gzread(file->cl_gz, buf, len); | ~~~~^~~~~~~ | | | struct gzFile_s ** /home/pbulk/build/games/stratagus/work/.buildlink/include/zlib.h:1395:35: note: expected 'gzFile' {aka 'struct gzFile_s *'} but argument is of type 'struct gzFile_s **' 1395 | ZEXTERN int ZEXPORT gzread(gzFile file, voidp buf, unsigned len); | ~~~~~~~^~~~ src/stratagus/obj/../iolib.c: In function 'CLprintf': src/stratagus/obj/../iolib.c:359:43: error: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] 359 | ret = gzwrite(file->cl_gz, p, size); | ~~~~^~~~~~~ | | | struct gzFile_s ** /home/pbulk/build/games/stratagus/work/.buildlink/include/zlib.h:1451:36: note: expected 'gzFile' {aka 'struct gzFile_s *'} but argument is of type 'struct gzFile_s **' 1451 | ZEXTERN int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len); | ~~~~~~~^~~~ src/stratagus/obj/../iolib.c: In function 'CLseek': src/stratagus/obj/../iolib.c:394:42: error: passing argument 1 of 'gzseek64' from incompatible pointer type [-Wincompatible-pointer-types] 394 | ret = gzseek(file->cl_gz, offset, whence); | ~~~~^~~~~~~ | | | struct gzFile_s ** /home/pbulk/build/games/stratagus/work/.buildlink/include/zlib.h:1860:39: note: expected 'gzFile' {aka 'struct gzFile_s *'} but argument is of type 'struct gzFile_s **' 1860 | ZEXTERN z_off64_t ZEXPORT gzseek64(gzFile, z_off64_t, int); | ^~~~~~ src/stratagus/obj/../iolib.c: In function 'CLtell': src/stratagus/obj/../iolib.c:427:42: error: passing argument 1 of 'gztell64' from incompatible pointer type [-Wincompatible-pointer-types] 427 | ret = gztell(file->cl_gz); | ~~~~^~~~~~~ | | | struct gzFile_s ** /home/pbulk/build/games/stratagus/work/.buildlink/include/zlib.h:1861:39: note: expected 'gzFile' {aka 'struct gzFile_s *'} but argument is of type 'struct gzFile_s **' 1861 | ZEXTERN z_off64_t ZEXPORT gztell64(gzFile); | ^~~~~~ gmake: *** [Makefile:70: src/stratagus/obj/iolib.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/stratagus *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/stratagus