=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for megaglest-3.13.0.tar.gz
=> Checksum SHA512 OK for megaglest-3.13.0.tar.gz
===> Installing dependencies for megaglest-3.13.0nb42
==========================================================================
The following variables will affect the build process of this package,
megaglest-3.13.0nb42.  Their current value is shown below:

        * CURSES_DEFAULT = curses
        * JPEG_DEFAULT = jpeg
        * LUA_VERSION_DEFAULT = 54
        * READLINE_DEFAULT = editline
        * SSLBASE = /usr
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

Based on these variables, the following variables have been set:

        * CURSES_TYPE = curses
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * LUA_PACKAGE = lua54
        * READLINE_TYPE = editline
        * TERMCAP_TYPE = termcap

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency help2man-[0-9]*: found help2man-1.49.3
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.4
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.31.3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency x11-links>=1.36: found x11-links-1.36
=> Full dependency megaglest-data>=3.13.0: found megaglest-data-3.13.0
=> Full dependency SDL2>=2.30.2nb1: found SDL2-2.30.11
=> Full dependency curl>=8.11.0nb2: found curl-8.11.1nb1
=> Full dependency fontconfig>=2.15.0: found fontconfig-2.15.0
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.3
=> Full dependency ftgl>=2.1.3rc5nb2: found ftgl-2.1.3rc5nb2
=> Full dependency glew>=2.1.0: found glew-2.2.0nb2
=> Full dependency jpeg>=9: found jpeg-9f
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency libxml2>=2.12.9nb3: found libxml2-2.12.9nb3
=> Full dependency lua54>=5.4.0<5.5: found lua54-5.4.7
=> Full dependency miniupnpc>=2.1: found miniupnpc-2.2.4
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.24.1
=> Full dependency png>=1.6.0nb1: found png-1.6.44
=> Full dependency wxGTK30>=3.0.5.1nb19: found wxGTK30-3.0.5.1nb19
===> 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'.
===> Overriding tools for megaglest-3.13.0nb42
===> Extracting for megaglest-3.13.0nb42
===> Patching for megaglest-3.13.0nb42
=> Applying pkgsrc patches for megaglest-3.13.0nb42
===> Creating toolchain wrappers for megaglest-3.13.0nb42
/bin/ln -s /pbulk/work/games/megaglest/work/.buildlink/lib/pkgconfig/lua-5.4.pc /pbulk/work/games/megaglest/work/.buildlink/lib/pkgconfig/lua.pc
===> Configuring for megaglest-3.13.0nb42
=> Generating pkg-config file for builtin expat package.
=> Generating pkg-config files for builtin xz package.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- The C compiler identification is GNU 10.5.0
-- The CXX compiler identification is GNU 10.5.0
CMake Warning (dev) at /usr/pkg/share/cmake-3.31/Modules/Platform/NetBSD.cmake:23 (include):
  File /usr/pkg/share/cmake-3.31/Modules/Platform/NetBSD.cmake includes
  /pbulk/work/games/megaglest/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.31/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.31/Modules/CMakeSystemSpecificInformation.cmake:32 (include)
  CMakeLists.txt:2 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/pkg/share/cmake-3.31/Modules/Platform/NetBSD.cmake:23 (include):
  File /usr/pkg/share/cmake-3.31/Modules/Platform/NetBSD.cmake includes
  /pbulk/work/games/megaglest/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.31/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.31/Modules/CMakeCInformation.cmake:66 (include)
  CMakeLists.txt:2 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /pbulk/work/games/megaglest/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning (dev) at /usr/pkg/share/cmake-3.31/Modules/Platform/NetBSD.cmake:23 (include):
  File /usr/pkg/share/cmake-3.31/Modules/Platform/NetBSD.cmake includes
  /pbulk/work/games/megaglest/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.31/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.31/Modules/CMakeCXXInformation.cmake:65 (include)
  CMakeLists.txt:2 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /pbulk/work/games/megaglest/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_SOURCE_DIR = /pbulk/work/games/megaglest/work/megaglest-source-3.13.0
