[package - main-armv7-default][games/libretro-pcsx_rearmed] Failed for libretro-pcsx_rearmed-0.20220405_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 22 Apr 2023 11:53:25 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:     ports@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/p25decddf345c_sd1dfe419ac/logs/libretro-pcsx_rearmed-0.20220405_1.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p25decddf345c_sd1dfe419ac
Log:

=>> Building games/libretro-pcsx_rearmed
build started at Sat Apr 22 11:53:00 UTC 2023
port directory: /usr/ports/games/libretro-pcsx_rearmed
package name: libretro-pcsx_rearmed-0.20220405_1
building for: FreeBSD main-armv7-default-job-10 14.0-CURRENT FreeBSD 14.0-CURRENT 1400086 arm
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400086
Job Id: 10




!!! Jail is newer than host. (Jail: 1400086, Host: 1400073) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400086
UNAME_v=FreeBSD 14.0-CURRENT 1400086
UNAME_r=14.0-CURRENT
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
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-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--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/libretro-pcsx_rearmed/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/libretro-pcsx_rearmed/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/libretro-pcsx_rearmed/work/.cache  HOME=/wrkdirs/usr/ports/games/libretro-pcsx_rearmed/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/libretro-pcsx_rearmed/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/libretro-pcsx_rearmed/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--
XDG_DATA_HOME=/wrkdirs/usr/ports/games/libretro-pcsx_rearmed/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/libretro-pcsx_rearmed/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/libretro-pcsx_rearmed/work/.cache  HOME=/wrkdirs/usr/ports/games/libretro-pcsx_rearmed/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/libretro-pcsx_rearmed/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/libretro-pcsx_rearmed/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 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_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--
OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/libretro-pcsx_rearmed"  EXAMPLESDIR="share/examples/libretro-pcsx_rearmed"  DATADIR="share/libretro-pcsx_rearmed"  WWWDIR="www/libretro-pcsx_rearmed"  ETCDIR="etc/libretro-pcsx_rearmed"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/libretro-pcsx_rearmed DOCSDIR=/usr/local/share/doc/libretro-pcsx_rearmed EXAMPLESDIR=/usr/local/share/examples/libretro-pcsx_rearmed  WWWDIR=/usr/local/www/libretro-pcsx_rearmed ETCDIR=/usr/local/etc/libretro-pcsx_rearmed
--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 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv7-unknown-freebsd14.0-gnueabihf 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=yes
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=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400086
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
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   >============================
===>   NOTICE:

The libretro-pcsx_rearmed 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

===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   libretro-pcsx_rearmed-0.20220405_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-armv7-default-job-10] Installing pkg-1.19.1_1...
[main-armv7-default-job-10] Extracting pkg-1.19.1_1: .......... done
===>   libretro-pcsx_rearmed-0.20220405_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of libretro-pcsx_rearmed-0.20220405_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The libretro-pcsx_rearmed 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

===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by libretro-pcsx_rearmed-0.20220405_1 for building
===========================================================================
=======================<phase: checksum       >============================
<snip>
int ZEXPORT inflateBackEnd(strm)
            ^
1 warning generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -D_FILE_OFFSET_BITS=64 -Wall -Iinclude -ffast-math -O2 -DNDEBUG -Ideps/libchdr/deps/zlib-1.2.11 -Ideps/lightning/include -Ideps/lightrec -Iinclude/lightning -Iinclude/lightrec -DLIGHTREC -DLIGHTREC_STATIC -DGPU_PEOPS -DTHREAD_RENDERING -Ideps/libchdr/include -Ideps/libchdr/include/libchdr -Ideps/libchdr/deps/lzma-19.00/include -DHAVE_CHD -D_7ZIP_ST -Ilibretro-common/include -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO -DNO_FRONTEND -Wno-unused -Wno-unused-function -c -o deps/libchdr/deps/zlib-1.2.11/inflate.o deps/libchdr/deps/zlib-1.2.11/inflate.c
deps/libchdr/deps/zlib-1.2.11/inflate.c:105:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local int inflateStateCheck(strm)
          ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:105:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deps/libchdr/deps/zlib-1.2.11/inflate.c:119:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateResetKeep(strm)
            ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:144:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateReset(strm)
            ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:157:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateReset2(strm, windowBits)
            ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:195:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateInit2_(strm, windowBits, version, stream_size)
            ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:239:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateInit_(strm, version, stream_size)
            ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:247:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflatePrime(strm, bits, value)
            ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:278:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void fixedtables(state)
           ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:278:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deps/libchdr/deps/zlib-1.2.11/inflate.c:396:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local int updatewindow(strm, end, copy)
          ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:396:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deps/libchdr/deps/zlib-1.2.11/inflate.c:622:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflate(strm, flush)
            ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:1277:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateEnd(strm)
            ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:1291:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateGetDictionary(strm, dictionary, dictLength)
            ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:1314:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateSetDictionary(strm, dictionary, dictLength)
            ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:1349:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateGetHeader(strm, head)
            ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:1377:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local unsigned syncsearch(have, buf, len)
               ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:1377:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deps/libchdr/deps/zlib-1.2.11/inflate.c:1400:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateSync(strm)
            ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:1451:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateSyncPoint(strm)
            ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:1461:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateCopy(dest, source)
            ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:1508:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateUndermine(strm, subvert)
            ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:1526:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateValidate(strm, check)
            ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:1541:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
