[package - 141i386-default][emulators/flycast] Failed for flycast-2.4 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 21 Nov 2024 01:36:51 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:     bsdcode@disroot.org
Log URL:        https://pkg-status.freebsd.org/beefy21/data/141i386-default/ec08b8144657/logs/flycast-2.4.log
Build URL:      https://pkg-status.freebsd.org/beefy21/build.html?mastername=141i386-default&build=ec08b8144657
Log:

=>> Building emulators/flycast
build started at Thu Nov 21 01:31:46 UTC 2024
port directory: /usr/ports/emulators/flycast
package name: flycast-2.4
building for: FreeBSD 141i386-default-job-06 14.1-RELEASE-p6 FreeBSD 14.1-RELEASE-p6 i386
maintained by: bsdcode@disroot.org
Makefile datestamp: -rw-r--r--  1 root wheel 1790 Nov 16 01:01 /usr/ports/emulators/flycast/Makefile
Ports top last git commit: ec08b81446
Ports top unclean checkout: no
Port dir last git commit: dd40da67a6
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1401000
Job Id: 06

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1401000
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=14.1-RELEASE-p6
LOCALBASE=/usr/local
UNAME_v=FreeBSD 14.1-RELEASE-p6
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/141i386-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/141i386-default/06/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=141i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/141i386-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---
===> The following configuration options are available for flycast-2.4:
     DOCS=on: Build and/or install documentation
     OPENMP=on: Parallel processing support via OpenMP
     VULKAN=on: Build with Vulkan support
====> Options available for the group AUDIO
     ALSA=on: ALSA audio architecture support
     AO=on: libao audio library support
     OSS=on: Open Sound System support
     PULSEAUDIO=off: PulseAudio sound server support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
