[package - main-powerpc64le-default][emulators/mednafen] Failed for mednafen-1.26.1_3,1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 27 Feb 2024 14:41:46 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:     acm@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/foul2/data/main-powerpc64le-default/p5d5d54cd608d_s4347ef6050/logs/mednafen-1.26.1_3,1.log
Build URL:      https://pkg-status.freebsd.org/foul2/build.html?mastername=main-powerpc64le-default&build=p5d5d54cd608d_s4347ef6050
Log:

=>> Building emulators/mednafen
build started at Tue Feb 27 12:07:29 UTC 2024
port directory: /usr/ports/emulators/mednafen
package name: mednafen-1.26.1_3,1
building for: FreeBSD main-powerpc64le-default-job-06 15.0-CURRENT FreeBSD 15.0-CURRENT 1500008 powerpc
maintained by: acm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 2352 Jan  2 01:02 /usr/ports/emulators/mednafen/Makefile
Ports top last git commit: 5d5d54cd60
Ports top unclean checkout: no
Port dir last git commit: bbab7f59e9
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-1-g1e9f97d6
Host OSVERSION: 1500000
Jail OSVERSION: 1500008
Job Id: 06




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500008
UNAME_v=FreeBSD 15.0-CURRENT 1500008
UNAME_r=15.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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-1-g1e9f97d6
MASTERMNT=/usr/local/poudriere/data/.m/main-powerpc64le-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/main-powerpc64le-default/06/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-powerpc64le-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-powerpc64le-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-1-g1e9f97d6
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 mednafen-1.26.1_3,1:
     DOCS=on: Build and/or install documentation
     JACK=off: support the JACK audio API
     NLS=on: Native Language Support
====> Options available for the multi EMU: you have to choose at least one of them
     GB=on: build with GameBoy emulation
     GBA=on: build with GameBoy Advance emulation
     LINX=on: build with Atari Lynx emulation
     MD=on: build with Sega Genesis/MegaDrive emulation
     NES=on: build with Nintendo Entertainment System emulation
     NGP=on: build with Neo Geo Pocket emulation
     PCE=on: build with PC Engine (TurboGrafx 16) emulation
     PCFX=on: build with PC-FX emulation
     PSX=on: build with Playstation emulation
     SMS=on: build with SMS+GG emulation
     SWAN=on: build with WonderSWan emulation
     VB=on: build with Virtual Boy emulation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
acm@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--disable-alsa --disable-alsatest  --with-sdl-prefix=/usr/local --enable-gb --enable-gba --disable-jack --enable-lynx --enable-md --enable-nes --enable-ngp --enable-nls --enable-pce --enable-pcfx --enable-psx --enable-sms --enable-wswan --enable-vb --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/mednafen/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/mednafen/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/mednafen/work/.cache  HOME=/wrkdirs/usr/ports/emulators/mednafen/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/mednafen/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/mednafen/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/mednafen/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/mednafen/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/mednafen/work/.cache  HOME=/wrkdirs/usr/ports/emulators/mednafen/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/mednafen/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/mednafen/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  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include -DLIBICONV_PLUG"  LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG " BSD_INS
 TALL_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="" DOCS="" NO_DOCS="@comment " GB="" NO_GB="@comment " GBA="" NO_GBA="@comment " JACK="@comment " NO_JACK="" LINX="" NO_LINX="@comment " MD="" NO_MD="@comment " NES="" NO_NES="@comment " NGP="" NO_NGP="@comment " NLS="" NO_NLS="@comment " PCE="" NO_PCE="@comment " PCFX="" NO_PCFX="@comment " PSX="" NO_PSX="@comment " SMS="" NO_SMS="@comment " SWAN="" NO_SWAN="@comment " VB="" NO_VB="@comment " OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mednafen"  EXAMPLESDIR="share/examples/mednafen"  DATADIR="share/mednafen"  WWWDIR="www/mednafen"  ETCDIR="etc/mednafen"
--End PLIST_SUB--

