[package - 132powerpc-quarterly][games/libretro-mame2000] Failed for libretro-mame2000-0.20230425 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 09 Feb 2024 12:58:37 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:     bofh@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/foul1/data/132powerpc-quarterly/aa3532662c1f/logs/libretro-mame2000-0.20230425.log
Build URL:      https://pkg-status.freebsd.org/foul1/build.html?mastername=132powerpc-quarterly&build=aa3532662c1f
Log:

=>> Building games/libretro-mame2000
build started at Fri Feb  9 12:53:57 UTC 2024
port directory: /usr/ports/games/libretro-mame2000
package name: libretro-mame2000-0.20230425
building for: FreeBSD 132powerpc-quarterly-job-01 13.2-RELEASE FreeBSD 13.2-RELEASE powerpc
maintained by: bofh@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  826 Feb  3 01:03 /usr/ports/games/libretro-mame2000/Makefile
Ports top last git commit: aa3532662
Ports top unclean checkout: no
Port dir last git commit: aa3532662
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1
Host OSVERSION: 1500003
Jail OSVERSION: 1302001
Job Id: 01

---Begin Environment---
SHELL=/bin/csh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1302001
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=powerpc
UNAME_p=powerpc
UNAME_r=13.2-RELEASE
LOCALBASE=/usr/local
UNAME_v=FreeBSD 13.2-RELEASE
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1
MASTERMNT=/usr/local/poudriere/data/.m/132powerpc-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/132powerpc-quarterly/01/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=132powerpc-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/132powerpc-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---
---End OPTIONS List---

--MAINTAINER--
bofh@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

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

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=powerpc
MACHINE_ARCH=powerpc
ARCH=${MACHINE_ARCH}
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---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)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   libretro-mame2000-0.20230425 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9.pkg
[132powerpc-quarterly-job-01] Installing pkg-1.20.9...
[132powerpc-quarterly-job-01] Extracting pkg-1.20.9: .......... done
===>   libretro-mame2000-0.20230425 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of libretro-mame2000-0.20230425
===========================================================================
=======================<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 libretro-mame2000-0.20230425 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 libretro-mame2000-0.20230425 for building
=> SHA256 Checksum OK for libretro-mame2000-libretro-0.20230425-720b8ad4cbd76abd57b9aeced9ba541dc8476f7f_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by libretro-mame2000-0.20230425 for building
===>  Extracting for libretro-mame2000-0.20230425
=> SHA256 Checksum OK for libretro-mame2000-libretro-0.20230425-720b8ad4cbd76abd57b9aeced9ba541dc8476f7f_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for libretro-mame2000-0.20230425
===>   Converting DOS text files to UNIX text files
===>  Applying FreeBSD patches for libretro-mame2000-0.20230425 from /usr/ports/games/libretro-mame2000/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   libretro-mame2000-0.20230425 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.pkg
[132powerpc-quarterly-job-01] Installing gmake-4.3_2...
[132powerpc-quarterly-job-01] `-- Installing gettext-runtime-0.22.3...
[132powerpc-quarterly-job-01] |   `-- Installing indexinfo-0.3.1...
[132powerpc-quarterly-job-01] |   `-- Extracting indexinfo-0.3.1: .... done
[132powerpc-quarterly-job-01] `-- Extracting gettext-runtime-0.22.3: .......... done
[132powerpc-quarterly-job-01] Extracting gmake-4.3_2: .......... done
===>   libretro-mame2000-0.20230425 depends on package: gmake>=4.3 - found
===>   Returning to build of libretro-mame2000-0.20230425
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for libretro-mame2000-0.20230425
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
<snip>
src/cpu/tms34010/34010gfx.c:1177:14: warning: shift count >= width of type [-Wshift-count-overflow]
                                        srcmask <<= BITS_PER_PIXEL;
                                                ^   ~~~~~~~~~~~~~~
src/cpu/tms34010/34010gfx.c:1185:14: warning: shift count >= width of type [-Wshift-count-overflow]
                                        dstmask <<= BITS_PER_PIXEL;
                                                ^   ~~~~~~~~~~~~~~
src/cpu/tms34010/34010gfx.c:1213:14: warning: shift count >= width of type [-Wshift-count-overflow]
                                        srcmask <<= BITS_PER_PIXEL;
                                                ^   ~~~~~~~~~~~~~~
