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

        * JPEG_DEFAULT = jpeg
        * KRB5_DEFAULT = heimdal
        * LUA_VERSION_DEFAULT = 52
        * READLINE_DEFAULT = editline
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal
        * LUA_PACKAGE = lua52
        * READLINE_TYPE = editline
        * TERMCAP_TYPE = termcap

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency help2man-[0-9]*: found help2man-1.47.13
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.64.1
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.17.0
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0
=> Build dependency x11-links>=1.31: found x11-links-1.31
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency megaglest-data>=3.13.0: found megaglest-data-3.13.0
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.6nb1
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.20.1nb1
=> Full dependency SDL2>=2.0.10nb4: found SDL2-2.0.12
=> Full dependency fontconfig>=2.13.0: found fontconfig-2.13.1
=> Full dependency ftgl>=2.1.3rc5: found ftgl-2.1.3rc5
=> Full dependency glew>=2.1.0: found glew-2.1.0
=> Full dependency png>=1.6.0nb1: found png-1.6.37
=> Full dependency lua52>=5.2.0<5.3: found lua52-5.2.4nb1
=> Full dependency miniupnpc>=2.1: found miniupnpc-2.1
=> Full dependency libxml2>=2.8.0nb2: found libxml2-2.9.10nb1
=> Full dependency curl>=7.69.0nb1: found curl-7.69.1
=> Full dependency wxGTK30>=3.0.4nb5: found wxGTK30-3.0.4nb5
===> Overriding tools for megaglest-3.13.0nb4
===> Extracting for megaglest-3.13.0nb4
===> Patching for megaglest-3.13.0nb4
=> Applying pkgsrc patches for megaglest-3.13.0nb4
===> Creating toolchain wrappers for megaglest-3.13.0nb4
/bin/ln -s /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/pkgconfig/lua-5.2.pc /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/pkgconfig/lua.pc
===> Configuring for megaglest-3.13.0nb4
=> 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.
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
CMake Warning (dev) at /usr/pkg/share/cmake-3.17/Modules/Platform/NetBSD.cmake:15 (include):
  File /usr/pkg/share/cmake-3.17/Modules/Platform/NetBSD.cmake includes
  /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.17/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.17/Modules/CMakeSystemSpecificInformation.cmake:26 (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.17/Modules/Platform/NetBSD.cmake:15 (include):
  File /usr/pkg/share/cmake-3.17/Modules/Platform/NetBSD.cmake includes
  /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.17/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.17/Modules/CMakeCInformation.cmake:66 (include)
  CMakeLists.txt:2 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check for working C compiler: /tmp/pkgbuild/games/megaglest/work.i386/.cwrapper/bin/gcc
-- Check for working C compiler: /tmp/pkgbuild/games/megaglest/work.i386/.cwrapper/bin/gcc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning (dev) at /usr/pkg/share/cmake-3.17/Modules/Platform/NetBSD.cmake:15 (include):
  File /usr/pkg/share/cmake-3.17/Modules/Platform/NetBSD.cmake includes
  /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.17/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.17/Modules/CMakeCXXInformation.cmake:65 (include)
  CMakeLists.txt:2 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check for working CXX compiler: /tmp/pkgbuild/games/megaglest/work.i386/.cwrapper/bin/c++
-- Check for working CXX compiler: /tmp/pkgbuild/games/megaglest/work.i386/.cwrapper/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_SOURCE_DIR = /tmp/pkgbuild/games/megaglest/work.i386/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: /tmp/pkgbuild/games/megaglest/work.i386/.tools/bin/pkg-config (found version "1.6.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 "1.1.1d")  
-- Found CURL: /usr/pkg/lib/libcurl.so (found version "7.69.1")  
-- #2 CURL RET = 0, using CURL dynamic libs: -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 -lnghttp2 -lidn2 -lssl -lcrypto -lssl -lcrypto -lgssapi -lz
-- Looking for pthread.h
-- Looking for pthread.h - found
-- 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: /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libSDL2main.a;/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libSDL2.so;-lpthread  
-- Found OpenGL: /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libGL.so   
-- Found X11: /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/include   
-- Looking for XOpenDisplay in /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libX11.so;/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libXext.so
-- Looking for XOpenDisplay in /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libX11.so;/tmp/pkgbuild/games/megaglest/work.i386/.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: /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libopenal.so  
CMake Warning (dev) at /usr/pkg/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (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: /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/liblua5.2.so;/lib/libm.so (found version "5.2.4") 
-- Found JPEG: /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libjpeg.so (found version "90") 
-- Found ZLIB: /lib/libz.so (found version "1.2.10") 
-- Found PNG: /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libpng16.so (found version "1.6.37") 
-- **NOTE: FontConfig support was detected and enabled.
-- Found Freetype: /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libfreetype.so (found version "2.10.0") 
-- Found FTGL libraries at /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libftgl.so and includes at /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/include
-- **NOTE: FTGL font support was detected and enabled.
-- Found GLEW: /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/include  
-- GLEW_LIBRARY: /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libGLEW.so
-- LIBVLC disabled so videos are NOT supported.
-- Looking for miniupnpc...
CMake Warning (dev) at /usr/pkg/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (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: /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libminiupnpc.so  
-- Found the miniupnpc headers at /tmp/pkgbuild/games/megaglest/work.i386/.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 [/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/include/miniupnpc] MINIUPNP_FOUND [TRUE] MINIUPNP_LIBRARY [/tmp/pkgbuild/games/megaglest/work.i386/.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.17/Modules/FindPackageHandleStandardArgs.cmake:272 (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 = [-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 -lnghttp2 -lidn2 -lssl -lcrypto -lssl -lcrypto -lgssapi -lz;/usr/lib/libssl.so;/usr/lib/libcrypto.so;/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libSDL2main.a;/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libSDL2.so;-lpthread;/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libGL.so;/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libGLU.so;/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libSM.so;/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libICE.so;/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libX11.so;/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libXext.so;/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libopenal.so;/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/liblua5.2.so;/lib/libm.so;/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libjpeg.so;/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libpng16.so;/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libfontconfig.so;/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libftgl.so;/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libfreetype.so;/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libGLEW.so;/tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libminiupnpc.so]
-- Will try to build MegaGlest game
-- OGG/Vorbis includes: /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/include
-- OGG library        : /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libogg.so
-- Vorbis library     : /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libvorbis.so
-- Vorbis file library: /tmp/pkgbuild/games/megaglest/work.i386/.buildlink/lib/libvorbisfile.so
CMake Warning (dev) at /usr/pkg/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (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.

-- #2 CURL RET = 0, using CURL dynamic libs: -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 -lnghttp2 -lidn2 -lssl -lcrypto -lssl -lcrypto -lgssapi -lz
-- GLEW_LIBRARY: /tmp/pkgbuild/games/megaglest/work.i386/.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 [/tmp/pkgbuild/games/megaglest/work.i386/megaglest-source-3.13.0/source/glest_game/megaglest.6]
-- **Source package INSTALL TRIGGERED [/tmp/pkgbuild/games/megaglest/work.i386/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;;;-lwx_gtk3u_gl-3.0;-lwx_gtk3u_core-3.0;-lwx_baseu-3.0 (found version "3.0.4") 
--  wxWidgets: /usr/pkg/lib/wx/include/gtk3-unicode-3.0;/usr/pkg/include/wx-3.0 ;/;  -L/usr/pkg/lib;-pthread;;;-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 [/tmp/pkgbuild/games/megaglest/work.i386/megaglest-source-3.13.0/source/glest_map_editor/]
-- ***-- Found help2man: /usr/pkg/bin/help2man about to build manpage in [/tmp/pkgbuild/games/megaglest/work.i386/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: /tmp/pkgbuild/games/megaglest/work.i386/.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;;;-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 [/tmp/pkgbuild/games/megaglest/work.i386/megaglest-source-3.13.0/source/g3d_viewer/]
-- ***-- Found help2man: /usr/pkg/bin/help2man about to build manpage in [/tmp/pkgbuild/games/megaglest/work.i386/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.9.10") 
-- =====> Found Define: STREFLOP_SSE
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /tmp/pkgbuild/games/megaglest/work.i386/megaglest-source-3.13.0
=> Rewrite cmake Dependencies files