=> 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.0nb4
/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
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 -DBINDIR=\"/usr/pkg/bin\" -DTHEMEDIR=\"/usr/pkg/share/pixmaps/teg_pix/themes/\" -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 client/libclient_a-player.o -MD -MP -MF client/.deps/libclient_a-player.Tpo -c -o client/libclient_a-player.o `test -f 'client/player.c' || echo './'`client/player.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 -DBINDIR=\"/usr/pkg/bin\" -DTHEMEDIR=\"/usr/pkg/share/pixmaps/teg_pix/themes/\" -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 client/libclient_a-misc.o -MD -MP -MF client/.deps/libclient_a-misc.Tpo -c -o client/libclient_a-misc.o `test -f 'client/misc.c' || echo './'`client/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 -DBINDIR=\"/usr/pkg/bin\" -DTHEMEDIR=\"/usr/pkg/share/pixmaps/teg_pix/themes/\" -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 client/libclient_a-inputfd.o -MD -MP -MF client/.deps/libclient_a-inputfd.Tpo -c -o client/libclient_a-inputfd.o `test -f 'client/inputfd.c' || echo './'`client/inputfd.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 -DBINDIR=\"/usr/pkg/bin\" -DTHEMEDIR=\"/usr/pkg/share/pixmaps/teg_pix/themes/\" -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 client/libclient_a-outputfd.o -MD -MP -MF client/.deps/libclient_a-outputfd.Tpo -c -o client/libclient_a-outputfd.o `test -f 'client/outputfd.c' || echo './'`client/outputfd.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 -DBINDIR=\"/usr/pkg/bin\" -DTHEMEDIR=\"/usr/pkg/share/pixmaps/teg_pix/themes/\" -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 client/libclient_a-helper.o -MD -MP -MF client/.deps/libclient_a-helper.Tpo -c -o client/libclient_a-helper.o `test -f 'client/helper.c' || echo './'`client/helper.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 -DBINDIR=\"/usr/pkg/bin\" -DTHEMEDIR=\"/usr/pkg/share/pixmaps/teg_pix/themes/\" -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 client/libclient_a-fichas.o -MD -MP -MF client/.deps/libclient_a-fichas.Tpo -c -o client/libclient_a-fichas.o `test -f 'client/fichas.c' || echo './'`client/fichas.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 -DBINDIR=\"/usr/pkg/bin\" -DTHEMEDIR=\"/usr/pkg/share/pixmaps/teg_pix/themes/\" -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 client/libclient_a-attack.o -MD -MP -MF client/.deps/libclient_a-attack.Tpo -c -o client/libclient_a-attack.o `test -f 'client/attack.c' || echo './'`client/attack.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 -DBINDIR=\"/usr/pkg/bin\" -DTHEMEDIR=\"/usr/pkg/share/pixmaps/teg_pix/themes/\" -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 client/libclient_a-reagrupe.o -MD -MP -MF client/.deps/libclient_a-reagrupe.Tpo -c -o client/libclient_a-reagrupe.o `test -f 'client/reagrupe.c' || echo './'`client/reagrupe.c
In file included from client/player.h:23:0,
                 from client/client.h:27,
                 from client/reagrupe.c:28:
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 client/reagrupe.c:28:
/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 client/inputfd.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/player.h:23:0,
                 from client/client.h:27,
                 from client/fichas.c:27:
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 client/fichas.c:27:
/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/../common/common.h:24:0,
                 from client/player.h:23,
                 from client/client.h:27,
                 from client/inputfd.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) */
 
In file included from client/player.h:23:0,
                 from client/client.h:27,
                 from client/player.c:25:
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 client/player.c:25:
/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 client/outputfd.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 client/outputfd.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) */
 
