[package - 141amd64-default][games/jaggedalliance2] Failed for ja2-0.21.0_7 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 12 Oct 2024 09:09:20 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:     timp87@gmail.com
Log URL:        https://pkg-status.freebsd.org/beefy22/data/141amd64-default/597c6c40b912/logs/ja2-0.21.0_7.log
Build URL:      https://pkg-status.freebsd.org/beefy22/build.html?mastername=141amd64-default&build=597c6c40b912
Log:

=>> Building games/jaggedalliance2
build started at Sat Oct 12 09:01:35 UTC 2024
port directory: /usr/ports/games/jaggedalliance2
package name: ja2-0.21.0_7
building for: FreeBSD 141amd64-default-job-21 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 amd64
maintained by: timp87@gmail.com
Makefile datestamp: -rw-r--r--  1 root wheel 5054 Sep 12 01:01 /usr/ports/games/jaggedalliance2/Makefile
Ports top last git commit: 597c6c40b9
Ports top unclean checkout: no
Port dir last git commit: 89ab81d0e2
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1401000
Job Id: 21

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1401000
UNAME_v=FreeBSD 14.1-RELEASE-p5
UNAME_r=14.1-RELEASE-p5
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/141amd64-default/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/141amd64-default/21/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=141amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/141amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
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--
timp87@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/jaggedalliance2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/jaggedalliance2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/jaggedalliance2/work/.cache  HOME=/wrkdirs/usr/ports/games/jaggedalliance2/work TMPDIR="/wrkdirs/usr/ports/games/jaggedalliance2/work" PATH=/wrkdirs/usr/ports/games/jaggedalliance2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/jaggedalliance2/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--
CARGO_HOME=/wrkdirs/usr/ports/games/jaggedalliance2/work/cargo-home CARGO_BUILD_JOBS=1 CARGO_BUILD_TARGET=x86_64-unknown-freebsd CARGO_TARGET_X86_64_UNKNOWN_FREEBSD_LINKER="cc" RUSTC=/usr/local/bin/rustc RUSTDOC=/usr/local/bin/rustdoc RUSTFLAGS=" -C link-arg=-Wl,--as-needed -C link-arg=-fstack-protector-strong" RUST_BACKTRACE=1 CARGO_PROFILE_RELEASE_LTO="true" CARGO_PROFILE_RELEASE_PANIC="abort" CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1 NINJA_STATUS="[%p %s/%t] " SDL2_CONFIG=/usr/local/bin/sdl2-config LUA_MODLIBDIR=/usr/local/lib/lua/5.4  LUA_MODSHAREDIR=/usr/local/share/lua/5.4  LUA_MODDOCSDIR=/usr/local/share/doc/lua54  LUA_INCDIR=/usr/local/include/lua54  LUA_LIBDIR=/usr/local/lib  LUA_VER=5.4  LUA_VER_STR=54 XDG_DATA_HOME=/wrkdirs/usr/ports/games/jaggedalliance2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/jaggedalliance2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/jaggedalliance2/work/.cache  HOME=/wrkdirs/usr/ports/games/jaggedalliance2/work TMPDIR="/wrkdirs/usr/ports/
games/jaggedalliance2/work" PATH=/wrkdirs/usr/ports/games/jaggedalliance2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/jaggedalliance2/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/jaggedalliance2/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -Wl,--as-needed -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="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" LUA_MODLIBDIR=lib/lua/5.4  LUA_MODSHAREDIR=share/lua/5.4  LUA_MODDOCSDIR=share/doc/lua54  LUA_INCDIR=include/lua54  LUA_VER=5.4  LUA_VER_STR=54 OSREL=14.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ja2"  EXAMPLESDIR="share/examples/ja2"  DATADIR="share/ja2"  WWWDIR="www/ja2"  ETCDIR="etc/ja2"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/ja2 DOCSDIR=/usr/local/share/doc/ja2 EXAMPLESDIR=/usr/local/share/examples/ja2  WWWDIR=/usr/local/www/ja2 ETCDIR=/usr/local/etc/ja2
--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
####  ####
# 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
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)  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 PD SFI-SCLA accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   ja2-0.21.0_7 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[141amd64-default-job-21] Installing pkg-1.21.3...
[141amd64-default-job-21] Extracting pkg-1.21.3: .......... done
===>   ja2-0.21.0_7 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ja2-0.21.0_7
===========================================================================
=======================<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 PD SFI-SCLA accepted by the user
=> ja2-stracciatella-ja2-stracciatella-v0.21.0_GH0.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://codeload.github.com/ja2-stracciatella/ja2-stracciatella/tar.gz/v0.21.0?dummy=/ja2-stracciatella-ja2-stracciatella-v0.21.0_GH0.tar.gz
fetch: https://codeload.github.com/ja2-stracciatella/ja2-stracciatella/tar.gz/v0.21.0?dummy=/ja2-stracciatella-ja2-stracciatella-v0.21.0_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/ja2-stracciatella/ja2-stracciatella/tar.gz/v0.21.0?dummy=/ja2-stracciatella-ja2-stracciatella-v0.21.0_GH0.tar.gz: size of remote file is not known
ja2-stracciatella-ja2-stracciatella-v0.21.0_GH0.tar.gz          31 MB 6223 kBps    06s
===> Fetching all distfiles required by ja2-0.21.0_7 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License PD SFI-SCLA accepted by the user
===> Fetching all distfiles required by ja2-0.21.0_7 for building
=> SHA256 Checksum OK for rust/crates/addr2line-0.17.0.crate.
=> SHA256 Checksum OK for rust/crates/adler-1.0.2.crate.
=> SHA256 Checksum OK for rust/crates/ahash-0.7.6.crate.
=> SHA256 Checksum OK for rust/crates/aho-corasick-0.7.18.crate.
=> SHA256 Checksum OK for rust/crates/ansi_term-0.11.0.crate.
=> SHA256 Checksum OK for rust/crates/anyhow-1.0.69.crate.
=> SHA256 Checksum OK for rust/crates/ascii-0.9.3.crate.
=> SHA256 Checksum OK for rust/crates/atty-0.2.14.crate.
=> SHA256 Checksum OK for rust/crates/autocfg-1.1.0.crate.
=> SHA256 Checksum OK for rust/crates/backtrace-0.3.65.crate.
=> SHA256 Checksum OK for rust/crates/base64-0.13.1.crate.
=> SHA256 Checksum OK for rust/crates/bit-set-0.5.3.crate.
=> SHA256 Checksum OK for rust/crates/bit-vec-0.6.3.crate.
=> SHA256 Checksum OK for rust/crates/bitflags-1.3.2.crate.
=> SHA256 Checksum OK for rust/crates/block-buffer-0.10.3.crate.
=> SHA256 Checksum OK for rust/crates/bytecount-0.6.3.crate.
=> SHA256 Checksum OK for rust/crates/byteorder-1.4.3.crate.
=> SHA256 Checksum OK for rust/crates/bytes-1.4.0.crate.
=> SHA256 Checksum OK for rust/crates/caseless-0.2.1.crate.
=> SHA256 Checksum OK for rust/crates/cbindgen-0.20.0.crate.
=> SHA256 Checksum OK for rust/crates/cc-1.0.73.crate.
=> SHA256 Checksum OK for rust/crates/cesu8-1.1.0.crate.
=> SHA256 Checksum OK for rust/crates/cfg-if-1.0.0.crate.
=> SHA256 Checksum OK for rust/crates/clap-2.33.4.crate.
=> SHA256 Checksum OK for rust/crates/combine-3.8.1.crate.
=> SHA256 Checksum OK for rust/crates/combine-4.6.4.crate.
=> SHA256 Checksum OK for rust/crates/crossbeam-channel-0.5.4.crate.
=> SHA256 Checksum OK for rust/crates/crossbeam-deque-0.8.1.crate.
=> SHA256 Checksum OK for rust/crates/crossbeam-epoch-0.9.8.crate.
=> SHA256 Checksum OK for rust/crates/crossbeam-utils-0.8.8.crate.
=> SHA256 Checksum OK for rust/crates/crypto-common-0.1.6.crate.
=> SHA256 Checksum OK for rust/crates/cty-0.2.2.crate.
=> SHA256 Checksum OK for rust/crates/deunicode-0.4.3.crate.
=> SHA256 Checksum OK for rust/crates/digest-0.10.6.crate.
=> SHA256 Checksum OK for rust/crates/dirs-4.0.0.crate.
=> SHA256 Checksum OK for rust/crates/dirs-sys-0.3.7.crate.
=> SHA256 Checksum OK for rust/crates/dunce-1.0.2.crate.
=> SHA256 Checksum OK for rust/crates/either-1.6.1.crate.
=> SHA256 Checksum OK for rust/crates/error-chain-0.12.4.crate.
=> SHA256 Checksum OK for rust/crates/fancy-regex-0.8.0.crate.
=> SHA256 Checksum OK for rust/crates/fastrand-1.7.0.crate.
=> SHA256 Checksum OK for rust/crates/form_urlencoded-1.1.0.crate.
<snip>
/usr/local/include/sol/table_core.hpp:264:14: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  264 |                                                 stack::set_field<global, raw>(L, std::forward<Key>(key), std::forward<Keys>(keys)..., table_index);
      |                                                        ^