src/cpu/tms34010/34010gfx.c:1221:14: warning: shift count >= width of type [-Wshift-count-overflow]
                                        dstmask <<= BITS_PER_PIXEL;
                                                ^   ~~~~~~~~~~~~~~
src/cpu/tms34010/34010gfx.c:1370:14: warning: shift count >= width of type [-Wshift-count-overflow]
                                        srcmask >>= BITS_PER_PIXEL;
                                                ^   ~~~~~~~~~~~~~~
src/cpu/tms34010/34010gfx.c:1378:14: warning: shift count >= width of type [-Wshift-count-overflow]
                                        dstmask >>= BITS_PER_PIXEL;
                                                ^   ~~~~~~~~~~~~~~
src/cpu/tms34010/34010gfx.c:1410:14: warning: shift count >= width of type [-Wshift-count-overflow]
                                        srcmask >>= BITS_PER_PIXEL;
                                                ^   ~~~~~~~~~~~~~~
src/cpu/tms34010/34010gfx.c:1418:14: warning: shift count >= width of type [-Wshift-count-overflow]
                                        dstmask >>= BITS_PER_PIXEL;
                                                ^   ~~~~~~~~~~~~~~
src/cpu/tms34010/34010gfx.c:1446:14: warning: shift count >= width of type [-Wshift-count-overflow]
                                        srcmask >>= BITS_PER_PIXEL;
                                                ^   ~~~~~~~~~~~~~~
src/cpu/tms34010/34010gfx.c:1454:14: warning: shift count >= width of type [-Wshift-count-overflow]
                                        dstmask >>= BITS_PER_PIXEL;
                                                ^   ~~~~~~~~~~~~~~
src/cpu/tms34010/34010gfx.c:1594:14: warning: shift count >= width of type [-Wshift-count-overflow]
                                        dstmask <<= BITS_PER_PIXEL;
                                                ^   ~~~~~~~~~~~~~~
src/cpu/tms34010/34010gfx.c:1630:14: warning: shift count >= width of type [-Wshift-count-overflow]
                                        dstmask <<= BITS_PER_PIXEL;
                                                ^   ~~~~~~~~~~~~~~
src/cpu/tms34010/34010gfx.c:1663:14: warning: shift count >= width of type [-Wshift-count-overflow]
                                        dstmask <<= BITS_PER_PIXEL;
                                                ^   ~~~~~~~~~~~~~~
src/cpu/tms34010/34010gfx.c:1773:14: warning: shift count >= width of type [-Wshift-count-overflow]
                                        dstmask <<= BITS_PER_PIXEL;
                                                ^   ~~~~~~~~~~~~~~
src/cpu/tms34010/34010gfx.c:1800:14: warning: shift count >= width of type [-Wshift-count-overflow]
                                        dstmask <<= BITS_PER_PIXEL;
                                                ^   ~~~~~~~~~~~~~~
src/cpu/tms34010/34010gfx.c:1824:14: warning: shift count >= width of type [-Wshift-count-overflow]
                                        dstmask <<= BITS_PER_PIXEL;
                                                ^   ~~~~~~~~~~~~~~
