=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> 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'. => Checksum SHA1 OK for wesnoth-1.14.7.tar.bz2 => Checksum RMD160 OK for wesnoth-1.14.7.tar.bz2 => Checksum SHA512 OK for wesnoth-1.14.7.tar.bz2 ===> Installing dependencies for wesnoth-1.14.7nb1 ========================================================================== The following variables will affect the build process of this package, wesnoth-1.14.7nb1. Their current value is shown below: * LUA_VERSION_DEFAULT = 52 * PYTHON_VERSION_DEFAULT = 37 * 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: * LUA_PACKAGE = lua52 * PYPACKAGE = python37 * 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 glib2-tools-[0-9]*: found glib2-tools-2.60.4 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2 => Tool dependency bash-[0-9]*: found bash-5.0.7 => Tool dependency cmake>=2.8.1nb1: found cmake-3.14.5nb1 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency libxslt-[0-9]*: found libxslt-1.1.33 => Build dependency x11-links>=1.19: found x11-links-1.19 => Build dependency boost-headers-1.70.*: found boost-headers-1.70.0 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency perl>=5.0: found perl-5.28.2 => Full dependency SDL2_mixer>=2.0.0nb2: found SDL2_mixer-2.0.4 => Full dependency SDL2>=2.0.3nb8: found SDL2-2.0.9nb4 => Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.6nb1 => Full dependency fribidi>=0.19.1: found fribidi-0.19.7 => Full dependency boost-libs-1.70.*: found boost-libs-1.70.0 => Full dependency boost-libs>=1.70.0: found boost-libs-1.70.0 => Full dependency pango>=1.42.4nb2: found pango-1.42.4nb4 => Full dependency png>=1.6.0nb1: found png-1.6.37 => Full dependency SDL2_ttf>=2.0.12nb2: found SDL2_ttf-2.0.15 => Full dependency SDL2_image>=2.0.0nb3: found SDL2_image-2.0.5 => Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17 => Full dependency lua52>=5.2.0<5.3: found lua52-5.2.4nb1 => Full dependency python37>=3.7.0: found python37-3.7.3nb1 => Full dependency SDL2_net>=2.0.0nb2: found SDL2_net-2.0.1 => Full dependency dbus>=0.91: found dbus-1.12.16 => Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.23nb1 ===> Overriding tools for wesnoth-1.14.7nb1 ===> Extracting for wesnoth-1.14.7nb1 tar: Global extended headers posix ustar archive. Extracting as plain files. Following files might be in the wrong directory or have wrong attributes. ===> Patching for wesnoth-1.14.7nb1 => Applying pkgsrc patches for wesnoth-1.14.7nb1 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/games/wesnoth/patches/patch-CMakeLists.txt => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/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.3 2018/07/26 10:19:56 adam Exp $ | |Do not look for X11 on macOS. |Do not bother with uninstaller. | |--- CMakeLists.txt.orig 2018-07-22 11:40:33.000000000 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 74 (offset 6 lines). Hunk #2 succeeded at 579 (offset 3 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/games/wesnoth/patches/patch-src_CMakeLists.txt => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/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.1 2018/06/24 16:02:50 adam Exp $ | |On macOS, do not build SDLMain.mm; only needed for app bundle. | |--- src/CMakeLists.txt.orig 2018-06-10 00:02:23.000000000 +0000 |+++ src/CMakeLists.txt -------------------------- Patching file src/CMakeLists.txt using Plan A... Hunk #1 succeeded at 292 (offset 7 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/games/wesnoth/patches/patch-src_wesnoth.cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/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 1007 (offset -5 lines). done ===> Creating toolchain wrappers for wesnoth-1.14.7nb1 /bin/ln -s /tmp/games/wesnoth/work/.buildlink/lib/pkgconfig/lua-5.2.pc /tmp/games/wesnoth/work/.buildlink/lib/pkgconfig/lua.pc ===> Configuring for wesnoth-1.14.7nb1 => 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/trackplacer data/tools/unit_tree/helpers.py data/tools/unit_tree/TeamColorizer data/tools/unit_tree/overview.py data/tools/wesnoth_addon_manager utils/ai_test/*.py utils/*.py. INFO: [replace-interpreter] Nothing changed in data/tools/wesnoth/__init__.py. 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 7.4.0 -- The CXX compiler identification is GNU 7.4.0 -- Check for working C compiler: /tmp/games/wesnoth/work/.cwrapper/bin/gcc -- Check for working C compiler: /tmp/games/wesnoth/work/.cwrapper/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /tmp/games/wesnoth/work/.cwrapper/bin/c++ -- Check for working CXX compiler: /tmp/games/wesnoth/work/.cwrapper/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- 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: /usr/pkg/lib/libSDL2.so;-lpthread (found suitable version "2.0.9", minimum required is "2.0.4") -- Found Crypto: /usr/lib/libcrypto.so (Required is at least version "1.0") -- Boost version: 1.70.0 -- Found the following Boost libraries: -- iostreams -- program_options -- regex -- system -- thread -- random -- chrono -- date_time -- atomic -- 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 stdlib.h -- Looking for include file stdlib.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file poll.h -- Looking for include file poll.h - found -- Looking for include file sys/poll.h -- Looking for include file sys/poll.h - found -- Looking for include file sys/select.h -- Looking for include file sys/select.h - found -- Looking for include file sys/sendfile.h -- Looking for include file sys/sendfile.h - not found -- Looking for round in m -- Looking for round in m - found -- Environment compiler flags set to »« -- CMake compiler flags set to »-std=c++11 -Wall -Wextra -Werror=non-virtual-dtor -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wold-style-cast -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/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/lua-5.2 -I/usr/pkg/include/python3.7« 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 Using ar, ranlib, and default linker Replacing flags used for Debug build -O2 -DDEBUG -ggdb3 Profiler is gprof -- Found SDL2_image: /usr/pkg/lib/libSDL2_image.so (found suitable version "2.0.5", minimum required is "2.0.0") -- Found SDL2_mixer: /usr/pkg/lib/libSDL2_mixer.so (found suitable version "2.0.4", minimum required is "2.0.0") -- Found SDL2_ttf: /usr/pkg/lib/libSDL2_ttf.so (found suitable version "2.0.15", minimum required is "2.0.12") -- Found VorbisFile: optimized;/usr/pkg/lib/libvorbisfile.so;debug;/usr/pkg/lib/libvorbisfile.so -- Found PkgConfig: /tmp/games/wesnoth/work/.tools/bin/pkg-config (found version "1.6.0") -- Checking for module 'gobject-2.0' -- Found gobject-2.0, version 2.60.4 -- Checking for module 'cairo>=1.10' -- Found cairo, version 1.16.0 -- Checking for module 'pangocairo>=1.22.0' -- Found pangocairo, version 1.42.4 -- Checking for module 'fontconfig>=2.4.1' -- Found fontconfig, version 2.13.1 -- Checking for module 'systemd' -- Package 'systemd', required by 'virtual:world', not found -- Checking for module 'fribidi>=0.10.9' -- Found fribidi, version 0.19.7 -- Checking for module 'dbus-1' -- Found dbus-1, version 1.12.16 -- Could NOT find History (missing: HISTORY_LIBRARY) Could not find GNU history. Disabling support for command history in lua console. -- Boost version: 1.70.0 -- Found the following Boost libraries: -- filesystem -- Boost version: 1.70.0 -- Found the following Boost libraries: -- locale -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: PYTHON_EXECUTABLE PYTHON_INCLUDE_DIR PYTHON_INCLUDE_PATH PYVERSSUFFIX -- Build files have been written to: /tmp/games/wesnoth/work/wesnoth-1.14.7 => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp => Rewrite cmake Dependencies files