[package - 140releng-powerpc64le-quarterly][emulators/mednafen] Failed for mednafen-1.26.1_3,1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 09 Feb 2024 16:57:04 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/140releng-powerpc64le-quarterly/397cfe84d8e3/logs/mednafen-1.26.1_3,1.log
Build URL:      https://pkg-status.freebsd.org/foul2/build.html?mastername=140releng-powerpc64le-quarterly&build=397cfe84d8e3
Log:

=>> Building emulators/mednafen
build started at Fri Feb  9 15:21:45 UTC 2024
port directory: /usr/ports/emulators/mednafen
package name: mednafen-1.26.1_3,1
building for: FreeBSD 140releng-powerpc64le-quarterly-job-21 14.0-RC3 FreeBSD 14.0-RC3 1400097 powerpc
maintained by: acm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 2352 Jan  6 01:04 /usr/ports/emulators/mednafen/Makefile
Ports top last git commit: 397cfe84d
Ports top unclean checkout: no
Port dir last git commit: 756e18783
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1
Host OSVERSION: 1500000
Jail OSVERSION: 1400097
Job Id: 21

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400097
UNAME_v=FreeBSD 14.0-RC3 1400097
UNAME_r=14.0-RC3
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
MASTERMNT=/usr/local/poudriere/data/.m/140releng-powerpc64le-quarterly/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/140releng-powerpc64le-quarterly/21/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140releng-powerpc64le-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140releng-powerpc64le-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1
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 "  MANPRE
 FIX="/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--
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=14.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.pkg
[140releng-powerpc64le-quarterly-job-21] Installing pkg-1.20.9...
[140releng-powerpc64le-quarterly-job-21] Extracting pkg-1.20.9: .......... 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
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mednafen-1.26.1_3,1 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-2.0.3_1,1.pkg
[140releng-powerpc64le-quarterly-job-21] Installing pkgconf-2.0.3_1,1...
[140releng-powerpc64le-quarterly-job-21] Extracting pkgconf-2.0.3_1,1: .......... done
===>   mednafen-1.26.1_3,1 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of mednafen-1.26.1_3,1
===>   mednafen-1.26.1_3,1 depends on file: /usr/local/bin/sdl2-config - not found
===>   Installing existing package /packages/All/sdl2-2.28.5.pkg
<snip>
cdrom/scsicd.cpp:1938:5: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses]
 if(!(toc.tracks[track].control) & 0x4)
    ^                            ~
cdrom/scsicd.cpp:1938:5: note: add parentheses after the '!' to evaluate the bitwise operator first
 if(!(toc.tracks[track].control) & 0x4)
    ^
     (                                )
cdrom/scsicd.cpp:1938:5: note: add parentheses around left hand side expression to silence this warning
 if(!(toc.tracks[track].control) & 0x4)
    ^
    (                           )
--- 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
--- cdrom/scsicd.o ---
1 warning generated.
--- 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'
          vector unsigned int vecsrEBp1 = vec_splats((unsigned int)3 + 1);
                                          ^
sound/SwiftResampler_altivec.inc:7:36: error: use of undeclared identifier 'vec_splats'
          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'
          vector signed int zerosi = vec_splat_s32(0);
                                     ^
sound/SwiftResampler_altivec.inc:31:18: error: use of undeclared identifier 'vec_ld'
           wd0 = vec_ld(ino, wave);
                 ^
sound/SwiftResampler_altivec.inc:32:18: error: use of undeclared identifier 'vec_ld'
           fd0 = vec_ld(ino, coeffs);
                 ^
sound/SwiftResampler_altivec.inc:33:19: error: use of undeclared identifier 'vec_msums'
           acc0 = vec_msums(wd0, fd0, acc0);
                  ^
sound/SwiftResampler_altivec.inc:35:18: error: use of undeclared identifier 'vec_ld'
           wd1 = vec_ld(ino + (8 << 1), wave);
                 ^
sound/SwiftResampler_altivec.inc:36:18: error: use of undeclared identifier 'vec_ld'
           fd1 = vec_ld(ino + (8 << 1), coeffs);
                 ^
sound/SwiftResampler_altivec.inc:37:19: error: use of undeclared identifier 'vec_msums'
           acc1 = vec_msums(wd1, fd1, acc1);
                  ^
sound/SwiftResampler_altivec.inc:40:18: error: use of undeclared identifier 'vec_sra'
          acc0 = vec_sra(acc0, vecsrEBp1);
                 ^
sound/SwiftResampler_altivec.inc:41:18: error: use of undeclared identifier 'vec_sra'
          acc1 = vec_sra(acc1, vecsrEBp1);
                 ^
