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

        * KRB5_DEFAULT = heimdal
        * SSLBASE = /usr
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

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

        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal

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 cmake>=3.18: found cmake-3.28.4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> Tool dependency distcc-[0-9]*: found distcc-3.4
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency x11-links>=1.35: found x11-links-1.35nb1
=> Build dependency nlohmann-json>=3.7.0: found nlohmann-json-3.11.2
=> Full dependency libzip>=1.10.1nb2: found libzip-1.10.1nb2
=> Full dependency speexdsp>=1.2rc3: found speexdsp-1.2.1
=> Full dependency SDL2>=2.28.5nb1: found SDL2-2.30.1
=> Full dependency fontconfig>=2.14.2nb3: found fontconfig-2.15.0
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.2nb1
=> Full dependency png>=1.6.0nb1: found png-1.6.43
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency libduktape>=1.5.0: found libduktape-2.7.0
=> Full dependency icu>=74.1: found icu-74.2
=> Full dependency curl>=8.4.0nb1: found curl-8.7.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 openrct2-0.4.9
===> Extracting for openrct2-0.4.9
===> Patching for openrct2-0.4.9
=> Applying pkgsrc patches for openrct2-0.4.9
===> Creating toolchain wrappers for openrct2-0.4.9
===> Configuring for openrct2-0.4.9
=> Fixing documentation path.
/bin/mkdir -p /tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build
=> Generating pkg-config file for builtin expat package.
=> Generating pkg-config files for builtin xz package.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
-- Could NOT find CCache (missing: CCache_EXECUTABLE) 
Usage of CCache was enabled, but CCache was not found, so CCache is not being enabled.
-- The CXX compiler identification is GNU 10.5.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /tmp/pkgbuild/games/openrct2/work.sparc/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /tmp/pkgbuild/games/openrct2/work.sparc/.tools/bin/pkg-config (found version "2.1.1") 
-- IPO not supported: Change Dir: '/tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build/CMakeFiles/_CMakeLTOTest-CXX/bin'

Run Build Command(s): /usr/pkg/bin/cmake -E env VERBOSE=1 /tmp/pkgbuild/games/openrct2/work.sparc/.tools/bin/make -f Makefile
/usr/pkg/bin/cmake -S/tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build/CMakeFiles/_CMakeLTOTest-CXX/src -B/tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build/CMakeFiles/_CMakeLTOTest-CXX/bin --check-build-system CMakeFiles/Makefile.cmake 0
/usr/pkg/bin/cmake -E cmake_progress_start /tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles /tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build/CMakeFiles/_CMakeLTOTest-CXX/bin//CMakeFiles/progress.marks
/tmp/pkgbuild/games/openrct2/work.sparc/.tools/bin/make  -f CMakeFiles/Makefile2 all
/tmp/pkgbuild/games/openrct2/work.sparc/.tools/bin/make  -f CMakeFiles/foo.dir/build.make CMakeFiles/foo.dir/depend
cd /tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build/CMakeFiles/_CMakeLTOTest-CXX/bin && /usr/pkg/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build/CMakeFiles/_CMakeLTOTest-CXX/src /tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build/CMakeFiles/_CMakeLTOTest-CXX/src /tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build/CMakeFiles/_CMakeLTOTest-CXX/bin /tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build/CMakeFiles/_CMakeLTOTest-CXX/bin /tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/foo.dir/DependInfo.cmake
Dependee "/tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/foo.dir/DependInfo.cmake" is newer than depender "/tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/foo.dir/depend.internal".
Dependee "/tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/foo.dir/depend.internal".
Scanning dependencies of target foo
/tmp/pkgbuild/games/openrct2/work.sparc/.tools/bin/make  -f CMakeFiles/foo.dir/build.make CMakeFiles/foo.dir/build
[ 25%] Building CXX object CMakeFiles/foo.dir/foo.cpp.o
/tmp/pkgbuild/games/openrct2/work.sparc/.cwrapper/bin/c++   -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/include/krb5 -DORCT2_RESOURCE_DIR=\"/usr/pkg/share/openrct2\" -flto=auto -fno-fat-lto-objects -o CMakeFiles/foo.dir/foo.cpp.o -c /tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build/CMakeFiles/_CMakeLTOTest-CXX/src/foo.cpp
distcc[22245] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
[ 50%] Linking CXX static library libfoo.a
/usr/pkg/bin/cmake -P CMakeFiles/foo.dir/cmake_clean_target.cmake
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/foo.dir/link.txt --verbose=1
"/usr/bin/ar" cr libfoo.a CMakeFiles/foo.dir/foo.cpp.o
/usr/bin/ar: CMakeFiles/foo.dir/foo.cpp.o: plugin needed to handle lto object
"CMAKE_CXX_COMPILER_RANLIB-NOTFOUND" libfoo.a
Error running link command: No such file or directory
*** Error code 2
make[2]: *** libfoo.a removed

Stop.
make[2]: stopped in /tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build/CMakeFiles/_CMakeLTOTest-CXX/bin
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build/CMakeFiles/_CMakeLTOTest-CXX/bin
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build/CMakeFiles/_CMakeLTOTest-CXX/bin