--SUB_LIST--
 DOCS="" NO_DOCS="@comment " GB="" NO_GB="@comment " GBA="" NO_GBA="@comment " JACK="@comment " NO_JACK="" LINX="" NO_LINX="@comment " MD="" NO_MD="@comment " NES="" NO_NES="@comment " NGP="" NO_NGP="@comment " NLS="" NO_NLS="@comment " PCE="" NO_PCE="@comment " PCFX="" NO_PCFX="@comment " PSX="" NO_PSX="@comment " SMS="" NO_SMS="@comment " SWAN="" NO_SWAN="@comment " VB="" NO_VB="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mednafen DOCSDIR=/usr/local/share/doc/mednafen EXAMPLESDIR=/usr/local/share/examples/mednafen  WWWDIR=/usr/local/www/mednafen ETCDIR=/usr/local/etc/mednafen
--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
---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 GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mednafen-1.26.1_3,1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9_1.pkg
[main-powerpc64le-default-job-06] Installing pkg-1.20.9_1...
[main-powerpc64le-default-job-06] Extracting pkg-1.20.9_1: .......... done
===>   mednafen-1.26.1_3,1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mednafen-1.26.1_3,1
===========================================================================
=======================<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 mednafen-1.26.1_3,1 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 mednafen-1.26.1_3,1 for building
=> SHA256 Checksum OK for mednafen-1.26.1.tar.xz.
===========================================================================
=======================<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 mednafen-1.26.1_3,1 for building
===>  Extracting for mednafen-1.26.1_3,1
=> SHA256 Checksum OK for mednafen-1.26.1.tar.xz.
===========================================================================
=======================<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 mednafen-1.26.1_3,1
===>  Applying FreeBSD patches for mednafen-1.26.1_3,1 from /usr/ports/emulators/mednafen/files
===========================================================================
<snip>
depbase=`echo net/Net_POSIX.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -std=gnu++11 -fsigned-char -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include/opus  -I../include -I../include -I../intl    -I/usr/local/include -DLIBICONV_PLUG -D_THREAD_SAFE -fexceptions -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -MT net/Net_POSIX.o -MD -MP -MF $depbase.Tpo -c -o net/Net_POSIX.o net/Net_POSIX.cpp && mv -f $depbase.Tpo $depbase.Po
--- cdrom/scsicd.o ---
1 warning generated.
--- compress/GZFileStream.o ---
depbase=`echo compress/GZFileStream.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -std=gnu++11 -fsigned-char -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include/opus  -I../include -I../include -I../intl    -I/usr/local/include -DLIBICONV_PLUG -D_THREAD_SAFE -fexceptions -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -MT compress/GZFileStream.o -MD -MP -MF $depbase.Tpo -c -o compress/GZFileStream.o compress/GZFileStream.cpp && mv -f $depbase.Tpo $depbase.Po
--- compress/ZLInflateFilter.o ---
depbase=`echo compress/ZLInflateFilter.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -std=gnu++11 -fsigned-char -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include/opus  -I../include -I../include -I../intl    -I/usr/local/include -DLIBICONV_PLUG -D_THREAD_SAFE -fexceptions -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -MT compress/ZLInflateFilter.o -MD -MP -MF $depbase.Tpo -c -o compress/ZLInflateFilter.o compress/ZLInflateFilter.cpp && mv -f $depbase.Tpo $depbase.Po
--- compress/ZIPReader.o ---
depbase=`echo compress/ZIPReader.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -std=gnu++11 -fsigned-char -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include/opus  -I../include -I../include -I../intl    -I/usr/local/include -DLIBICONV_PLUG -D_THREAD_SAFE -fexceptions -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -MT compress/ZIPReader.o -MD -MP -MF $depbase.Tpo -c -o compress/ZIPReader.o compress/ZIPReader.cpp && mv -f $depbase.Tpo $depbase.Po
--- sound/Blip_Buffer.o ---
depbase=`echo sound/Blip_Buffer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -std=gnu++11 -fsigned-char -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include/opus  -I../include -I../include -I../intl    -I/usr/local/include -DLIBICONV_PLUG -D_THREAD_SAFE -fexceptions -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -MT sound/Blip_Buffer.o -MD -MP -MF $depbase.Tpo -c -o sound/Blip_Buffer.o sound/Blip_Buffer.cpp && mv -f $depbase.Tpo $depbase.Po
--- sound/Stereo_Buffer.o ---
depbase=`echo sound/Stereo_Buffer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -std=gnu++11 -fsigned-char -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include/opus  -I../include -I../include -I../intl    -I/usr/local/include -DLIBICONV_PLUG -D_THREAD_SAFE -fexceptions -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -MT sound/Stereo_Buffer.o -MD -MP -MF $depbase.Tpo -c -o sound/Stereo_Buffer.o sound/Stereo_Buffer.cpp && mv -f $depbase.Tpo $depbase.Po
--- sound/Fir_Resampler.o ---
depbase=`echo sound/Fir_Resampler.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -std=gnu++11 -fsigned-char -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include/opus  -I../include -I../include -I../intl    -I/usr/local/include -DLIBICONV_PLUG -D_THREAD_SAFE -fexceptions -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -MT sound/Fir_Resampler.o -MD -MP -MF $depbase.Tpo -c -o sound/Fir_Resampler.o sound/Fir_Resampler.cpp && mv -f $depbase.Tpo $depbase.Po
--- sound/WAVRecord.o ---
depbase=`echo sound/WAVRecord.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -std=gnu++11 -fsigned-char -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include/opus  -I../include -I../include -I../intl    -I/usr/local/include -DLIBICONV_PLUG -D_THREAD_SAFE -fexceptions -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -MT sound/WAVRecord.o -MD -MP -MF $depbase.Tpo -c -o sound/WAVRecord.o sound/WAVRecord.cpp && mv -f $depbase.Tpo $depbase.Po
--- sound/okiadpcm.o ---
depbase=`echo sound/okiadpcm.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -std=gnu++11 -fsigned-char -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include/opus  -I../include -I../include -I../intl    -I/usr/local/include -DLIBICONV_PLUG -D_THREAD_SAFE -fexceptions -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -MT sound/okiadpcm.o -MD -MP -MF $depbase.Tpo -c -o sound/okiadpcm.o sound/okiadpcm.cpp && mv -f $depbase.Tpo $depbase.Po
--- sound/DSPUtility.o ---
depbase=`echo sound/DSPUtility.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -std=gnu++11 -fsigned-char -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include/opus  -I../include -I../include -I../intl    -I/usr/local/include -DLIBICONV_PLUG -D_THREAD_SAFE -fexceptions -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -MT sound/DSPUtility.o -MD -MP -MF $depbase.Tpo -c -o sound/DSPUtility.o sound/DSPUtility.cpp && mv -f $depbase.Tpo $depbase.Po
--- sound/SwiftResampler.o ---
depbase=`echo sound/SwiftResampler.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -std=gnu++11 -fsigned-char -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include/opus  -I../include -I../include -I../intl    -I/usr/local/include -DLIBICONV_PLUG -D_THREAD_SAFE -fexceptions -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -MT sound/SwiftResampler.o -MD -MP -MF $depbase.Tpo -c -o sound/SwiftResampler.o sound/SwiftResampler.cpp && mv -f $depbase.Tpo $depbase.Po
--- sound/OwlResampler.o ---
depbase=`echo sound/OwlResampler.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -std=gnu++11 -fsigned-char -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include/opus  -I../include -I../include -I../intl    -I/usr/local/include -DLIBICONV_PLUG -D_THREAD_SAFE -fexceptions -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -MT sound/OwlResampler.o -MD -MP -MF $depbase.Tpo -c -o sound/OwlResampler.o sound/OwlResampler.cpp && mv -f $depbase.Tpo $depbase.Po
--- sound/SwiftResampler.o ---
In file included from sound/SwiftResampler.cpp:78:
sound/SwiftResampler_altivec.inc:6:36: error: use of undeclared identifier 'vec_splats'
    6 |           vector unsigned int vecsrEBp1 = vec_splats((unsigned int)3 + 1);
      |                                           ^
