=> 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.0nb8 /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 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 -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -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 -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -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 -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -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 -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -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 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 -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -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 -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -Wall -Wno-unused-parameter -MT server/libtegserver_a-sernet.o -MD -MP -MF server/.deps/libtegserver_a-sernet.Tpo -c -o server/libtegserver_a-sernet.o `test -f 'server/sernet.c' || echo './'`server/sernet.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 -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -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 -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -Wall -Wno-unused-parameter -MT server/libtegserver_a-countries.o -MD -MP -MF server/.deps/libtegserver_a-countries.Tpo -c -o server/libtegserver_a-countries.o `test -f 'server/countries.c' || echo './'`server/countries.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 -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -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 -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -Wall -Wno-unused-parameter -MT server/libtegserver_a-play.o -MD -MP -MF server/.deps/libtegserver_a-play.Tpo -c -o server/libtegserver_a-play.o `test -f 'server/play.c' || echo './'`server/play.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 -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -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 -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -Wall -Wno-unused-parameter -MT server/libtegserver_a-turno.o -MD -MP -MF server/.deps/libtegserver_a-turno.Tpo -c -o server/libtegserver_a-turno.o `test -f 'server/turno.c' || echo './'`server/turno.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 -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -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 -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -Wall -Wno-unused-parameter -MT server/libtegserver_a-console.o -MD -MP -MF server/.deps/libtegserver_a-console.Tpo -c -o server/libtegserver_a-console.o `test -f 'server/console.c' || echo './'`server/console.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 -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -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 -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -Wall -Wno-unused-parameter -MT server/libtegserver_a-helper.o -MD -MP -MF server/.deps/libtegserver_a-helper.Tpo -c -o server/libtegserver_a-helper.o `test -f 'server/helper.c' || echo './'`server/helper.c 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/../common/tarjeta.h:25:0, from server/server.h:28, from server/countries.c:24: 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) */ In file included from server/countries.c:22: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/../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/console.c:41:0: 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/console.c:29: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/../common/tarjeta.h:25:0, from server/server.h:28, from server/play.c:36: 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/play.c:28: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"); ^~~~~~~~~~ In file included from server/play.c:37:0: server/play.c: In function 'token_loque': 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"); ^~~~~~~~~~ ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:148:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_loque()"); ^~~~~~~~~~ server/play.c: In function 'token_color': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:184:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_color()"); ^~~~~~~~~~ server/play.c: In function 'token_mission': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:228:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_mission()"); ^~~~~~~~~~ server/play.c: In function 'token_turn': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:253:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_turn()"); ^~~~~~~~~~ server/play.c: In function 'token_message': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:289:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_message()\n"); ^~~~~~~~~~ server/play.c: In function 'token_rem': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:311:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_rem()\n"); ^~~~~~~~~~ server/play.c: In function 'token_qumm': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:326:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_qumm()\n"); ^~~~~~~~~~ In file included from server/../common/tarjeta.h:25:0, from server/../common/country.h:23, from server/player.h:26, from server/sernet.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))) server/play.c: In function 'token_playerid': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:350:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_playerid( fd=%d)\n", fd); ^~~~~~~~~~ ./common/tegdebug.h:29:46: warning: format '%d' expects a matching 'int' argument [-Wformat=] # define PDEBUG(format, ...) fprintf(stderr, "%s:%d(%s)" format, \ ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:350:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_playerid( fd=%d)\n", fd); ^~~~~~~~~~ server/play.c:350:34: note: format string is defined here PLAY_DEBUG("token_playerid( fd=%d)\n", fd); ~^ In file included from server/../common/common.h:24:0, from server/../common/tarjeta.h:25, from server/../common/country.h:23, from server/player.h:26, from server/sernet.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 server/play.c:37:0: server/play.c: In function 'token_fichas': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:451:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_fichas()\n"); ^~~~~~~~~~ server/play.c: In function 'token_fichas2': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:473:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_fichas2()\n"); ^~~~~~~~~~ server/play.c: In function 'token_fichasc': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:496:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_fichasc()\n"); ^~~~~~~~~~ server/play.c: In function 'token_robot': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:536:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_robot()\n"); ^~~~~~~~~~ server/play.c: In function 'token_attack': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:577:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_attack()\n"); ^~~~~~~~~~ server/play.c: In function 'token_tropas': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:753:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_tropas()\n"); ^~~~~~~~~~ server/play.c: In function 'token_card': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:826:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_card()\n"); ^~~~~~~~~~ server/play.c: In function 'token_enum_cards': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:888:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_enum_cards()\n"); ^~~~~~~~~~ server/play.c: In function 'token_new_round': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:928:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_new_round()\n"); ^~~~~~~~~~ server/play.c: In function 'token_ejer2': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:958:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_ejer2()\n"); ^~~~~~~~~~ server/play.c: In function 'token_canje': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:1020:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_canje()\n"); ^~~~~~~~~~ server/play.c: In function 'token_regroup': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:1090:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_regroup()\n"); ^~~~~~~~~~ server/play.c: In function 'token_status': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:1173:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_status()\n"); ^~~~~~~~~~ server/play.c: In function 'token_scores': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:1197:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_scores()\n"); ^~~~~~~~~~ server/play.c: In function 'token_countries': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:1227:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_countries()\n"); ^~~~~~~~~~ server/play.c: In function 'token_start': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:1294:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_start()\n"); ^~~~~~~~~~ server/play.c: In function 'token_typeofgame': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:1350:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_typeofgame()\n"); ^~~~~~~~~~ server/play.c: In function 'token_test': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:1376:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_test()\n"); ^~~~~~~~~~ server/play.c: In function 'token_sversion': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:1384:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_sversion()\n"); ^~~~~~~~~~ server/play.c: In function 'token_pversion': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:1399:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_pversion()\n"); ^~~~~~~~~~ server/play.c: In function 'token_exit': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:1445:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_exit\n"); ^~~~~~~~~~ server/play.c: In function 'token_surrender': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:1460:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("token_surrender\n"); ^~~~~~~~~~ server/play.c: In function 'token_lookup': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:1508:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("Token '%s' no encontrado\n", p->token); ^~~~~~~~~~ ./common/tegdebug.h:29:46: warning: format '%s' expects a matching 'char *' argument [-Wformat=] # define PDEBUG(format, ...) fprintf(stderr, "%s:%d(%s)" format, \ ^ server/play.c:45:20: note: in expansion of macro 'PDEBUG' #define PLAY_DEBUG PDEBUG ^~~~~~ server/play.c:1508:2: note: in expansion of macro 'PLAY_DEBUG' PLAY_DEBUG("Token '%s' no encontrado\n", p->token); ^~~~~~~~~~ server/play.c:1508:22: note: format string is defined here PLAY_DEBUG("Token '%s' no encontrado\n", p->token); ~^ In file included from server/../common/tarjeta.h:25:0, from server/server.h:28, from server/turno.c:30: 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/turno.c:26: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/../common/tarjeta.h:25:0, from server/server.h:28, from server/helper.c:38: 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/helper.c:25:0: /usr/include/stdlib.h:188:0: note: this is the location of the previous definition #define RANDOM_MAX 0x7fffffff /* (((long)1 << 31) - 1) */ gmake[2]: *** [Makefile:2286: server/tegserver-main.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... In file included from server/helper.c:36:0: server/helper.c: In function 'get_random_country': server/../common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/helper.c:331:4: note: in expansion of macro 'PDEBUG' PDEBUG("uncountryelibre(down): Abnormal error\n"); ^~~~~~ server/../common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/helper.c:345:4: note: in expansion of macro 'PDEBUG' PDEBUG("uncountrylibre(up):Abnormal error\n"); ^~~~~~ In file included from server/turno.c:31:0: server/turno.c: In function 'turno_2nextplayer': ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/turno.c:34:21: note: in expansion of macro 'PDEBUG' #define TURNO_DEBUG PDEBUG ^~~~~~ server/turno.c:43:2: note: in expansion of macro 'TURNO_DEBUG' TURNO_DEBUG("Old turn: '%s'\n", (*ppJ)->name); ^~~~~~~~~~~ ./common/tegdebug.h:29:46: warning: format '%s' expects a matching 'char *' argument [-Wformat=] # define PDEBUG(format, ...) fprintf(stderr, "%s:%d(%s)" format, \ ^ server/turno.c:34:21: note: in expansion of macro 'PDEBUG' #define TURNO_DEBUG PDEBUG ^~~~~~ server/turno.c:43:2: note: in expansion of macro 'TURNO_DEBUG' TURNO_DEBUG("Old turn: '%s'\n", (*ppJ)->name); ^~~~~~~~~~~ server/turno.c:43:27: note: format string is defined here TURNO_DEBUG("Old turn: '%s'\n", (*ppJ)->name); ~^ In file included from server/turno.c:31:0: ./common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ server/turno.c:34:21: note: in expansion of macro 'PDEBUG' #define TURNO_DEBUG PDEBUG ^~~~~~ server/turno.c:55:4: note: in expansion of macro 'TURNO_DEBUG' TURNO_DEBUG("New turn: '%s'\n", pJ->name); ^~~~~~~~~~~ ./common/tegdebug.h:29:46: warning: format '%s' expects a matching 'char *' argument [-Wformat=] # define PDEBUG(format, ...) fprintf(stderr, "%s:%d(%s)" format, \ ^ server/turno.c:34:21: note: in expansion of macro 'PDEBUG' #define TURNO_DEBUG PDEBUG ^~~~~~ server/turno.c:55:4: note: in expansion of macro 'TURNO_DEBUG' TURNO_DEBUG("New turn: '%s'\n", pJ->name); ^~~~~~~~~~~ server/turno.c:55:29: note: format string is defined here TURNO_DEBUG("New turn: '%s'\n", pJ->name); ~^ gmake[2]: *** [Makefile:2076: server/libtegserver_a-play.o] Error 1 gmake[2]: *** [Makefile:2118: server/libtegserver_a-helper.o] Error 1 gmake[2]: *** [Makefile:2090: server/libtegserver_a-turno.o] Error 1 mv -f server/.deps/libtegserver_a-countries.Tpo server/.deps/libtegserver_a-countries.Po mv -f server/.deps/libtegserver_a-sernet.Tpo server/.deps/libtegserver_a-sernet.Po mv -f server/.deps/libtegserver_a-console.Tpo server/.deps/libtegserver_a-console.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:2549: all-recursive] Error 1 gmake[1]: Leaving directory '/pbulk/work/games/teg/work/teg-0.12.0' gmake: *** [Makefile:957: 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