[package - 122powerpc64-quarterly][games/libretro-mame2003_plus] Failed for libretro-mame2003_plus-0.20210214 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 05 Sep 2021 03:03:43 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:     menelkir@itroll.org
Log URL:        http://foul1.nyi.freebsd.org/data/122powerpc64-quarterly/e224e0b2a07a/logs/libretro-mame2003_plus-0.20210214.log
Build URL:      http://foul1.nyi.freebsd.org/build.html?mastername=122powerpc64-quarterly&build=e224e0b2a07a
Log:

=>> Building games/libretro-mame2003_plus
build started at Sun Sep  5 02:52:36 UTC 2021
port directory: /usr/ports/games/libretro-mame2003_plus
package name: libretro-mame2003_plus-0.20210214
building for: FreeBSD 122powerpc64-quarterly-job-11 12.2-RELEASE FreeBSD 12.2-RELEASE powerpc
maintained by: menelkir@itroll.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1202000
Job Id: 11

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1202000
UNAME_v=FreeBSD 12.2-RELEASE
UNAME_r=12.2-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
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-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/122powerpc64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/122powerpc64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=122powerpc64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/122powerpc64-quarterly/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--
menelkir@itroll.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work  HOME=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work  HOME=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc10" CFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -fno-strict-aliasing "  CPP="cpp10" CPPFLAGS=""  LDFLAGS=" -fstack-pr
 otector-strong -Wl,-rpath=/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 " LIBS=""  CXX="g++10" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 "  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=12.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/libretro-mame2003_plus"  EXAMPLESDIR="share/examples/libretro-mame2003_plus"  DATADIR="share/libretro-mame2003_plus"  WWWDIR="www/libretro-mame2003_plus"  ETCDIR="etc/libretro-mame2003_plus"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/libretro-mame2003_plus DOCSDIR=/usr/local/share/doc/libretro-mame2003_plus EXAMPLESDIR=/usr/local/share/examples/libretro-mame2003_plus  WWWDIR=/usr/local/www/libretro-mame2003_plus ETCDIR=/usr/local/etc/libretro-mame2003_plus
--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=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=Using built-in specs. Target: powerpc64-undermydesk-freebsd Configured with: FreeBSD/powerpc64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] "/usr/bin/ld" "--eh-frame-hdr" "-Qy" "-melf64ppc_fbsd" "--enable-new-dtags" "-dynamic-linker" "/libexec/ld-elf.so.1" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "-L/usr/lib" "/dev/null" "-lstdc++" "-lm" "-lgcc_s" "-lgcc" "-lc" "-lgcc_s" "-lgcc" "/usr/lib/crtsavres.o" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=cc1: error: unrecognized command line option "-std=c11"
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=cc1: error: unrecognized command line option "-std=gnu11"
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=cc1plus: error: unrecognized command line option "-std=c++0x"
CC_OUTPUT_921dbbb2_f00456e5=cc1plus: error: unrecognized command line option "-std=c++11"
CC_OUTPUT_921dbbb2_65ad290d=cc1plus: error: unrecognized command line option "-std=c++14"
CC_OUTPUT_921dbbb2_f2776b26=cc1plus: error: unrecognized command line option "-std=c++17"
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=cc1plus: error: unrecognized command line option "-std=gnu++11"
CC_OUTPUT_921dbbb2_160933ec=cc1plus: error: unrecognized command line option "-std=gnu++14"
CC_OUTPUT_921dbbb2_fb62803b=cc1plus: error: unrecognized command line option "-std=gnu++17"
_OBJC_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
PPC_ABI=ELFv1
OPSYS=FreeBSD
_OSRELEASE=12.2-RELEASE
OSREL=12.2
OSVERSION=1202000
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)  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)  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   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   libretro-mame2003_plus-0.20210214 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[122powerpc64-quarterly-job-11] Installing pkg-1.16.3...
[122powerpc64-quarterly-job-11] Extracting pkg-1.16.3: .......... done
===>   libretro-mame2003_plus-0.20210214 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of libretro-mame2003_plus-0.20210214
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by libretro-mame2003_plus-0.20210214 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by libretro-mame2003_plus-0.20210214 for building
=> SHA256 Checksum OK for libretro-mame2003-plus-libretro-0.20210214-17e9889_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by libretro-mame2003_plus-0.20210214 for building
===>  Extracting for libretro-mame2003_plus-0.20210214
=> SHA256 Checksum OK for libretro-mame2003-plus-libretro-0.20210214-17e9889_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for libretro-mame2003_plus-0.20210214
===========================================================================
=======================<phase: build-depends  >============================
===>   libretro-mame2003_plus-0.20210214 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.txz
[122powerpc64-quarterly-job-11] Installing gmake-4.3_2...
[122powerpc64-quarterly-job-11] `-- Installing gettext-runtime-0.21...
[122powerpc64-quarterly-job-11] |   `-- Installing indexinfo-0.3.1...
[122powerpc64-quarterly-job-11] |   `-- Extracting indexinfo-0.3.1: .... done
[122powerpc64-quarterly-job-11] `-- Extracting gettext-runtime-0.21: .......... done
[122powerpc64-quarterly-job-11] Extracting gmake-4.3_2: .......... done
===>   libretro-mame2003_plus-0.20210214 depends on package: gmake>=4.3 - found
===>   Returning to build of libretro-mame2003_plus-0.20210214
===>   libretro-mame2003_plus-0.20210214 depends on executable: gcc10 - not found
===>   Installing existing package /packages/All/gcc10-10.3.0.txz
[122powerpc64-quarterly-job-11] Installing gcc10-10.3.0...
[122powerpc64-quarterly-job-11] `-- Installing binutils-2.33.1_5,1...
[122powerpc64-quarterly-job-11] `-- Extracting binutils-2.33.1_5,1: .......... done
[122powerpc64-quarterly-job-11] `-- Installing gcc9-9.4.0...
[122powerpc64-quarterly-job-11] |   `-- Installing gmp-6.2.1...
[122powerpc64-quarterly-job-11] |   `-- Extracting gmp-6.2.1: .......... done
[122powerpc64-quarterly-job-11] |   `-- Installing mpc-1.2.0...
[122powerpc64-quarterly-job-11] |   | `-- Installing mpfr-4.1.0...
[122powerpc64-quarterly-job-11] |   | `-- Extracting mpfr-4.1.0: .......... done
<snip>
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:811:37: note: in expansion of macro 'SCSPTMPL'
  811 | SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3)
      |                                     ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update0103':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:811:55: note: in expansion of macro 'SCSPTMPL'
  811 | SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3)
      |                                                       ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update0110':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:812:1: note: in expansion of macro 'SCSPTMPL'
  812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3)
      | ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update0111':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:812:19: note: in expansion of macro 'SCSPTMPL'
  812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3)
      |                   ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update0112':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:812:37: note: in expansion of macro 'SCSPTMPL'
  812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3)
      |                                     ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update0113':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:812:55: note: in expansion of macro 'SCSPTMPL'
  812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3)
      |                                                       ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update1000':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:813:1: note: in expansion of macro 'SCSPTMPL'
  813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3)
      | ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update1001':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:813:19: note: in expansion of macro 'SCSPTMPL'
  813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3)
      |                   ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update1002':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:813:37: note: in expansion of macro 'SCSPTMPL'
  813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3)
      |                                     ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update1003':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:813:55: note: in expansion of macro 'SCSPTMPL'
  813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3)
      |                                                       ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update1010':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:814:1: note: in expansion of macro 'SCSPTMPL'
  814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3)
      | ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update1011':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:814:19: note: in expansion of macro 'SCSPTMPL'
  814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3)
      |                   ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update1012':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:814:37: note: in expansion of macro 'SCSPTMPL'
  814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3)
      |                                     ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update1013':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:814:55: note: in expansion of macro 'SCSPTMPL'
  814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3)
      |                                                       ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update1100':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:815:1: note: in expansion of macro 'SCSPTMPL'
  815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3)
      | ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update1101':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:815:19: note: in expansion of macro 'SCSPTMPL'
  815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3)
      |                   ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update1102':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:815:37: note: in expansion of macro 'SCSPTMPL'
  815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3)
      |                                     ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update1103':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:815:55: note: in expansion of macro 'SCSPTMPL'
  815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3)
      |                                                       ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update1110':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:816:1: note: in expansion of macro 'SCSPTMPL'
  816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3)
      | ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update1111':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:816:19: note: in expansion of macro 'SCSPTMPL'
  816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3)
      |                   ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update1112':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:816:37: note: in expansion of macro 'SCSPTMPL'
  816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3)
      |                                     ^~~~~~~~