sound/SwiftResampler_altivec.inc:7:36: error: use of undeclared identifier 'vec_splats'
    7 |           vector unsigned int vecsr16m1 = vec_splats((unsigned int)TA_NumFractBits - (3 + 1));
      |                                           ^
sound/SwiftResampler_altivec.inc:8:38: error: use of undeclared identifier 'vec_splat_s32'
    8 |           vector signed int zerosi = vec_splat_s32(0);
      |                                      ^
sound/SwiftResampler_altivec.inc:31:18: error: use of undeclared identifier 'vec_ld'
   31 |            wd0 = vec_ld(ino, wave);
      |                  ^
sound/SwiftResampler_altivec.inc:32:18: error: use of undeclared identifier 'vec_ld'
   32 |            fd0 = vec_ld(ino, coeffs);
      |                  ^
sound/SwiftResampler_altivec.inc:33:19: error: use of undeclared identifier 'vec_msums'
   33 |            acc0 = vec_msums(wd0, fd0, acc0);
      |                   ^
sound/SwiftResampler_altivec.inc:35:18: error: use of undeclared identifier 'vec_ld'
   35 |            wd1 = vec_ld(ino + (8 << 1), wave);
      |                  ^
sound/SwiftResampler_altivec.inc:36:18: error: use of undeclared identifier 'vec_ld'
   36 |            fd1 = vec_ld(ino + (8 << 1), coeffs);
      |                  ^