-- Build type for this compile will be: Release
-- Determining version number system type to use:
-- ** Trying 3 part versioning 
-- Detected MegaGlest Version is [v3.13.0] 
-- Detected GNUC Compiler...
-- *NOTE: Checking for max SSE LEVEL [1]
-- Max SSE desired: [1]
-- Performing Test HAS_SSE3_EXTENSIONS
-- Performing Test HAS_SSE3_EXTENSIONS - Success
-- Performing Test HAS_SSE2_EXTENSIONS
-- Performing Test HAS_SSE2_EXTENSIONS - Success
-- Performing Test HAS_SSE_EXTENSIONS
-- Performing Test HAS_SSE_EXTENSIONS - Success
-- Found SSE extensions, using flags: -msse -mfpmath=sse
-- *NOTE: using SSE for STREFLOP.
-- Performing Test HAS_GCC_BACKTRACE
-- Performing Test HAS_GCC_BACKTRACE - Failed
-- **WARNING DID NOT Find GCC backtrace lib
-- *NOTE: Custom Data Install Path is [/usr/pkg/share/megaglest/]
-- CMAKE_CXX_FLAGS_RELEASE: -O3 -DNDEBUG -O3  -DCUSTOM_DATA_INSTALL_PATH=/usr/pkg/share/megaglest/
-- **Found game source code.
-- Found PkgConfig: /pbulk/work/games/megaglest/work/.tools/bin/pkg-config (found version "2.3.0")
-- Checking for one of the modules 'streflop-sse'
-- Checking for one of the modules 'streflop'
-- Search for Library STREFLOP result =  libs:  include dirs: 
-- Will try to build MegaGlest shared library
-- Found OpenSSL: /usr/lib/libcrypto.so (found version "3.0.12")
-- Found CURL: /usr/pkg/lib/libcurl.so (found version "8.11.1")
CMake Warning (dev) at mk/cmake/Modules/CurlGetConfig.cmake:29 (EXEC_PROGRAM):
  Policy CMP0153 is not set: The exec_program command should not be called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Use execute_process() instead.