sound/SwiftResampler_altivec.inc:45:18: error: use of undeclared identifier 'vec_ld'
           wd0 = vec_ld(ino, wave);
                 ^
sound/SwiftResampler_altivec.inc:46:18: error: use of undeclared identifier 'vec_ld'
           fd0 = vec_ld(ino, coeffs);
                 ^
sound/SwiftResampler_altivec.inc:47:19: error: use of undeclared identifier 'vec_msums'
           acc2 = vec_msums(wd0, fd0, acc2);
                  ^
sound/SwiftResampler_altivec.inc:49:18: error: use of undeclared identifier 'vec_ld'
           wd1 = vec_ld(ino + (8 << 1), wave);
                 ^
sound/SwiftResampler_altivec.inc:50:18: error: use of undeclared identifier 'vec_ld'
           fd1 = vec_ld(ino + (8 << 1), coeffs);
                 ^
sound/SwiftResampler_altivec.inc:51:19: error: use of undeclared identifier 'vec_msums'
           acc3 = vec_msums(wd1, fd1, acc3);
                  ^
sound/SwiftResampler_altivec.inc:54:11: error: use of undeclared identifier 'vec_sra'
          acc2 = vec_sra(acc2, vecsrEBp1);
                 ^
sound/SwiftResampler_altivec.inc:55:11: error: use of undeclared identifier 'vec_sra'
          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]
 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]
 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]
 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]
 register vector float acc0, acc1, acc2, acc3;
 ^~~~~~~~~
sound/OwlResampler_altivec.inc:8:23: error: use of undeclared identifier 'vec_splat_u8'
 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]
  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]
  register vector float w, c;
  ^~~~~~~~~
sound/OwlResampler_altivec.inc:21:8: error: use of undeclared identifier 'vec_ld'
   w = vec_ld(0, wave);
       ^
sound/OwlResampler_altivec.inc:22:8: error: use of undeclared identifier 'vec_ld'
   c = vec_ld(0, coeffs);
       ^
sound/OwlResampler_altivec.inc:23:11: error: use of undeclared identifier 'vec_madd'
   acc0 = vec_madd(w, c, acc0);
          ^
sound/OwlResampler_altivec.inc:25:8: error: use of undeclared identifier 'vec_ld'
   w = vec_ld(16, wave);
       ^
sound/OwlResampler_altivec.inc:26:8: error: use of undeclared identifier 'vec_ld'
   c = vec_ld(16, coeffs);
       ^
sound/OwlResampler_altivec.inc:27:11: error: use of undeclared identifier 'vec_madd'
   acc1 = vec_madd(w, c, acc1);
          ^
sound/OwlResampler_altivec.inc:29:8: error: use of undeclared identifier 'vec_ld'
   w = vec_ld(32, wave);
       ^
sound/OwlResampler_altivec.inc:30:8: error: use of undeclared identifier 'vec_ld'
   c = vec_ld(32, coeffs);
       ^
sound/OwlResampler_altivec.inc:31:11: error: use of undeclared identifier 'vec_madd'
   acc2 = vec_madd(w, c, acc2);
          ^
sound/OwlResampler_altivec.inc:33:8: error: use of undeclared identifier 'vec_ld'
   w = vec_ld(48, wave);
       ^
sound/OwlResampler_altivec.inc:34:8: error: use of undeclared identifier 'vec_ld'
   c = vec_ld(48, coeffs);
       ^
sound/OwlResampler_altivec.inc:35:11: error: use of undeclared identifier 'vec_madd'
   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]
  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]
  register vector float loado;
  ^~~~~~~~~
sound/OwlResampler_altivec.inc:46:11: error: use of undeclared identifier 'vec_lvsl'
  lperm = vec_lvsl(0, wave);
          ^
sound/OwlResampler_altivec.inc:47:11: error: use of undeclared identifier 'vec_ld'
  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]
   register vector float tl;
   ^~~~~~~~~
sound/OwlResampler_altivec.inc:52:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
   register vector float w;
   ^~~~~~~~~
sound/OwlResampler_altivec.inc:53:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
   register vector float c;
   ^~~~~~~~~
sound/OwlResampler_altivec.inc:55:9: error: use of undeclared identifier 'vec_ld'
   tl = vec_ld(15 + 0, wave);
        ^
sound/OwlResampler_altivec.inc:56:8: error: use of undeclared identifier 'vec_perm'
   w = vec_perm(loado, tl, lperm);
       ^
sound/OwlResampler_altivec.inc:57:8: error: use of undeclared identifier 'vec_ld'
   c = vec_ld(0, coeffs);
       ^
sound/OwlResampler_altivec.inc:59:11: error: use of undeclared identifier 'vec_madd'
   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