[package - 135i386-quarterly][games/nxengine] Failed for nxengine-2.6.5.1_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 27 Jul 2025 11:48:55 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     pkubaj@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy13/data/135i386-quarterly/084ba0387759/logs/nxengine-2.6.5.1_2.log
Build URL:      https://pkg-status.freebsd.org/beefy13/build.html?mastername=135i386-quarterly&build=084ba0387759
Log:

=>> Building games/nxengine
build started at Sun Jul 27 11:44:02 UTC 2025
port directory: /usr/ports/games/nxengine
package name: nxengine-2.6.5.1_2
building for: FreeBSD 135i386-quarterly-job-11 13.5-RELEASE-p2 FreeBSD 13.5-RELEASE-p2 i386
maintained by: pkubaj@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  1183 Jul  6 01:01 /usr/ports/games/nxengine/Makefile
Ports top last git commit: 084ba0387
Ports top unclean checkout: no
Port dir last git commit: cf8ae8f8a
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.3
Host OSVERSION: 1500052
Jail OSVERSION: 1305000
Job Id: 11

---Begin Environment---
SHELL=/bin/csh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1305000
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=13.5-RELEASE-p2
LOCALBASE=/usr/local
UNAME_v=FreeBSD 13.5-RELEASE-p2
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.3
MASTERMNT=/usr/local/poudriere/data/.m/135i386-quarterly/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/135i386-quarterly/11/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=135i386-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/135i386-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.3
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
pkubaj@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/nxengine/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/nxengine/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/nxengine/work/.cache  HOME=/wrkdirs/usr/ports/games/nxengine/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/nxengine/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/nxengine/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/nxengine/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/nxengine/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/nxengine/work/.cache  HOME=/wrkdirs/usr/ports/games/nxengine/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/nxengine/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/nxengine/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/games/nxengine/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m 555"  B
SD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
CMAKE_BUILD_TYPE="release" OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/nxengine"  EXAMPLESDIR="share/examples/nxengine"  DATADIR="share/nxengine"  WWWDIR="www/nxengine"  ETCDIR="etc/nxengine"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/nxengine DOCSDIR=/usr/local/share/doc/nxengine EXAMPLESDIR=/usr/local/share/examples/nxengine  WWWDIR=/usr/local/www/nxengine ETCDIR=/usr/local/etc/nxengine
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3 FREEWARE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   nxengine-2.6.5.1_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.2.1.pkg
[135i386-quarterly-job-11] Installing pkg-2.2.1...
[135i386-quarterly-job-11] Extracting pkg-2.2.1: .......... done
===>   nxengine-2.6.5.1_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of nxengine-2.6.5.1_2
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3 FREEWARE accepted by the user
=> nxengine-nxengine-evo-v2.6.5-1_GH0.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://codeload.github.com/nxengine/nxengine-evo/tar.gz/v2.6.5-1?dummy=/nxengine-nxengine-evo-v2.6.5-1_GH0.tar.gz
fetch: https://codeload.github.com/nxengine/nxengine-evo/tar.gz/v2.6.5-1?dummy=/nxengine-nxengine-evo-v2.6.5-1_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/nxengine/nxengine-evo/tar.gz/v2.6.5-1?dummy=/nxengine-nxengine-evo-v2.6.5-1_GH0.tar.gz: size of remote file is not known
nxengine-nxengine-evo-v2.6.5-1_GH0.tar.gz             3799 kB 9620 kBps    00s
===> Fetching all distfiles required by nxengine-2.6.5.1_2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3 FREEWARE accepted by the user
===> Fetching all distfiles required by nxengine-2.6.5.1_2 for building
=> SHA256 Checksum OK for cavestoryen.zip.
=> SHA256 Checksum OK for nxengine-nxengine-evo-v2.6.5-1_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3 FREEWARE accepted by the user
===> Fetching all distfiles required by nxengine-2.6.5.1_2 for building
===>  Extracting for nxengine-2.6.5.1_2
=> SHA256 Checksum OK for cavestoryen.zip.
=> SHA256 Checksum OK for nxengine-nxengine-evo-v2.6.5-1_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for nxengine-2.6.5.1_2
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   nxengine-2.6.5.1_2 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.31.7.pkg
[135i386-quarterly-job-11] Installing cmake-core-3.31.7...
[135i386-quarterly-job-11] `-- Installing expat-2.7.1...
[135i386-quarterly-job-11] `-- Extracting expat-2.7.1: .......... done
[135i386-quarterly-job-11] `-- Installing jsoncpp-1.9.6_1...
[135i386-quarterly-job-11] `-- Extracting jsoncpp-1.9.6_1: .......... done
[135i386-quarterly-job-11] `-- Installing libidn2-2.3.8...
[135i386-quarterly-job-11] |   `-- Installing indexinfo-0.3.1_1...
[135i386-quarterly-job-11] |   `-- Extracting indexinfo-0.3.1_1: .... done
[135i386-quarterly-job-11] |   `-- Installing libunistring-1.3...
[135i386-quarterly-job-11] |   `-- Extracting libunistring-1.3: .......... done
[135i386-quarterly-job-11] `-- Extracting libidn2-2.3.8: .......... done
[135i386-quarterly-job-11] `-- Installing libuv-1.51.0...
[135i386-quarterly-job-11] `-- Extracting libuv-1.51.0: .......... done
<snip>
[135i386-quarterly-job-11] |   | `-- Extracting libsysinfo-0.0.3_3: ......... done
[135i386-quarterly-job-11] |   | `-- Installing py311-dbus-1.3.2...
[135i386-quarterly-job-11] |   |   `-- Installing dbus-glib-0.114...
[135i386-quarterly-job-11] |   |   `-- Extracting dbus-glib-0.114: .......... done
[135i386-quarterly-job-11] |   |   `-- Installing pydbus-common-1.3.2...
[135i386-quarterly-job-11] |   |   `-- Extracting pydbus-common-1.3.2: .......... done
[135i386-quarterly-job-11] |   | `-- Extracting py311-dbus-1.3.2: .......... done
[135i386-quarterly-job-11] |   `-- Extracting jackit-1.9.22_3: .......... done
[135i386-quarterly-job-11] `-- Extracting fluidsynth-2.4.6: .......... done
[135i386-quarterly-job-11] `-- Installing libxmp-4.6.3...
[135i386-quarterly-job-11] `-- Extracting libxmp-4.6.3: .......... done
[135i386-quarterly-job-11] `-- Installing opusfile-0.12_1...
[135i386-quarterly-job-11] `-- Extracting opusfile-0.12_1: .......... done
[135i386-quarterly-job-11] Extracting sdl2_mixer-2.8.1: .......... done
=====
Message from jackit-1.9.22_3:

--
The new JACK server comes with a DBUS control interface:

$ jack_control help
$ jack_control ds oss
$ jack_control dp
$ jack_control dps rate 48000
$ jack_control dps wordlength 16
$ jack_control dps capture /dev/dsp0
$ jack_control dps playback /dev/dsp0
$ jack_control eps realtime False
$ jack_control start

To use real-time priority for JACK server and clients, load the mac_priority(4)
module and add the JACK user to the realtime group.

Memory locking has to be allowed in /etc/login.conf or ~/.login_conf. Set the
resource limit ":memorylocked=unlimited:" and don't forget to run

# cap_mkdb /etc/login.conf

It's still possible to start JACK server as an RC service for a dedicated user.
Note that only one JACK server can be run at a time. An /etc/rc.conf example:

jackd_enable="YES"
jackd_user="joe"
jackd_args="--no-realtime -doss -r48000 -p1024 -w16 \
            --capture /dev/dsp0 --playback /dev/dsp0"

Official JACK example clients and tools are available as jack-example-tools.

JACK 1.9.22 introduces a latency correction fix.
Latency correction parameters have to be measured again after an update.
=====
Message from opusfile-0.12_1:

--
===>   NOTICE:

The opusfile port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
===>   nxengine-2.6.5.1_2 depends on shared library: libSDL2_mixer.so - found (/usr/local/lib/libSDL2_mixer.so)
===>   Returning to build of nxengine-2.6.5.1_2
===>   nxengine-2.6.5.1_2 depends on shared library: libSDL2.so - found (/usr/local/lib/libSDL2.so)
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for nxengine-2.6.5.1_2
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/games/nxengine/work/.build
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- The CXX compiler identification is Clang 19.1.7
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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/local/lib/libSDL2main.a;/usr/local/lib/libSDL2.so;-lpthread
-- Found SDL2_mixer: /usr/local/lib/libSDL2_mixer.so (found version "2.8.1")
-- Found SDL2_image: /usr/local/lib/libSDL2_image.so (found version "2.8.8")
-- Found ZLIB: /usr/lib/libz.so (found version "1.3.1")
-- Found PNG: /usr/local/lib/libpng.so (found version "1.6.49")
-- Found JPEG: /usr/local/lib/libjpeg.so (found version "80")
-- Configuring done (0.5s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_C_COMPILER
    CMAKE_C_FLAGS
    CMAKE_C_FLAGS_DEBUG
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_SHARED_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /wrkdirs/usr/ports/games/nxengine/work/.build
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for nxengine-2.6.5.1_2
[  0% 3/141] /usr/bin/c++ -DDATADIR=\"/usr/local/share/nxengine/data/\" -DHAVE_UNIX_LIKE -I/usr/local/include/SDL2 -I/usr/local/include -I/wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/deps -I/wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG   -Wall -std=c++11 -MD -MT CMakeFiles/nx.dir/src/ObjManager.cpp.o -MF CMakeFiles/nx.dir/src/ObjManager.cpp.o.d -o CMakeFiles/nx.dir/src/ObjManager.cpp.o -c /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/src/ObjManager.cpp
FAILED: CMakeFiles/nx.dir/src/ObjManager.cpp.o 
/usr/bin/c++ -DDATADIR=\"/usr/local/share/nxengine/data/\" -DHAVE_UNIX_LIKE -I/usr/local/include/SDL2 -I/usr/local/include -I/wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/deps -I/wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG   -Wall -std=c++11 -MD -MT CMakeFiles/nx.dir/src/ObjManager.cpp.o -MF CMakeFiles/nx.dir/src/ObjManager.cpp.o.d -o CMakeFiles/nx.dir/src/ObjManager.cpp.o -c /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/src/ObjManager.cpp
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/src/ObjManager.cpp:2:
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/src/ObjManager.h:4:
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/src/object.h:4:
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/src/siflib/sif.h:5:
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/src/siflib/../common/misc.h:5:
In file included from /usr/include/c++/v1/string:647:
/usr/include/c++/v1/string_view:300:42: error: implicit instantiation of undefined template 'std::char_traits<fmt::char8_t>'
  300 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
/wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/deps/spdlog/fmt/bundled/format.h:416:32: note: in instantiation of template class 'std::basic_string_view<fmt::char8_t>' requested here
  416 |     basic_string_view<char8_t>(reinterpret_cast<const char8_t*>(s)) {}
      |                                ^
/usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared here
   45 | struct char_traits;
      |        ^
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/src/ObjManager.cpp:5:
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/src/common/llist.h:5:
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/src/common/../Utils/Logger.h:3:
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/deps/spdlog/spdlog.h:12:
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/deps/spdlog/common.h:28:
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/deps/spdlog/fmt/fmt.h:20:
/wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/deps/spdlog/fmt/bundled/core.h:372:28: error: implicit instantiation of undefined template 'std::char_traits<fmt::char8_t>'
  372 |     : data_(s), size_(std::char_traits<Char>::length(s)) {}
      |                            ^
/wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/deps/spdlog/fmt/bundled/format.h:416:5: note: in instantiation of member function 'fmt::basic_string_view<fmt::char8_t>::basic_string_view' requested here
  416 |     basic_string_view<char8_t>(reinterpret_cast<const char8_t*>(s)) {}
      |     ^
/usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared here
   45 | struct char_traits;
      |        ^
2 errors generated.
[  1% 3/141] /usr/bin/c++ -DDATADIR=\"/usr/local/share/nxengine/data/\" -DHAVE_UNIX_LIKE -I/usr/local/include/SDL2 -I/usr/local/include -I/wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/deps -I/wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG   -Wall -std=c++11 -MD -MT CMakeFiles/nx.dir/src/caret.cpp.o -MF CMakeFiles/nx.dir/src/caret.cpp.o.d -o CMakeFiles/nx.dir/src/caret.cpp.o -c /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/src/caret.cpp
FAILED: CMakeFiles/nx.dir/src/caret.cpp.o 
/usr/bin/c++ -DDATADIR=\"/usr/local/share/nxengine/data/\" -DHAVE_UNIX_LIKE -I/usr/local/include/SDL2 -I/usr/local/include -I/wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/deps -I/wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG   -Wall -std=c++11 -MD -MT CMakeFiles/nx.dir/src/caret.cpp.o -MF CMakeFiles/nx.dir/src/caret.cpp.o.d -o CMakeFiles/nx.dir/src/caret.cpp.o -c /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/src/caret.cpp
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/src/caret.cpp:9:
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/src/common/llist.h:5:
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/src/common/../Utils/Logger.h:3:
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/deps/spdlog/spdlog.h:12:
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/deps/spdlog/common.h:11:
In file included from /usr/include/c++/v1/chrono:1001:
/usr/include/c++/v1/string_view:300:42: error: implicit instantiation of undefined template 'std::char_traits<fmt::char8_t>'
  300 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
/wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/deps/spdlog/fmt/bundled/format.h:416:32: note: in instantiation of template class 'std::basic_string_view<fmt::char8_t>' requested here
  416 |     basic_string_view<char8_t>(reinterpret_cast<const char8_t*>(s)) {}
      |                                ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/src/caret.cpp:9:
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/src/common/llist.h:5:
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/src/common/../Utils/Logger.h:3:
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/deps/spdlog/spdlog.h:12:
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/deps/spdlog/common.h:28:
In file included from /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/deps/spdlog/fmt/fmt.h:20:
/wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/deps/spdlog/fmt/bundled/core.h:372:28: error: implicit instantiation of undefined template 'std::char_traits<fmt::char8_t>'
  372 |     : data_(s), size_(std::char_traits<Char>::length(s)) {}
      |                            ^
/wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/deps/spdlog/fmt/bundled/format.h:416:5: note: in instantiation of member function 'fmt::basic_string_view<fmt::char8_t>::basic_string_view' requested here
  416 |     basic_string_view<char8_t>(reinterpret_cast<const char8_t*>(s)) {}
      |     ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
2 errors generated.
[  2% 3/141] /usr/bin/c++ -DDATADIR=\"/usr/local/share/nxengine/data/\" -DHAVE_UNIX_LIKE -I/usr/local/include/SDL2 -I/usr/local/include -I/wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/deps -I/wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG   -Wall -std=c++11 -MD -MT CMakeFiles/nx.dir/src/ResourceManager.cpp.o -MF CMakeFiles/nx.dir/src/ResourceManager.cpp.o.d -o CMakeFiles/nx.dir/src/ResourceManager.cpp.o -c /wrkdirs/usr/ports/games/nxengine/work/nxengine-evo-2.6.5-1/src/ResourceManager.cpp
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/games/nxengine