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

        * PYTHON_VERSION_DEFAULT = 38

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

        * PYPACKAGE = python27

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 bsdtar-[0-9]*: found bsdtar-3.4.3
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.21.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency x11-links>=1.34: found x11-links-1.34
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.21.1nb2
=> Full dependency SDL2_mixer>=2.0.4nb6: found SDL2_mixer-2.0.4nb6
=> Full dependency SDL2>=2.0.16nb1: found SDL2-2.0.16nb1
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency freetype2>=2.8.1: found freetype2-2.10.4
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency png>=1.6.0nb1: found png-1.6.37nb1
=> Full dependency python27>=2.7.1nb2: found python27-2.7.18nb5
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.26
===> 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 gemrb-0.9.0nb1
===> Extracting for gemrb-0.9.0nb1
===> Patching for gemrb-0.9.0nb1
=> Applying pkgsrc patches for gemrb-0.9.0nb1
=> Verifying /tree/pkgsrc/games/gemrb/patches/patch-gemrb_core_System_String.cpp
=> Applying pkgsrc patch /tree/pkgsrc/games/gemrb/patches/patch-gemrb_core_System_String.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gemrb_core_System_String.cpp,v 1.4 2021/07/22 21:19:43 yhardy Exp $
|
|Deal with old NetBSD/SunOS style iconv.
|
|--- gemrb/core/System/String.cpp.orig	2021-06-18 12:08:06.000000000 +0000
|+++ gemrb/core/System/String.cpp
--------------------------
Patching file gemrb/core/System/String.cpp using Plan A...
Hunk #1 succeeded at 30.
Hunk #2 succeeded at 131.
done
=> Verifying /tree/pkgsrc/games/gemrb/patches/patch-gemrb_plugins_TTFImporter_TTFFont.cpp
=> Applying pkgsrc patch /tree/pkgsrc/games/gemrb/patches/patch-gemrb_plugins_TTFImporter_TTFFont.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gemrb_plugins_TTFImporter_TTFFont.cpp,v 1.1 2020/08/31 12:46:21 nia Exp $
|
|Deal with old NetBSD/SunOS style iconv.
|
|--- gemrb/plugins/TTFImporter/TTFFont.cpp.orig	2020-08-23 18:32:26.000000000 +0000
|+++ gemrb/plugins/TTFImporter/TTFFont.cpp
--------------------------
Patching file gemrb/plugins/TTFImporter/TTFFont.cpp using Plan A...
Hunk #1 succeeded at 28.
Hunk #2 succeeded at 58.
done
===> Creating toolchain wrappers for gemrb-0.9.0nb1
===> Configuring for gemrb-0.9.0nb1
/bin/mkdir -p /scratch/work/games/gemrb/work/gemrb-0.9.0/build
=> Replacing python interpreter in admin/extend2da.py.
=> Fixing CMAKE_MODULE_PATH 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: /scratch/work/games/gemrb/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: /scratch/work/games/gemrb/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detected version: 0.9.0
-- Git version bool: 0
-- Performing Test VISIBILITY_HIDDEN
-- Performing Test VISIBILITY_HIDDEN - Success
-- Performing Test STACK_PROTECTOR
-- Performing Test STACK_PROTECTOR - Success
-- Performing Test FALLTHROUGH
-- Performing Test FALLTHROUGH - Failed
-- Found PythonLibs: /usr/pkg/lib/libpython2.7.so (found suitable version "2.7.18", minimum required is "2.3") 
-- Looking for Python libraries and headers: found
-- 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: /usr/pkg/lib/libSDL2.so;-lpthread  
-- Found SDL2_mixer: /usr/pkg/lib/libSDL2_mixer.so (found version "2.0.4") 
-- Looking for SDL: found
-- Looking for libSDL: found
-- Looking for SDL_mixer: found
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.10") 
-- Looking for Zlib: found
-- Found OpenAL: /usr/pkg/lib/libopenal.so  
-- Looking for OpenAL: found
-- Found Freetype: /usr/pkg/lib/libfreetype.so (found version "2.10.4") 
-- Looking for Freetype: found
-- Looking for iconv_open
-- Looking for iconv_open - found
-- Performing Test ICONV_COMPILES
-- Performing Test ICONV_COMPILES - Success
-- Found ICONV: In glibc  
-- Found ICONV includes: /usr/include
-- One (and only one) of the ICONV_ACCEPTS_... tests must pass
-- Performing Test ICONV_ACCEPTS_NONCONST_INPUT
-- Performing Test ICONV_ACCEPTS_NONCONST_INPUT - Failed
-- Performing Test ICONV_ACCEPTS_CONST_INPUT
-- Performing Test ICONV_ACCEPTS_CONST_INPUT - Success
-- Found PNG: /usr/pkg/lib/libpng16.so (found version "1.6.37") 
-- Looking for libPNG: found
-- Looking for Ogg Vorbis support: found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of int
-- Check size of int - done
-- Check size of long int
-- Check size of long int - done
-- Check size of uint64_t
-- Check size of uint64_t - done
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Looking for strndup
-- Looking for strndup - found
-- Looking for strlcpy
-- Looking for strlcpy - found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for ldexpf
-- Looking for ldexpf - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file malloc.h
-- Looking for include file malloc.h - found
-- Looking for include file langinfo.h
-- Looking for include file langinfo.h - found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - not found
-- Looking for memalign
-- Looking for memalign - not found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Performing Test HAS_OBJALIGN4
-- Performing Test HAS_OBJALIGN4 - Success
-- Performing Test HAS_WSTRING
-- Performing Test HAS_WSTRING - Success
-- Performing Test PERMITS_OBJECT_TO_FUNCTION_CAST
-- Performing Test PERMITS_OBJECT_TO_FUNCTION_CAST - Failed
-- 
-- These are the configured paths:
--   PREFIX: /usr/pkg
--   LIB_DIR: /usr/pkg/lib/gemrb
--   PLUGIN_DIR: /usr/pkg/lib/gemrb/plugins
--   BIN_DIR: /usr/pkg/bin
--   DATA_DIR: /usr/pkg/share/gemrb
--   MAN_DIR: /usr/pkg/man/man6
--   SYSCONF_DIR: /usr/pkg/etc/gemrb
--   DOC_DIR: /usr/pkg/share/doc/gemrb
--   ICON_DIR: /usr/pkg/share/pixmaps
--   SVG_DIR: /usr/pkg/share/icons/hicolor/scalable/apps
--   MENU_DIR: /usr/pkg/share/applications
-- 
-- Options:
--   LAYOUT: fhs
--   NOCOLOR: disabled
--   STATIC_LINK: disabled
--   INSOURCEBUILD: disabled
--   DISABLE_WERROR: ON
--   WIN32_USE_STDIO: disabled
--   SDL_BACKEND: SDL2
--   OPENGL_BACKEND: None
-- 
-- Build type: RelWithDebInfo
-- Target bitness: 4*8
-- 
-- Configuring done
CMake Warning (dev) at CMakeLists.txt:520 (ADD_LIBRARY):
  Policy CMP0115 is not set: Source file extensions must be explicit.  Run
  "cmake --help-policy CMP0115" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  File:

    /scratch/work/games/gemrb/work/gemrb-0.9.0/gemrb/plugins/BAMImporter/BAMFontManager.cpp
Call Stack (most recent call first):
  gemrb/plugins/BAMImporter/CMakeLists.txt:1 (ADD_GEMRB_PLUGIN)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR
    Python2_EXECUTABLE
    Python2_INCLUDE_DIR
    Python_EXECUTABLE
    Python_INCLUDE_DIR


-- Build files have been written to: /scratch/work/games/gemrb/work/gemrb-0.9.0/build
=> Rewrite cmake Dependencies files