bsdcode@disroot.org
--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/emulators/flycast/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/flycast/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/flycast/work/.cache  HOME=/wrkdirs/usr/ports/emulators/flycast/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/flycast/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/flycast/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] " 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 SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/flycast/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/flycast/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/flycast/work/.cache  HOME=/wrkdirs/usr/ports/emulators/flycast/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/flycast/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/flycast/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/emulators/flycast/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fst
ack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m 555"  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--
PORTDOCS="" 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/flycast"  EXAMPLESDIR="share/examples/flycast"  DATADIR="share/flycast"  WWWDIR="www/flycast"  ETCDIR="etc/flycast"
--End PLIST_SUB--

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
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)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   flycast-2.4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[141i386-default-job-06] Installing pkg-1.21.3...
[141i386-default-job-06] Extracting pkg-1.21.3: .......... done
===>   flycast-2.4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of flycast-2.4
===========================================================================
=======================<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 GPLv2 accepted by the user
===> Fetching all distfiles required by flycast-2.4 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by flycast-2.4 for building
=> SHA256 Checksum OK for flyinghead-flycast-v2.4_GH0.tar.gz.
=> SHA256 Checksum OK for vinniefalco-LuaBridge-fab7b33b896a42dcc865ba5ecdbacd9f409137f8_GH0.tar.gz.
=> SHA256 Checksum OK for GPUOpen-LibrariesAndSDKs-VulkanMemoryAllocator-6eb62e1515072827db992c2befd80b71b2d04329_GH0.tar.gz.
=> SHA256 Checksum OK for RetroAchievements-rcheevos-563230b1c249774b4852c944dc7cdcb952c9e8e8_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by flycast-2.4 for building
===>  Extracting for flycast-2.4
=> SHA256 Checksum OK for flyinghead-flycast-v2.4_GH0.tar.gz.
=> SHA256 Checksum OK for vinniefalco-LuaBridge-fab7b33b896a42dcc865ba5ecdbacd9f409137f8_GH0.tar.gz.
=> SHA256 Checksum OK for GPUOpen-LibrariesAndSDKs-VulkanMemoryAllocator-6eb62e1515072827db992c2befd80b71b2d04329_GH0.tar.gz.
=> SHA256 Checksum OK for RetroAchievements-rcheevos-563230b1c249774b4852c944dc7cdcb952c9e8e8_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for flycast-2.4
===>  Applying FreeBSD patches for flycast-2.4 from /usr/ports/emulators/flycast/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   flycast-2.4 depends on executable: glslang - not found
===>   Installing existing package /packages/All/glslang-15.0.0.pkg
[141i386-default-job-06] Installing glslang-15.0.0...
[141i386-default-job-06] Extracting glslang-15.0.0: .......... done
<snip>
  421 |                                         .addFunction("getSubDeviceType", getMapleSubType)
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  422 |                                         .addFunction("setDeviceType", setMapleType)
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  423 |                                         .addFunction("setSubDeviceType", setMapleSubType)
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  424 |                                 .endNamespace()
      |                                 ~~~~~~~~~~~~~~~
  425 |                         .endNamespace()
      |                         ~~~~~~~~~~~~~~~
  426 | 
  427 |                         .beginNamespace("memory")
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~
  428 |                                 .addFunction("read8", addrspace::readt<u8>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  429 |                                 .addFunction("read16", addrspace::readt<u16>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  430 |                                 .addFunction("read32", addrspace::readt<u32>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  431 |                                 .addFunction("read64", addrspace::readt<u64>)
      |                                 ~^~~~~~~~~~~
/wrkdirs/usr/ports/emulators/flycast/work/flycast-2.4/core/deps/luabridge/Source/LuaBridge/detail/Namespace.h:1305:16: note: candidate function not viable: no overload of 'readt' matching 'int (*const)(lua_State *)' for 2nd argument
 1305 |     Namespace& addFunction(char const* name, int (*const fp)(lua_State*))
      |                ^                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/emulators/flycast/work/flycast-2.4/core/deps/luabridge/Source/LuaBridge/detail/Namespace.h:1263:16: note: candidate template ignored: could not match 'std::function<ReturnType (Params...)>' against 'DYNACALL unsigned long long (*)(u32) __attribute__((fastcall))' (aka 'unsigned long long (*)(unsigned int) __attribute__((fastcall))')
 1263 |     Namespace& addFunction(char const* name, std::function<ReturnType(Params...)> function)
      |                ^
/wrkdirs/usr/ports/emulators/flycast/work/flycast-2.4/core/deps/luabridge/Source/LuaBridge/detail/Namespace.h:1285:16: note: candidate template ignored: deduced type 'unsigned long long (*)(unsigned int)' of 2nd parameter does not match adjusted type 'DYNACALL unsigned long long (*)(u32) __attribute__((fastcall))' (aka 'unsigned long long (*)(unsigned int) __attribute__((fastcall))') of argument [with ReturnType = unsigned long long, Params = <u32>]
 1285 |     Namespace& addFunction(char const* name, ReturnType (*fp)(Params...))
      |                ^
/wrkdirs/usr/ports/emulators/flycast/work/flycast-2.4/core/lua/lua.cpp:545:6: error: no matching member function for call to 'addFunction'
  416 |                                         .addFunction("getSubDeviceType", getMapleSubType)
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  417 |                                         .addFunction("setDeviceType", setMapleType)
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  418 |                                         .addFunction("setSubDeviceType", setMapleSubType)
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  419 |                                 .endNamespace()
      |                                 ~~~~~~~~~~~~~~~
  420 |                         .endNamespace()
      |                         ~~~~~~~~~~~~~~~
  421 | 
  422 |                         .beginNamespace("memory")
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~
  423 |                                 .addFunction("read8", addrspace::readt<u8>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  424 |                                 .addFunction("read16", addrspace::readt<u16>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  425 |                                 .addFunction("read32", addrspace::readt<u32>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  426 |                                 .addFunction("read64", addrspace::readt<u64>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  427 |                                 .addFunction("readTable8", readMemoryTable<u8>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  428 |                                 .addFunction("readTable16", readMemoryTable<u16>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  429 |                                 .addFunction("readTable32", readMemoryTable<u32>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  430 |                                 .addFunction("readTable64", readMemoryTable<u64>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  431 |                                 .addFunction("write8", addrspace::writet<u8>)
      |                                 ~^~~~~~~~~~~
/wrkdirs/usr/ports/emulators/flycast/work/flycast-2.4/core/deps/luabridge/Source/LuaBridge/detail/Namespace.h:1305:16: note: candidate function not viable: no overload of 'writet' matching 'int (*const)(lua_State *)' for 2nd argument
 1305 |     Namespace& addFunction(char const* name, int (*const fp)(lua_State*))
      |                ^                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/emulators/flycast/work/flycast-2.4/core/deps/luabridge/Source/LuaBridge/detail/Namespace.h:1263:16: note: candidate template ignored: could not match 'std::function<ReturnType (Params...)>' against 'DYNACALL void (*)(u32, unsigned char) __attribute__((fastcall))' (aka 'void (*)(unsigned int, unsigned char) __attribute__((fastcall))')
 1263 |     Namespace& addFunction(char const* name, std::function<ReturnType(Params...)> function)
      |                ^
/wrkdirs/usr/ports/emulators/flycast/work/flycast-2.4/core/deps/luabridge/Source/LuaBridge/detail/Namespace.h:1285:16: note: candidate template ignored: deduced type 'void (*)(unsigned int, unsigned char)' of 2nd parameter does not match adjusted type 'DYNACALL void (*)(u32, unsigned char) __attribute__((fastcall))' (aka 'void (*)(unsigned int, unsigned char) __attribute__((fastcall))') of argument [with ReturnType = void, Params = <u32, unsigned char>]
 1285 |     Namespace& addFunction(char const* name, ReturnType (*fp)(Params...))
      |                ^
/wrkdirs/usr/ports/emulators/flycast/work/flycast-2.4/core/lua/lua.cpp:546:6: error: no matching member function for call to 'addFunction'
  416 |                                         .addFunction("setDeviceType", setMapleType)
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  417 |                                         .addFunction("setSubDeviceType", setMapleSubType)
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  418 |                                 .endNamespace()
      |                                 ~~~~~~~~~~~~~~~
  419 |                         .endNamespace()
      |                         ~~~~~~~~~~~~~~~
  420 | 
  421 |                         .beginNamespace("memory")
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~
  422 |                                 .addFunction("read8", addrspace::readt<u8>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  423 |                                 .addFunction("read16", addrspace::readt<u16>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  424 |                                 .addFunction("read32", addrspace::readt<u32>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  425 |                                 .addFunction("read64", addrspace::readt<u64>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  426 |                                 .addFunction("readTable8", readMemoryTable<u8>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  427 |                                 .addFunction("readTable16", readMemoryTable<u16>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  428 |                                 .addFunction("readTable32", readMemoryTable<u32>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  429 |                                 .addFunction("readTable64", readMemoryTable<u64>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  430 |                                 .addFunction("write8", addrspace::writet<u8>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  431 |                                 .addFunction("write16", addrspace::writet<u16>)
      |                                 ~^~~~~~~~~~~
/wrkdirs/usr/ports/emulators/flycast/work/flycast-2.4/core/deps/luabridge/Source/LuaBridge/detail/Namespace.h:1305:16: note: candidate function not viable: no overload of 'writet' matching 'int (*const)(lua_State *)' for 2nd argument
 1305 |     Namespace& addFunction(char const* name, int (*const fp)(lua_State*))
      |                ^                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/emulators/flycast/work/flycast-2.4/core/deps/luabridge/Source/LuaBridge/detail/Namespace.h:1263:16: note: candidate template ignored: could not match 'std::function<ReturnType (Params...)>' against 'DYNACALL void (*)(u32, unsigned short) __attribute__((fastcall))' (aka 'void (*)(unsigned int, unsigned short) __attribute__((fastcall))')
 1263 |     Namespace& addFunction(char const* name, std::function<ReturnType(Params...)> function)
      |                ^
/wrkdirs/usr/ports/emulators/flycast/work/flycast-2.4/core/deps/luabridge/Source/LuaBridge/detail/Namespace.h:1285:16: note: candidate template ignored: deduced type 'void (*)(unsigned int, unsigned short)' of 2nd parameter does not match adjusted type 'DYNACALL void (*)(u32, unsigned short) __attribute__((fastcall))' (aka 'void (*)(unsigned int, unsigned short) __attribute__((fastcall))') of argument [with ReturnType = void, Params = <u32, unsigned short>]
 1285 |     Namespace& addFunction(char const* name, ReturnType (*fp)(Params...))
      |                ^
/wrkdirs/usr/ports/emulators/flycast/work/flycast-2.4/core/lua/lua.cpp:547:6: error: no matching member function for call to 'addFunction'
  416 |                                         .addFunction("setSubDeviceType", setMapleSubType)
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  417 |                                 .endNamespace()
      |                                 ~~~~~~~~~~~~~~~
  418 |                         .endNamespace()
      |                         ~~~~~~~~~~~~~~~
  419 | 
  420 |                         .beginNamespace("memory")
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~
  421 |                                 .addFunction("read8", addrspace::readt<u8>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  422 |                                 .addFunction("read16", addrspace::readt<u16>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  423 |                                 .addFunction("read32", addrspace::readt<u32>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  424 |                                 .addFunction("read64", addrspace::readt<u64>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  425 |                                 .addFunction("readTable8", readMemoryTable<u8>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  426 |                                 .addFunction("readTable16", readMemoryTable<u16>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  427 |                                 .addFunction("readTable32", readMemoryTable<u32>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  428 |                                 .addFunction("readTable64", readMemoryTable<u64>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  429 |                                 .addFunction("write8", addrspace::writet<u8>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  430 |                                 .addFunction("write16", addrspace::writet<u16>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  431 |                                 .addFunction("write32", addrspace::writet<u32>)
      |                                 ~^~~~~~~~~~~
/wrkdirs/usr/ports/emulators/flycast/work/flycast-2.4/core/deps/luabridge/Source/LuaBridge/detail/Namespace.h:1305:16: note: candidate function not viable: no overload of 'writet' matching 'int (*const)(lua_State *)' for 2nd argument
 1305 |     Namespace& addFunction(char const* name, int (*const fp)(lua_State*))
      |                ^                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/emulators/flycast/work/flycast-2.4/core/deps/luabridge/Source/LuaBridge/detail/Namespace.h:1263:16: note: candidate template ignored: could not match 'std::function<ReturnType (Params...)>' against 'DYNACALL void (*)(u32, unsigned int) __attribute__((fastcall))' (aka 'void (*)(unsigned int, unsigned int) __attribute__((fastcall))')
 1263 |     Namespace& addFunction(char const* name, std::function<ReturnType(Params...)> function)
      |                ^
/wrkdirs/usr/ports/emulators/flycast/work/flycast-2.4/core/deps/luabridge/Source/LuaBridge/detail/Namespace.h:1285:16: note: candidate template ignored: deduced type 'void (*)(unsigned int, unsigned int)' of 2nd parameter does not match adjusted type 'DYNACALL void (*)(u32, unsigned int) __attribute__((fastcall))' (aka 'void (*)(unsigned int, unsigned int) __attribute__((fastcall))') of argument [with ReturnType = void, Params = <u32, unsigned int>]
 1285 |     Namespace& addFunction(char const* name, ReturnType (*fp)(Params...))
      |                ^
/wrkdirs/usr/ports/emulators/flycast/work/flycast-2.4/core/lua/lua.cpp:548:6: error: no matching member function for call to 'addFunction'
  416 |                                 .endNamespace()
      |                                 ~~~~~~~~~~~~~~~
  417 |                         .endNamespace()
      |                         ~~~~~~~~~~~~~~~
  418 | 
  419 |                         .beginNamespace("memory")
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~
  420 |                                 .addFunction("read8", addrspace::readt<u8>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  421 |                                 .addFunction("read16", addrspace::readt<u16>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  422 |                                 .addFunction("read32", addrspace::readt<u32>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  423 |                                 .addFunction("read64", addrspace::readt<u64>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  424 |                                 .addFunction("readTable8", readMemoryTable<u8>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  425 |                                 .addFunction("readTable16", readMemoryTable<u16>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  426 |                                 .addFunction("readTable32", readMemoryTable<u32>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  427 |                                 .addFunction("readTable64", readMemoryTable<u64>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  428 |                                 .addFunction("write8", addrspace::writet<u8>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  429 |                                 .addFunction("write16", addrspace::writet<u16>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  430 |                                 .addFunction("write32", addrspace::writet<u32>)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  431 |                                 .addFunction("write64", addrspace::writet<u64>)
      |                                 ~^~~~~~~~~~~
/wrkdirs/usr/ports/emulators/flycast/work/flycast-2.4/core/deps/luabridge/Source/LuaBridge/detail/Namespace.h:1305:16: note: candidate function not viable: no overload of 'writet' matching 'int (*const)(lua_State *)' for 2nd argument
 1305 |     Namespace& addFunction(char const* name, int (*const fp)(lua_State*))
      |                ^                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/emulators/flycast/work/flycast-2.4/core/deps/luabridge/Source/LuaBridge/detail/Namespace.h:1263:16: note: candidate template ignored: could not match 'std::function<ReturnType (Params...)>' against 'DYNACALL void (*)(u32, unsigned long long) __attribute__((fastcall))' (aka 'void (*)(unsigned int, unsigned long long) __attribute__((fastcall))')
 1263 |     Namespace& addFunction(char const* name, std::function<ReturnType(Params...)> function)
      |                ^
/wrkdirs/usr/ports/emulators/flycast/work/flycast-2.4/core/deps/luabridge/Source/LuaBridge/detail/Namespace.h:1285:16: note: candidate template ignored: deduced type 'void (*)(unsigned int, unsigned long long)' of 2nd parameter does not match adjusted type 'DYNACALL void (*)(u32, unsigned long long) __attribute__((fastcall))' (aka 'void (*)(unsigned int, unsigned long long) __attribute__((fastcall))') of argument [with ReturnType = void, Params = <u32, unsigned long long>]
 1285 |     Namespace& addFunction(char const* name, ReturnType (*fp)(Params...))
      |                ^
8 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/flycast