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

        * CURSES_DEFAULT = curses
        * KRB5_DEFAULT = heimdal
        * READLINE_DEFAULT = editline
        * SSLBASE = /usr
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private
        * VARBASE = /var

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

        * CURSES_TYPE = curses
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal
        * 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.80.4
=> Tool dependency cmake>=0: found cmake-3.30.3
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency x11-links>=1.36: found x11-links-1.36
=> Full dependency SDL2>=2.30.2nb1: found SDL2-2.30.6
=> Full dependency fontconfig>=2.14.2nb3: found fontconfig-2.15.0
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.3
=> 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 icu>=75.1: found icu-75.1
=> Full dependency lzo>=2.01: found lzo-2.10
=> Full dependency fluidsynth>=2.3.5nb1: found fluidsynth-2.3.6
=> Full dependency curl>=8.7.1nb1: found curl-8.9.1nb1
===> 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 openttd-14.1nb1
===> Extracting for openttd-14.1nb1
===> Patching for openttd-14.1nb1
=> Applying pkgsrc patches for openttd-14.1nb1
===> Creating toolchain wrappers for openttd-14.1nb1
===> Configuring for openttd-14.1nb1
=> Generating pkg-config file for builtin expat package.
=> Generating pkg-config files for builtin xz package.
-- 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: /pbulk/work/games/openttd/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test LIFETIME_DSE_FOUND
-- Performing Test LIFETIME_DSE_FOUND - Success
-- 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 ZLIB: /usr/lib/libz.so (found version "1.2.13")
-- Looking for lzma_auto_decoder in /usr/lib/liblzma.so
-- Looking for lzma_auto_decoder in /usr/lib/liblzma.so - found
-- Looking for lzma_easy_encoder in /usr/lib/liblzma.so
-- Looking for lzma_easy_encoder in /usr/lib/liblzma.so - found
-- Looking for lzma_lzma_preset in /usr/lib/liblzma.so
-- Looking for lzma_lzma_preset in /usr/lib/liblzma.so - found
-- Found LibLZMA: /usr/lib/liblzma.so (found version "5.2.4")
-- Found LZO: /usr/pkg/lib/liblzo2.so (found version "2.10")
-- Found PNG: /usr/pkg/lib/libpng16.so (found version "1.6.43")
-- Found CURL: /usr/pkg/lib/libcurl.so (found version "8.9.1")
CMake Warning at CMakeLists.txt:138 (find_package):
  By not providing "Findunofficial-breakpad.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "unofficial-breakpad", but CMake did not find one.

  Could not find a package configuration file provided by
  "unofficial-breakpad" with any of the following names:

    unofficial-breakpadConfig.cmake
    unofficial-breakpad-config.cmake

  Add the installation prefix of "unofficial-breakpad" to CMAKE_PREFIX_PATH
  or set "unofficial-breakpad_DIR" to a directory containing one of the above
  files.  If "unofficial-breakpad" provides a separate development package or
  SDK, be sure it has been installed.


-- Found Freetype: /usr/pkg/lib/libfreetype.so (found version "2.13.3")
-- Found Fluidsynth: /usr/pkg/lib/libfluidsynth.so (found version "2.3.6")
-- Found Fontconfig: /usr/pkg/lib/libfontconfig.so (found version "2.13.1")
-- Could NOT find Harfbuzz (missing: Harfbuzz_LIBRARY Harfbuzz_INCLUDE_DIR) 
-- Found ICU: TRUE (found version "75.1") found components: i18n
-- Found OpenGL: /usr/X11R7/lib/libGL.so  found components: OpenGL
-- Performing Test SSE_FOUND
-- Performing Test SSE_FOUND - Success
-- Performing Test XAUDIO2_FOUND
-- Performing Test XAUDIO2_FOUND - Failed
-- Option Package Dependencies - OFF
-- Option Dedicated - OFF
-- Option Install FHS - ON
-- Option Use assert - OFF
-- Option Use NSIS - OFF
-- Option Survey Key - NOT USED
CMake Warning at CMakeLists.txt:196 (message):
  Without HarfBuzz and ICU i18n the game will not be able to render
  right-to-left languages correctly


-- The C compiler identification is GNU 10.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /pbulk/work/games/openttd/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- PNG found -- -DWITH_PNG -- PNG::PNG
-- ZLIB found -- -DWITH_ZLIB -- ZLIB::ZLIB
-- LIBLZMA found -- -DWITH_LIBLZMA -- LibLZMA::LibLZMA
-- LZO found -- -DWITH_LZO -- /usr/pkg/include /usr/pkg/include -- /usr/pkg/lib/liblzo2.so /usr/pkg/lib/liblzo2.so
-- CURL found -- -DWITH_CURL -- /usr/pkg/include /usr/pkg/include -- /usr/pkg/lib/libcurl.so /usr/pkg/lib/libcurl.so
CMake Warning at cmake/LinkPackage.cmake:24 (message):
  unofficial-breakpad not found; compiling OpenTTD without
  unofficial-breakpad is strongly discouraged
Call Stack (most recent call first):
  CMakeLists.txt:322 (link_package)


-- Fluidsynth found -- -DWITH_FLUIDSYNTH -- /usr/pkg/include /usr/pkg/include -- /usr/pkg/lib/libfluidsynth.so /usr/pkg/lib/libfluidsynth.so
-- SDL2 found -- -DWITH_SDL2 -- SDL2::SDL2
-- FREETYPE found -- -DWITH_FREETYPE -- Freetype::Freetype
-- Fontconfig found -- -DWITH_FONTCONFIG -- Fontconfig::Fontconfig
-- ICU_i18n found -- -DWITH_ICU_I18N -- /usr/pkg/include  -- /usr/pkg/lib/libicui18n.so;/usr/pkg/lib/libicuuc.so;/usr/pkg/lib/libicudata.so 
-- OpenGL found -- -DWITH_OPENGL -- (via SDL2)
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Failed
-- Looking for __atomic_load_8 in atomic
-- Looking for __atomic_load_8 in atomic - not found
CMake Error at cmake/3rdparty/llvm/CheckAtomic.cmake:92 (message):
  Host compiler appears to require libatomic for 64-bit operations, but
  cannot find it.
Call Stack (most recent call first):
  CMakeLists.txt:346 (include)


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/games/openttd
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/games/openttd