=> Bootstrap dependency digest>=20010302: found digest-20180917 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for warzone2100-3.2.3 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/data/scratch/games/warzone2100/work/warzone2100-3.2.3' Making all in win32 gmake[2]: Entering directory '/data/scratch/games/warzone2100/work/warzone2100-3.2.3/win32' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/data/scratch/games/warzone2100/work/warzone2100-3.2.3/win32' Making all in 3rdparty/miniupnpc gmake[2]: Entering directory '/data/scratch/games/warzone2100/work/warzone2100-3.2.3/3rdparty/miniupnpc' clang -DHAVE_CONFIG_H -I. -I../.. -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/pkg/share/warzone2100\"" -DLOCALEDIR="\"/usr/pkg/share/locale\"" -I../.. -I../../3rdparty -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -Wno-expansion-to-defined -Wstrict-prototypes -Wdeclaration-after-statement -Wno-switch -Wno-enum-compare -fno-strict-aliasing -UDEBUG -O2 -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -fPIC -fstack-protector -MT connecthostport.o -MD -MP -MF .deps/connecthostport.Tpo -c -o connecthostport.o connecthostport.c clang -DHAVE_CONFIG_H -I. -I../.. -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/pkg/share/warzone2100\"" -DLOCALEDIR="\"/usr/pkg/share/locale\"" -I../.. -I../../3rdparty -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -Wno-expansion-to-defined -Wstrict-prototypes -Wdeclaration-after-statement -Wno-switch -Wno-enum-compare -fno-strict-aliasing -UDEBUG -O2 -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -fPIC -fstack-protector -MT igd_desc_parse.o -MD -MP -MF .deps/igd_desc_parse.Tpo -c -o igd_desc_parse.o igd_desc_parse.c clang -DHAVE_CONFIG_H -I. -I../.. -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/pkg/share/warzone2100\"" -DLOCALEDIR="\"/usr/pkg/share/locale\"" -I../.. -I../../3rdparty -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -Wno-expansion-to-defined -Wstrict-prototypes -Wdeclaration-after-statement -Wno-switch -Wno-enum-compare -fno-strict-aliasing -UDEBUG -O2 -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -fPIC -fstack-protector -MT minisoap.o -MD -MP -MF .deps/minisoap.Tpo -c -o minisoap.o minisoap.c clang -DHAVE_CONFIG_H -I. -I../.. -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/pkg/share/warzone2100\"" -DLOCALEDIR="\"/usr/pkg/share/locale\"" -I../.. -I../../3rdparty -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -Wno-expansion-to-defined -Wstrict-prototypes -Wdeclaration-after-statement -Wno-switch -Wno-enum-compare -fno-strict-aliasing -UDEBUG -O2 -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -fPIC -fstack-protector -MT minissdpc.o -MD -MP -MF .deps/minissdpc.Tpo -c -o minissdpc.o minissdpc.c clang -DHAVE_CONFIG_H -I. -I../.. -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/pkg/share/warzone2100\"" -DLOCALEDIR="\"/usr/pkg/share/locale\"" -I../.. -I../../3rdparty -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -Wno-expansion-to-defined -Wstrict-prototypes -Wdeclaration-after-statement -Wno-switch -Wno-enum-compare -fno-strict-aliasing -UDEBUG -O2 -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -fPIC -fstack-protector -MT miniupnpc.o -MD -MP -MF .deps/miniupnpc.Tpo -c -o miniupnpc.o miniupnpc.c clang -DHAVE_CONFIG_H -I. -I../.. -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/pkg/share/warzone2100\"" -DLOCALEDIR="\"/usr/pkg/share/locale\"" -I../.. -I../../3rdparty -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -Wno-expansion-to-defined -Wstrict-prototypes -Wdeclaration-after-statement -Wno-switch -Wno-enum-compare -fno-strict-aliasing -UDEBUG -O2 -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -fPIC -fstack-protector -MT miniwget.o -MD -MP -MF .deps/miniwget.Tpo -c -o miniwget.o miniwget.c clang -DHAVE_CONFIG_H -I. -I../.. -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/pkg/share/warzone2100\"" -DLOCALEDIR="\"/usr/pkg/share/locale\"" -I../.. -I../../3rdparty -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -Wno-expansion-to-defined -Wstrict-prototypes -Wdeclaration-after-statement -Wno-switch -Wno-enum-compare -fno-strict-aliasing -UDEBUG -O2 -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -fPIC -fstack-protector -MT minixml.o -MD -MP -MF .deps/minixml.Tpo -c -o minixml.o minixml.c clang -DHAVE_CONFIG_H -I. -I../.. -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/pkg/share/warzone2100\"" -DLOCALEDIR="\"/usr/pkg/share/locale\"" -I../.. -I../../3rdparty -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -Wno-expansion-to-defined -Wstrict-prototypes -Wdeclaration-after-statement -Wno-switch -Wno-enum-compare -fno-strict-aliasing -UDEBUG -O2 -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -fPIC -fstack-protector -MT portlistingparse.o -MD -MP -MF .deps/portlistingparse.Tpo -c -o portlistingparse.o portlistingparse.c clang -DHAVE_CONFIG_H -I. -I../.. -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/pkg/share/warzone2100\"" -DLOCALEDIR="\"/usr/pkg/share/locale\"" -I../.. -I../../3rdparty -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -Wno-expansion-to-defined -Wstrict-prototypes -Wdeclaration-after-statement -Wno-switch -Wno-enum-compare -fno-strict-aliasing -UDEBUG -O2 -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -fPIC -fstack-protector -MT receivedata.o -MD -MP -MF .deps/receivedata.Tpo -c -o receivedata.o receivedata.c clang -DHAVE_CONFIG_H -I. -I../.. -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/pkg/share/warzone2100\"" -DLOCALEDIR="\"/usr/pkg/share/locale\"" -I../.. -I../../3rdparty -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -Wno-expansion-to-defined -Wstrict-prototypes -Wdeclaration-after-statement -Wno-switch -Wno-enum-compare -fno-strict-aliasing -UDEBUG -O2 -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -fPIC -fstack-protector -MT upnpcommands.o -MD -MP -MF .deps/upnpcommands.Tpo -c -o upnpcommands.o upnpcommands.c clang -DHAVE_CONFIG_H -I. -I../.. -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/pkg/share/warzone2100\"" -DLOCALEDIR="\"/usr/pkg/share/locale\"" -I../.. -I../../3rdparty -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -Wno-expansion-to-defined -Wstrict-prototypes -Wdeclaration-after-statement -Wno-switch -Wno-enum-compare -fno-strict-aliasing -UDEBUG -O2 -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -fPIC -fstack-protector -MT upnpdev.o -MD -MP -MF .deps/upnpdev.Tpo -c -o upnpdev.o upnpdev.c clang -DHAVE_CONFIG_H -I. -I../.. -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/pkg/share/warzone2100\"" -DLOCALEDIR="\"/usr/pkg/share/locale\"" -I../.. -I../../3rdparty -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -Wno-expansion-to-defined -Wstrict-prototypes -Wdeclaration-after-statement -Wno-switch -Wno-enum-compare -fno-strict-aliasing -UDEBUG -O2 -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -fPIC -fstack-protector -MT upnperrors.o -MD -MP -MF .deps/upnperrors.Tpo -c -o upnperrors.o upnperrors.c clang -DHAVE_CONFIG_H -I. -I../.. -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/pkg/share/warzone2100\"" -DLOCALEDIR="\"/usr/pkg/share/locale\"" -I../.. -I../../3rdparty -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -Wno-expansion-to-defined -Wstrict-prototypes -Wdeclaration-after-statement -Wno-switch -Wno-enum-compare -fno-strict-aliasing -UDEBUG -O2 -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -fPIC -fstack-protector -MT upnpreplyparse.o -MD -MP -MF .deps/upnpreplyparse.Tpo -c -o upnpreplyparse.o upnpreplyparse.c mv -f .deps/upnperrors.Tpo .deps/upnperrors.Po mv -f .deps/minisoap.Tpo .deps/minisoap.Po mv -f .deps/connecthostport.Tpo .deps/connecthostport.Po mv -f .deps/upnpreplyparse.Tpo .deps/upnpreplyparse.Po mv -f .deps/upnpdev.Tpo .deps/upnpdev.Po miniwget.c:220:20: warning: array subscript is of type 'char' [-Wchar-subscripts] while(i> 16) & 0x00008000; ^~~~~~~~~ ../../3rdparty/glm/core/type_half.inl:139:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int e = ((i >> 23) & 0x000000ff) - (127 - 15); ^~~~~~~~~ ../../3rdparty/glm/core/type_half.inl:140:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int m = i & 0x007fffff; ^~~~~~~~~ In file included from crc.cpp:21: In file included from ./crc.h:24: In file included from ./vector.h:34: In file included from ../../3rdparty/glm/core/type.hpp:32: In file included from ../../3rdparty/glm/core/type_half.hpp:116: ../../3rdparty/glm/core/type_half.inl:138:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int s = (i >> 16) & 0x00008000; ^~~~~~~~~ ../../3rdparty/glm/core/type_half.inl:139:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int e = ((i >> 23) & 0x000000ff) - (127 - 15); ^~~~~~~~~ ../../3rdparty/glm/core/type_half.inl:140:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int m = i & 0x007fffff; ^~~~~~~~~ strres.cpp:107:97: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] debug(LOG_ERROR, "strresLoadFile: PHYSFS_openRead(\"%s\") failed with error: %s\n", fileName, PHYSFS_getLastError()); ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:654:51: note: 'PHYSFS_getLastError' has been explicitly marked deprecated here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:241:42: note: expanded from macro 'PHYSFS_DEPRECATED' #define PHYSFS_DEPRECATED __attribute__((deprecated)) ^ mv -f .deps/i18n.Tpo .deps/i18n.Po mv -f .deps/treap.Tpo .deps/treap.Po clang++ -DHAVE_CONFIG_H -I. -I../.. -DYY_NO_INPUT -I/usr/pkg/include/SDL2 -D_REENTRANT -D_THREAD_SAFE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/pkg/share/warzone2100\"" -DLOCALEDIR="\"/usr/pkg/share/locale\"" -I../.. -I../../3rdparty -I/usr/pkg/qt5/include/QtCore -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtGui -DQT_WIDGETS_LIB -I/usr/pkg/qt5/include/QtWidgets -DQT_GUI_LIB -DQT_SCRIPT_LIB -I/usr/pkg/qt5/include/QtScript -DQT_CORE_LIB -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -Wno-expansion-to-defined -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/qt5/include/QtCore -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtGui -DQT_WIDGETS_LIB -I/usr/pkg/qt5/include/QtWidgets -DQT_GUI_LIB -DQT_SCRIPT_LIB -I/usr/pkg/qt5/include/QtScript -DQT_CORE_LIB -O2 -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -fPIC -std=c++11 -fstack-protector -MT wzconfig.o -MD -MP -MF .deps/wzconfig.Tpo -c -o wzconfig.o wzconfig.cpp 1 warning generated. mv -f .deps/strres.Tpo .deps/strres.Po lexer_input.cpp:47:17: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] int result = PHYSFS_read(input->input.physfsfile, buf, 1, max_size); ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:1337:41: note: 'PHYSFS_read' has been explicitly marked deprecated here PHYSFS_DEPRECATED; ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:241:42: note: expanded from macro 'PHYSFS_DEPRECATED' #define PHYSFS_DEPRECATED __attribute__((deprecated)) ^ mv -f .deps/stdio_ext.Tpo .deps/stdio_ext.Po 1 warning generated. mv -f .deps/lexer_input.Tpo .deps/lexer_input.Po In file included from geometry.cpp:1: In file included from ./geometry.h:24: In file included from ./vector.h:34: In file included from ../../3rdparty/glm/core/type.hpp:32: In file included from ../../3rdparty/glm/core/type_half.hpp:116: ../../3rdparty/glm/core/type_half.inl:138:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int s = (i >> 16) & 0x00008000; ^~~~~~~~~ ../../3rdparty/glm/core/type_half.inl:139:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int e = ((i >> 23) & 0x000000ff) - (127 - 15); ^~~~~~~~~ ../../3rdparty/glm/core/type_half.inl:140:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int m = i & 0x007fffff; ^~~~~~~~~ frame.cpp:148:80: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] ASSERT(!"unable to open file", "file %s could not be opened: %s", fileName, PHYSFS_getLastError()); ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:654:51: note: 'PHYSFS_getLastError' has been explicitly marked deprecated here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:241:42: note: expanded from macro 'PHYSFS_DEPRECATED' #define PHYSFS_DEPRECATED __attribute__((deprecated)) ^ frame.cpp:152:72: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] debug(LOG_WZ, "optional file %s could not be opened: %s", fileName, PHYSFS_getLastError()); ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:654:51: note: 'PHYSFS_getLastError' has been explicitly marked deprecated here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:241:42: note: expanded from macro 'PHYSFS_DEPRECATED' #define PHYSFS_DEPRECATED __attribute__((deprecated)) ^ frame.cpp:169:6: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if (PHYSFS_isDirectory(pFileName)) ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:1159:55: note: 'PHYSFS_isDirectory' has been explicitly marked deprecated here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:241:42: note: expanded from macro 'PHYSFS_DEPRECATED' #define PHYSFS_DEPRECATED __attribute__((deprecated)) ^ frame.cpp:203:30: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_sint64 length_read = PHYSFS_read(pfile, *ppFileData, 1, filesize); ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:1337:41: note: 'PHYSFS_read' has been explicitly marked deprecated here PHYSFS_DEPRECATED; ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:241:42: note: expanded from macro 'PHYSFS_DEPRECATED' #define PHYSFS_DEPRECATED __attribute__((deprecated)) ^ frame.cpp:212:55: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] debug(LOG_ERROR, "Reading %s short: %s", pFileName, PHYSFS_getLastError()); ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:654:51: note: 'PHYSFS_getLastError' has been explicitly marked deprecated here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:241:42: note: expanded from macro 'PHYSFS_DEPRECATED' #define PHYSFS_DEPRECATED __attribute__((deprecated)) ^ frame.cpp:225:55: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] debug(LOG_ERROR, "Error closing %s: %s", pFileName, PHYSFS_getLastError()); ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:654:51: note: 'PHYSFS_getLastError' has been explicitly marked deprecated here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:241:42: note: expanded from macro 'PHYSFS_DEPRECATED' #define PHYSFS_DEPRECATED __attribute__((deprecated)) ^ frame.cpp:246:60: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] debug(LOG_ERROR, "%s could not be opened: %s", fileName, PHYSFS_getLastError()); ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:654:51: note: 'PHYSFS_getLastError' has been explicitly marked deprecated here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:241:42: note: expanded from macro 'PHYSFS_DEPRECATED' #define PHYSFS_DEPRECATED __attribute__((deprecated)) ^ frame.cpp:271:59: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] ASSERT(false, "Couldn't save file %s (%s)?", pFileName, PHYSFS_getLastError()); ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:654:51: note: 'PHYSFS_getLastError' has been explicitly marked deprecated here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:241:42: note: expanded from macro 'PHYSFS_DEPRECATED' #define PHYSFS_DEPRECATED __attribute__((deprecated)) ^ frame.cpp:275:6: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(pfile, pFileData, 1, size) != size) ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:1366:41: note: 'PHYSFS_write' has been explicitly marked deprecated here PHYSFS_DEPRECATED; ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:241:42: note: expanded from macro 'PHYSFS_DEPRECATED' #define PHYSFS_DEPRECATED __attribute__((deprecated)) ^ frame.cpp:277:57: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] debug(LOG_ERROR, "%s could not write: %s", pFileName, PHYSFS_getLastError()); ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:654:51: note: 'PHYSFS_getLastError' has been explicitly marked deprecated here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:241:42: note: expanded from macro 'PHYSFS_DEPRECATED' #define PHYSFS_DEPRECATED __attribute__((deprecated)) ^ frame.cpp:283:55: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] debug(LOG_ERROR, "Error closing %s: %s", pFileName, PHYSFS_getLastError()); ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:654:51: note: 'PHYSFS_getLastError' has been explicitly marked deprecated here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:241:42: note: expanded from macro 'PHYSFS_DEPRECATED' #define PHYSFS_DEPRECATED __attribute__((deprecated)) ^ frame.cpp:291:76: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] debug(LOG_ERROR, "PHYSFS_getRealDir(%s) returns NULL (%s)?!", pFileName, PHYSFS_getLastError()); ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:654:51: note: 'PHYSFS_getLastError' has been explicitly marked deprecated here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:241:42: note: expanded from macro 'PHYSFS_DEPRECATED' #define PHYSFS_DEPRECATED __attribute__((deprecated)) ^ frame.cpp:343:9: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, vaBuffer, strlen(vaBuffer), 1); ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:1366:41: note: 'PHYSFS_write' has been explicitly marked deprecated here PHYSFS_DEPRECATED; ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:241:42: note: expanded from macro 'PHYSFS_DEPRECATED' #define PHYSFS_DEPRECATED __attribute__((deprecated)) ^ In file included from frameresource.cpp:30: In file included from ./file.h:24: In file included from ./crc.h:24: In file included from ./vector.h:34: In file included from ../../3rdparty/glm/core/type.hpp:32: In file included from ../../3rdparty/glm/core/type_half.hpp:116: ../../3rdparty/glm/core/type_half.inl:138:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int s = (i >> 16) & 0x00008000; ^~~~~~~~~ ../../3rdparty/glm/core/type_half.inl:139:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int e = ((i >> 23) & 0x000000ff) - (127 - 15); ^~~~~~~~~ ../../3rdparty/glm/core/type_half.inl:140:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int m = i & 0x007fffff; ^~~~~~~~~ In file included from trig.cpp:32: In file included from ./crc.h:24: In file included from ./vector.h:34: In file included from ../../3rdparty/glm/core/type.hpp:32: In file included from ../../3rdparty/glm/core/type_half.hpp:116: ../../3rdparty/glm/core/type_half.inl:138:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int s = (i >> 16) & 0x00008000; ^~~~~~~~~ ../../3rdparty/glm/core/type_half.inl:139:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int e = ((i >> 23) & 0x000000ff) - (127 - 15); ^~~~~~~~~ ../../3rdparty/glm/core/type_half.inl:140:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int m = i & 0x007fffff; ^~~~~~~~~ resource_parser.ypp:102:14: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] ASSERT(PHYSFS_isDirectory(aCurrResDir), "%s is not a directory!", aCurrResDir); ^ 16 warnings generated. /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:1159:55: note: 'PHYSFS_isDirectory' has been explicitly marked deprecated here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^ /data/scratch/games/warzone2100/work/.buildlink/include/physfs.h:241:42: note: expanded from macro 'PHYSFS_DEPRECATED' #define PHYSFS_DEPRECATED __attribute__((deprecated)) ^ mv -f .deps/frame.Tpo .deps/frame.Po mv -f .deps/strres_lexer.Tpo .deps/strres_lexer.Po mv -f .deps/strres_parser.Tpo .deps/strres_parser.Po 1 warning generated. mv -f .deps/resource_parser.Tpo .deps/resource_parser.Po mv -f .deps/utf.Tpo .deps/utf.Po mv -f .deps/resource_lexer.Tpo .deps/resource_lexer.Po 3 warnings generated. mv -f .deps/geometry.Tpo .deps/geometry.Po 3 warnings generated. In file included from wzconfig.cpp:31: In file included from ./wzconfig.h:34: In file included from ../../lib/framework/vector.h:34: In file included from ../../3rdparty/glm/core/type.hpp:32: In file included from ../../3rdparty/glm/core/type_half.hpp:116: ../../3rdparty/glm/core/type_half.inl:138:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int s = (i >> 16) & 0x00008000; ^~~~~~~~~ ../../3rdparty/glm/core/type_half.inl:139:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int e = ((i >> 23) & 0x000000ff) - (127 - 15); ^~~~~~~~~ ../../3rdparty/glm/core/type_half.inl:140:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int m = i & 0x007fffff; ^~~~~~~~~ mv -f .deps/debug.Tpo .deps/debug.Po mv -f .deps/trig.Tpo .deps/trig.Po 3 warnings generated. mv -f .deps/frameresource.Tpo .deps/frameresource.Po 3 warnings generated. mv -f .deps/crc.Tpo .deps/crc.Po 3 warnings generated. mv -f .deps/wzconfig.Tpo .deps/wzconfig.Po rm -f libframework.a ar cru libframework.a crc.o debug.o frame.o frameresource.o geometry.o i18n.o lexer_input.o resource_lexer.o resource_parser.o stdio_ext.o strres.o strres_lexer.o strres_parser.o treap.o trig.o utf.o wzconfig.o ranlib libframework.a gmake[2]: Leaving directory '/data/scratch/games/warzone2100/work/warzone2100-3.2.3/lib/framework' Making all in lib/exceptionhandler gmake[2]: Entering directory '/data/scratch/games/warzone2100/work/warzone2100-3.2.3/lib/exceptionhandler' clang++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/pkg/include/SDL2 -D_REENTRANT -D_THREAD_SAFE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/pkg/share/warzone2100\"" -DLOCALEDIR="\"/usr/pkg/share/locale\"" -I../.. -I../../3rdparty -I/usr/pkg/qt5/include/QtCore -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtGui -DQT_WIDGETS_LIB -I/usr/pkg/qt5/include/QtWidgets -DQT_GUI_LIB -DQT_SCRIPT_LIB -I/usr/pkg/qt5/include/QtScript -DQT_CORE_LIB -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -Wno-expansion-to-defined -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/qt5/include/QtCore -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtGui -DQT_WIDGETS_LIB -I/usr/pkg/qt5/include/QtWidgets -DQT_GUI_LIB -DQT_SCRIPT_LIB -I/usr/pkg/qt5/include/QtScript -DQT_CORE_LIB -O2 -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -fPIC -std=c++11 -fstack-protector -MT dumpinfo.o -MD -MP -MF .deps/dumpinfo.Tpo -c -o dumpinfo.o dumpinfo.cpp clang++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/pkg/include/SDL2 -D_REENTRANT -D_THREAD_SAFE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/pkg/share/warzone2100\"" -DLOCALEDIR="\"/usr/pkg/share/locale\"" -I../.. -I../../3rdparty -I/usr/pkg/qt5/include/QtCore -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtGui -DQT_WIDGETS_LIB -I/usr/pkg/qt5/include/QtWidgets -DQT_GUI_LIB -DQT_SCRIPT_LIB -I/usr/pkg/qt5/include/QtScript -DQT_CORE_LIB -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -Wno-expansion-to-defined -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/qt5/include/QtCore -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtGui -DQT_WIDGETS_LIB -I/usr/pkg/qt5/include/QtWidgets -DQT_GUI_LIB -DQT_SCRIPT_LIB -I/usr/pkg/qt5/include/QtScript -DQT_CORE_LIB -O2 -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -fPIC -std=c++11 -fstack-protector -MT exceptionhandler.o -MD -MP -MF .deps/exceptionhandler.Tpo -c -o exceptionhandler.o exceptionhandler.cpp exceptionhandler.cpp:402:12: error: use of undeclared identifier 'errno' switch (errno) ^ 1 error generated. gmake[2]: *** [Makefile:435: exceptionhandler.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... mv -f .deps/dumpinfo.Tpo .deps/dumpinfo.Po gmake[2]: Leaving directory '/data/scratch/games/warzone2100/work/warzone2100-3.2.3/lib/exceptionhandler' gmake[1]: *** [Makefile:574: all-recursive] Error 1 gmake[1]: Leaving directory '/data/scratch/games/warzone2100/work/warzone2100-3.2.3' gmake: *** [Makefile:493: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/games/warzone2100 *** Error code 1 Stop. make: stopped in /data/pkgsrc/games/warzone2100