=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for teg-0.12.0nb14 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/pbulk/work/games/teg/work/teg-0.12.0' Making all in . gmake[2]: Entering directory '/pbulk/work/games/teg/work/teg-0.12.0' /usr/pkg/bin/glib-compile-resources --sourcedir=./client/gui-gnome --target=stock_gresources.h \ --generate-header --manual-register --c-name=stock client/gui-gnome/stock.gresource.xml glib-compile-schemas --strict --dry-run --schema-file=client/gui-gnome/net.sf.teg.gschema.xml && mkdir -p client/gui-gnome && touch client/gui-gnome/net.sf.teg.gschema.valid /usr/pkg/bin/glib-compile-resources --sourcedir=./client/gui-gnome --target=stock_gresources.c \ --generate-source --manual-register --c-name=stock client/gui-gnome/stock.gresource.xml gcc -DHAVE_CONFIG_H -I. -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I./common -I./client -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -I/usr/pkg/include/libxml2 -O2 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -I/usr/pkg/include/libxml2 -Wall -Wno-unused-parameter -MT robot/tegrobot-main.o -MD -MP -MF robot/.deps/tegrobot-main.Tpo -c -o robot/tegrobot-main.o `test -f 'robot/main.c' || echo './'`robot/main.c gcc -DHAVE_CONFIG_H -I. -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I./common -I./client -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -I/usr/pkg/include/libxml2 -O2 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -I/usr/pkg/include/libxml2 -Wall -Wno-unused-parameter -MT robot/tegrobot-gui.o -MD -MP -MF robot/.deps/tegrobot-gui.Tpo -c -o robot/tegrobot-gui.o `test -f 'robot/gui.c' || echo './'`robot/gui.c gcc -DHAVE_CONFIG_H -I. -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I./common -I./client -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -I/usr/pkg/include/libxml2 -O2 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -I/usr/pkg/include/libxml2 -Wall -Wno-unused-parameter -MT robot/tegrobot-ai.o -MD -MP -MF robot/.deps/tegrobot-ai.Tpo -c -o robot/tegrobot-ai.o `test -f 'robot/ai.c' || echo './'`robot/ai.c gcc -DHAVE_CONFIG_H -I. -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I./common -I./client -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -I/usr/pkg/include/libxml2 -O2 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -I/usr/pkg/include/libxml2 -Wall -Wno-unused-parameter -MT robot/tegrobot-ai_msg.o -MD -MP -MF robot/.deps/tegrobot-ai_msg.Tpo -c -o robot/tegrobot-ai_msg.o `test -f 'robot/ai_msg.c' || echo './'`robot/ai_msg.c gcc -DHAVE_CONFIG_H -I. -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I./common -I./client -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -I/usr/pkg/include/libxml2 -O2 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -I/usr/pkg/include/libxml2 -Wall -Wno-unused-parameter -MT robot/tegrobot-ai_misc.o -MD -MP -MF robot/.deps/tegrobot-ai_misc.Tpo -c -o robot/tegrobot-ai_misc.o `test -f 'robot/ai_misc.c' || echo './'`robot/ai_misc.c gcc -DHAVE_CONFIG_H -I. -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I./common -I./client -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -I/usr/pkg/include/libxml2 -O2 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -I/usr/pkg/include/libxml2 -Wall -Wno-unused-parameter -MT robot/tegrobot-ai_fichas.o -MD -MP -MF robot/.deps/tegrobot-ai_fichas.Tpo -c -o robot/tegrobot-ai_fichas.o `test -f 'robot/ai_fichas.c' || echo './'`robot/ai_fichas.c gcc -DHAVE_CONFIG_H -I. -I/usr/pkg/include/libxml2 -D_REENTRANT -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I./common -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -I/usr/pkg/include/libxml2 -O2 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -I/usr/pkg/include/libxml2 -Wall -Wno-unused-parameter -MT server/tegserver-main.o -MD -MP -MF server/.deps/tegserver-main.Tpo -c -o server/tegserver-main.o `test -f 'server/main.c' || echo './'`server/main.c gcc -DHAVE_CONFIG_H -I. -I/usr/pkg/include/libxml2 -D_REENTRANT -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I./common -DBINDIR=\"/usr/pkg/bin\" -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -I/usr/pkg/include/libxml2 -O2 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -I/usr/pkg/include/libxml2 -Wall -Wno-unused-parameter -MT server/libtegserver_a-player.o -MD -MP -MF server/.deps/libtegserver_a-player.Tpo -c -o server/libtegserver_a-player.o `test -f 'server/player.c' || echo './'`server/player.c In file included from ./client/player.h:23:0, from ./client/client.h:27, from robot/main.c:29: ./client/../common/common.h:79:0: warning: "RANDOM_MAX" redefined #define RANDOM_MAX(_min,_max) (_min+(int)(((float)(1+_max-_min))*rand() / (RAND_MAX+1.0))) In file included from ./client/../common/common.h:24:0, from ./client/player.h:23, from ./client/client.h:27, from robot/main.c:29: /usr/include/stdlib.h:188:0: note: this is the location of the previous definition #define RANDOM_MAX 0x7fffffff /* (((long)1 << 31) - 1) */ In file included from ./client/player.h:23:0, from ./client/client.h:27, from robot/ai.c:32: ./client/../common/common.h:79:0: warning: "RANDOM_MAX" redefined #define RANDOM_MAX(_min,_max) (_min+(int)(((float)(1+_max-_min))*rand() / (RAND_MAX+1.0))) In file included from ./client/../common/common.h:24:0, from ./client/player.h:23, from ./client/client.h:27, from robot/ai.c:32: /usr/include/stdlib.h:188:0: note: this is the location of the previous definition #define RANDOM_MAX 0x7fffffff /* (((long)1 << 31) - 1) */ In file included from server/../common/tarjeta.h:25:0, from server/server.h:28, from server/main.c:42: server/../common/common.h:79:0: warning: "RANDOM_MAX" redefined #define RANDOM_MAX(_min,_max) (_min+(int)(((float)(1+_max-_min))*rand() / (RAND_MAX+1.0))) In file included from server/main.c:24:0: /usr/include/stdlib.h:188:0: note: this is the location of the previous definition #define RANDOM_MAX 0x7fffffff /* (((long)1 << 31) - 1) */ In file included from server/main.c:48:0: server/main.c: In function 'main_loop': server/../common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/main.c:51:20: note: in expansion of macro 'PDEBUG' #define MAIN_DEBUG PDEBUG ^~~~~~ server/main.c:262:4: note: in expansion of macro 'MAIN_DEBUG' MAIN_DEBUG("timeout\n"); ^~~~~~~~~~ server/../common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/main.c:51:20: note: in expansion of macro 'PDEBUG' #define MAIN_DEBUG PDEBUG ^~~~~~ server/main.c:272:4: note: in expansion of macro 'MAIN_DEBUG' MAIN_DEBUG("new client\n"); ^~~~~~~~~~ server/../common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/main.c:51:20: note: in expansion of macro 'PDEBUG' #define MAIN_DEBUG PDEBUG ^~~~~~ server/main.c:303:6: note: in expansion of macro 'MAIN_DEBUG' MAIN_DEBUG("closing connection\n"); ^~~~~~~~~~ gmake[2]: *** [Makefile:2291: server/tegserver-main.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... mv -f robot/.deps/tegrobot-main.Tpo robot/.deps/tegrobot-main.Po In file included from ./client/player.h:23:0, from ./client/client.h:27, from robot/gui.c:38: ./client/../common/common.h:79:0: warning: "RANDOM_MAX" redefined #define RANDOM_MAX(_min,_max) (_min+(int)(((float)(1+_max-_min))*rand() / (RAND_MAX+1.0))) In file included from ./client/../common/common.h:24:0, from ./client/player.h:23, from ./client/client.h:27, from robot/gui.c:38: /usr/include/stdlib.h:188:0: note: this is the location of the previous definition #define RANDOM_MAX 0x7fffffff /* (((long)1 << 31) - 1) */ In file included from ./client/player.h:23:0, from ./client/client.h:27, from robot/ai_msg.c:30: ./client/../common/common.h:79:0: warning: "RANDOM_MAX" redefined #define RANDOM_MAX(_min,_max) (_min+(int)(((float)(1+_max-_min))*rand() / (RAND_MAX+1.0))) In file included from ./client/../common/common.h:24:0, from ./client/player.h:23, from ./client/client.h:27, from robot/ai_msg.c:30: /usr/include/stdlib.h:188:0: note: this is the location of the previous definition #define RANDOM_MAX 0x7fffffff /* (((long)1 << 31) - 1) */ mv -f robot/.deps/tegrobot-ai.Tpo robot/.deps/tegrobot-ai.Po mv -f robot/.deps/tegrobot-ai_msg.Tpo robot/.deps/tegrobot-ai_msg.Po In file included from ./client/player.h:23:0, from ./client/client.h:27, from robot/ai_misc.c:24: ./client/../common/common.h:79:0: warning: "RANDOM_MAX" redefined #define RANDOM_MAX(_min,_max) (_min+(int)(((float)(1+_max-_min))*rand() / (RAND_MAX+1.0))) In file included from robot/ai_misc.c:21:0: /usr/include/stdlib.h:188:0: note: this is the location of the previous definition #define RANDOM_MAX 0x7fffffff /* (((long)1 << 31) - 1) */ mv -f robot/.deps/tegrobot-gui.Tpo robot/.deps/tegrobot-gui.Po In file included from ./client/player.h:23:0, from ./client/client.h:27, from robot/ai_fichas.c:33: ./client/../common/common.h:79:0: warning: "RANDOM_MAX" redefined #define RANDOM_MAX(_min,_max) (_min+(int)(((float)(1+_max-_min))*rand() / (RAND_MAX+1.0))) In file included from ./client/../common/common.h:24:0, from ./client/player.h:23, from ./client/client.h:27, from robot/ai_fichas.c:33: /usr/include/stdlib.h:188:0: note: this is the location of the previous definition #define RANDOM_MAX 0x7fffffff /* (((long)1 << 31) - 1) */ mv -f robot/.deps/tegrobot-ai_misc.Tpo robot/.deps/tegrobot-ai_misc.Po In file included from server/../common/tarjeta.h:25:0, from server/server.h:28, from server/player.c:29: server/../common/common.h:79:0: warning: "RANDOM_MAX" redefined #define RANDOM_MAX(_min,_max) (_min+(int)(((float)(1+_max-_min))*rand() / (RAND_MAX+1.0))) In file included from server/player.c:23:0: /usr/include/stdlib.h:188:0: note: this is the location of the previous definition #define RANDOM_MAX 0x7fffffff /* (((long)1 << 31) - 1) */ mv -f robot/.deps/tegrobot-ai_fichas.Tpo robot/.deps/tegrobot-ai_fichas.Po mv -f server/.deps/libtegserver_a-player.Tpo server/.deps/libtegserver_a-player.Po gmake[2]: Leaving directory '/pbulk/work/games/teg/work/teg-0.12.0' gmake[1]: *** [Makefile:2554: all-recursive] Error 1 gmake[1]: Leaving directory '/pbulk/work/games/teg/work/teg-0.12.0' gmake: *** [Makefile:972: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/games/teg *** Error code 1 Stop. make: stopped in /usr/pkgsrc/games/teg