[package - 123amd64-default][games/openenroth] Failed for openenroth-g20230128 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 05 Feb 2023 18:40:39 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:     danfe@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy6/data/123amd64-default/2f5a35cecf5c/logs/openenroth-g20230128.log
Build URL:      https://pkg-status.freebsd.org/beefy6/build.html?mastername=123amd64-default&build=2f5a35cecf5c
Log:

=>> Building games/openenroth
build started at Sun Feb  5 18:40:08 UTC 2023
port directory: /usr/ports/games/openenroth
package name: openenroth-g20230128
building for: FreeBSD 123amd64-default-job-11 12.3-RELEASE-p10 FreeBSD 12.3-RELEASE-p10 amd64
maintained by: danfe@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1203000
Job Id: 11

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1203000
UNAME_v=FreeBSD 12.3-RELEASE-p10
UNAME_r=12.3-RELEASE-p10
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/123amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/123amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=123amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/123amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

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

--MAINTAINER--
danfe@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/openenroth/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/openenroth/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/openenroth/work/.cache  HOME=/wrkdirs/usr/ports/games/openenroth/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/openenroth/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/openenroth/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/openenroth/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/openenroth/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/openenroth/work/.cache  HOME=/wrkdirs/usr/ports/games/openenroth/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/openenroth/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/openenroth/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/openenroth/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  "  MANPREFIX="/usr/local" BSD_INSTALL_PR
 OGRAM="install  -s -m 555"  BSD_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=12.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/openenroth"  EXAMPLESDIR="share/examples/openenroth"  DATADIR="share/openenroth"  WWWDIR="www/openenroth"  ETCDIR="etc/openenroth"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/openenroth DOCSDIR=/usr/local/share/doc/openenroth EXAMPLESDIR=/usr/local/share/examples/openenroth  WWWDIR=/usr/local/www/openenroth ETCDIR=/usr/local/etc/openenroth
--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
#### /usr/local/etc/poudriere.d/make.conf ####
# 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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=error: invalid value 'c++2b' in '-std=c++2b' note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard note: use 'c++11' for 'ISO C++ 2011 with amendments' standard note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard note: use 'c++14' for 'ISO C++ 2014 with amendments' standard note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard note: use 'c++17' for 'ISO C++ 2017 with amendments' standard note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard note: use 'c++20' for 'ISO C++ 2020 DIS' standard note: use 'gnu++20' for 'ISO C++ 2020 DIS with GNU extensions' standard
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=error: invalid value 'gnu++2b' in '-std=gnu++2b' note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard note: use 'c++11' for 'ISO C++ 2011 with amendments' standard note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard note: use 'c++14' for 'ISO C++ 2014 with amendments' standard note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard note: use 'c++17' for 'ISO C++ 2017 with amendments' standard note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard note: use 'c++20' for 'ISO C++ 2020 DIS' standard note: use 'gnu++20' for 'ISO C++ 2020 DIS with GNU extensions' standard
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.3-RELEASE-p10
OSREL=12.3
OSVERSION=1203000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
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)  1024
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   >============================
===>  License LGPL3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   openenroth-g20230128 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1.pkg
[123amd64-default-job-11] Installing pkg-1.19.1...
[123amd64-default-job-11] Extracting pkg-1.19.1: .......... done
===>   openenroth-g20230128 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of openenroth-g20230128
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License LGPL3 accepted by the user
===> Fetching all distfiles required by openenroth-g20230128 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License LGPL3 accepted by the user
===> Fetching all distfiles required by openenroth-g20230128 for building
=> SHA256 Checksum OK for OpenEnroth-OpenEnroth-g20230128-093e253_GH0.tar.gz.
=> SHA256 Checksum OK for CLIUtils-CLI11-a227cd1_GH0.tar.gz.
=> SHA256 Checksum OK for fastfloat-fast_float-1ea4f27_GH0.tar.gz.
=> SHA256 Checksum OK for g-truc-glm-6ad79aa_GH0.tar.gz.
=> SHA256 Checksum OK for LuaJIT-LuaJIT-03080b7_GH0.tar.gz.
=> SHA256 Checksum OK for Neargye-magic_enum-d01a4f9_GH0.tar.gz.
=> SHA256 Checksum OK for pulzed-mINI-a1ff72e_GH0.tar.gz.
=> SHA256 Checksum OK for nlohmann-json-4c6cde7_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License LGPL3 accepted by the user
===> Fetching all distfiles required by openenroth-g20230128 for building
===>  Extracting for openenroth-g20230128
=> SHA256 Checksum OK for OpenEnroth-OpenEnroth-g20230128-093e253_GH0.tar.gz.
=> SHA256 Checksum OK for CLIUtils-CLI11-a227cd1_GH0.tar.gz.
=> SHA256 Checksum OK for fastfloat-fast_float-1ea4f27_GH0.tar.gz.
=> SHA256 Checksum OK for g-truc-glm-6ad79aa_GH0.tar.gz.
=> SHA256 Checksum OK for LuaJIT-LuaJIT-03080b7_GH0.tar.gz.
=> SHA256 Checksum OK for Neargye-magic_enum-d01a4f9_GH0.tar.gz.
=> SHA256 Checksum OK for pulzed-mINI-a1ff72e_GH0.tar.gz.
=> SHA256 Checksum OK for nlohmann-json-4c6cde7_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for openenroth-g20230128
===========================================================================
=======================<phase: build-depends  >============================
===>   openenroth-g20230128 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.25.1.pkg
<snip>
===>   NOTICE:

The libunibreak 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
=====
Message from argp-standalone-1.5.0:

--
===>   NOTICE:

The argp-standalone 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
===>   openenroth-g20230128 depends on shared library: libavcodec.so - found (/usr/local/lib/libavcodec.so)
===>   Returning to build of openenroth-g20230128
===>   openenroth-g20230128 depends on shared library: libfmt.so - not found
===>   Installing existing package /packages/All/libfmt-9.1.0.pkg
[123amd64-default-job-11] Installing libfmt-9.1.0...
[123amd64-default-job-11] Extracting libfmt-9.1.0: .......... done
===>   openenroth-g20230128 depends on shared library: libfmt.so - found (/usr/local/lib/libfmt.so)
===>   Returning to build of openenroth-g20230128
===>   openenroth-g20230128 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so)
===>   openenroth-g20230128 depends on shared library: libopenal.so.1 - not found
===>   Installing existing package /packages/All/openal-soft-1.21.1_3.pkg
[123amd64-default-job-11] Installing openal-soft-1.21.1_3...
[123amd64-default-job-11] `-- Installing libmysofa-1.3.1...
[123amd64-default-job-11] `-- Extracting libmysofa-1.3.1: .......... done
[123amd64-default-job-11] Extracting openal-soft-1.21.1_3: .......... done
===>   openenroth-g20230128 depends on shared library: libopenal.so.1 - found (/usr/local/lib/libopenal.so.1)
===>   Returning to build of openenroth-g20230128
===>   openenroth-g20230128 depends on shared library: libSDL2.so - found (/usr/local/lib/libSDL2.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for openenroth-g20230128
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/games/openenroth/work/.build
-- The C compiler identification is Clang 10.0.1
-- The CXX compiler identification is Clang 10.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - 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: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- OpenEnroth version: git-093e253
-- Build compiler: clang
-- Build platform: freebsd
-- Build type: x64
-- Found PythonInterp: /usr/local/bin/python3.9 (found version "3.9.16") 
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Found FFmpeg: /usr/local/lib/libavcodec.so;/usr/local/lib/libavformat.so;/usr/local/lib/libavutil.so  
-- Found OpenGL: /usr/local/lib/libOpenGL.so   
-- Found OpenAL: /usr/local/lib/libopenal.so  
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") 
-- Tests are disabled. Set FASTFLOAT_TEST to ON to run tests.
-- GLM: Version 0.9.9.9
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /usr/bin/cc
-- Performing Test NO_STACK_PROTECTOR_FLAG
-- Performing Test NO_STACK_PROTECTOR_FLAG - Success
-- Check target system architecture: x86_64
-- Check target fpu: FPU IS Hard
-- Check target fpu abi: FPU ABI IS Hard
-- Using the multi-header code from /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/nlohmann_json/include/
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_SHARED_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    FETCHCONTENT_FULLY_DISCONNECTED
    THREADS_HAVE_PTHREAD_ARG


-- Build files have been written to: /wrkdirs/usr/ports/games/openenroth/work/.build
===========================================================================
=======================<phase: build          >============================
===>  Building for openenroth-g20230128
[  0% 1/315] /usr/bin/cc -DFMT_USE_NONTYPE_TEMPLATE_ARGS -DPACKAGE_BUGREPORT=\"https://github.com/OpenEnroth/OpenEnroth/issues\" -I/usr/local/include -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/glad/include -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -Werror=return-type -MD -MT thirdparty/glad/CMakeFiles/glad.dir/src/gl.c.o -MF thirdparty/glad/CMakeFiles/glad.dir/src/gl.c.o.d -o thirdparty/glad/CMakeFiles/glad.dir/src/gl.c.o -c /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/glad/src/gl.c
[  0% 2/315] /usr/bin/cc -DFMT_USE_NONTYPE_TEMPLATE_ARGS -DPACKAGE_BUGREPORT=\"https://github.com/OpenEnroth/OpenEnroth/issues\" -I/usr/local/include -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/glad/include -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -Werror=return-type -MD -MT thirdparty/glad/CMakeFiles/glad.dir/src/egl.c.o -MF thirdparty/glad/CMakeFiles/glad.dir/src/egl.c.o.d -o thirdparty/glad/CMakeFiles/glad.dir/src/egl.c.o -c /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/glad/src/egl.c
[  0% 3/315] : && /usr/local/bin/cmake -E rm -f thirdparty/glad/libglad.a && /usr/bin/llvm-ar qc thirdparty/glad/libglad.a  thirdparty/glad/CMakeFiles/glad.dir/src/gl.c.o thirdparty/glad/CMakeFiles/glad.dir/src/egl.c.o && /usr/bin/llvm-ranlib thirdparty/glad/libglad.a && :
[  1% 4/315] /usr/bin/cc -DFMT_USE_NONTYPE_TEMPLATE_ARGS -DPACKAGE_BUGREPORT=\"https://github.com/OpenEnroth/OpenEnroth/issues\" -I/usr/local/include -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -Werror=return-type -MD -MT thirdparty/luajit/luajit/src/host/cmake/minilua/CMakeFiles/minilua.dir/__/__/minilua.c.o -MF thirdparty/luajit/luajit/src/host/cmake/minilua/CMakeFiles/minilua.dir/__/__/minilua.c.o.d -o thirdparty/luajit/luajit/src/host/cmake/minilua/CMakeFiles/minilua.dir/__/__/minilua.c.o -c /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src/host/minilua.c
[  1% 5/315] : && /usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -fstack-protector-strong thirdparty/luajit/luajit/src/host/cmake/minilua/CMakeFiles/minilua.dir/__/__/minilua.c.o -o thirdparty/luajit/luajit/src/host/cmake/minilua/minilua -L/usr/local/lib -Wl,-rpath,/usr/local/lib  -lm && :
[  1% 6/315] cd /wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src && /wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/host/cmake/minilua/minilua /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src/../dynasm/dynasm.lua -D FPU -D HFABI -D ENDIAN_LE -D P64 -D FFI -D JIT -D VER= -o /wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/buildvm_arch.h /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src/vm_x64.dasc
[  2% 7/315] /usr/bin/cc -DFMT_USE_NONTYPE_TEMPLATE_ARGS -DPACKAGE_BUGREPORT=\"https://github.com/OpenEnroth/OpenEnroth/issues\" -I/usr/local/include -I/wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/host/cmake/buildvm/../../.. -I/wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/host/cmake/buildvm/.. -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src/host/cmake/buildvm/../../.. -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src/host/cmake/buildvm/../.. -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -Werror=return-type -DDLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0 -DLUAJIT_TARGET=LUAJIT_ARCH_x64 -DLUAJIT_OS=LUAJIT_OS_BSD -DLUAJIT_UNWIND_EXTERNAL -MD -MT thirdparty/luajit/luajit/src/host/cmake/buildvm/CMakeFiles/buildvm.dir/__/__/buildvm.c.o -MF thirdparty/luajit/luajit/src/host/cmake
 /buildvm/CMakeFiles/buildvm.dir/__/__/buildvm.c.o.d -o thirdparty/luajit/luajit/src/host/cmake/buildvm/CMakeFiles/buildvm.dir/__/__/buildvm.c.o -c /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src/host/buildvm.c
[  2% 8/315] /usr/bin/cc -DFMT_USE_NONTYPE_TEMPLATE_ARGS -DPACKAGE_BUGREPORT=\"https://github.com/OpenEnroth/OpenEnroth/issues\" -I/usr/local/include -I/wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/host/cmake/buildvm/../../.. -I/wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/host/cmake/buildvm/.. -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src/host/cmake/buildvm/../../.. -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src/host/cmake/buildvm/../.. -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -Werror=return-type -DDLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0 -DLUAJIT_TARGET=LUAJIT_ARCH_x64 -DLUAJIT_OS=LUAJIT_OS_BSD -DLUAJIT_UNWIND_EXTERNAL -MD -MT thirdparty/luajit/luajit/src/host/cmake/buildvm/CMakeFiles/buildvm.dir/__/__/buildvm_asm.c.o -MF thirdparty/luajit/luajit/src/host/c
 make/buildvm/CMakeFiles/buildvm.dir/__/__/buildvm_asm.c.o.d -o thirdparty/luajit/luajit/src/host/cmake/buildvm/CMakeFiles/buildvm.dir/__/__/buildvm_asm.c.o -c /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src/host/buildvm_asm.c
[  2% 9/315] /usr/bin/cc -DFMT_USE_NONTYPE_TEMPLATE_ARGS -DPACKAGE_BUGREPORT=\"https://github.com/OpenEnroth/OpenEnroth/issues\" -I/usr/local/include -I/wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/host/cmake/buildvm/../../.. -I/wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/host/cmake/buildvm/.. -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src/host/cmake/buildvm/../../.. -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src/host/cmake/buildvm/../.. -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -Werror=return-type -DDLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0 -DLUAJIT_TARGET=LUAJIT_ARCH_x64 -DLUAJIT_OS=LUAJIT_OS_BSD -DLUAJIT_UNWIND_EXTERNAL -MD -MT thirdparty/luajit/luajit/src/host/cmake/buildvm/CMakeFiles/buildvm.dir/__/__/buildvm_fold.c.o -MF thirdparty/luajit/luajit/src/host/
 cmake/buildvm/CMakeFiles/buildvm.dir/__/__/buildvm_fold.c.o.d -o thirdparty/luajit/luajit/src/host/cmake/buildvm/CMakeFiles/buildvm.dir/__/__/buildvm_fold.c.o -c /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src/host/buildvm_fold.c
[  3% 10/315] /usr/bin/cc -DFMT_USE_NONTYPE_TEMPLATE_ARGS -DPACKAGE_BUGREPORT=\"https://github.com/OpenEnroth/OpenEnroth/issues\" -I/usr/local/include -I/wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/host/cmake/buildvm/../../.. -I/wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/host/cmake/buildvm/.. -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src/host/cmake/buildvm/../../.. -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src/host/cmake/buildvm/../.. -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -Werror=return-type -DDLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0 -DLUAJIT_TARGET=LUAJIT_ARCH_x64 -DLUAJIT_OS=LUAJIT_OS_BSD -DLUAJIT_UNWIND_EXTERNAL -MD -MT thirdparty/luajit/luajit/src/host/cmake/buildvm/CMakeFiles/buildvm.dir/__/__/buildvm_lib.c.o -MF thirdparty/luajit/luajit/src/host/
 cmake/buildvm/CMakeFiles/buildvm.dir/__/__/buildvm_lib.c.o.d -o thirdparty/luajit/luajit/src/host/cmake/buildvm/CMakeFiles/buildvm.dir/__/__/buildvm_lib.c.o -c /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src/host/buildvm_lib.c
[  3% 11/315] /usr/bin/cc -DFMT_USE_NONTYPE_TEMPLATE_ARGS -DPACKAGE_BUGREPORT=\"https://github.com/OpenEnroth/OpenEnroth/issues\" -I/usr/local/include -I/wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/host/cmake/buildvm/../../.. -I/wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/host/cmake/buildvm/.. -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src/host/cmake/buildvm/../../.. -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src/host/cmake/buildvm/../.. -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -Werror=return-type -DDLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0 -DLUAJIT_TARGET=LUAJIT_ARCH_x64 -DLUAJIT_OS=LUAJIT_OS_BSD -DLUAJIT_UNWIND_EXTERNAL -MD -MT thirdparty/luajit/luajit/src/host/cmake/buildvm/CMakeFiles/buildvm.dir/__/__/buildvm_peobj.c.o -MF thirdparty/luajit/luajit/src/hos
 t/cmake/buildvm/CMakeFiles/buildvm.dir/__/__/buildvm_peobj.c.o.d -o thirdparty/luajit/luajit/src/host/cmake/buildvm/CMakeFiles/buildvm.dir/__/__/buildvm_peobj.c.o -c /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src/host/buildvm_peobj.c
[  3% 12/315] : && /usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -fstack-protector-strong thirdparty/luajit/luajit/src/host/cmake/buildvm/CMakeFiles/buildvm.dir/__/__/buildvm.c.o thirdparty/luajit/luajit/src/host/cmake/buildvm/CMakeFiles/buildvm.dir/__/__/buildvm_asm.c.o thirdparty/luajit/luajit/src/host/cmake/buildvm/CMakeFiles/buildvm.dir/__/__/buildvm_fold.c.o thirdparty/luajit/luajit/src/host/cmake/buildvm/CMakeFiles/buildvm.dir/__/__/buildvm_lib.c.o thirdparty/luajit/luajit/src/host/cmake/buildvm/CMakeFiles/buildvm.dir/__/__/buildvm_peobj.c.o -o thirdparty/luajit/luajit/src/host/cmake/buildvm/buildvm -L/usr/local/lib  && :
[  4% 13/315] cd /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src && /wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/host/cmake/buildvm/buildvm -m elfasm -o /wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/lj_vm.S
[  4% 14/315] cd /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src && /wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/host/cmake/buildvm/buildvm -m libdef -o /wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/lj_libdef.h lib_base.c lib_buffer.c lib_math.c lib_bit.c lib_string.c lib_table.c lib_io.c lib_os.c lib_package.c lib_debug.c lib_jit.c lib_ffi.c && /wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/host/cmake/buildvm/buildvm -m recdef -o /wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/lj_recdef.h lib_base.c lib_buffer.c lib_math.c lib_bit.c lib_string.c lib_table.c lib_io.c lib_os.c lib_package.c lib_debug.c lib_jit.c lib_ffi.c && /wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/host/cmake/buildvm/buildvm -m ffdef -o /wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/lj_ffdef.h
  lib_base.c lib_buffer.c lib_math.c lib_bit.c lib_string.c lib_table.c lib_io.c lib_os.c lib_package.c lib_debug.c lib_jit.c lib_ffi.c && /wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/host/cmake/buildvm/buildvm -m bcdef -o /wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/lj_bcdef.h lib_base.c lib_buffer.c lib_math.c lib_bit.c lib_string.c lib_table.c lib_io.c lib_os.c lib_package.c lib_debug.c lib_jit.c lib_ffi.c && /wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/host/cmake/buildvm/buildvm -m vmdef -o /wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/jit/vmdef.lua lib_base.c lib_buffer.c lib_math.c lib_bit.c lib_string.c lib_table.c lib_io.c lib_os.c lib_package.c lib_debug.c lib_jit.c lib_ffi.c
[  4% 15/315] cd /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src && /wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/host/cmake/buildvm/buildvm -m folddef -o /wrkdirs/usr/ports/games/openenroth/work/.build/thirdparty/luajit/luajit/src/lj_folddef.h lj_opt_fold.c
[  5% 16/315] /usr/bin/c++ -DFMT_USE_NONTYPE_TEMPLATE_ARGS -DPACKAGE_BUGREPORT=\"https://github.com/OpenEnroth/OpenEnroth/issues\" -I/usr/local/include -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/test -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/glad/include -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/glm/glm -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/googletest/googletest/include -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/mini/src -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/magic_enum/include -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/fast_float/include -I/wrkdirs/us
 r/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/nlohmann_json/include -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/cli11/include -isystem /usr/local/include/SDL2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -Werror=return-type -std=gnu++2a -MD -MT CMakeFiles/OpenEnroth.dir/src/Application/main.cpp.o -MF CMakeFiles/OpenEnroth.dir/src/Application/main.cpp.o.d -o CMakeFiles/OpenEnroth.dir/src/Application/main.cpp.o -c /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Application/main.cpp
FAILED: CMakeFiles/OpenEnroth.dir/src/Application/main.cpp.o 
/usr/bin/c++ -DFMT_USE_NONTYPE_TEMPLATE_ARGS -DPACKAGE_BUGREPORT=\"https://github.com/OpenEnroth/OpenEnroth/issues\" -I/usr/local/include -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/test -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/luajit/luajit/src -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/glad/include -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/glm/glm -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/googletest/googletest/include -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/mini/src -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/magic_enum/include -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/fast_float/include -I/wrkdirs/usr/ports/games/
 openenroth/work/OpenEnroth-093e253/thirdparty/nlohmann_json/include -I/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/thirdparty/cli11/include -isystem /usr/local/include/SDL2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -Werror=return-type -std=gnu++2a -MD -MT CMakeFiles/OpenEnroth.dir/src/Application/main.cpp.o -MF CMakeFiles/OpenEnroth.dir/src/Application/main.cpp.o.d -o CMakeFiles/OpenEnroth.dir/src/Application/main.cpp.o -c /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Application/main.cpp
In file included from /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Application/main.cpp:5:
In file included from /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Application/Game.h:4:
In file included from /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Application/GameConfig.h:8:
In file included from /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Io/Key.h:6:
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Platform/PlatformEnums.h:11:7: error: expected unqualified-id
using enum PLATFORM_STORAGE;
      ^
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Platform/PlatformEnums.h:24:7: error: expected unqualified-id
using enum PlatformLogLevel;
      ^
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Platform/PlatformEnums.h:35:7: error: expected unqualified-id
using enum PlatformLogCategory;
      ^
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Platform/PlatformEnums.h:40:7: error: expected unqualified-id
using enum PlatformLoggerOption;
      ^
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Platform/PlatformEnums.h:148:7: error: expected unqualified-id
using enum PlatformKeyType;
      ^
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Platform/PlatformEnums.h:187:7: error: expected unqualified-id
using enum PlatformWindowMode;
      ^
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Platform/PlatformEnums.h:195:7: error: expected unqualified-id
using enum PlatformWindowOrientation;
      ^
In file included from /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Application/main.cpp:5:
In file included from /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Application/Game.h:4:
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Application/GameConfig.h:518:67: error: use of undeclared identifier 'WINDOW_MODE_WINDOWED'
            ConfigValue<PlatformWindowMode> Mode = {this, "mode", ConfigWindowMode,
                                                                  ^
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Application/GameConfig.h:16:26: note: expanded from macro 'ConfigWindowMode'
#define ConfigWindowMode WINDOW_MODE_WINDOWED
                         ^
In file included from /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Application/main.cpp:5:
In file included from /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Application/Game.h:5:
In file included from /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Application/GameMenu.h:6:
In file included from /wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Io/Mouse.h:5:
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Engine/Objects/ItemEnums.h:25:7: error: expected unqualified-id
using enum DAMAGE_TYPE;
      ^
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Engine/Objects/ItemEnums.h:40:7: error: expected unqualified-id
using enum ITEM_FLAG;
      ^
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Engine/Objects/ItemEnums.h:130:7: error: expected unqualified-id
using enum ITEM_MATERIAL;
      ^
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Engine/Objects/ItemEnums.h:151:7: error: expected unqualified-id
using enum ITEM_TREASURE_LEVEL;
      ^
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Engine/Objects/ItemEnums.h:154:21: error: use of undeclared identifier 'ITEM_FIRST_RANDOM_TREASURE_LEVEL'
    return level >= ITEM_FIRST_RANDOM_TREASURE_LEVEL && level <= ITEM_LAST_RANDOM_TREASURE_LEVEL;
                    ^
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Engine/Objects/ItemEnums.h:154:66: error: use of undeclared identifier 'ITEM_LAST_RANDOM_TREASURE_LEVEL'
    return level >= ITEM_FIRST_RANDOM_TREASURE_LEVEL && level <= ITEM_LAST_RANDOM_TREASURE_LEVEL;
                                                                 ^
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Engine/Objects/ItemEnums.h:1006:7: error: expected unqualified-id
using enum ITEM_TYPE;
      ^
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Engine/Objects/ItemEnums.h:1017:20: error: use of undeclared identifier 'ITEM_FIRST_REGULAR'
    return type >= ITEM_FIRST_REGULAR && type <= ITEM_LAST_REGULAR;
                   ^
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Engine/Objects/ItemEnums.h:1017:50: error: use of undeclared identifier 'ITEM_LAST_REGULAR'
    return type >= ITEM_FIRST_REGULAR && type <= ITEM_LAST_REGULAR;
                                                 ^
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Engine/Objects/ItemEnums.h:1021:20: error: use of undeclared identifier 'ITEM_FIRST_RECIPE'
    return type >= ITEM_FIRST_RECIPE && type <= ITEM_LAST_RECIPE;
                   ^
/wrkdirs/usr/ports/games/openenroth/work/OpenEnroth-093e253/src/Engine/Objects/ItemEnums.h:1021:49: error: use of undeclared identifier 'ITEM_LAST_RECIPE'
    return type >= ITEM_FIRST_RECIPE && type <= ITEM_LAST_RECIPE;
                                                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

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