sound/SwiftResampler_altivec.inc:37:19: error: use of undeclared identifier 'vec_msums'
   37 |            acc1 = vec_msums(wd1, fd1, acc1);
      |                   ^
sound/SwiftResampler_altivec.inc:40:18: error: use of undeclared identifier 'vec_sra'
   40 |           acc0 = vec_sra(acc0, vecsrEBp1);
      |                  ^
sound/SwiftResampler_altivec.inc:41:18: error: use of undeclared identifier 'vec_sra'
   41 |           acc1 = vec_sra(acc1, vecsrEBp1);
      |                  ^
sound/SwiftResampler_altivec.inc:45:18: error: use of undeclared identifier 'vec_ld'
   45 |            wd0 = vec_ld(ino, wave);
      |                  ^
sound/SwiftResampler_altivec.inc:46:18: error: use of undeclared identifier 'vec_ld'
   46 |            fd0 = vec_ld(ino, coeffs);
      |                  ^
sound/SwiftResampler_altivec.inc:47:19: error: use of undeclared identifier 'vec_msums'
   47 |            acc2 = vec_msums(wd0, fd0, acc2);
      |                   ^
sound/SwiftResampler_altivec.inc:49:18: error: use of undeclared identifier 'vec_ld'
   49 |            wd1 = vec_ld(ino + (8 << 1), wave);
      |                  ^
sound/SwiftResampler_altivec.inc:50:18: error: use of undeclared identifier 'vec_ld'
   50 |            fd1 = vec_ld(ino + (8 << 1), coeffs);
      |                  ^
sound/SwiftResampler_altivec.inc:51:19: error: use of undeclared identifier 'vec_msums'
   51 |            acc3 = vec_msums(wd1, fd1, acc3);
      |                   ^
sound/SwiftResampler_altivec.inc:54:11: error: use of undeclared identifier 'vec_sra'
   54 |           acc2 = vec_sra(acc2, vecsrEBp1);
      |                  ^
sound/SwiftResampler_altivec.inc:55:11: error: use of undeclared identifier 'vec_sra'
   55 |           acc3 = vec_sra(acc3, vecsrEBp1);
      |                  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** [sound/SwiftResampler.o] Error code 1

make[3]: stopped in /wrkdirs/usr/ports/emulators/mednafen/work/mednafen/src
--- sound/OwlResampler.o ---
In file included from sound/OwlResampler.cpp:290:
sound/OwlResampler_altivec.inc:6:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    6 |  register vector float acc0, acc1, acc2, acc3;
      |  ^~~~~~~~
sound/OwlResampler_altivec.inc:6:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    6 |  register vector float acc0, acc1, acc2, acc3;
      |  ^~~~~~~~
sound/OwlResampler_altivec.inc:6:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    6 |  register vector float acc0, acc1, acc2, acc3;
      |  ^~~~~~~~
sound/OwlResampler_altivec.inc:6:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    6 |  register vector float acc0, acc1, acc2, acc3;
      |  ^~~~~~~~
sound/OwlResampler_altivec.inc:8:23: error: use of undeclared identifier 'vec_splat_u8'
    8 |  acc0 = (vector float)vec_splat_u8(0);
      |                       ^
sound/OwlResampler_altivec.inc:18:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
   18 |   register vector float w, c;
      |   ^~~~~~~~
sound/OwlResampler_altivec.inc:18:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
   18 |   register vector float w, c;
      |   ^~~~~~~~
