=> 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.0nb10 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/pbulk/work/games/teg/work/teg-0.12.0' Making all in . gmake[2]: Entering directory '/pbulk/work/games/teg/work/teg-0.12.0' /usr/pkg/bin/glib-compile-resources --sourcedir=./client/gui-gnome --target=stock_gresources.h \ --generate-header --manual-register --c-name=stock client/gui-gnome/stock.gresource.xml glib-compile-schemas --strict --dry-run --schema-file=client/gui-gnome/net.sf.teg.gschema.xml && mkdir -p client/gui-gnome && touch client/gui-gnome/net.sf.teg.gschema.valid /usr/pkg/bin/glib-compile-resources --sourcedir=./client/gui-gnome --target=stock_gresources.c \ --generate-source --manual-register --c-name=stock client/gui-gnome/stock.gresource.xml gcc -DHAVE_CONFIG_H -I. -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I./common -I./client -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -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 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 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 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 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 robot/ai.c:32: ./client/../common/common.h:79:0: warning: "RANDOM_MAX" redefined #define RANDOM_MAX(_min,_max) (_min+(int)(((float)(1+_max-_min))*rand() / (RAND_MAX+1.0))) In file included from ./client/../common/common.h:24:0, from ./client/player.h:23, from ./client/client.h:27, from robot/ai.c:32: /usr/include/stdlib.h:188:0: note: this is the location of the previous definition #define RANDOM_MAX 0x7fffffff /* (((long)1 << 31) - 1) */ In file included from ./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) */ 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 ./client/player.h:23:0, from ./client/client.h:27, from robot/gui.c:38: ./client/../common/common.h:79:0: warning: "RANDOM_MAX" redefined #define RANDOM_MAX(_min,_max) (_min+(int)(((float)(1+_max-_min))*rand() / (RAND_MAX+1.0))) In file included from ./client/../common/common.h:24:0, from ./client/player.h:23, from ./client/client.h:27, from robot/gui.c:38: /usr/include/stdlib.h:188:0: note: this is the location of the previous definition #define RANDOM_MAX 0x7fffffff /* (((long)1 << 31) - 1) */ In file included from ./client/player.h:23:0, from ./client/client.h:27, from robot/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) */ 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 gcc -DHAVE_CONFIG_H -I. -I/usr/pkg/include/libxml2 -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 common/libtegcommon_a-net.o -MD -MP -MF common/.deps/libtegcommon_a-net.Tpo -c -o common/libtegcommon_a-net.o `test -f 'common/net.c' || echo './'`common/net.c mv -f robot/.deps/tegrobot-ai_misc.Tpo robot/.deps/tegrobot-ai_misc.Po gcc -DHAVE_CONFIG_H -I. -I/usr/pkg/include/libxml2 -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 common/libtegcommon_a-share.o -MD -MP -MF common/.deps/libtegcommon_a-share.Tpo -c -o common/libtegcommon_a-share.o `test -f 'common/share.c' || echo './'`common/share.c In file included from common/net.c:41:0: common/net.c: In function 'writen': common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ common/net.c:51:2: note: in expansion of macro 'PDEBUG' PDEBUG("send to fd %d %zu bytes: »%.*s«\n", fd, n, (int)n, (char const*)vptr); ^~~~~~ common/tegdebug.h:29:46: warning: format '%d' expects a matching 'int' argument [-Wformat=] # define PDEBUG(format, ...) fprintf(stderr, "%s:%d(%s)" format, \ ^ common/net.c:51:2: note: in expansion of macro 'PDEBUG' PDEBUG("send to fd %d %zu bytes: »%.*s«\n", fd, n, (int)n, (char const*)vptr); ^~~~~~ common/net.c:51:22: note: format string is defined here PDEBUG("send to fd %d %zu bytes: »%.*s«\n", fd, n, (int)n, (char const*)vptr); ~^ In file included from common/net.c:41:0: common/tegdebug.h:29:46: warning: format '%zu' expects a matching 'size_t' argument [-Wformat=] # define PDEBUG(format, ...) fprintf(stderr, "%s:%d(%s)" format, \ ^ common/net.c:51:2: note: in expansion of macro 'PDEBUG' PDEBUG("send to fd %d %zu bytes: »%.*s«\n", fd, n, (int)n, (char const*)vptr); ^~~~~~ common/net.c:51:26: note: format string is defined here PDEBUG("send to fd %d %zu bytes: »%.*s«\n", fd, n, (int)n, (char const*)vptr); ~~^ In file included from common/net.c:41:0: common/tegdebug.h:29:46: warning: field precision specifier '.*' expects a matching 'int' argument [-Wformat=] # define PDEBUG(format, ...) fprintf(stderr, "%s:%d(%s)" format, \ ^ common/net.c:51:2: note: in expansion of macro 'PDEBUG' PDEBUG("send to fd %d %zu bytes: »%.*s«\n", fd, n, (int)n, (char const*)vptr); ^~~~~~ common/net.c:51:39: note: format string is defined here PDEBUG("send to fd %d %zu bytes: »%.*s«\n", fd, n, (int)n, (char const*)vptr); ~~^~ In file included from common/net.c:41:0: common/tegdebug.h:29:46: warning: format '%s' expects a matching 'char *' argument [-Wformat=] # define PDEBUG(format, ...) fprintf(stderr, "%s:%d(%s)" format, \ ^ common/net.c:51:2: note: in expansion of macro 'PDEBUG' PDEBUG("send to fd %d %zu bytes: »%.*s«\n", fd, n, (int)n, (char const*)vptr); ^~~~~~ common/net.c:51:40: note: format string is defined here PDEBUG("send to fd %d %zu bytes: »%.*s«\n", fd, n, (int)n, (char const*)vptr); ~~~^ In file included from common/net.c:41:0: common/net.c: In function 'net_readline': common/tegdebug.h:31:33: error: expected ')' before '__VA_OPT__' __VA_OPT__(, __VA_ARGS__)) ^ common/net.c:94:2: note: in expansion of macro 'PDEBUG' PDEBUG("read from fd %d %zu bytes: »%.*s«\n", fd, n, (int)n, (char const*)vptr); ^~~~~~ common/tegdebug.h:29:46: warning: format '%d' expects a matching 'int' argument [-Wformat=] # define PDEBUG(format, ...) fprintf(stderr, "%s:%d(%s)" format, \ ^ common/net.c:94:2: note: in expansion of macro 'PDEBUG' PDEBUG("read from fd %d %zu bytes: »%.*s«\n", fd, n, (int)n, (char const*)vptr); ^~~~~~ common/net.c:94:24: note: format string is defined here PDEBUG("read from fd %d %zu bytes: »%.*s«\n", fd, n, (int)n, (char const*)vptr); ~^ In file included from common/net.c:41:0: common/tegdebug.h:29:46: warning: format '%zu' expects a matching 'size_t' argument [-Wformat=] # define PDEBUG(format, ...) fprintf(stderr, "%s:%d(%s)" format, \ ^ common/net.c:94:2: note: in expansion of macro 'PDEBUG' PDEBUG("read from fd %d %zu bytes: »%.*s«\n", fd, n, (int)n, (char const*)vptr); ^~~~~~ common/net.c:94:28: note: format string is defined here PDEBUG("read from fd %d %zu bytes: »%.*s«\n", fd, n, (int)n, (char const*)vptr); ~~^ In file included from common/net.c:41:0: common/tegdebug.h:29:46: warning: field precision specifier '.*' expects a matching 'int' argument [-Wformat=] # define PDEBUG(format, ...) fprintf(stderr, "%s:%d(%s)" format, \ ^ common/net.c:94:2: note: in expansion of macro 'PDEBUG' PDEBUG("read from fd %d %zu bytes: »%.*s«\n", fd, n, (int)n, (char const*)vptr); ^~~~~~ common/net.c:94:41: note: format string is defined here PDEBUG("read from fd %d %zu bytes: »%.*s«\n", fd, n, (int)n, (char const*)vptr); ~~^~ In file included from common/net.c:41:0: common/tegdebug.h:29:46: warning: format '%s' expects a matching 'char *' argument [-Wformat=] # define PDEBUG(format, ...) fprintf(stderr, "%s:%d(%s)" format, \ ^ common/net.c:94:2: note: in expansion of macro 'PDEBUG' PDEBUG("read from fd %d %zu bytes: »%.*s«\n", fd, n, (int)n, (char const*)vptr); ^~~~~~ common/net.c:94:42: note: format string is defined here PDEBUG("read from fd %d %zu bytes: »%.*s«\n", fd, n, (int)n, (char const*)vptr); ~~~^ gmake[2]: *** [Makefile:1880: common/libtegcommon_a-net.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... mv -f robot/.deps/tegrobot-main.Tpo robot/.deps/tegrobot-main.Po In file included from ./client/player.h:23:0, from ./client/client.h:27, from robot/ai_fichas.c:33: ./client/../common/common.h:79:0: warning: "RANDOM_MAX" redefined #define RANDOM_MAX(_min,_max) (_min+(int)(((float)(1+_max-_min))*rand() / (RAND_MAX+1.0))) In file included from ./client/../common/common.h:24:0, from ./client/player.h:23, from ./client/client.h:27, from robot/ai_fichas.c:33: /usr/include/stdlib.h:188:0: note: this is the location of the previous definition #define RANDOM_MAX 0x7fffffff /* (((long)1 << 31) - 1) */ mv -f robot/.deps/tegrobot-ai_msg.Tpo robot/.deps/tegrobot-ai_msg.Po mv -f robot/.deps/tegrobot-ai.Tpo robot/.deps/tegrobot-ai.Po mv -f common/.deps/libtegcommon_a-share.Tpo common/.deps/libtegcommon_a-share.Po mv -f robot/.deps/tegrobot-ai_fichas.Tpo robot/.deps/tegrobot-ai_fichas.Po mv -f robot/.deps/tegrobot-gui.Tpo robot/.deps/tegrobot-gui.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