long ZEXPORT inflateMark(strm)
             ^
deps/libchdr/deps/zlib-1.2.11/inflate.c:1554:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
unsigned long ZEXPORT inflateCodesUsed(strm)
                      ^
5 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -D_FILE_OFFSET_BITS=64 -Wall -Iinclude -ffast-math -O2 -DNDEBUG -Ideps/libchdr/deps/zlib-1.2.11 -Ideps/lightning/include -Ideps/lightrec -Iinclude/lightning -Iinclude/lightrec -DLIGHTREC -DLIGHTREC_STATIC -DGPU_PEOPS -DTHREAD_RENDERING -Ideps/libchdr/include -Ideps/libchdr/include/libchdr -Ideps/libchdr/deps/lzma-19.00/include -DHAVE_CHD -D_7ZIP_ST -Ilibretro-common/include -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO -DNO_FRONTEND -Wno-unused -Wno-unused-function -c -o deps/libchdr/deps/zlib-1.2.11/inftrees.o deps/libchdr/deps/zlib-1.2.11/inftrees.c
deps/libchdr/deps/zlib-1.2.11/inftrees.c:32:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work)
                  ^
1 warning generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -D_FILE_OFFSET_BITS=64 -Wall -Iinclude -ffast-math -O2 -DNDEBUG -Ideps/libchdr/deps/zlib-1.2.11 -Ideps/lightning/include -Ideps/lightrec -Iinclude/lightning -Iinclude/lightrec -DLIGHTREC -DLIGHTREC_STATIC -DGPU_PEOPS -DTHREAD_RENDERING -Ideps/libchdr/include -Ideps/libchdr/include/libchdr -Ideps/libchdr/deps/lzma-19.00/include -DHAVE_CHD -D_7ZIP_ST -Ilibretro-common/include -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO -DNO_FRONTEND -Wno-unused -Wno-unused-function -c -o deps/libchdr/deps/zlib-1.2.11/trees.o deps/libchdr/deps/zlib-1.2.11/trees.c
deps/libchdr/deps/zlib-1.2.11/trees.c:379:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ZLIB_INTERNAL _tr_init(s)
                   ^
deps/libchdr/deps/zlib-1.2.11/trees.c:407:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void init_block(s)
           ^
deps/libchdr/deps/zlib-1.2.11/trees.c:407:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deps/libchdr/deps/zlib-1.2.11/trees.c:451:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void pqdownheap(s, tree, k)
           ^
deps/libchdr/deps/zlib-1.2.11/trees.c:451:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deps/libchdr/deps/zlib-1.2.11/trees.c:486:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void gen_bitlen(s, desc)
           ^
deps/libchdr/deps/zlib-1.2.11/trees.c:486:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deps/libchdr/deps/zlib-1.2.11/trees.c:572:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void gen_codes (tree, max_code, bl_count)
           ^
deps/libchdr/deps/zlib-1.2.11/trees.c:572:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deps/libchdr/deps/zlib-1.2.11/trees.c:615:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void build_tree(s, desc)
           ^
deps/libchdr/deps/zlib-1.2.11/trees.c:615:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deps/libchdr/deps/zlib-1.2.11/trees.c:703:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void scan_tree (s, tree, max_code)
           ^