cc  -DGP2X -DALIGN_INTS -DALIGN_SHORTS -Dasm="__asm__ __volatile__" -DMAME_UNDERCLOCK -DMAME_FASTSOUND -DENABLE_AUTOFIRE -DBIGCASE -D__LIBRETRO__ -DWANT_LIBCO -I./src/libretro/libretro-common/include -fPIC  -Isrc/zlib -Wno-sign-compare -Wunused -Wpointer-arith -Waggregate-return -Wshadow -I./src -I./src/libretro -I./src/libretro/libretro-common/include   -DHAS_Z80=1 -DHAS_8080=1 -DHAS_8085A=1 -DHAS_M6502=1 -DHAS_M65C02=1 -DHAS_M6510=1 -DHAS_N2A03=1 -DHAS_H6280=1 -DHAS_I86=1 -DHAS_I186=1 -DHAS_V20=1 -DHAS_V30=1 -DHAS_V33=1 -DHAS_I8035=1 -DHAS_I8039=1 -DHAS_I8048=1 -DHAS_N7751=1 -DHAS_M6800=1 -DHAS_M6801=1 -DHAS_M6802=1 -DHAS_M6803=1 -DHAS_M6808=1 -DHAS_HD63701=1 -DHAS_NSC8105=1 -DHAS_M6805=1 -DHAS_M68705=1 -DHAS_HD63705=1 -DHAS_M6805=1 -DHAS_HD6309=1 -DHAS_M6809=1 -DHAS_KONAMI=1 -DHAS_M68000=1 -DHAS_M68010=1 -DHAS_M68EC020=1 -DHAS_M68020=1 -DHAS_T11=1 -DHAS_S2650=1 -DHAS_TMS34010=1 -DHAS_TMS9980=1 -DHAS_Z8000=1 -DHAS_TMS320C10=1 -DHAS_CCPU=1 -DHAS_ADSP2100=1 -DHAS_ADSP2105=1 -DHAS_MIP
 S=1 -DHAS_AY8910=1 -DHAS_YM2203=1 -DHAS_YM2151=1 -DHAS_YM2608=1 -DHAS_YM2610=1 -DHAS_YM2610B=1 -DHAS_YM2612=1 -DHAS_YM3438=1 -DHAS_YM2413=1 -DHAS_YM3812=1 -DHAS_YM3526=1 -DHAS_Y8950=1 -DHAS_CUSTOM=1 -DHAS_YMZ280B=1 -DHAS_POKEY=1 -DHAS_QSOUND=1 -DHAS_SN76477=1 -DHAS_SN76496=1 -DHAS_TMS36XX=1 -DHAS_TMS5220=1 -DHAS_SEGAPCM=1 -DHAS_DISCRETE=1 -DHAS_DAC=1 -DHAS_ADPCM=1 -DHAS_OKIM6295=1 -DHAS_SAMPLES=1 -DHAS_ASTROCADE=1 -DHAS_NES=1 -DHAS_NAMCO=1 -DHAS_VLM5030=1 -DHAS_MSM5205=1 -DHAS_UPD7759=1 -DHAS_HC55516=1 -DHAS_K005289=1 -DHAS_K007232=1 -DHAS_K051649=1 -DHAS_K053260=1 -DHAS_K054539=1 -DHAS_RF5C68=1 -DHAS_CEM3394=1 -DHAS_C140=1 -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fsigned-char -Dasm="__asm__ __volatile__" -O2 -DNDEBUG -c src/cpu/tms9900/tms9980a.c -o src/cpu/tms9900/tms9980a.o
In file included from src/cpu/tms9900/tms9980a.c:9:
In file included from src/cpu/tms9900/99xxcore.h:678:
src/cpu/tms9900/99xxstat.h:204:14: error: expected identifier or '('
static INT32 asm setst_add_32_laeco(register INT32 a, register INT32 b, register INT16 st)
             ^
<command line>:97:13: note: expanded from here
#define asm __asm__ __volatile__
            ^
In file included from src/cpu/tms9900/tms9980a.c:9:
In file included from src/cpu/tms9900/99xxcore.h:678:
src/cpu/tms9900/99xxstat.h:254:14: error: expected identifier or '('
static INT32 asm setst_sub_32_laeco(register INT32 a, register INT32 b, register INT16 st)
             ^
<command line>:97:13: note: expanded from here
#define asm __asm__ __volatile__
            ^
In file included from src/cpu/tms9900/tms9980a.c:9:
In file included from src/cpu/tms9900/99xxcore.h:678:
src/cpu/tms9900/99xxstat.h:300:14: error: expected identifier or '('
static INT16 asm setst_add_laeco(register INT16 a, register INT16 b)
             ^
<command line>:97:13: note: expanded from here
#define asm __asm__ __volatile__
            ^
In file included from src/cpu/tms9900/tms9980a.c:9:
In file included from src/cpu/tms9900/99xxcore.h:678:
src/cpu/tms9900/99xxstat.h:322:14: error: expected identifier or '('
static INT16 asm setst_sub_laeco(register INT16 a, register INT16 b)
             ^
<command line>:97:13: note: expanded from here
#define asm __asm__ __volatile__
            ^