sound/OwlResampler_altivec.inc:21:8: error: use of undeclared identifier 'vec_ld'
   21 |    w = vec_ld(0, wave);
      |        ^
sound/OwlResampler_altivec.inc:22:8: error: use of undeclared identifier 'vec_ld'
   22 |    c = vec_ld(0, coeffs);
      |        ^
sound/OwlResampler_altivec.inc:23:11: error: use of undeclared identifier 'vec_madd'
   23 |    acc0 = vec_madd(w, c, acc0);
      |           ^
sound/OwlResampler_altivec.inc:25:8: error: use of undeclared identifier 'vec_ld'
   25 |    w = vec_ld(16, wave);
      |        ^
sound/OwlResampler_altivec.inc:26:8: error: use of undeclared identifier 'vec_ld'
   26 |    c = vec_ld(16, coeffs);
      |        ^
sound/OwlResampler_altivec.inc:27:11: error: use of undeclared identifier 'vec_madd'
   27 |    acc1 = vec_madd(w, c, acc1);
      |           ^
sound/OwlResampler_altivec.inc:29:8: error: use of undeclared identifier 'vec_ld'
   29 |    w = vec_ld(32, wave);
      |        ^
sound/OwlResampler_altivec.inc:30:8: error: use of undeclared identifier 'vec_ld'
   30 |    c = vec_ld(32, coeffs);
      |        ^
sound/OwlResampler_altivec.inc:31:11: error: use of undeclared identifier 'vec_madd'
   31 |    acc2 = vec_madd(w, c, acc2);
      |           ^
sound/OwlResampler_altivec.inc:33:8: error: use of undeclared identifier 'vec_ld'
   33 |    w = vec_ld(48, wave);
      |        ^
sound/OwlResampler_altivec.inc:34:8: error: use of undeclared identifier 'vec_ld'
   34 |    c = vec_ld(48, coeffs);
      |        ^
sound/OwlResampler_altivec.inc:35:11: error: use of undeclared identifier 'vec_madd'
   35 |    acc3 = vec_madd(w, c, acc3);
      |           ^
sound/OwlResampler_altivec.inc:43:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
   43 |   register vector unsigned char lperm;
      |   ^~~~~~~~
sound/OwlResampler_altivec.inc:44:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
   44 |   register vector float loado;
      |   ^~~~~~~~
sound/OwlResampler_altivec.inc:46:11: error: use of undeclared identifier 'vec_lvsl'
   46 |   lperm = vec_lvsl(0, wave);
      |           ^
sound/OwlResampler_altivec.inc:47:11: error: use of undeclared identifier 'vec_ld'
   47 |   loado = vec_ld(0, wave);
      |           ^
sound/OwlResampler_altivec.inc:51:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
   51 |    register vector float tl;
      |    ^~~~~~~~
sound/OwlResampler_altivec.inc:52:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
   52 |    register vector float w;
      |    ^~~~~~~~
sound/OwlResampler_altivec.inc:53:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
   53 |    register vector float c;
      |    ^~~~~~~~
sound/OwlResampler_altivec.inc:55:9: error: use of undeclared identifier 'vec_ld'
   55 |    tl = vec_ld(15 + 0, wave);
      |         ^
sound/OwlResampler_altivec.inc:56:8: error: use of undeclared identifier 'vec_perm'
   56 |    w = vec_perm(loado, tl, lperm);
      |        ^
sound/OwlResampler_altivec.inc:57:8: error: use of undeclared identifier 'vec_ld'
   57 |    c = vec_ld(0, coeffs);
      |        ^
sound/OwlResampler_altivec.inc:59:11: error: use of undeclared identifier 'vec_madd'
   59 |    acc0 = vec_madd(w, c, acc0);
      |           ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
11 warnings and 20 errors generated.
*** [sound/OwlResampler.o] Error code 1

make[3]: stopped in /wrkdirs/usr/ports/emulators/mednafen/work/mednafen/src
2 errors

make[3]: stopped in /wrkdirs/usr/ports/emulators/mednafen/work/mednafen/src

make[2]: stopped in /wrkdirs/usr/ports/emulators/mednafen/work/mednafen/src

make[1]: stopped in /wrkdirs/usr/ports/emulators/mednafen/work/mednafen
===> 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/emulators/mednafen