Call Stack (most recent call first):
  source/shared_lib/CMakeLists.txt:91 (INCLUDE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- #2 CURL RET = 0, using CURL dynamic libs: -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -lcurl
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found SDL2: /pbulk/work/games/megaglest/work/.buildlink/lib/libSDL2main.a;/pbulk/work/games/megaglest/work/.buildlink/lib/libSDL2.so;-lpthread
-- Found OpenGL: /pbulk/work/games/megaglest/work/.buildlink/lib/libGL.so
-- Found X11: /pbulk/work/games/megaglest/work/.buildlink/include
-- Looking for XOpenDisplay in /pbulk/work/games/megaglest/work/.buildlink/lib/libX11.so;/pbulk/work/games/megaglest/work/.buildlink/lib/libXext.so
-- Looking for XOpenDisplay in /pbulk/work/games/megaglest/work/.buildlink/lib/libX11.so;/pbulk/work/games/megaglest/work/.buildlink/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found OpenAL: /pbulk/work/games/megaglest/work/.buildlink/lib/libopenal.so
CMake Warning (dev) at /usr/pkg/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:441 (message):
  The package name passed to `find_package_handle_standard_args` (Lua) does
  not match the name of the calling package (LUA).  This can lead to problems
  in calling code that expects `find_package` result variables (e.g.,
  `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  mk/cmake/Modules/FindLUA.cmake:191 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  source/shared_lib/CMakeLists.txt:135 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Lua: /pbulk/work/games/megaglest/work/.buildlink/lib/liblua5.4.so;/lib/libm.so (found version "5.4.7")
-- Found JPEG: /pbulk/work/games/megaglest/work/.buildlink/lib/libjpeg.so (found version "90")
-- Found ZLIB: /lib/libz.so (found version "1.2.13")
-- Found PNG: /pbulk/work/games/megaglest/work/.buildlink/lib/libpng16.so (found version "1.6.44")
-- **NOTE: FontConfig support was detected and enabled.
-- Found Freetype: /pbulk/work/games/megaglest/work/.buildlink/lib/libfreetype.so (found version "2.13.3")
-- Found FTGL libraries at /pbulk/work/games/megaglest/work/.buildlink/lib/libftgl.so and includes at /pbulk/work/games/megaglest/work/.buildlink/include
-- **NOTE: FTGL font support was detected and enabled.
-- Found GLEW: /pbulk/work/games/megaglest/work/.buildlink/include
-- GLEW_LIBRARY: /pbulk/work/games/megaglest/work/.buildlink/lib/libGLEW.so
-- LIBVLC disabled so videos are NOT supported.
-- Looking for miniupnpc...
CMake Warning (dev) at /usr/pkg/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:441 (message):
  The package name passed to `find_package_handle_standard_args` (MINIUPNP)
  does not match the name of the calling package (Miniupnpc).  This can lead
  to problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  mk/cmake/Modules/FindMiniupnpc.cmake:63 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  source/shared_lib/CMakeLists.txt:291 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found MINIUPNP: /pbulk/work/games/megaglest/work/.buildlink/lib/libminiupnpc.so
-- Found the miniupnpc headers at /pbulk/work/games/megaglest/work/.buildlink/include/miniupnpc
-- Performing Test MINIUPNPC_VERSION_1_7_OR_HIGHER
-- Performing Test MINIUPNPC_VERSION_1_7_OR_HIGHER - Success
-- Found miniupnpc version is v1.7 or higher
-- *** Using miniupnpc lib found in [/pbulk/work/games/megaglest/work/.buildlink/include/miniupnpc] MINIUPNP_FOUND [TRUE] MINIUPNP_LIBRARY [/pbulk/work/games/megaglest/work/.buildlink/lib/libminiupnpc.so]
-- **No macros required for miniupnpc version
-- *** Searching for libircclient since WANT_STATIC_LIBS is: OFF ...
CMake Warning (dev) at /usr/pkg/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:441 (message):
  The package name passed to `find_package_handle_standard_args` (IRCCLIENT)
  does not match the name of the calling package (Ircclient).  This can lead
  to problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  mk/cmake/Modules/FindIrcclient.cmake:70 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  source/shared_lib/CMakeLists.txt:369 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find IRCCLIENT (missing: IRCCLIENT_LIBRARY IRCCLIENT_INCLUDE_DIR) 
-- **** WARNING: IRCClient NOT FOUND include path: IRCCLIENT_INCLUDE_DIR-NOTFOUND libs: IRCCLIENT_LIBRARY-NOTFOUND
-- *** Using EMBEDDED libircclient since this system does not have it... IRCCLIENT_FOUND [FALSE]
-- Performing Test HAS_LIBIRCCLIENT_1_6
-- Performing Test HAS_LIBIRCCLIENT_1_6 - Failed
-- EXTERNAL_LIBS = [-Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -lcurl;/usr/lib/libssl.so;/usr/lib/libcrypto.so;/pbulk/work/games/megaglest/work/.buildlink/lib/libSDL2main.a;/pbulk/work/games/megaglest/work/.buildlink/lib/libSDL2.so;-lpthread;/pbulk/work/games/megaglest/work/.buildlink/lib/libGL.so;/pbulk/work/games/megaglest/work/.buildlink/lib/libGLU.so;/pbulk/work/games/megaglest/work/.buildlink/lib/libSM.so;/pbulk/work/games/megaglest/work/.buildlink/lib/libICE.so;/pbulk/work/games/megaglest/work/.buildlink/lib/libX11.so;/pbulk/work/games/megaglest/work/.buildlink/lib/libXext.so;/pbulk/work/games/megaglest/work/.buildlink/lib/libopenal.so;/pbulk/work/games/megaglest/work/.buildlink/lib/liblua5.4.so;/lib/libm.so;/pbulk/work/games/megaglest/work/.buildlink/lib/libjpeg.so;/pbulk/work/games/megaglest/work/.buildlink/lib/libpng16.so;/pbulk/work/games/megaglest/work/.buildlink/lib/libfontconfig.so;/pbulk/work/games/megaglest/work/.buildlink/lib/libftgl.so;/pbulk/work/games/megaglest/work/.buildlink/lib/libfreetype.so;/pbulk/work/games/megaglest/work/.buildlink/lib/libGLEW.so;/pbulk/work/games/megaglest/work/.buildlink/lib/libminiupnpc.so]
-- Will try to build MegaGlest game
-- OGG/Vorbis includes: /pbulk/work/games/megaglest/work/.buildlink/include
-- OGG library        : /pbulk/work/games/megaglest/work/.buildlink/lib/libogg.so
-- Vorbis library     : /pbulk/work/games/megaglest/work/.buildlink/lib/libvorbis.so
-- Vorbis file library: /pbulk/work/games/megaglest/work/.buildlink/lib/libvorbisfile.so
CMake Warning (dev) at /usr/pkg/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:441 (message):
  The package name passed to `find_package_handle_standard_args` (Lua) does
  not match the name of the calling package (LUA).  This can lead to problems
  in calling code that expects `find_package` result variables (e.g.,
  `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  mk/cmake/Modules/FindLUA.cmake:191 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  source/glest_game/CMakeLists.txt:67 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at mk/cmake/Modules/CurlGetConfig.cmake:29 (EXEC_PROGRAM):
  Policy CMP0153 is not set: The exec_program command should not be called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Use execute_process() instead.
Call Stack (most recent call first):
  source/glest_game/CMakeLists.txt:95 (INCLUDE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- #2 CURL RET = 0, using CURL dynamic libs: -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -lcurl
-- GLEW_LIBRARY: /pbulk/work/games/megaglest/work/.buildlink/lib/libGLEW.so
-- LIBVLC disabled so videos are NOT supported.
-- Checking for one of the modules 'streflop-sse'
-- Checking for one of the modules 'streflop'
-- Search for Library STREFLOP result =  libs:  include dirs: 
-- ***Note: The final output path for the MegaGlest engine will be []
-- ***-- Found help2man: /usr/pkg/bin/help2man about to build manpage in [/pbulk/work/games/megaglest/work/megaglest-source-3.13.0/source/glest_game/megaglest.6]
-- **Source package INSTALL TRIGGERED [/pbulk/work/games/megaglest/work/megaglest-source-3.13.0]
-- **NOTE: Will Install manpage [megaglest.6] to [man/man6/]
-- Will try to build MegaGlest map editor
-- Found wxWidgets: -L/usr/pkg/lib;-pthread;;;-Wl,-R/usr/pkg/lib;-lwx_gtk3u_gl-3.0;-lwx_gtk3u_core-3.0;-lwx_baseu-3.0 (found version "3.0.5")
--  wxWidgets: /usr/pkg/lib/wx/include/gtk3-unicode-3.0;/usr/pkg/include/wx-3.0 ;/;  -L/usr/pkg/lib;-pthread;;;-Wl,-R/usr/pkg/lib;-lwx_gtk3u_gl-3.0;-lwx_gtk3u_core-3.0;-lwx_baseu-3.0
-- Checking for one of the modules 'streflop-sse'
-- Checking for one of the modules 'streflop'
-- Search for Library STREFLOP result =  libs:  include dirs: 
-- ***Note: The final output path for MegaGlest Map Editor will be [/pbulk/work/games/megaglest/work/megaglest-source-3.13.0/source/glest_map_editor/]
-- ***-- Found help2man: /usr/pkg/bin/help2man about to build manpage in [/pbulk/work/games/megaglest/work/megaglest-source-3.13.0/source/glest_map_editor/megaglest_editor.6]
-- **NOTE: Will Install manpage [megaglest_editor.6] to [man/man6/]
-- Will try to build MegaGlest model viewer
-- GLEW_LIBRARY: /pbulk/work/games/megaglest/work/.buildlink/lib/libGLEW.so
--  wxWidgets: /usr/pkg/lib/wx/include/gtk3-unicode-3.0;/usr/pkg/include/wx-3.0 ;/;  -L/usr/pkg/lib;-pthread;;;-Wl,-R/usr/pkg/lib;-lwx_gtk3u_gl-3.0;-lwx_gtk3u_core-3.0;-lwx_baseu-3.0
-- Checking for one of the modules 'streflop-sse'
-- Checking for one of the modules 'streflop'
-- Search for Library STREFLOP result =  libs:  include dirs: 
-- ***Note: The final output path for MegaGlest G3d Viewer will be [/pbulk/work/games/megaglest/work/megaglest-source-3.13.0/source/g3d_viewer/]
-- ***-- Found help2man: /usr/pkg/bin/help2man about to build manpage in [/pbulk/work/games/megaglest/work/megaglest-source-3.13.0/source/g3d_viewer/megaglest_g3dviewer.6]
-- **NOTE: Will Install manpage [megaglest_g3dviewer.6] to [man/man6/]
-- Will try to build MegaGlest model import/export tools
-- Found LibXml2: /usr/pkg/lib/libxml2.so (found version "2.12.9")
-- =====> Found Define: STREFLOP_SSE
-- Configuring done (4.4s)
-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /pbulk/work/games/megaglest/work/megaglest-source-3.13.0
=> Rewrite cmake Dependencies files