/usr/local/include/sol/usertype.hpp:100:20: note: in instantiation of function template specialization 'sol::basic_table_core<false, sol::basic_reference<false>>::set<const char (&)[17], unsigned char STRATEGICEVENT::*>' requested here
  100 |                                         table_base_t::set(std::forward<Key>(key), std::forward<Value>(value));
      |                                                       ^
/usr/local/include/sol/usertype.hpp:50:38: note: in instantiation of function template specialization 'sol::basic_usertype<STRATEGICEVENT, sol::basic_reference<false>>::set<const char (&)[17], unsigned char STRATEGICEVENT::*>' requested here
   50 |                         (void)detail::swallow { 0, (this->set(std::get<I * 2>(std::move(args)), std::get<I * 2 + 1>(std::move(args))), 0)... };
      |                                                           ^
/usr/local/include/sol/table.hpp:78:7: note: in instantiation of function template specialization 'sol::basic_usertype<STRATEGICEVENT, sol::basic_reference<false>>::tuple_set<0UL, 1UL, 2UL, 3UL, 4UL, const char (&)[12], unsigned int STRATEGICEVENT::*&&, const char (&)[8], unsigned int STRATEGICEVENT::*&&, const char (&)[13], unsigned int STRATEGICEVENT::*&&, const char (&)[17], unsigned char STRATEGICEVENT::*&&, const char (&)[12], unsigned char STRATEGICEVENT::*&&>' requested here
   78 |                         ut.tuple_set(std::make_index_sequence<(sizeof...(Args) + 1) / 2>(), std::forward_as_tuple(std::forward<Arg>(arg), std::forward<Args>(args)...));
      |                            ^
/usr/local/include/sol/state_view.hpp:785:18: note: in instantiation of function template specialization 'sol::basic_table_core<true, sol::basic_reference<false>>::new_usertype<STRATEGICEVENT, const char (&)[15], const char (&)[12], unsigned int STRATEGICEVENT::*, const char (&)[8], unsigned int STRATEGICEVENT::*, const char (&)[13], unsigned int STRATEGICEVENT::*, const char (&)[17], unsigned char STRATEGICEVENT::*, const char (&)[12], unsigned char STRATEGICEVENT::*, void>' requested here
  785 |                         return global.new_usertype<Class>(std::forward<Args>(args)...);
      |                                       ^
