=> Bootstrap dependency digest>=20211023: found digest-20211023 => Checksum BLAKE2s OK for wesnoth-1.16.0.tar.bz2 => Checksum SHA512 OK for wesnoth-1.16.0.tar.bz2 ===> Installing dependencies for wesnoth-1.16.0nb1 ========================================================================== The following variables will affect the build process of this package, wesnoth-1.16.0nb1. Their current value is shown below: * LUA_VERSION_DEFAULT = 53 * PYTHON_VERSION_DEFAULT = 39 * 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 = lua53 * PYPACKAGE = python39 * 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.70.2 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb3 => Tool dependency bash-[0-9]*: found bash-5.1.12 => Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3 => Tool dependency cmake>=2.8.1nb1: found cmake-3.22.1nb1 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency libxslt-[0-9]*: found libxslt-1.1.34nb7 => Build dependency x11-links>=1.34: found x11-links-1.34 => Build dependency boost-headers-1.77.*: found boost-headers-1.77.0nb1 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency perl>=5.0: found perl-5.34.0nb3 => Full dependency SDL2_mixer>=2.0.4nb7: found SDL2_mixer-2.0.4nb7 => Full dependency SDL2>=2.0.16nb1: found SDL2-2.0.18 => 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.77.*: found boost-libs-1.77.0nb1 => Full dependency pango>=1.48.10: found pango-1.48.10nb1 => Full dependency freetype2>=2.8.1: found freetype2-2.10.4 => Full dependency png>=1.6.0nb1: found png-1.6.37nb1 => Full dependency SDL2_ttf>=2.0.15nb3: found SDL2_ttf-2.0.15nb4 => Full dependency SDL2_image>=2.0.5nb3: found SDL2_image-2.0.5nb4 => Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1 => Full dependency lua53>=5.3.0<5.4: found lua53-5.3.6 => Full dependency python39>=3.9.0: found python39-3.9.9nb1 => Full dependency SDL2_net>=2.0.1nb3: found SDL2_net-2.0.1nb4 => Full dependency openssl>=1.1.1dnb2: found openssl-1.1.1l => Full dependency dbus>=0.91: found dbus-1.12.20nb2 => Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.26nb1 => Full dependency icu>=70.1: found icu-70.1 ===> 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'. ===> Overriding tools for wesnoth-1.16.0nb1 ===> Extracting for wesnoth-1.16.0nb1 ===> Patching for wesnoth-1.16.0nb1 => Applying pkgsrc patches for wesnoth-1.16.0nb1 => Verifying /usr/pkgsrc/games/wesnoth/patches/patch-CMakeLists.txt => Applying pkgsrc patch /usr/pkgsrc/games/wesnoth/patches/patch-CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CMakeLists.txt,v 1.4 2021/11/02 18:35:04 adam Exp $ | |Do not look for X11 on macOS. |Do not bother with uninstaller. | |--- CMakeLists.txt.orig 2021-10-24 00:23:51.000000000 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 76. Hunk #2 succeeded at 570. done => Verifying /usr/pkgsrc/games/wesnoth/patches/patch-src_CMakeLists.txt => Applying pkgsrc patch /usr/pkgsrc/games/wesnoth/patches/patch-src_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_CMakeLists.txt,v 1.4 2021/11/02 18:35:04 adam Exp $ | |On macOS, do not build SDLMain.mm; only needed for app bundle. | |--- src/CMakeLists.txt.orig 2021-10-24 00:23:51.000000000 +0000 |+++ src/CMakeLists.txt -------------------------- Patching file src/CMakeLists.txt using Plan A... Hunk #1 succeeded at 154. done => Verifying /usr/pkgsrc/games/wesnoth/patches/patch-src_color__range.cpp => Applying pkgsrc patch /usr/pkgsrc/games/wesnoth/patches/patch-src_color__range.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_color__range.cpp,v 1.1 2020/04/15 22:52:09 joerg Exp $ | |--- src/color_range.cpp.orig 2020-04-14 20:36:13.908481410 +0000 |+++ src/color_range.cpp -------------------------- Patching file src/color_range.cpp using Plan A... Hunk #1 succeeded at 24. done => Verifying /usr/pkgsrc/games/wesnoth/patches/patch-src_wesnoth.cpp => Applying pkgsrc patch /usr/pkgsrc/games/wesnoth/patches/patch-src_wesnoth.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_wesnoth.cpp,v 1.1 2018/06/24 16:02:50 adam Exp $ | |On macOS, use regular (); wesnoth_main() only needed for app bundle. | |--- src/wesnoth.cpp.orig 2018-06-24 12:26:22.000000000 +0000 |+++ src/wesnoth.cpp -------------------------- Patching file src/wesnoth.cpp using Plan A... Hunk #1 succeeded at 968 (offset -44 lines). done ===> Creating toolchain wrappers for wesnoth-1.16.0nb1 /bin/ln -s /usr/pkgsrc/games/wesnoth/work/.buildlink/lib/pkgconfig/lua-5.3.pc /usr/pkgsrc/games/wesnoth/work/.buildlink/lib/pkgconfig/lua.pc ===> Configuring for wesnoth-1.16.0nb1 => 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". => Checking for portability problems in extracted files -- 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: /usr/pkgsrc/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: /usr/pkgsrc/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.1l", minimum required is "1.0") -- 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 Boost: /usr/pkg/include (found suitable version "1.77.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) -- i18n (required) -- uc (required) -- Found ICU: /usr/pkg/include (found version "70.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 -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.3 -I/usr/include/readline -I/usr/pkg/include/python3.9« 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 SDL2: /usr/pkg/lib/libSDL2main.a;/usr/pkg/lib/libSDL2.so;-lpthread (found suitable version "2.0.18", minimum required is "2.0.8") -- Found SDL2_image: /usr/pkg/lib/libSDL2_image.so (found suitable version "2.0.5", minimum required is "2.0.2") -- Found SDL2_mixer: /usr/pkg/lib/libSDL2_mixer.so (found suitable version "2.0.4", minimum required is "2.0.0") -- Found VorbisFile: optimized;/usr/pkg/lib/libvorbisfile.so;debug;/usr/pkg/lib/libvorbisfile.so -- Found PkgConfig: /usr/pkgsrc/games/wesnoth/work/.tools/bin/pkg-config (found version "1.8.0") -- Checking for module 'cairo>=1.10' -- Found cairo, version 1.16.0 -- Checking for module 'pangocairo>=1.22.0' -- Found pangocairo, version 1.48.10 -- Checking for module 'fontconfig>=2.4.1' -- Found fontconfig, version 2.13.1 -- Checking for module 'dbus-1' -- Found dbus-1, version 1.12.20 -- Could NOT find History (missing: HISTORY_LIBRARY) -- 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: /usr/pkgsrc/games/wesnoth/work/wesnoth-1.16.0 => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp => Rewrite cmake Dependencies files