deps/libchdr/deps/zlib-1.2.11/trees.c:703:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deps/libchdr/deps/zlib-1.2.11/trees.c:748:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void send_tree (s, tree, max_code)
           ^
deps/libchdr/deps/zlib-1.2.11/trees.c:748:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deps/libchdr/deps/zlib-1.2.11/trees.c:799:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local int build_bl_tree(s)
          ^
deps/libchdr/deps/zlib-1.2.11/trees.c:799:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deps/libchdr/deps/zlib-1.2.11/trees.c:834:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void send_all_trees(s, lcodes, dcodes, blcodes)
           ^
deps/libchdr/deps/zlib-1.2.11/trees.c:834:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deps/libchdr/deps/zlib-1.2.11/trees.c:863:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ZLIB_INTERNAL _tr_stored_block(s, buf, stored_len, last)
                   ^
deps/libchdr/deps/zlib-1.2.11/trees.c:886:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ZLIB_INTERNAL _tr_flush_bits(s)
                   ^
deps/libchdr/deps/zlib-1.2.11/trees.c:896:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ZLIB_INTERNAL _tr_align(s)
                   ^
deps/libchdr/deps/zlib-1.2.11/trees.c:911:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ZLIB_INTERNAL _tr_flush_block(s, buf, stored_len, last)
                   ^
deps/libchdr/deps/zlib-1.2.11/trees.c:1014:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZLIB_INTERNAL _tr_tally (s, dist, lc)
                  ^
deps/libchdr/deps/zlib-1.2.11/trees.c:1064:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void compress_block(s, ltree, dtree)
           ^
deps/libchdr/deps/zlib-1.2.11/trees.c:1064:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deps/libchdr/deps/zlib-1.2.11/trees.c:1124:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local int detect_data_type(s)
          ^
deps/libchdr/deps/zlib-1.2.11/trees.c:1124:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deps/libchdr/deps/zlib-1.2.11/trees.c:1158:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local unsigned bi_reverse(code, len)
               ^
deps/libchdr/deps/zlib-1.2.11/trees.c:1158:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deps/libchdr/deps/zlib-1.2.11/trees.c:1173:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void bi_flush(s)
           ^
deps/libchdr/deps/zlib-1.2.11/trees.c:1173:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deps/libchdr/deps/zlib-1.2.11/trees.c:1190:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void bi_windup(s)
           ^
deps/libchdr/deps/zlib-1.2.11/trees.c:1190:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
34 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -D_FILE_OFFSET_BITS=64 -Wall -Iinclude -ffast-math -O2 -DNDEBUG -Ideps/libchdr/deps/zlib-1.2.11 -Ideps/lightning/include -Ideps/lightrec -Iinclude/lightning -Iinclude/lightrec -DLIGHTREC -DLIGHTREC_STATIC -DGPU_PEOPS -DTHREAD_RENDERING -Ideps/libchdr/include -Ideps/libchdr/include/libchdr -Ideps/libchdr/deps/lzma-19.00/include -DHAVE_CHD -D_7ZIP_ST -Ilibretro-common/include -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO -DNO_FRONTEND -Wno-unused -Wno-unused-function -c -o deps/libchdr/deps/zlib-1.2.11/uncompr.o deps/libchdr/deps/zlib-1.2.11/uncompr.c
deps/libchdr/deps/zlib-1.2.11/uncompr.c:27:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT uncompress2 (dest, destLen, source, sourceLen)
            ^
deps/libchdr/deps/zlib-1.2.11/uncompr.c:86:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT uncompress (dest, destLen, source, sourceLen)
            ^