In file included from src/cpu/tms9900/tms9980a.c:9:
In file included from src/cpu/tms9900/99xxcore.h:678:
src/cpu/tms9900/99xxstat.h:344:13: error: expected identifier or '('
static INT8 asm setst_addbyte_laecop(register INT8 a, register INT8 b)
            ^
<command line>:97:13: note: expanded from here
#define asm __asm__ __volatile__
            ^
In file included from src/cpu/tms9900/tms9980a.c:9:
In file included from src/cpu/tms9900/99xxcore.h:678:
src/cpu/tms9900/99xxstat.h:367:13: error: expected identifier or '('
static INT8 asm setst_subbyte_laecop(register INT8 a, register INT8 b)
            ^
<command line>:97:13: note: expanded from here
#define asm __asm__ __volatile__
            ^
In file included from src/cpu/tms9900/tms9980a.c:9:
src/cpu/tms9900/99xxcore.h:2001:3: warning: implicit declaration of function 'setst_add_laeco' is invalid in C99 [-Wimplicit-function-declaration]
                wadd(addr, value);
                ^
src/cpu/tms9900/99xxstat.h:192:38: note: expanded from macro 'wadd'
#define wadd(addr,expr) { int lval = setst_add_laeco(readword(addr), (expr)); writeword((addr),lval); }
                                     ^
In file included from src/cpu/tms9900/tms9980a.c:9:
src/cpu/tms9900/99xxcore.h:2188:3: warning: implicit declaration of function 'setst_add_laeco' is invalid in C99 [-Wimplicit-function-declaration]
                wadd(addr, 1);
                ^
src/cpu/tms9900/99xxstat.h:192:38: note: expanded from macro 'wadd'
#define wadd(addr,expr) { int lval = setst_add_laeco(readword(addr), (expr)); writeword((addr),lval); }
                                     ^
In file included from src/cpu/tms9900/tms9980a.c:9:
src/cpu/tms9900/99xxcore.h:2194:3: warning: implicit declaration of function 'setst_add_laeco' is invalid in C99 [-Wimplicit-function-declaration]
                wadd(addr, 2);
                ^
src/cpu/tms9900/99xxstat.h:192:38: note: expanded from macro 'wadd'
#define wadd(addr,expr) { int lval = setst_add_laeco(readword(addr), (expr)); writeword((addr),lval); }
                                     ^
In file included from src/cpu/tms9900/tms9980a.c:9:
src/cpu/tms9900/99xxcore.h:2200:3: warning: implicit declaration of function 'setst_sub_laeco' is invalid in C99 [-Wimplicit-function-declaration]
                wsub(addr, 1);
                ^
src/cpu/tms9900/99xxstat.h:193:38: note: expanded from macro 'wsub'
#define wsub(addr,expr) { int lval = setst_sub_laeco(readword(addr), (expr)); writeword((addr),lval); }
                                     ^
In file included from src/cpu/tms9900/tms9980a.c:9:
src/cpu/tms9900/99xxcore.h:2206:3: warning: implicit declaration of function 'setst_sub_laeco' is invalid in C99 [-Wimplicit-function-declaration]
                wsub(addr, 2);
                ^
src/cpu/tms9900/99xxstat.h:193:38: note: expanded from macro 'wsub'
#define wsub(addr,expr) { int lval = setst_sub_laeco(readword(addr), (expr)); writeword((addr),lval); }
                                     ^
In file included from src/cpu/tms9900/tms9980a.c:9:
src/cpu/tms9900/99xxcore.h:2785:11: warning: multiple unsequenced modifications to 'tms9980a_ICount' [-Wunsequenced]
                value = readword(dest) ^ readword(src);
                        ^                ~~~~~~~~~~~~~
src/cpu/tms9900/99xxcore.h:444:49: note: expanded from macro 'readword'
        #define readword(addr)        ( TMS99XX_ICOUNT -= 2, (cpu_readmem14(addr) << 8) + cpu_readmem14((addr)+1) )
                                                       ^
src/cpu/tms9900/99xxcore.h:2800:42: warning: multiple unsequenced modifications to 'tms9980a_ICount' [-Wunsequenced]
                        unsigned long prod = ((unsigned long) readword(dest)) * ((unsigned long) readword(src));
                                                              ^                                  ~~~~~~~~~~~~~