.
-- Performing Test CXX_WARN_SUGGEST_OVERRIDE
-- Performing Test CXX_WARN_SUGGEST_OVERRIDE - Success
-- Performing Test CXX_WARN_DUPLICATED_COND
-- Performing Test CXX_WARN_DUPLICATED_COND - Success
-- Performing Test CXX_WARN_NON_VIRTUAL_DTOR
-- Performing Test CXX_WARN_NON_VIRTUAL_DTOR - Success
-- Performing Test CXX_WARN_MISSING_VARIABLE_DECLARATIONS
-- Performing Test CXX_WARN_MISSING_VARIABLE_DECLARATIONS - Failed
-- Unsupported CXXFLAG: -Wmissing-variable-declarations
-- Performing Test CXX_WARN_DUPLICATED_BRANCHES
-- Performing Test CXX_WARN_DUPLICATED_BRANCHES - Success
-- Performing Test CXX_WARN_RESTRICT
-- Performing Test CXX_WARN_RESTRICT - Success
-- Performing Test CXX_WARN_MISSING_FIELD_INITIALIZERS
-- Performing Test CXX_WARN_MISSING_FIELD_INITIALIZERS - Success
-- Performing Test CXX_WARN_UNREACHABLE_CODE_BREAK
-- Performing Test CXX_WARN_UNREACHABLE_CODE_BREAK - Failed
-- Unsupported CXXFLAG: -Wunreachable-code-break
-- Performing Test CXX_WARN_LOGICAL_OP
-- Performing Test CXX_WARN_LOGICAL_OP - Success
-- Performing Test CXX_WARN_RANGE_LOOP_ANALYSIS
-- Performing Test CXX_WARN_RANGE_LOOP_ANALYSIS - Failed
-- Unsupported CXXFLAG: -Wrange-loop-analysis
-- Performing Test CXX_WARN_TAUTOLOGICAL_ZERO_COMPARE
-- Performing Test CXX_WARN_TAUTOLOGICAL_ZERO_COMPARE - Failed
-- Unsupported CXXFLAG: -Wtautological-unsigned-zero-compare
-- Performing Test CXX_WARN_OLD_STYLE_CAST
-- Performing Test CXX_WARN_OLD_STYLE_CAST - Success
-- Performing Test CXX_WARN_UNUSED_CONST_VARIABLE
-- Performing Test CXX_WARN_UNUSED_CONST_VARIABLE - Success
-- Performing Test CXX_WNO_CLOBBERED
-- Performing Test CXX_WNO_CLOBBERED - Success
-- Performing Test CXX_WARN_REDUNDANT_DECLS
-- Performing Test CXX_WARN_REDUNDANT_DECLS - Success
-- Performing Test CXX_WARN_NULL_DEREFERENCE
-- Performing Test CXX_WARN_NULL_DEREFERENCE - Success
-- Performing Test CXX_WARN_SUGGEST_FINAL_TYPES
-- Performing Test CXX_WARN_SUGGEST_FINAL_TYPES - Success
-- Performing Test CXX_WARN_SUGGEST_FINAL_METHODS
-- Performing Test CXX_WARN_SUGGEST_FINAL_METHODS - Success
-- Performing Test CXX_WARN_IGNORED_QUALIFIERS
-- Performing Test CXX_WARN_IGNORED_QUALIFIERS - Success
-- Performing Test CXX_WARN_STRICT_OVERFLOW
-- Performing Test CXX_WARN_STRICT_OVERFLOW - Success
-- Found OpenSSL: /usr/lib/libcrypto.so (found suitable version "3.0.12", minimum required is "1.0.0")  
-- Checking for module 'libcurl'
--   Found libcurl, version 8.7.1
-- Checking for module 'fontconfig'
--   Found fontconfig, version 2.13.1
-- Checking for module 'freetype2'
--   Found freetype2, version 26.1.20
-- Checking for module 'libzip>=1.0'
--   Found libzip, version 1.10.1
-- Checking for module 'zlib'
--   Found zlib, version 1.2.10
-- Checking for module 'libpng>=1.6'
--   Found libpng, version 1.6.43
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- Found the following ICU libraries:
--   uc (required): /usr/pkg/lib/libicuuc.so
-- Found ICU: /usr/pkg/include (found suitable version "74.2", minimum required is "59.0") 
-- Checking for module 'sdl2'
--   Found sdl2, version 2.30.1
-- Checking for module 'speexdsp'
--   Found speexdsp, version 1.2.1
-- Checking for module 'flac'
--   Found flac, version 1.4.3
-- Checking for module 'ogg'
--   Found ogg, version 1.3.5
-- Checking for module 'vorbisfile'
--   Found vorbisfile, version 1.3.7
-- Checking for module 'gl'
--   Found gl, version 19.1.17
-- Configuring done (77.7s)
-- Generating done (2.0s)
-- Build files have been written to: /tmp/pkgbuild/games/openrct2/work.sparc/OpenRCT2-0.4.9/build
=> Rewrite cmake Dependencies files