[package - 132releng-armv7-quarterly][emulators/mame] Failed for mame-0.259 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 15 Oct 2023 19:46:17 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:     agh@riseup.net
Log URL:        https://pkg-status.freebsd.org/ampere1/data/132releng-armv7-quarterly/46c5200e9027/logs/mame-0.259.log
Build URL:      https://pkg-status.freebsd.org/ampere1/build.html?mastername=132releng-armv7-quarterly&build=46c5200e9027
Log:

=>> Building emulators/mame
build started at Sun Oct 15 10:49:51 UTC 2023
port directory: /usr/ports/emulators/mame
package name: mame-0.259
building for: FreeBSD 132releng-armv7-quarterly-job-03 13.2-RELEASE-p4 FreeBSD 13.2-RELEASE-p4 1302001 arm
maintained by: agh@riseup.net
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1500000
Jail OSVERSION: 1302001
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302001
UNAME_v=FreeBSD 13.2-RELEASE-p4 1302001
UNAME_r=13.2-RELEASE-p4
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/132releng-armv7-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/132releng-armv7-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=132releng-armv7-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/132releng-armv7-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---
===> The following configuration options are available for mame-0.259:
     DEBUG=off: Build with debug profiling and symbols
     DOCS=on: Install extensive online MAME documentation
     NLS=on: Install language translations for use in the GUI
     QTDEBUGGER=off: Build with Qt interactive low-level machine debugger
     TOOLS=off: Install tools for machine archiving and development
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
agh@riseup.net
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.9" SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/mame/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/mame/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/mame/work/.cache  HOME=/wrkdirs/usr/ports/emulators/mame/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/mame/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/mame/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
LDOPTS=" -s -fstack-protector-strong "  NO_USE_PORTAUDIO=1  NO_USE_PULSEAUDIO=1  NOWERROR=1  OPT_FLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  PRECOMPILE=0  PYTHON_EXECUTABLE="/usr/local/bin/python3.9"  USE_PCAP=1  USE_SYSTEM_LIB_EXPAT=1  USE_SYSTEM_LIB_FLAC=1  USE_SYSTEM_LIB_GLM=1  USE_SYSTEM_LIB_JPEG=1  USE_SYSTEM_LIB_PORTMIDI=1  USE_SYSTEM_LIB_PUGIXML=1  USE_SYSTEM_LIB_RAPIDJSON=1  USE_SYSTEM_LIB_SQLITE3=1  USE_SYSTEM_LIB_UTF8PROC=1  USE_SYSTEM_LIB_UV=1  USE_SYSTEM_LIB_ZLIB=1  USE_TAPTUN=1 OPTIMIZE=2  STRIP_SYMBOLS=1 USE_QTDEBUG=0 TOOLS=0 OVERRIDE_AR="ar"  OVERRIDE_CC="cc"  OVERRIDE_CXX="c++"  OVERRIDE_LD="ld" LUA_MODLIBDIR=/usr/local/lib/lua/5.4  LUA_MODSHAREDIR=/usr/local/share/lua/5.4  LUA_MODDOCSDIR=/usr/local/share/doc/lua54  LUA_INCDIR=/usr/local/include/lua54  LUA_LIBDIR=/usr/local/lib  LUA_VER=5.4  LUA_VER_STR=54 SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/emul
ators/mame/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/mame/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/mame/work/.cache  HOME=/wrkdirs/usr/ports/emulators/mame/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/mame/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/mame/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 -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -s -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  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--
PORTDOCS="" DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " NLS="" NO_NLS="@comment " QTDEBUGGER="@comment " NO_QTDEBUGGER="" TOOLS="@comment " NO_TOOLS="" LUA_MODLIBDIR=lib/lua/5.4  LUA_MODSHAREDIR=share/lua/5.4  LUA_MODDOCSDIR=share/doc/lua54  LUA_INCDIR=include/lua54  LUA_VER=5.4  LUA_VER_STR=54 PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mame"  EXAMPLESDIR="share/examples/mame"  DATADIR="share/mame"  WWWDIR="www/mame"  ETCDIR="etc/mame"
--End PLIST_SUB--

