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

        * PYTHON_VERSION_DEFAULT = 310

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 mktools-[0-9]*: found mktools-20220614
=> 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 x11-links>=1.35: found x11-links-1.35
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.22.2nb1
=> 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 freetype2>=2.8.1: found freetype2-2.12.1
=> Full dependency png>=1.6.0nb1: found png-1.6.39
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency python27>=2.7.1nb2: found python27-2.7.18nb10
===> 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.0nb6
===> Extracting for gemrb-0.9.0nb6
===> Patching for gemrb-0.9.0nb6
=> Applying pkgsrc patches for gemrb-0.9.0nb6
===> Creating toolchain wrappers for gemrb-0.9.0nb6
===> Configuring for gemrb-0.9.0nb6
/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
-- 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
-- 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.12.1") 
-- 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.39") 
-- 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