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

        * LUA_VERSION_DEFAULT = 54
        * PYTHON_VERSION_DEFAULT = 310
        * READLINE_DEFAULT = editline
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private

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

        * LUA_PACKAGE = lua54
        * PYPACKAGE = python310
        * 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 glib2-tools-[0-9]*: found glib2-tools-2.74.3
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency bash-[0-9]*: found bash-5.2.15
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.25.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency libxslt-[0-9]*: found libxslt-1.1.37nb1
=> Build dependency x11-links>=1.35: found x11-links-1.35
=> Build dependency boost-headers-1.78.*: found boost-headers-1.78.0
=> Full dependency perl>=5.0: found perl-5.36.0
=> Full dependency SDL2_mixer>=2.0.4nb11: found SDL2_mixer-2.0.4nb11
=> Full dependency SDL2>=2.24.0nb2: found SDL2-2.26.1
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency fribidi>=0.19.1: found fribidi-1.0.11
=> Full dependency boost-libs-1.78.*: found boost-libs-1.78.0nb3
=> Full dependency pango>=1.48.10: found pango-1.50.12
=> Full dependency freetype2>=2.8.1: found freetype2-2.12.1
=> Full dependency png>=1.6.0nb1: found png-1.6.39
=> Full dependency readline>=6.0: found readline-8.2nb1
=> Full dependency SDL2_ttf>=2.20.1nb1: found SDL2_ttf-2.20.1nb1
=> Full dependency SDL2_image>=2.0.5nb8: found SDL2_image-2.0.5nb8
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency lua54>=5.4.0<5.5: found lua54-5.4.4
=> Full dependency python310>=3.10: found python310-3.10.9
=> Full dependency SDL2_net>=2.2.0nb1: found SDL2_net-2.2.0nb1
=> Full dependency openssl>=1.1.1pnb1: found openssl-1.1.1s
=> Full dependency dbus>=0.91: found dbus-1.14.4
=> Full dependency icu>=72.1: found icu-72.1
===> 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 wesnoth-1.16.6nb1
===> Extracting for wesnoth-1.16.6nb1
===> Patching for wesnoth-1.16.6nb1
=> Applying pkgsrc patches for wesnoth-1.16.6nb1
===> Creating toolchain wrappers for wesnoth-1.16.6nb1
/bin/ln -s /work/games/wesnoth/work/.buildlink/lib/pkgconfig/lua-5.4.pc /work/games/wesnoth/work/.buildlink/lib/pkgconfig/lua.pc
===> Configuring for wesnoth-1.16.6nb1
=> Generating pkg-config file for builtin expat package.
=> Replacing python interpreter in data/tools/GUI.pyw data/tools/*.py data/tools/wesnoth/*.py data/tools/wml* data/tools/about_cfg_to_wiki data/tools/addon_manager/html.py data/tools/extractbindings data/tools/imgcheck data/tools/journeylifter data/tools/rmtrans/rmtrans.py data/tools/steam-changelog data/tools/tmx_trackplacer data/tools/trackplacer data/tools/trackviewer.pyw data/tools/unit_tree/helpers.py data/tools/unit_tree/TeamColorizer data/tools/unit_tree/overview.py data/tools/wesnoth/trackplacer3/datatypes.py data/tools/wesnoth_addon_manager utils/ai_test/*.py utils/*.py.
INFO: [replace-interpreter] Nothing changed in data/tools/wesnoth/__init__.py.
WARNING: [replace-interpreter] Skipping non-existent file "data/tools/journeylifter".
WARNING: [replace-interpreter] Skipping non-existent file "data/tools/rmtrans/rmtrans.py".
WARNING: [replace-interpreter] Skipping non-existent file "data/tools/trackplacer".
INFO: [replace-interpreter] Nothing changed in utils/simulate_lobby_traffic.py.
=> Replacing bash interpreter in data/tools/unit_tree/update-wmlunits.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
-- The C compiler identification is GNU 5.5.0
-- The CXX compiler identification is GNU 5.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /work/games/wesnoth/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /work/games/wesnoth/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenSSL: /usr/pkg/lib/libcrypto.so (found suitable version "1.1.1s", minimum required is "1.0")  
-- 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 Boost: /usr/pkg/include (found suitable version "1.78.0", minimum required is "1.66") found components: iostreams program_options regex system thread random coroutine locale filesystem chrono atomic context 
-- Found the following ICU libraries:
--   data (required): /usr/pkg/lib/libicudata.so
--   i18n (required): /usr/pkg/lib/libicui18n.so
--   uc (required): /usr/pkg/lib/libicuuc.so
-- Found ICU: /usr/pkg/include (found version "72.1") 
-- Found Gettext: /usr/bin/msgmerge (found version "0.16.1") 
-- Found X11: /usr/X11R7/include   
-- Looking for XOpenDisplay in /usr/X11R7/lib/libX11.so;/usr/X11R7/lib/libXext.so
-- Looking for XOpenDisplay in /usr/X11R7/lib/libX11.so;/usr/X11R7/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
-- Looking for include file sys/sendfile.h
-- Looking for include file sys/sendfile.h - not found
No build type specified, defaulting to Release
-- Environment compiler flags set to »«
-- CMake compiler flags set to »-Wall -Wextra -Werror=non-virtual-dtor -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wold-style-cast -Wtrampolines -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -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/pkg/include/harfbuzz -I/usr/pkg/include/lua-5.4 -I/usr/include/readline -I/usr/pkg/include/python3.10«
Removing -DNDEBUG flag from CMAKE_CXX_FLAGS_RELWITHDEBINFO
Removing -DNDEBUG flag from CMAKE_C_FLAGS_RELWITHDEBINFO
Removing -DNDEBUG flag from CMAKE_CXX_FLAGS_MINSIZEREL
Removing -DNDEBUG flag from CMAKE_C_FLAGS_MINSIZEREL
Replacing default flags used for Release build with -O2  
Replacing flags used for Debug build -O2 -DDEBUG -ggdb3  
-- Found VorbisFile: optimized;/usr/pkg/lib/libvorbisfile.so;debug;/usr/pkg/lib/libvorbisfile.so  
-- Found PkgConfig: /work/games/wesnoth/work/.tools/bin/pkg-config (found version "1.8.0") 
-- Checking for module 'sdl2>=2.0.8'
--   Found sdl2, version 2.26.1
-- Checking for module 'SDL2_image>=2.0.2'
--   Found SDL2_image, version 2.0.5
-- Checking for module 'SDL2_mixer>=2.0.0'
--   Found SDL2_mixer, version 2.0.4
-- Checking for module 'cairo>=1.10'
--   Found cairo, version 1.16.0
-- Checking for module 'pangocairo>=1.22.0'
--   Found pangocairo, version 1.50.12
-- Checking for module 'fontconfig>=2.4.1'
--   Found fontconfig, version 2.13.1
-- Checking for module 'pango>=1.22.0'
--   Found pango, version 1.50.12
-- Checking for module 'dbus-1'
--   Found dbus-1, version 1.14.4
-- Found History: /usr/pkg/lib/libhistory.so  
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    ENABLE_HISTORY
    Lua_FIND_VERSION_COUNT
    Lua_FIND_VERSION_EXACT
    Lua_FIND_VERSION_MAJOR
    Lua_FIND_VERSION_MINOR
    PYTHON_EXECUTABLE
    PYTHON_INCLUDE_DIR
    PYTHON_INCLUDE_PATH
    PYVERSSUFFIX
    Python3_EXECUTABLE
    Python3_INCLUDE_DIR
    Python_EXECUTABLE
    Python_INCLUDE_DIR


-- Build files have been written to: /work/games/wesnoth/work/wesnoth-1.16.6
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
=> Rewrite cmake Dependencies files