=> 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
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 -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
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/../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/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/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) */
 
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/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/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/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/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) */
 
mv -f client/.deps/libclient_a-outputfd.Tpo client/.deps/libclient_a-outputfd.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
mv -f client/.deps/libclient_a-attack.Tpo client/.deps/libclient_a-attack.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-helper.Tpo client/.deps/libclient_a-helper.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-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 -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 -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 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
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) */
 
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 -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 -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 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
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-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 -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 -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 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
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/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) */
 
mv -f client/.deps/libclient_a-ejer2.Tpo client/.deps/libclient_a-ejer2.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 -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 -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 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
mv -f client/.deps/libclient_a-inputfd.Tpo client/.deps/libclient_a-inputfd.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 -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 -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 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
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) */
 
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) */
 
mv -f client/.deps/libclient_a-canje.Tpo client/.deps/libclient_a-canje.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 -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 -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 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
mv -f robot/.deps/tegrobot-main.Tpo robot/.deps/tegrobot-main.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 -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 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-gui.Tpo robot/.deps/tegrobot-gui.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
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 ./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) */
 
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) */
 
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) */
 
mv -f robot/.deps/tegrobot-ai_msg.Tpo robot/.deps/tegrobot-ai_msg.Po
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");
      ^~~~~~~~~~
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
gmake[2]: *** [Makefile:2286: server/tegserver-main.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
mv -f robot/.deps/tegrobot-ai_misc.Tpo robot/.deps/tegrobot-ai_misc.Po
mv -f robot/.deps/tegrobot-ai.Tpo robot/.deps/tegrobot-ai.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) */
 
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) */
 
mv -f server/.deps/libtegserver_a-sernet.Tpo server/.deps/libtegserver_a-sernet.Po
mv -f robot/.deps/tegrobot-ai_fichas.Tpo robot/.deps/tegrobot-ai_fichas.Po
mv -f client/.deps/libclient_a-themes.Tpo client/.deps/libclient_a-themes.Po
mv -f client/.deps/libclient_a-misc.Tpo client/.deps/libclient_a-misc.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