In file included from client/player.h:23:0,
                 from client/client.h:27,
                 from client/helper.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 client/helper.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 client/attack.c:27:
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 client/attack.c:27:
/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 client/.deps/libclient_a-reagrupe.Tpo client/.deps/libclient_a-reagrupe.Po
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 -DBINDIR=\"/usr/pkg/bin\" -DTHEMEDIR=\"/usr/pkg/share/pixmaps/teg_pix/themes/\" -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 client/libclient_a-ejer2.o -MD -MP -MF client/.deps/libclient_a-ejer2.Tpo -c -o client/libclient_a-ejer2.o `test -f 'client/ejer2.c' || echo './'`client/ejer2.c
In file included from client/player.h:23:0,
                 from client/client.h:27,
                 from client/misc.c:37:
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 /pbulk/work/games/teg/work/.buildlink/include/glib-2.0/glib/gutils.h:426:0,
                 from /pbulk/work/games/teg/work/.buildlink/include/glib-2.0/glib/gthread.h:36,
                 from /pbulk/work/games/teg/work/.buildlink/include/glib-2.0/glib/gasyncqueue.h:34,
                 from /pbulk/work/games/teg/work/.buildlink/include/glib-2.0/glib.h:34,
                 from client/misc.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) */
 
mv -f client/.deps/libclient_a-player.Tpo client/.deps/libclient_a-player.Po
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 -DBINDIR=\"/usr/pkg/bin\" -DTHEMEDIR=\"/usr/pkg/share/pixmaps/teg_pix/themes/\" -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 client/libclient_a-canje.o -MD -MP -MF client/.deps/libclient_a-canje.Tpo -c -o client/libclient_a-canje.o `test -f 'client/canje.c' || echo './'`client/canje.c
mv -f client/.deps/libclient_a-outputfd.Tpo client/.deps/libclient_a-outputfd.Po
mv -f client/.deps/libclient_a-fichas.Tpo client/.deps/libclient_a-fichas.Po
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 -DBINDIR=\"/usr/pkg/bin\" -DTHEMEDIR=\"/usr/pkg/share/pixmaps/teg_pix/themes/\" -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 client/libclient_a-themes.o -MD -MP -MF client/.deps/libclient_a-themes.Tpo -c -o client/libclient_a-themes.o `test -f 'client/themes.c' || echo './'`client/themes.c
mv -f client/.deps/libclient_a-helper.Tpo client/.deps/libclient_a-helper.Po
In file included from client/player.h:23:0,
                 from client/client.h:27,
                 from client/ejer2.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 client/../common/common.h:24:0,
                 from client/player.h:23,
                 from client/client.h:27,
                 from client/ejer2.c:24:
/usr/include/stdlib.h:188:0: note: this is the location of the previous definition
 #define RANDOM_MAX 0x7fffffff /* (((long)1 << 31) - 1) */
 
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
In file included from client/player.h:23:0,
                 from client/client.h:27,
                 from client/canje.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 client/canje.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) */
 
mv -f client/.deps/libclient_a-attack.Tpo client/.deps/libclient_a-attack.Po
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
mv -f client/.deps/libclient_a-misc.Tpo client/.deps/libclient_a-misc.Po
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
mv -f client/.deps/libclient_a-ejer2.Tpo client/.deps/libclient_a-ejer2.Po
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
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) */
 
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");
      ^~~~~~~~~~
mv -f client/.deps/libclient_a-inputfd.Tpo client/.deps/libclient_a-inputfd.Po
mv -f client/.deps/libclient_a-canje.Tpo client/.deps/libclient_a-canje.Po
gmake[2]: *** [Makefile:2286: server/tegserver-main.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
In file included from client/themes.h:24:0,
                 from client/themes.c:37:
./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/themes.c:27: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/../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)))
 
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/../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/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) */
 
mv -f server/.deps/libtegserver_a-sernet.Tpo server/.deps/libtegserver_a-sernet.Po
mv -f server/.deps/libtegserver_a-player.Tpo server/.deps/libtegserver_a-player.Po
mv -f server/.deps/libtegserver_a-countries.Tpo server/.deps/libtegserver_a-countries.Po
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/play.c:37:0:
server/play.c: In function 'token_loque':
./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");
  ^~~~~~~~~~
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/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);
                     ~^
gmake[2]: *** [Makefile:2076: server/libtegserver_a-play.o] Error 1
mv -f client/.deps/libclient_a-themes.Tpo client/.deps/libclient_a-themes.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