--SUB_LIST--
DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " NLS="" NO_NLS="@comment " QTDEBUGGER="@comment " NO_QTDEBUGGER="" TOOLS="@comment " NO_TOOLS="" PYTHON_INCLUDEDIR=/usr/local/include/python3.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mame DOCSDIR=/usr/local/share/doc/mame EXAMPLESDIR=/usr/local/share/examples/mame  WWWDIR=/usr/local/www/mame ETCDIR=/usr/local/etc/mame
--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=3
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv7-unknown-freebsd13.2-gnueabihf Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv7-unknown-freebsd13.2-gnueabihf Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv7-unknown-freebsd13.2-gnueabihf Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=13.2-RELEASE-p4
OSREL=13.2
OSVERSION=1302001
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License BSD2CLAUSE BSD3CLAUSE CC0-1.0 GPLv2 LGPL21 MIT ZLIB accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   mame-0.259 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.7.pkg
[132releng-armv7-quarterly-job-03] Installing pkg-1.20.7...
[132releng-armv7-quarterly-job-03] Extracting pkg-1.20.7: .......... done
===>   mame-0.259 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mame-0.259
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD2CLAUSE BSD3CLAUSE CC0-1.0 GPLv2 LGPL21 MIT ZLIB accepted by the user
===> Fetching all distfiles required by mame-0.259 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD2CLAUSE BSD3CLAUSE CC0-1.0 GPLv2 LGPL21 MIT ZLIB accepted by the user
===> Fetching all distfiles required by mame-0.259 for building
=> SHA256 Checksum OK for mamedev-mame-0.259-mame0259_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD2CLAUSE BSD3CLAUSE CC0-1.0 GPLv2 LGPL21 MIT ZLIB accepted by the user
===> Fetching all distfiles required by mame-0.259 for building
===>  Extracting for mame-0.259
=> SHA256 Checksum OK for mamedev-mame-0.259-mame0259_GH0.tar.gz.
/bin/mv /wrkdirs/usr/ports/emulators/mame/work/mame-mame0259/src/lib/util/png.h  /wrkdirs/usr/ports/emulators/mame/work/mame-mame0259/src/lib/util/localpng.h
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for mame-0.259
===>  Applying FreeBSD patches for mame-0.259 from /usr/ports/emulators/mame/files
/bin/rm -f /wrkdirs/usr/ports/emulators/mame/work/mame-mame0259/3rdparty/bx/include/compat/freebsd/dirent.h
/bin/rm -f /wrkdirs/usr/ports/emulators/mame/work/mame-mame0259/3rdparty/bx/include/compat/freebsd/signal.h
/bin/mv /wrkdirs/usr/ports/emulators/mame/work/mame-mame0259/3rdparty/genie/build/gmake.freebsd  /wrkdirs/usr/ports/emulators/mame/work/mame-mame0259/3rdparty/genie/build/gmake.bsd
/usr/bin/grep -rl '"png.h"' /wrkdirs/usr/ports/emulators/mame/work/mame-mame0259/src |  /usr/bin/xargs /usr/bin/sed -i.bak -e 's|"png.h"|"localpng.h"|'
/usr/bin/sed -i.bak -e 's|"util/png.h"|"util/localpng.h"|'  /wrkdirs/usr/ports/emulators/mame/work/mame-mame0259/src/frontend/mame/ui/icorender.cpp
===========================================================================
=======================<phase: build-depends  >============================
===>   mame-0.259 depends on package: py39-sphinxcontrib-svg2pdfconverter>0 - not found
===>   Installing existing package /packages/All/py39-sphinxcontrib-svg2pdfconverter-1.2.2.pkg
<snip>
Compiling src/devices/video/cdp1862.cpp...
Compiling src/devices/video/cesblit.cpp...
Compiling src/devices/video/cgapal.cpp...
Compiling src/devices/video/clgd546x_laguna.cpp...
Compiling src/devices/video/crt9007.cpp...
Compiling src/devices/video/crt9021.cpp...
Compiling src/devices/video/crt9028.cpp...
Compiling src/devices/video/crt9212.cpp...
Compiling src/devices/video/crtc_ega.cpp...
Compiling src/devices/video/dl1416.cpp...
Compiling src/devices/video/dm9368.cpp...
Compiling src/devices/video/dp8350.cpp...
Compiling src/devices/video/dp8510.cpp...
Compiling src/devices/video/ef9340_1.cpp...
Compiling src/devices/video/ef9345.cpp...
Compiling src/devices/video/ef9364.cpp...
Compiling src/devices/video/ef9365.cpp...
Compiling src/devices/video/ef9369.cpp...
Compiling src/devices/video/epic12.cpp...
Compiling src/devices/video/epic12_blit0.cpp...
Compiling src/devices/video/epic12_blit1.cpp...
Compiling src/devices/video/epic12_blit2.cpp...
Compiling src/devices/video/epic12_blit3.cpp...
Compiling src/devices/video/epic12_blit4.cpp...
Compiling src/devices/video/epic12_blit5.cpp...
Compiling src/devices/video/epic12_blit6.cpp...
Compiling src/devices/video/epic12_blit7.cpp...
Compiling src/devices/video/epic12_blit8.cpp...
Compiling src/devices/video/fixfreq.cpp...
Compiling src/devices/video/gb_lcd.cpp...
Compiling src/devices/video/gba_lcd.cpp...
Compiling src/devices/video/geforce.cpp...
Compiling src/devices/video/gf4500.cpp...
Compiling src/devices/video/gf7600gs.cpp...
Compiling src/devices/video/hd44102.cpp...
Compiling src/devices/video/hd44352.cpp...
Compiling src/devices/video/hd44780.cpp...
Compiling src/devices/video/hd61202.cpp...
Compiling src/devices/video/hd61603.cpp...
Compiling src/devices/video/hd61830.cpp...
Compiling src/devices/video/hd63484.cpp...
Compiling src/devices/video/hd66421.cpp...
Compiling src/devices/video/hlcd0438.cpp...
Compiling src/devices/video/hlcd0488.cpp...
Compiling src/devices/video/hlcd0515.cpp...
Compiling src/devices/video/hlcd0538.cpp...
Compiling src/devices/video/hp1ll3.cpp...
Compiling src/devices/video/huc6202.cpp...
Compiling src/devices/video/huc6260.cpp...
Compiling src/devices/video/huc6261.cpp...
Compiling src/devices/video/huc6270.cpp...
Compiling src/devices/video/huc6271.cpp...
Compiling src/devices/video/huc6272.cpp...
Compiling src/devices/video/i8244.cpp...
Compiling src/devices/video/i82730.cpp...
Compiling src/devices/video/i8275.cpp...
Compiling src/devices/video/ibm8514a.cpp...
Compiling src/devices/video/imagetek_i4100.cpp...
Compiling src/devices/video/ims_cvc.cpp...
Compiling src/devices/video/jangou_blitter.cpp...
Compiling src/devices/video/k051316.cpp...
Compiling src/devices/video/k053936.cpp...
Compiling src/devices/video/lc7582.cpp...
Compiling src/devices/video/lc7985.cpp...
Compiling src/devices/video/m50458.cpp...
Compiling src/devices/video/mb86292.cpp...
Compiling src/devices/video/mb88303.cpp...
Compiling src/devices/video/mb90082.cpp...
Compiling src/devices/video/mb_vcu.cpp...
Compiling src/devices/video/mc68328lcd.cpp...
Compiling src/devices/video/mc6845.cpp...
Compiling src/devices/video/mc6847.cpp...
Compiling src/devices/video/md4330b.cpp...
Compiling src/devices/video/mga2064w.cpp...
Compiling src/devices/video/mm5445.cpp...
Compiling src/devices/video/mos6566.cpp...
Compiling src/devices/video/mos8563.cpp...
Compiling src/devices/video/msm6222b.cpp...
Compiling src/devices/video/msm6255.cpp...
Compiling src/devices/video/nereid.cpp...
Compiling src/devices/video/nt7534.cpp...
Compiling src/devices/video/pc_vga.cpp...
Compiling src/devices/video/pc_vga_ati.cpp...
Compiling src/devices/video/pc_vga_cirrus.cpp...
Compiling src/devices/video/pc_vga_matrox.cpp...
Compiling src/devices/video/pc_vga_nvidia.cpp...
Compiling src/devices/video/pc_vga_paradise.cpp...
Compiling src/devices/video/pc_vga_s3.cpp...
Compiling src/devices/video/pc_vga_sis.cpp...
Compiling src/devices/video/pc_vga_trident.cpp...
Compiling src/devices/video/pc_vga_tseng.cpp...
Compiling src/devices/video/pc_xga.cpp...
Compiling src/devices/video/pcd8544.cpp...
Compiling src/devices/video/pcf2100.cpp...
Compiling src/devices/video/ppu2c0x.cpp...
Compiling src/devices/video/ppu2c0x_sh6578.cpp...
Compiling src/devices/video/ppu2c0x_vt.cpp...
Compiling src/devices/video/ps2gif.cpp...
Compiling src/devices/video/ps2gs.cpp...
Compiling src/devices/video/psx.cpp...
Compiling src/devices/video/pwm.cpp...
Compiling src/devices/video/ramdac.cpp...
Compiling src/devices/video/riva128.cpp...
Compiling src/devices/video/rivatnt.cpp...
Compiling src/devices/video/s3virge.cpp...
Compiling src/devices/video/saa5050.cpp...
Compiling src/devices/video/saa5240.cpp...
Compiling src/devices/video/scn2674.cpp...
Compiling src/devices/video/sda5708.cpp...
Compiling src/devices/video/sed1200.cpp...
Compiling src/devices/video/sed1330.cpp...
Compiling src/devices/video/sed1356.cpp...
Compiling src/devices/video/sed1375.cpp...
Compiling src/devices/video/sed1500.cpp...
Compiling src/devices/video/sed1520.cpp...
Compiling src/devices/video/sn74s262.cpp...
Compiling src/devices/video/snes_ppu.cpp...
Compiling src/devices/video/sprite.cpp...
Compiling src/devices/video/t6963c.cpp...
Compiling src/devices/video/t6a04.cpp...
Compiling src/devices/video/tea1002.cpp...
Compiling src/devices/video/tlc34076.cpp...
Compiling src/devices/video/tmap038.cpp...
Compiling src/devices/video/tms34061.cpp...
Compiling src/devices/video/tms3556.cpp...
Compiling src/devices/video/tms9927.cpp...
Compiling src/devices/video/tms9928a.cpp...
Compiling src/devices/video/topcat.cpp...
Compiling src/devices/video/upd3301.cpp...
Compiling src/devices/video/upd7220.cpp...
Compiling src/devices/video/upd7227.cpp...
Compiling src/devices/video/v9938.cpp...
Compiling src/devices/video/vector.cpp...
Compiling src/devices/video/vic4567.cpp...
Compiling src/devices/video/virge_pci.cpp...
Compiling src/devices/video/voodoo.cpp...
Compiling src/devices/video/voodoo_2.cpp...
Compiling src/devices/video/voodoo_banshee.cpp...
Compiling src/devices/video/voodoo_pci.cpp...
Compiling src/devices/video/voodoo_render.cpp...
Compiling src/devices/video/vrender0.cpp...
Compiling src/devices/video/wd90c26.cpp...
Compiling src/devices/video/x1_001.cpp...
Compiling src/devices/video/zeus2.cpp...
Compiling src/devices/video/zr36110.cpp...
Compiling src/devices/bus/centronics/epson_ex800.cpp...
Compiling src/devices/bus/centronics/epson_lx800.cpp...
Compiling src/devices/bus/centronics/epson_lx810l.cpp...
Compiling src/devices/bus/centronics/smartboard.cpp...
Compiling src/devices/bus/epson_qx/keyboard/keyboard.cpp...
Compiling src/devices/bus/ieee488/hp9122c.cpp...
Compiling src/devices/bus/nes_ctrl/rob.cpp...
Compiling src/devices/cpu/h8/gt913.cpp...
Compiling src/devices/cpu/h8/h8.cpp...
Compiling src/devices/cpu/h8/h8h.cpp...
Compiling src/devices/cpu/h8/h8s2000.cpp...
Compiling src/devices/cpu/h8/h8s2600.cpp...
Compiling src/devices/cpu/m6502/deco16.cpp...
Compiling src/devices/cpu/m6502/m4510.cpp...
Compiling src/devices/cpu/m6502/m6502.cpp...
Compiling src/devices/cpu/m6502/m6509.cpp...
Compiling src/devices/cpu/m6502/m6510.cpp...
Compiling src/devices/cpu/m6502/m65c02.cpp...
Compiling src/devices/cpu/m6502/m65ce02.cpp...
Compiling src/devices/cpu/m6502/m740.cpp...
Compiling src/devices/cpu/m6502/r65c02.cpp...
Compiling src/devices/cpu/m6502/r65c19.cpp...
Compiling src/devices/cpu/m6502/rp2a03.cpp...
Compiling src/devices/cpu/m6502/w65c02s.cpp...
Compiling src/devices/cpu/m6502/xavix.cpp...
Compiling src/devices/cpu/m6502/xavix2000.cpp...
Compiling src/devices/cpu/m6809/hd6309.cpp...
Compiling src/devices/cpu/m6809/konami.cpp...
Compiling src/devices/cpu/m6809/m6809.cpp...
Compiling src/devices/cpu/mcs96/i8x9x.cpp...
Compiling src/devices/cpu/mcs96/i8xc196.cpp...
Compiling src/devices/cpu/mcs96/mcs96.cpp...
Compiling src/devices/machine/exorterm.cpp...
Compiling src/devices/machine/ie15.cpp...
Archiving liboptional.a...
Compiling src/mame/mame.cpp...
Building driver list...
Compiling generated/version.cpp...
39982 driver(s) found
Compiling generated/mame/mame/drivlist.cpp...
Linking mame...
ld: error: failed to open ../../../../../mame: Cannot allocate memory
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [mame.make:269: ../../../../../mame] Error 1
gmake[2]: *** [Makefile:1066: mame] Error 2
gmake[2]: Leaving directory '/wrkdirs/usr/ports/emulators/mame/work/mame-mame0259/build/projects/sdl/mame/gmake-freebsd-clang'
gmake[1]: *** [makefile:1426: freebsd_x86_clang] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/emulators/mame/work/mame-mame0259'
===> 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/mame