src/cpu/tms9900/99xxcore.h:444:49: note: expanded from macro 'readword'
        #define readword(addr)        ( TMS99XX_ICOUNT -= 2, (cpu_readmem14(addr) << 8) + cpu_readmem14((addr)+1) )
                                                       ^
src/cpu/tms9900/99xxcore.h:3058:11: warning: implicit declaration of function 'setst_sub_laeco' is invalid in C99 [-Wimplicit-function-declaration]
                value = setst_sub_laeco(readword(dest), readword(src));
                        ^
src/cpu/tms9900/99xxcore.h:3071:11: warning: implicit declaration of function 'setst_add_laeco' is invalid in C99 [-Wimplicit-function-declaration]
                value = setst_add_laeco(readword(dest), readword(src));
                        ^
src/cpu/tms9900/99xxcore.h:3050:11: warning: multiple unsequenced modifications to 'tms9980a_ICount' [-Wunsequenced]
                value = readword(dest) & (~ readword(src));
                        ^                   ~~~~~~~~~~~~~
src/cpu/tms9900/99xxcore.h:444:49: note: expanded from macro 'readword'
        #define readword(addr)        ( TMS99XX_ICOUNT -= 2, (cpu_readmem14(addr) << 8) + cpu_readmem14((addr)+1) )
                                                       ^
src/cpu/tms9900/99xxcore.h:3058:27: warning: multiple unsequenced modifications to 'tms9980a_ICount' [-Wunsequenced]
                value = setst_sub_laeco(readword(dest), readword(src));
                                        ^               ~~~~~~~~~~~~~
src/cpu/tms9900/99xxcore.h:444:49: note: expanded from macro 'readword'
        #define readword(addr)        ( TMS99XX_ICOUNT -= 2, (cpu_readmem14(addr) << 8) + cpu_readmem14((addr)+1) )
                                                       ^
src/cpu/tms9900/99xxcore.h:3065:15: warning: multiple unsequenced modifications to 'tms9980a_ICount' [-Wunsequenced]
                setst_c_lae(readword(dest), readword(src));
                            ^               ~~~~~~~~~~~~~
src/cpu/tms9900/99xxcore.h:444:49: note: expanded from macro 'readword'
        #define readword(addr)        ( TMS99XX_ICOUNT -= 2, (cpu_readmem14(addr) << 8) + cpu_readmem14((addr)+1) )
                                                       ^
src/cpu/tms9900/99xxcore.h:3071:27: warning: multiple unsequenced modifications to 'tms9980a_ICount' [-Wunsequenced]
                value = setst_add_laeco(readword(dest), readword(src));
                                        ^               ~~~~~~~~~~~~~
src/cpu/tms9900/99xxcore.h:444:49: note: expanded from macro 'readword'
        #define readword(addr)        ( TMS99XX_ICOUNT -= 2, (cpu_readmem14(addr) << 8) + cpu_readmem14((addr)+1) )
                                                       ^
src/cpu/tms9900/99xxcore.h:3090:11: warning: multiple unsequenced modifications to 'tms9980a_ICount' [-Wunsequenced]
                value = readword(dest) | readword(src);
                        ^                ~~~~~~~~~~~~~
src/cpu/tms9900/99xxcore.h:444:49: note: expanded from macro 'readword'
        #define readword(addr)        ( TMS99XX_ICOUNT -= 2, (cpu_readmem14(addr) << 8) + cpu_readmem14((addr)+1) )
                                                       ^
src/cpu/tms9900/99xxcore.h:3121:11: warning: implicit declaration of function 'setst_subbyte_laecop' is invalid in C99 [-Wimplicit-function-declaration]
                value = setst_subbyte_laecop(readbyte(dest), readbyte(src));
                        ^
src/cpu/tms9900/99xxcore.h:3136:11: warning: implicit declaration of function 'setst_addbyte_laecop' is invalid in C99 [-Wimplicit-function-declaration]
                value = setst_addbyte_laecop(readbyte(dest), readbyte(src));
                        ^
16 warnings and 6 errors generated.
gmake[1]: *** [Makefile:581: src/cpu/tms9900/tms9980a.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
72 warnings generated.
1 warning generated.
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/libretro-mame2000/work/mame2000-libretro-720b8ad4cbd76abd57b9aeced9ba541dc8476f7f'
===> 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-mame2000