/wrkdirs/usr/ports/games/jaggedalliance2/work/ja2-stracciatella-0.21.0/src/externalized/scripting/ScriptingExtensionsLua.cc:176:6: note: in instantiation of function template specialization 'sol::state_view::new_usertype<STRATEGICEVENT, const char (&)[15], const char (&)[12], unsigned int STRATEGICEVENT::*, const char (&)[8], unsigned int STRATEGICEVENT::*, const char (&)[13], unsigned int STRATEGICEVENT::*, const char (&)[17], unsigned char STRATEGICEVENT::*, const char (&)[12], unsigned char STRATEGICEVENT::*>' requested here
  176 |         lua.new_usertype<STRATEGICEVENT>("STRATEGICEVENT",
      |             ^
/usr/local/include/sol/function_types_stateless.hpp:323:14: note: candidate template ignored: substitution failure [with is_yielding = false, no_trampoline = true]
  323 |                 static int call(lua_State* L) noexcept(std::is_nothrow_copy_assignable_v<T>) {
      |                            ^
In file included from /wrkdirs/usr/ports/games/jaggedalliance2/work/ja2-stracciatella-0.21.0/src/externalized/scripting/ScriptingExtensionsLua.cc:7:
In file included from /usr/local/include/sol/sol.hpp:54:
In file included from /usr/local/include/sol/function.hpp:28:
In file included from /usr/local/include/sol/unsafe_function.hpp:31:
/usr/local/include/sol/function_types.hpp:110:31: error: address of overloaded function 'call' does not match required type 'int (lua_State *)'
  110 |                                 lua_CFunction freefunc = &function_detail::upvalue_this_member_variable<C, Fx>::template call<is_yielding, no_trampoline>;
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/sol/function_types.hpp:268:5: note: in instantiation of function template specialization 'sol::function_detail::select_member_variable<false, true, unsigned char GAME_OPTIONS::*>' requested here
  268 |                                 select_member_variable<is_yielding, no_trampoline>(L, std::forward<Fx>(fx), std::forward<Args>(args)...);
      |                                 ^
/usr/local/include/sol/function_types.hpp:390:22: note: in instantiation of function template specialization 'sol::function_detail::select<false, true, unsigned char GAME_OPTIONS::*>' requested here
  390 |                                 function_detail::select<false, true>(L, std::forward<Args>(args)...);
      |                                                  ^
/usr/local/include/sol/stack_core.hpp:933:14: note: in instantiation of function template specialization 'sol::stack::unqualified_pusher<unsigned char GAME_OPTIONS::*>::push<unsigned char GAME_OPTIONS::*>' requested here
  933 |                                 return p.push(L, std::forward<T>(t), std::forward<Args>(args)...);
      |                                          ^
/usr/local/include/sol/stack_field.hpp:222:7: note: in instantiation of function template specialization 'sol::stack::push<unsigned char GAME_OPTIONS::*>' requested here
  222 |                                                 push(L, std::forward<Value>(value));
      |                                                 ^
/usr/local/include/sol/stack_core.hpp:1312:59: note: in instantiation of function template specialization 'sol::stack::field_setter<char[8]>::set<const char (&)[8], unsigned char GAME_OPTIONS::*>' requested here
 1312 |                         field_setter<meta::unqualified_t<Key>, global, raw> {}.set(L, std::forward<Key>(key), std::forward<Value>(value), tableindex);
      |                                                                                ^
/usr/local/include/sol/table_core.hpp:264:14: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  264 |                                                 stack::set_field<global, raw>(L, std::forward<Key>(key), std::forward<Keys>(keys)..., table_index);
      |                                                        ^
/usr/local/include/sol/usertype.hpp:100:20: note: in instantiation of function template specialization 'sol::basic_table_core<false, sol::basic_reference<false>>::set<const char (&)[8], unsigned char GAME_OPTIONS::*>' requested here
  100 |                                         table_base_t::set(std::forward<Key>(key), std::forward<Value>(value));
      |                                                       ^
/usr/local/include/sol/usertype.hpp:50:38: note: in instantiation of function template specialization 'sol::basic_usertype<GAME_OPTIONS, sol::basic_reference<false>>::set<const char (&)[8], unsigned char GAME_OPTIONS::*>' requested here
   50 |                         (void)detail::swallow { 0, (this->set(std::get<I * 2>(std::move(args)), std::get<I * 2 + 1>(std::move(args))), 0)... };
      |                                                           ^
/usr/local/include/sol/table.hpp:78:7: note: in instantiation of function template specialization 'sol::basic_usertype<GAME_OPTIONS, sol::basic_reference<false>>::tuple_set<0UL, 1UL, 2UL, 3UL, 4UL, const char (&)[8], unsigned char GAME_OPTIONS::*&&, const char (&)[7], unsigned char GAME_OPTIONS::*&&, const char (&)[18], unsigned char GAME_OPTIONS::*&&, const char (&)[15], unsigned char GAME_OPTIONS::*&&, const char (&)[15], unsigned char GAME_OPTIONS::*&&>' requested here
   78 |                         ut.tuple_set(std::make_index_sequence<(sizeof...(Args) + 1) / 2>(), std::forward_as_tuple(std::forward<Arg>(arg), std::forward<Args>(args)...));
      |                            ^
/usr/local/include/sol/state_view.hpp:785:18: note: in instantiation of function template specialization 'sol::basic_table_core<true, sol::basic_reference<false>>::new_usertype<GAME_OPTIONS, const char (&)[13], const char (&)[8], unsigned char GAME_OPTIONS::*, const char (&)[7], unsigned char GAME_OPTIONS::*, const char (&)[18], unsigned char GAME_OPTIONS::*, const char (&)[15], unsigned char GAME_OPTIONS::*, const char (&)[15], unsigned char GAME_OPTIONS::*, void>' requested here
  785 |                         return global.new_usertype<Class>(std::forward<Args>(args)...);
      |                                       ^
/wrkdirs/usr/ports/games/jaggedalliance2/work/ja2-stracciatella-0.21.0/src/externalized/scripting/ScriptingExtensionsLua.cc:184:6: note: in instantiation of function template specialization 'sol::state_view::new_usertype<GAME_OPTIONS, const char (&)[13], const char (&)[8], unsigned char GAME_OPTIONS::*, const char (&)[7], unsigned char GAME_OPTIONS::*, const char (&)[18], unsigned char GAME_OPTIONS::*, const char (&)[15], unsigned char GAME_OPTIONS::*, const char (&)[15], unsigned char GAME_OPTIONS::*>' requested here
  184 |         lua.new_usertype<GAME_OPTIONS>("GAME_OPTIONS",
      |             ^
/usr/local/include/sol/function_types_stateless.hpp:323:14: note: candidate template ignored: substitution failure [with is_yielding = false, no_trampoline = true]
  323 |                 static int call(lua_State* L) noexcept(std::is_nothrow_copy_assignable_v<T>) {
      |                            ^
In file included from /wrkdirs/usr/ports/games/jaggedalliance2/work/ja2-stracciatella-0.21.0/src/externalized/scripting/ScriptingExtensionsLua.cc:7:
In file included from /usr/local/include/sol/sol.hpp:54:
In file included from /usr/local/include/sol/function.hpp:28:
In file included from /usr/local/include/sol/unsafe_function.hpp:31:
/usr/local/include/sol/function_types.hpp:110:31: error: address of overloaded function 'call' does not match required type 'int (lua_State *)'
  110 |                                 lua_CFunction freefunc = &function_detail::upvalue_this_member_variable<C, Fx>::template call<is_yielding, no_trampoline>;
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/sol/function_types.hpp:268:5: note: in instantiation of function template specialization 'sol::function_detail::select_member_variable<false, true, unsigned char SOLDIERTYPE::*>' requested here
  268 |                                 select_member_variable<is_yielding, no_trampoline>(L, std::forward<Fx>(fx), std::forward<Args>(args)...);
      |                                 ^
/usr/local/include/sol/function_types.hpp:390:22: note: in instantiation of function template specialization 'sol::function_detail::select<false, true, unsigned char SOLDIERTYPE::*>' requested here
  390 |                                 function_detail::select<false, true>(L, std::forward<Args>(args)...);
      |                                                  ^
/usr/local/include/sol/stack_core.hpp:933:14: note: in instantiation of function template specialization 'sol::stack::unqualified_pusher<unsigned char SOLDIERTYPE::*>::push<unsigned char SOLDIERTYPE::*>' requested here
  933 |                                 return p.push(L, std::forward<T>(t), std::forward<Args>(args)...);
      |                                          ^
/usr/local/include/sol/stack_field.hpp:222:7: note: in instantiation of function template specialization 'sol::stack::push<unsigned char SOLDIERTYPE::*>' requested here
  222 |                                                 push(L, std::forward<Value>(value));
      |                                                 ^
/usr/local/include/sol/stack_core.hpp:1312:59: note: in instantiation of function template specialization 'sol::stack::field_setter<char[5]>::set<const char (&)[5], unsigned char SOLDIERTYPE::*>' requested here
 1312 |                         field_setter<meta::unqualified_t<Key>, global, raw> {}.set(L, std::forward<Key>(key), std::forward<Value>(value), tableindex);
      |                                                                                ^
/usr/local/include/sol/table_core.hpp:264:14: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  264 |                                                 stack::set_field<global, raw>(L, std::forward<Key>(key), std::forward<Keys>(keys)..., table_index);
      |                                                        ^
/usr/local/include/sol/usertype.hpp:100:20: note: in instantiation of function template specialization 'sol::basic_table_core<false, sol::basic_reference<false>>::set<const char (&)[5], unsigned char SOLDIERTYPE::*>' requested here
  100 |                                         table_base_t::set(std::forward<Key>(key), std::forward<Value>(value));
      |                                                       ^
/usr/local/include/sol/usertype.hpp:50:38: note: in instantiation of function template specialization 'sol::basic_usertype<SOLDIERTYPE, sol::basic_reference<false>>::set<const char (&)[5], unsigned char SOLDIERTYPE::*>' requested here
   50 |                         (void)detail::swallow { 0, (this->set(std::get<I * 2>(std::move(args)), std::get<I * 2 + 1>(std::move(args))), 0)... };
      |                                                           ^
/usr/local/include/sol/table.hpp:78:7: note: in instantiation of function template specialization 'sol::basic_usertype<SOLDIERTYPE, sol::basic_reference<false>>::tuple_set<0UL, 1UL, 2UL, 3UL, 4UL, 5UL, 6UL, 7UL, 8UL, 9UL, 10UL, 11UL, 12UL, 13UL, 14UL, 15UL, 16UL, 17UL, 18UL, 19UL, 20UL, 21UL, 22UL, 23UL, 24UL, 25UL, 26UL, 27UL, 28UL, 29UL, 30UL, 31UL, 32UL, 33UL, 34UL, 35UL, 36UL, 37UL, const char (&)[5], unsigned char SOLDIERTYPE::*&&, const char (&)[10], unsigned char SOLDIERTYPE::*&&, const char (&)[5], ST::string SOLDIERTYPE::*&&, const char (&)[20], unsigned char SOLDIERTYPE::*&&, const char (&)[8], signed char SOLDIERTYPE::*&&, const char (&)[11], unsigned char SOLDIERTYPE::*&&, const char (&)[15], unsigned char SOLDIERTYPE::*&&, const char (&)[15], unsigned int SOLDIERTYPE::*&&, const char (&)[6], signed char SOLDIERTYPE::*&&, const char (&)[16], unsigned char SOLDIERTYPE::*&&, const char (&)[9], signed char SOLDIERTYPE::*&&, const char (&)[9], signed char SOLDIERTYPE
::*&&, const char (&)[6], signed char SOLDIERTYPE::*&&, const char (&)[8], signed char SOLDIERTYPE::*&&, const char (&)[11], signed char SOLDIERTYPE::*&&, const char (&)[11], short SOLDIERTYPE::*&&, const char (&)[6], signed char SOLDIERTYPE::*&&, const char (&)[9], signed char SOLDIERTYPE::*&&, const char (&)[11], signed char SOLDIERTYPE::*&&, const char (&)[11], signed char SOLDIERTYPE::*&&, const char (&)[12], signed char SOLDIERTYPE::*&&, const char (&)[14], signed char SOLDIERTYPE::*&&, const char (&)[12], signed char SOLDIERTYPE::*&&, const char (&)[9], signed char SOLDIERTYPE::*&&, const char (&)[10], signed char SOLDIERTYPE::*&&, const char (&)[8], signed char SOLDIERTYPE::*&&, const char (&)[10], signed char SOLDIERTYPE::*&&, const char (&)[14], unsigned char SOLDIERTYPE::*&&, const char (&)[14], unsigned char SOLDIERTYPE::*&&, const char (&)[8], ST::string SOLDIERTYPE::*&&, const char (&)[9], ST::string SOLDIERTYPE::*&&, const char (&)[8], ST::string SOLDIERTYPE::*
&&, const char (&)[8], ST::string SOLDIERTYPE::*&&, const char (&)[16], unsigned char SOLDIERTYPE::*&&, const char (&)[8], SGPSector SOLDIERTYPE::*&&, const char (&)[16], unsigned char SOLDIERTYPE::*&&, const char (&)[21], int SOLDIERTYPE::*&&, const char (&)[19], int SOLDIERTYPE::*&&>' requested here
   78 |                         ut.tuple_set(std::make_index_sequence<(sizeof...(Args) + 1) / 2>(), std::forward_as_tuple(std::forward<Arg>(arg), std::forward<Args>(args)...));
      |                            ^
/usr/local/include/sol/state_view.hpp:785:18: note: in instantiation of function template specialization 'sol::basic_table_core<true, sol::basic_reference<false>>::new_usertype<SOLDIERTYPE, const char (&)[12], const char (&)[5], unsigned char SOLDIERTYPE::*, const char (&)[10], unsigned char SOLDIERTYPE::*, const char (&)[5], ST::string SOLDIERTYPE::*, const char (&)[20], unsigned char SOLDIERTYPE::*, const char (&)[8], signed char SOLDIERTYPE::*, const char (&)[11], unsigned char SOLDIERTYPE::*, const char (&)[15], unsigned char SOLDIERTYPE::*, const char (&)[15], unsigned int SOLDIERTYPE::*, const char (&)[6], signed char SOLDIERTYPE::*, const char (&)[16], unsigned char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[6], signed char SOLDIERTYPE::*, const char (&)[8], signed char SOLDIERTYPE::*, const char (&)[11], signed char SOLDIERTYPE::*, const char (&)[11], short SOLDIERTYPE::*, const char (&
)[6], signed char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[11], signed char SOLDIERTYPE::*, const char (&)[11], signed char SOLDIERTYPE::*, const char (&)[12], signed char SOLDIERTYPE::*, const char (&)[14], signed char SOLDIERTYPE::*, const char (&)[12], signed char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[10], signed char SOLDIERTYPE::*, const char (&)[8], signed char SOLDIERTYPE::*, const char (&)[10], signed char SOLDIERTYPE::*, const char (&)[14], unsigned char SOLDIERTYPE::*, const char (&)[14], unsigned char SOLDIERTYPE::*, const char (&)[8], ST::string SOLDIERTYPE::*, const char (&)[9], ST::string SOLDIERTYPE::*, const char (&)[8], ST::string SOLDIERTYPE::*, const char (&)[8], ST::string SOLDIERTYPE::*, const char (&)[16], unsigned char SOLDIERTYPE::*, const char (&)[8], SGPSector SOLDIERTYPE::*, const char (&)[16], unsigned char SOLDIERTYPE::*, const char (&)[21], int SOLDIERTYPE::*, const cha
r (&)[19], int SOLDIERTYPE::*, void>' requested here
  785 |                         return global.new_usertype<Class>(std::forward<Args>(args)...);
      |                                       ^
/wrkdirs/usr/ports/games/jaggedalliance2/work/ja2-stracciatella-0.21.0/src/externalized/scripting/ScriptingExtensionsLua.cc:192:6: note: in instantiation of function template specialization 'sol::state_view::new_usertype<SOLDIERTYPE, const char (&)[12], const char (&)[5], unsigned char SOLDIERTYPE::*, const char (&)[10], unsigned char SOLDIERTYPE::*, const char (&)[5], ST::string SOLDIERTYPE::*, const char (&)[20], unsigned char SOLDIERTYPE::*, const char (&)[8], signed char SOLDIERTYPE::*, const char (&)[11], unsigned char SOLDIERTYPE::*, const char (&)[15], unsigned char SOLDIERTYPE::*, const char (&)[15], unsigned int SOLDIERTYPE::*, const char (&)[6], signed char SOLDIERTYPE::*, const char (&)[16], unsigned char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[6], signed char SOLDIERTYPE::*, const char (&)[8], signed char SOLDIERTYPE::*, const char (&)[11], signed char SOLDIERTYPE::*, const char 
(&)[11], short SOLDIERTYPE::*, const char (&)[6], signed char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[11], signed char SOLDIERTYPE::*, const char (&)[11], signed char SOLDIERTYPE::*, const char (&)[12], signed char SOLDIERTYPE::*, const char (&)[14], signed char SOLDIERTYPE::*, const char (&)[12], signed char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[10], signed char SOLDIERTYPE::*, const char (&)[8], signed char SOLDIERTYPE::*, const char (&)[10], signed char SOLDIERTYPE::*, const char (&)[14], unsigned char SOLDIERTYPE::*, const char (&)[14], unsigned char SOLDIERTYPE::*, const char (&)[8], ST::string SOLDIERTYPE::*, const char (&)[9], ST::string SOLDIERTYPE::*, const char (&)[8], ST::string SOLDIERTYPE::*, const char (&)[8], ST::string SOLDIERTYPE::*, const char (&)[16], unsigned char SOLDIERTYPE::*, const char (&)[8], SGPSector SOLDIERTYPE::*, const char (&)[16], unsigned char SOLDIERTYPE::*, const
 char (&)[21], int SOLDIERTYPE::*, const char (&)[19], int SOLDIERTYPE::*>' requested here
  192 |         lua.new_usertype<SOLDIERTYPE>("SOLDIERTYPE",
      |             ^
/usr/local/include/sol/function_types_stateless.hpp:323:14: note: candidate template ignored: substitution failure [with is_yielding = false, no_trampoline = true]
  323 |                 static int call(lua_State* L) noexcept(std::is_nothrow_copy_assignable_v<T>) {
      |                            ^
In file included from /wrkdirs/usr/ports/games/jaggedalliance2/work/ja2-stracciatella-0.21.0/src/externalized/scripting/ScriptingExtensionsLua.cc:7:
In file included from /usr/local/include/sol/sol.hpp:54:
In file included from /usr/local/include/sol/function.hpp:28:
In file included from /usr/local/include/sol/unsafe_function.hpp:31:
/usr/local/include/sol/function_types.hpp:110:31: error: address of overloaded function 'call' does not match required type 'int (lua_State *)'
  110 |                                 lua_CFunction freefunc = &function_detail::upvalue_this_member_variable<C, Fx>::template call<is_yielding, no_trampoline>;
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/sol/function_types.hpp:268:5: note: in instantiation of function template specialization 'sol::function_detail::select_member_variable<false, true, ST::string SOLDIERTYPE::*>' requested here
  268 |                                 select_member_variable<is_yielding, no_trampoline>(L, std::forward<Fx>(fx), std::forward<Args>(args)...);
      |                                 ^
/usr/local/include/sol/function_types.hpp:390:22: note: in instantiation of function template specialization 'sol::function_detail::select<false, true, ST::string SOLDIERTYPE::*>' requested here
  390 |                                 function_detail::select<false, true>(L, std::forward<Args>(args)...);
      |                                                  ^
/usr/local/include/sol/stack_core.hpp:933:14: note: in instantiation of function template specialization 'sol::stack::unqualified_pusher<ST::string SOLDIERTYPE::*>::push<ST::string SOLDIERTYPE::*>' requested here
  933 |                                 return p.push(L, std::forward<T>(t), std::forward<Args>(args)...);
      |                                          ^
/usr/local/include/sol/stack_field.hpp:222:7: note: in instantiation of function template specialization 'sol::stack::push<ST::string SOLDIERTYPE::*>' requested here
  222 |                                                 push(L, std::forward<Value>(value));
      |                                                 ^
/usr/local/include/sol/stack_core.hpp:1312:59: note: in instantiation of function template specialization 'sol::stack::field_setter<char[5]>::set<const char (&)[5], ST::string SOLDIERTYPE::*>' requested here
 1312 |                         field_setter<meta::unqualified_t<Key>, global, raw> {}.set(L, std::forward<Key>(key), std::forward<Value>(value), tableindex);
      |                                                                                ^
/usr/local/include/sol/table_core.hpp:264:14: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  264 |                                                 stack::set_field<global, raw>(L, std::forward<Key>(key), std::forward<Keys>(keys)..., table_index);
      |                                                        ^
/usr/local/include/sol/usertype.hpp:100:20: note: in instantiation of function template specialization 'sol::basic_table_core<false, sol::basic_reference<false>>::set<const char (&)[5], ST::string SOLDIERTYPE::*>' requested here
  100 |                                         table_base_t::set(std::forward<Key>(key), std::forward<Value>(value));
      |                                                       ^
/usr/local/include/sol/usertype.hpp:50:38: note: in instantiation of function template specialization 'sol::basic_usertype<SOLDIERTYPE, sol::basic_reference<false>>::set<const char (&)[5], ST::string SOLDIERTYPE::*>' requested here
   50 |                         (void)detail::swallow { 0, (this->set(std::get<I * 2>(std::move(args)), std::get<I * 2 + 1>(std::move(args))), 0)... };
      |                                                           ^
/usr/local/include/sol/table.hpp:78:7: note: in instantiation of function template specialization 'sol::basic_usertype<SOLDIERTYPE, sol::basic_reference<false>>::tuple_set<0UL, 1UL, 2UL, 3UL, 4UL, 5UL, 6UL, 7UL, 8UL, 9UL, 10UL, 11UL, 12UL, 13UL, 14UL, 15UL, 16UL, 17UL, 18UL, 19UL, 20UL, 21UL, 22UL, 23UL, 24UL, 25UL, 26UL, 27UL, 28UL, 29UL, 30UL, 31UL, 32UL, 33UL, 34UL, 35UL, 36UL, 37UL, const char (&)[5], unsigned char SOLDIERTYPE::*&&, const char (&)[10], unsigned char SOLDIERTYPE::*&&, const char (&)[5], ST::string SOLDIERTYPE::*&&, const char (&)[20], unsigned char SOLDIERTYPE::*&&, const char (&)[8], signed char SOLDIERTYPE::*&&, const char (&)[11], unsigned char SOLDIERTYPE::*&&, const char (&)[15], unsigned char SOLDIERTYPE::*&&, const char (&)[15], unsigned int SOLDIERTYPE::*&&, const char (&)[6], signed char SOLDIERTYPE::*&&, const char (&)[16], unsigned char SOLDIERTYPE::*&&, const char (&)[9], signed char SOLDIERTYPE::*&&, const char (&)[9], signed char SOLDIERTYPE
::*&&, const char (&)[6], signed char SOLDIERTYPE::*&&, const char (&)[8], signed char SOLDIERTYPE::*&&, const char (&)[11], signed char SOLDIERTYPE::*&&, const char (&)[11], short SOLDIERTYPE::*&&, const char (&)[6], signed char SOLDIERTYPE::*&&, const char (&)[9], signed char SOLDIERTYPE::*&&, const char (&)[11], signed char SOLDIERTYPE::*&&, const char (&)[11], signed char SOLDIERTYPE::*&&, const char (&)[12], signed char SOLDIERTYPE::*&&, const char (&)[14], signed char SOLDIERTYPE::*&&, const char (&)[12], signed char SOLDIERTYPE::*&&, const char (&)[9], signed char SOLDIERTYPE::*&&, const char (&)[10], signed char SOLDIERTYPE::*&&, const char (&)[8], signed char SOLDIERTYPE::*&&, const char (&)[10], signed char SOLDIERTYPE::*&&, const char (&)[14], unsigned char SOLDIERTYPE::*&&, const char (&)[14], unsigned char SOLDIERTYPE::*&&, const char (&)[8], ST::string SOLDIERTYPE::*&&, const char (&)[9], ST::string SOLDIERTYPE::*&&, const char (&)[8], ST::string SOLDIERTYPE::*
&&, const char (&)[8], ST::string SOLDIERTYPE::*&&, const char (&)[16], unsigned char SOLDIERTYPE::*&&, const char (&)[8], SGPSector SOLDIERTYPE::*&&, const char (&)[16], unsigned char SOLDIERTYPE::*&&, const char (&)[21], int SOLDIERTYPE::*&&, const char (&)[19], int SOLDIERTYPE::*&&>' requested here
   78 |                         ut.tuple_set(std::make_index_sequence<(sizeof...(Args) + 1) / 2>(), std::forward_as_tuple(std::forward<Arg>(arg), std::forward<Args>(args)...));
      |                            ^
/usr/local/include/sol/state_view.hpp:785:18: note: in instantiation of function template specialization 'sol::basic_table_core<true, sol::basic_reference<false>>::new_usertype<SOLDIERTYPE, const char (&)[12], const char (&)[5], unsigned char SOLDIERTYPE::*, const char (&)[10], unsigned char SOLDIERTYPE::*, const char (&)[5], ST::string SOLDIERTYPE::*, const char (&)[20], unsigned char SOLDIERTYPE::*, const char (&)[8], signed char SOLDIERTYPE::*, const char (&)[11], unsigned char SOLDIERTYPE::*, const char (&)[15], unsigned char SOLDIERTYPE::*, const char (&)[15], unsigned int SOLDIERTYPE::*, const char (&)[6], signed char SOLDIERTYPE::*, const char (&)[16], unsigned char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[6], signed char SOLDIERTYPE::*, const char (&)[8], signed char SOLDIERTYPE::*, const char (&)[11], signed char SOLDIERTYPE::*, const char (&)[11], short SOLDIERTYPE::*, const char (&
)[6], signed char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[11], signed char SOLDIERTYPE::*, const char (&)[11], signed char SOLDIERTYPE::*, const char (&)[12], signed char SOLDIERTYPE::*, const char (&)[14], signed char SOLDIERTYPE::*, const char (&)[12], signed char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[10], signed char SOLDIERTYPE::*, const char (&)[8], signed char SOLDIERTYPE::*, const char (&)[10], signed char SOLDIERTYPE::*, const char (&)[14], unsigned char SOLDIERTYPE::*, const char (&)[14], unsigned char SOLDIERTYPE::*, const char (&)[8], ST::string SOLDIERTYPE::*, const char (&)[9], ST::string SOLDIERTYPE::*, const char (&)[8], ST::string SOLDIERTYPE::*, const char (&)[8], ST::string SOLDIERTYPE::*, const char (&)[16], unsigned char SOLDIERTYPE::*, const char (&)[8], SGPSector SOLDIERTYPE::*, const char (&)[16], unsigned char SOLDIERTYPE::*, const char (&)[21], int SOLDIERTYPE::*, const cha
r (&)[19], int SOLDIERTYPE::*, void>' requested here
  785 |                         return global.new_usertype<Class>(std::forward<Args>(args)...);
      |                                       ^
/wrkdirs/usr/ports/games/jaggedalliance2/work/ja2-stracciatella-0.21.0/src/externalized/scripting/ScriptingExtensionsLua.cc:192:6: note: in instantiation of function template specialization 'sol::state_view::new_usertype<SOLDIERTYPE, const char (&)[12], const char (&)[5], unsigned char SOLDIERTYPE::*, const char (&)[10], unsigned char SOLDIERTYPE::*, const char (&)[5], ST::string SOLDIERTYPE::*, const char (&)[20], unsigned char SOLDIERTYPE::*, const char (&)[8], signed char SOLDIERTYPE::*, const char (&)[11], unsigned char SOLDIERTYPE::*, const char (&)[15], unsigned char SOLDIERTYPE::*, const char (&)[15], unsigned int SOLDIERTYPE::*, const char (&)[6], signed char SOLDIERTYPE::*, const char (&)[16], unsigned char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[6], signed char SOLDIERTYPE::*, const char (&)[8], signed char SOLDIERTYPE::*, const char (&)[11], signed char SOLDIERTYPE::*, const char 
(&)[11], short SOLDIERTYPE::*, const char (&)[6], signed char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[11], signed char SOLDIERTYPE::*, const char (&)[11], signed char SOLDIERTYPE::*, const char (&)[12], signed char SOLDIERTYPE::*, const char (&)[14], signed char SOLDIERTYPE::*, const char (&)[12], signed char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[10], signed char SOLDIERTYPE::*, const char (&)[8], signed char SOLDIERTYPE::*, const char (&)[10], signed char SOLDIERTYPE::*, const char (&)[14], unsigned char SOLDIERTYPE::*, const char (&)[14], unsigned char SOLDIERTYPE::*, const char (&)[8], ST::string SOLDIERTYPE::*, const char (&)[9], ST::string SOLDIERTYPE::*, const char (&)[8], ST::string SOLDIERTYPE::*, const char (&)[8], ST::string SOLDIERTYPE::*, const char (&)[16], unsigned char SOLDIERTYPE::*, const char (&)[8], SGPSector SOLDIERTYPE::*, const char (&)[16], unsigned char SOLDIERTYPE::*, const
 char (&)[21], int SOLDIERTYPE::*, const char (&)[19], int SOLDIERTYPE::*>' requested here
  192 |         lua.new_usertype<SOLDIERTYPE>("SOLDIERTYPE",
      |             ^
/usr/local/include/sol/function_types_stateless.hpp:323:14: note: candidate template ignored: substitution failure [with is_yielding = false, no_trampoline = true]
  323 |                 static int call(lua_State* L) noexcept(std::is_nothrow_copy_assignable_v<T>) {
      |                            ^
In file included from /wrkdirs/usr/ports/games/jaggedalliance2/work/ja2-stracciatella-0.21.0/src/externalized/scripting/ScriptingExtensionsLua.cc:7:
In file included from /usr/local/include/sol/sol.hpp:54:
In file included from /usr/local/include/sol/function.hpp:28:
In file included from /usr/local/include/sol/unsafe_function.hpp:31:
/usr/local/include/sol/function_types.hpp:110:31: error: address of overloaded function 'call' does not match required type 'int (lua_State *)'
  110 |                                 lua_CFunction freefunc = &function_detail::upvalue_this_member_variable<C, Fx>::template call<is_yielding, no_trampoline>;
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/sol/function_types.hpp:268:5: note: in instantiation of function template specialization 'sol::function_detail::select_member_variable<false, true, signed char SOLDIERTYPE::*>' requested here
  268 |                                 select_member_variable<is_yielding, no_trampoline>(L, std::forward<Fx>(fx), std::forward<Args>(args)...);
      |                                 ^
/usr/local/include/sol/function_types.hpp:390:22: note: in instantiation of function template specialization 'sol::function_detail::select<false, true, signed char SOLDIERTYPE::*>' requested here
  390 |                                 function_detail::select<false, true>(L, std::forward<Args>(args)...);
      |                                                  ^
/usr/local/include/sol/stack_core.hpp:933:14: note: in instantiation of function template specialization 'sol::stack::unqualified_pusher<signed char SOLDIERTYPE::*>::push<signed char SOLDIERTYPE::*>' requested here
  933 |                                 return p.push(L, std::forward<T>(t), std::forward<Args>(args)...);
      |                                          ^
/usr/local/include/sol/stack_field.hpp:222:7: note: in instantiation of function template specialization 'sol::stack::push<signed char SOLDIERTYPE::*>' requested here
  222 |                                                 push(L, std::forward<Value>(value));
      |                                                 ^
/usr/local/include/sol/stack_core.hpp:1312:59: note: in instantiation of function template specialization 'sol::stack::field_setter<char[8]>::set<const char (&)[8], signed char SOLDIERTYPE::*>' requested here
 1312 |                         field_setter<meta::unqualified_t<Key>, global, raw> {}.set(L, std::forward<Key>(key), std::forward<Value>(value), tableindex);
      |                                                                                ^
/usr/local/include/sol/table_core.hpp:264:14: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  264 |                                                 stack::set_field<global, raw>(L, std::forward<Key>(key), std::forward<Keys>(keys)..., table_index);
      |                                                        ^
/usr/local/include/sol/usertype.hpp:100:20: note: in instantiation of function template specialization 'sol::basic_table_core<false, sol::basic_reference<false>>::set<const char (&)[8], signed char SOLDIERTYPE::*>' requested here
  100 |                                         table_base_t::set(std::forward<Key>(key), std::forward<Value>(value));
      |                                                       ^
/usr/local/include/sol/usertype.hpp:50:38: note: in instantiation of function template specialization 'sol::basic_usertype<SOLDIERTYPE, sol::basic_reference<false>>::set<const char (&)[8], signed char SOLDIERTYPE::*>' requested here
   50 |                         (void)detail::swallow { 0, (this->set(std::get<I * 2>(std::move(args)), std::get<I * 2 + 1>(std::move(args))), 0)... };
      |                                                           ^
/usr/local/include/sol/table.hpp:78:7: note: in instantiation of function template specialization 'sol::basic_usertype<SOLDIERTYPE, sol::basic_reference<false>>::tuple_set<0UL, 1UL, 2UL, 3UL, 4UL, 5UL, 6UL, 7UL, 8UL, 9UL, 10UL, 11UL, 12UL, 13UL, 14UL, 15UL, 16UL, 17UL, 18UL, 19UL, 20UL, 21UL, 22UL, 23UL, 24UL, 25UL, 26UL, 27UL, 28UL, 29UL, 30UL, 31UL, 32UL, 33UL, 34UL, 35UL, 36UL, 37UL, const char (&)[5], unsigned char SOLDIERTYPE::*&&, const char (&)[10], unsigned char SOLDIERTYPE::*&&, const char (&)[5], ST::string SOLDIERTYPE::*&&, const char (&)[20], unsigned char SOLDIERTYPE::*&&, const char (&)[8], signed char SOLDIERTYPE::*&&, const char (&)[11], unsigned char SOLDIERTYPE::*&&, const char (&)[15], unsigned char SOLDIERTYPE::*&&, const char (&)[15], unsigned int SOLDIERTYPE::*&&, const char (&)[6], signed char SOLDIERTYPE::*&&, const char (&)[16], unsigned char SOLDIERTYPE::*&&, const char (&)[9], signed char SOLDIERTYPE::*&&, const char (&)[9], signed char SOLDIERTYPE
::*&&, const char (&)[6], signed char SOLDIERTYPE::*&&, const char (&)[8], signed char SOLDIERTYPE::*&&, const char (&)[11], signed char SOLDIERTYPE::*&&, const char (&)[11], short SOLDIERTYPE::*&&, const char (&)[6], signed char SOLDIERTYPE::*&&, const char (&)[9], signed char SOLDIERTYPE::*&&, const char (&)[11], signed char SOLDIERTYPE::*&&, const char (&)[11], signed char SOLDIERTYPE::*&&, const char (&)[12], signed char SOLDIERTYPE::*&&, const char (&)[14], signed char SOLDIERTYPE::*&&, const char (&)[12], signed char SOLDIERTYPE::*&&, const char (&)[9], signed char SOLDIERTYPE::*&&, const char (&)[10], signed char SOLDIERTYPE::*&&, const char (&)[8], signed char SOLDIERTYPE::*&&, const char (&)[10], signed char SOLDIERTYPE::*&&, const char (&)[14], unsigned char SOLDIERTYPE::*&&, const char (&)[14], unsigned char SOLDIERTYPE::*&&, const char (&)[8], ST::string SOLDIERTYPE::*&&, const char (&)[9], ST::string SOLDIERTYPE::*&&, const char (&)[8], ST::string SOLDIERTYPE::*
&&, const char (&)[8], ST::string SOLDIERTYPE::*&&, const char (&)[16], unsigned char SOLDIERTYPE::*&&, const char (&)[8], SGPSector SOLDIERTYPE::*&&, const char (&)[16], unsigned char SOLDIERTYPE::*&&, const char (&)[21], int SOLDIERTYPE::*&&, const char (&)[19], int SOLDIERTYPE::*&&>' requested here
   78 |                         ut.tuple_set(std::make_index_sequence<(sizeof...(Args) + 1) / 2>(), std::forward_as_tuple(std::forward<Arg>(arg), std::forward<Args>(args)...));
      |                            ^
/usr/local/include/sol/state_view.hpp:785:18: note: in instantiation of function template specialization 'sol::basic_table_core<true, sol::basic_reference<false>>::new_usertype<SOLDIERTYPE, const char (&)[12], const char (&)[5], unsigned char SOLDIERTYPE::*, const char (&)[10], unsigned char SOLDIERTYPE::*, const char (&)[5], ST::string SOLDIERTYPE::*, const char (&)[20], unsigned char SOLDIERTYPE::*, const char (&)[8], signed char SOLDIERTYPE::*, const char (&)[11], unsigned char SOLDIERTYPE::*, const char (&)[15], unsigned char SOLDIERTYPE::*, const char (&)[15], unsigned int SOLDIERTYPE::*, const char (&)[6], signed char SOLDIERTYPE::*, const char (&)[16], unsigned char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[6], signed char SOLDIERTYPE::*, const char (&)[8], signed char SOLDIERTYPE::*, const char (&)[11], signed char SOLDIERTYPE::*, const char (&)[11], short SOLDIERTYPE::*, const char (&
)[6], signed char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[11], signed char SOLDIERTYPE::*, const char (&)[11], signed char SOLDIERTYPE::*, const char (&)[12], signed char SOLDIERTYPE::*, const char (&)[14], signed char SOLDIERTYPE::*, const char (&)[12], signed char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[10], signed char SOLDIERTYPE::*, const char (&)[8], signed char SOLDIERTYPE::*, const char (&)[10], signed char SOLDIERTYPE::*, const char (&)[14], unsigned char SOLDIERTYPE::*, const char (&)[14], unsigned char SOLDIERTYPE::*, const char (&)[8], ST::string SOLDIERTYPE::*, const char (&)[9], ST::string SOLDIERTYPE::*, const char (&)[8], ST::string SOLDIERTYPE::*, const char (&)[8], ST::string SOLDIERTYPE::*, const char (&)[16], unsigned char SOLDIERTYPE::*, const char (&)[8], SGPSector SOLDIERTYPE::*, const char (&)[16], unsigned char SOLDIERTYPE::*, const char (&)[21], int SOLDIERTYPE::*, const cha
r (&)[19], int SOLDIERTYPE::*, void>' requested here
  785 |                         return global.new_usertype<Class>(std::forward<Args>(args)...);
      |                                       ^
/wrkdirs/usr/ports/games/jaggedalliance2/work/ja2-stracciatella-0.21.0/src/externalized/scripting/ScriptingExtensionsLua.cc:192:6: note: in instantiation of function template specialization 'sol::state_view::new_usertype<SOLDIERTYPE, const char (&)[12], const char (&)[5], unsigned char SOLDIERTYPE::*, const char (&)[10], unsigned char SOLDIERTYPE::*, const char (&)[5], ST::string SOLDIERTYPE::*, const char (&)[20], unsigned char SOLDIERTYPE::*, const char (&)[8], signed char SOLDIERTYPE::*, const char (&)[11], unsigned char SOLDIERTYPE::*, const char (&)[15], unsigned char SOLDIERTYPE::*, const char (&)[15], unsigned int SOLDIERTYPE::*, const char (&)[6], signed char SOLDIERTYPE::*, const char (&)[16], unsigned char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[6], signed char SOLDIERTYPE::*, const char (&)[8], signed char SOLDIERTYPE::*, const char (&)[11], signed char SOLDIERTYPE::*, const char 
(&)[11], short SOLDIERTYPE::*, const char (&)[6], signed char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[11], signed char SOLDIERTYPE::*, const char (&)[11], signed char SOLDIERTYPE::*, const char (&)[12], signed char SOLDIERTYPE::*, const char (&)[14], signed char SOLDIERTYPE::*, const char (&)[12], signed char SOLDIERTYPE::*, const char (&)[9], signed char SOLDIERTYPE::*, const char (&)[10], signed char SOLDIERTYPE::*, const char (&)[8], signed char SOLDIERTYPE::*, const char (&)[10], signed char SOLDIERTYPE::*, const char (&)[14], unsigned char SOLDIERTYPE::*, const char (&)[14], unsigned char SOLDIERTYPE::*, const char (&)[8], ST::string SOLDIERTYPE::*, const char (&)[9], ST::string SOLDIERTYPE::*, const char (&)[8], ST::string SOLDIERTYPE::*, const char (&)[8], ST::string SOLDIERTYPE::*, const char (&)[16], unsigned char SOLDIERTYPE::*, const char (&)[8], SGPSector SOLDIERTYPE::*, const char (&)[16], unsigned char SOLDIERTYPE::*, const
 char (&)[21], int SOLDIERTYPE::*, const char (&)[19], int SOLDIERTYPE::*>' requested here
  192 |         lua.new_usertype<SOLDIERTYPE>("SOLDIERTYPE",
      |             ^
/usr/local/include/sol/function_types_stateless.hpp:323:14: note: candidate template ignored: substitution failure [with is_yielding = false, no_trampoline = true]
  323 |                 static int call(lua_State* L) noexcept(std::is_nothrow_copy_assignable_v<T>) {
      |                            ^
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/jaggedalliance2