2 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -D_FILE_OFFSET_BITS=64 -Wall -Iinclude -ffast-math -O2 -DNDEBUG -Ideps/libchdr/deps/zlib-1.2.11 -Ideps/lightning/include -Ideps/lightrec -Iinclude/lightning -Iinclude/lightrec -DLIGHTREC -DLIGHTREC_STATIC -DGPU_PEOPS -DTHREAD_RENDERING -Ideps/libchdr/include -Ideps/libchdr/include/libchdr -Ideps/libchdr/deps/lzma-19.00/include -DHAVE_CHD -D_7ZIP_ST -Ilibretro-common/include -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO -DNO_FRONTEND -Wno-unused -Wno-unused-function -c -o deps/libchdr/deps/zlib-1.2.11/zutil.o deps/libchdr/deps/zlib-1.2.11/zutil.c
26 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -D_FILE_OFFSET_BITS=64 -Wall -Iinclude -ffast-math -O2 -DNDEBUG -Ideps/libchdr/deps/zlib-1.2.11 -Ideps/lightning/include -Ideps/lightrec -Iinclude/lightning -Iinclude/lightrec -DLIGHTREC -DLIGHTREC_STATIC -DGPU_PEOPS -DTHREAD_RENDERING -Ideps/libchdr/include -Ideps/libchdr/include/libchdr -Ideps/libchdr/deps/lzma-19.00/include -DHAVE_CHD -D_7ZIP_ST -Ilibretro-common/include -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO -DNO_FRONTEND -c libpcsxcore/gte_neon.S -o libpcsxcore/gte_neon.o
deps/libchdr/deps/zlib-1.2.11/zutil.c:133:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
const char * ZEXPORT zError(err)
                     ^
deps/libchdr/deps/zlib-1.2.11/zutil.c:305:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
voidpf ZLIB_INTERNAL zcalloc (opaque, items, size)
                     ^
deps/libchdr/deps/zlib-1.2.11/zutil.c:315:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ZLIB_INTERNAL zcfree (opaque, ptr)
                   ^
3 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -D_FILE_OFFSET_BITS=64 -Wall -Iinclude -ffast-math -O2 -DNDEBUG -Ideps/libchdr/deps/zlib-1.2.11 -Ideps/lightning/include -Ideps/lightrec -Iinclude/lightning -Iinclude/lightrec -DLIGHTREC -DLIGHTREC_STATIC -DGPU_PEOPS -DTHREAD_RENDERING -Ideps/libchdr/include -Ideps/libchdr/include/libchdr -Ideps/libchdr/deps/lzma-19.00/include -DHAVE_CHD -D_7ZIP_ST -Ilibretro-common/include -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO -DNO_FRONTEND -c -o libpcsxcore/lightrec/plugin.o libpcsxcore/lightrec/plugin.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -D_FILE_OFFSET_BITS=64 -Wall -Iinclude -ffast-math -O2 -DNDEBUG -Ideps/libchdr/deps/zlib-1.2.11 -Ideps/lightning/include -Ideps/lightrec -Iinclude/lightning -Iinclude/lightrec -DLIGHTREC -DLIGHTREC_STATIC -DGPU_PEOPS -DTHREAD_RENDERING -Ideps/libchdr/include -Ideps/libchdr/include/libchdr -Ideps/libchdr/deps/lzma-19.00/include -DHAVE_CHD -D_7ZIP_ST -Ilibretro-common/include -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO -DNO_FRONTEND -Wno-unused -Wno-unused-function -c -o deps/lightning/lib/jit_disasm.o deps/lightning/lib/jit_disasm.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -D_FILE_OFFSET_BITS=64 -Wall -Iinclude -ffast-math -O2 -DNDEBUG -Ideps/libchdr/deps/zlib-1.2.11 -Ideps/lightning/include -Ideps/lightrec -Iinclude/lightning -Iinclude/lightrec -DLIGHTREC -DLIGHTREC_STATIC -DGPU_PEOPS -DTHREAD_RENDERING -Ideps/libchdr/include -Ideps/libchdr/include/libchdr -Ideps/libchdr/deps/lzma-19.00/include -DHAVE_CHD -D_7ZIP_ST -Ilibretro-common/include -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO -DNO_FRONTEND -Wno-unused -Wno-unused-function -c -o deps/lightning/lib/jit_memory.o deps/lightning/lib/jit_memory.c
libpcsxcore/lightrec/plugin.c:19:2: error: "Lightrec should not be used on ARM (please specify DYNAREC=ari64 to make)"
#error "Lightrec should not be used on ARM (please specify DYNAREC=ari64 to make)"
 ^
libpcsxcore/lightrec/plugin.c:85:18: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
        [OP_CP2_RTPS] = gteRTPS,
                        ^~~~~~~
libpcsxcore/lightrec/plugin.c:84:18: note: previous initialization is here
        [OP_CP2_RTPS] = gteRTPS,
                        ^~~~~~~
1 warning and 1 error generated.
gmake[1]: *** [Makefile:380: libpcsxcore/lightrec/plugin.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/libretro-pcsx_rearmed/work/pcsx_rearmed-46a38bd'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/games/libretro-pcsx_rearmed