src/sound/scsp.c: In function 'SCSP_Update1113':
src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable]
  753 |    signed int fpart;\
      |               ^~~~~
src/sound/scsp.c:816:55: note: in expansion of macro 'SCSPTMPL'
  816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3)
      |                                                       ^~~~~~~~
Compiling src/sound/ymf271.c...
Compiling src/sound/ics2115.c...
Compiling src/lib/mame-chd/chd.c...
src/sound/scsp.c: In function 'SCSP_0_w':
src/sound/scsp.c:912:10: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds]
  912 |   tmp_dma[2] = scsp_regs[0x416/2];
      |   ~~~~~~~^~~
src/sound/scsp.c:898:16: note: while referencing 'tmp_dma'
  898 |  static UINT16 tmp_dma[2], *scsp_regs;
      |                ^~~~~~~
src/sound/scsp.c:939:31: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds]
  939 |   scsp_regs[0x416/2] = tmp_dma[2];
      |                        ~~~~~~~^~~
src/sound/scsp.c:898:16: note: while referencing 'tmp_dma'
  898 |  static UINT16 tmp_dma[2], *scsp_regs;
      |                ^~~~~~~
Compiling src/lib/mame-chd/mame_sha1.c...
Compiling src/libretro-deps/libFLAC/bitmath.c...
Compiling src/libretro-deps/libFLAC/bitreader.c...
Compiling src/libretro-deps/libFLAC/bitwriter.c...
Compiling src/libretro-deps/libFLAC/cpu.c...
In file included from src/libretro-deps/libFLAC/cpu.c:83:
/usr/include/sys/sysctl.h:1116:25: error: unknown type name 'u_int'; did you mean 'int'?
 1116 | int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
      |                         ^~~~~
      |                         int
src/libretro-deps/libFLAC/cpu.c:102:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE42' defined but not used [-Wunused-const-variable=]
  102 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE42 = 0x00100000;
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libretro-deps/libFLAC/cpu.c:101:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE41' defined but not used [-Wunused-const-variable=]
  101 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE41 = 0x00080000;
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libretro-deps/libFLAC/cpu.c:100:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSSE3' defined but not used [-Wunused-const-variable=]
  100 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSSE3 = 0x00000200;
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libretro-deps/libFLAC/cpu.c:99:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE3' defined but not used [-Wunused-const-variable=]
   99 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE3 = 0x00000001;
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake[1]: *** [Makefile:830: src/libretro-deps/libFLAC/cpu.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/libretro-mame2003_plus/work/mame2003-plus-libretro-17e9889'
===> 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-mame2003_plus