[package - main-armv7-default][emulators/darcnes] Failed for darcnes-9b0401_7 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 05 Jun 2022 04:22:12 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:     ports@FreeBSD.org
Log URL:        http://beefy12.nyi.freebsd.org/data/main-armv7-default/pf5cfa9d4157c_s245b056556/logs/darcnes-9b0401_7.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=main-armv7-default&build=pf5cfa9d4157c_s245b056556
Log:

=>> Building emulators/darcnes
build started at Sun Jun  5 04:21:48 UTC 2022
port directory: /usr/ports/emulators/darcnes
package name: darcnes-9b0401_7
building for: FreeBSD main-armv7-default-job-13 14.0-CURRENT FreeBSD 14.0-CURRENT 1400059 arm
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400050
Jail OSVERSION: 1400059
Job Id: 13




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



---Begin Environment---
SHELL=/bin/sh
UNAME_p=armv7
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1400059
UNAME_v=FreeBSD 14.0-CURRENT 1400059
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-default/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 darcnes-9b0401_7:
     DOCS=on: Build and/or install documentation
====> GUI backend: you have to select exactly one of them
     X11=on: X11 (graphics) support
     SVGALIB=off: SVGA graphics support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/darcnes/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/darcnes/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/darcnes/work/.cache  HOME=/wrkdirs/usr/ports/emulators/darcnes/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/darcnes/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/emulators/darcnes/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/darcnes/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/darcnes/work/.cache  HOME=/wrkdirs/usr/ports/emulators/darcnes/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/darcnes/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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="/nxb-bin/usr/bin/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--
PORTDOCS="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/darcnes"  EXAMPLESDIR="share/examples/darcnes"  DATADIR="share/darcnes"  WWWDIR="www/darcnes"  ETCDIR="etc/darcnes"
--End PLIST_SUB--

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

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv7
ARCH=${MACHINE_ARCH}
#### /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_9d218390=FreeBSD clang version 14.0.3 (https://github.com/llvm/llvm-project.git llvmorg-14.0.3-0-g1f9140064dfb) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 14.0.3 (https://github.com/llvm/llvm-project.git llvmorg-14.0.3-0-g1f9140064dfb) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-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_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 14.0.3 (https://github.com/llvm/llvm-project.git llvmorg-14.0.3-0-g1f9140064dfb) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400059
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.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   >============================
===>   NOTICE:

The darcnes port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License darcnes-license accepted by the user
<snip>
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND -MM apple2_disk.c | ./fixdep > apple2_disk.d
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND -MM apple2.c | ./fixdep > apple2.d
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND -MM event.c | ./fixdep > event.d
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND -MM tiledraw.c | ./fixdep > tiledraw.d
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND -MM cal.c | ./fixdep > cal.d
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND -MM tool.c | ./fixdep > tool.d
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND -MM build_cpu6502.c | ./fixdep > build_cpu6502.d
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND -MM build_cpu6280.c | ./fixdep > build_cpu6280.d
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND -MM test_6502.c | ./fixdep > test_6502.d
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND -MM test_6280.c | ./fixdep > test_6280.d
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND -MM test_68k.c | ./fixdep > test_68k.d
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND tool.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND cal.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND tiledraw.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND event.c
In file included from event.c:9:
./event.h:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif EVENT_H
       ^
       //
1 warning generated.
/nxb-bin/usr/bin/cc -o palette8.o -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND -DPALETTE_DEPTH=8 -c palette.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND apple2.c
In file included from apple2.c:16:
In file included from ./apple2_cards.h:13:
./event.h:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif EVENT_H
       ^
       //
1 warning generated.
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND apple2_disk.c
In file included from apple2_disk.c:12:
In file included from ./apple2_cards.h:13:
./event.h:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif EVENT_H
       ^
       //
1 warning generated.
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND apple2_vdp.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND coleco.c
In file included from coleco.c:19:
./event.h:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif EVENT_H
       ^
       //
coleco.c:34:9: warning: excess elements in array initializer [-Wexcess-initializers]
    6, {0x01, 0x04, 0x08, 0x02, 0x10, 0x20}
        ^~~~
2 warnings generated.
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND fds.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND mappers.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND msx.c
In file included from msx.c:18:
./event.h:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif EVENT_H
       ^
       //
msx.c:349:5: warning: implicit declaration of function 'kb_init' is invalid in C99 [-Wimplicit-function-declaration]
    kb_init();
    ^
2 warnings generated.
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND nes.c
In file included from nes.c:21:
./event.h:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif EVENT_H
       ^
       //
nes.c:25:9: warning: excess elements in array initializer [-Wexcess-initializers]
    8, {0x10, 0x20, 0x40, 0x80, 0x01, 0x02, 0x04, 0x08}
        ^~~~
2 warnings generated.
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND nes_ppu.c
nes_ppu.c:326:5: warning: variable 'screen_color' set but not used [-Wunused-but-set-variable]
        u8 screen_color;
           ^
nes_ppu.c:596:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    tiledraw_8(cur_vbp, patterns + i, attrs + i, 32 - i, ppu->finescroll);
               ^~~~~~~
./tiledraw.h:12:32: note: passing argument to parameter 'cur_vbp' here
void tiledraw_8(unsigned char *cur_vbp, unsigned char **tiles, unsigned char **palettes, int num_tiles, int finescroll);
                               ^
nes_ppu.c:617:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        PPU_render_background(ppu, cur_vbp);
                                   ^~~~~~~
nes_ppu.c:579:47: note: passing argument to parameter 'cur_vbp' here
void PPU_render_background(nes_ppu ppu, char *cur_vbp)
                                              ^
3 warnings generated.
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND nes_psg.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND pce.c
In file included from pce.c:16:
./event.h:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif EVENT_H
       ^
       //
pce.c:40:9: warning: excess elements in array initializer [-Wexcess-initializers]
    8, {0x10, 0x40, 0x80, 0x20, 0x01, 0x02, 0x04, 0x08}
        ^~~~
pce.c:323:13: warning: assigning to 'char *' from 'u8[8]' (aka 'unsigned char[8]') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    pce_mpr = pce_cpu->data.d_cpu6280->mpr;
            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND pce_cd.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND pce_vdp.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND sg1000.c
In file included from sg1000.c:19:
./event.h:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif EVENT_H
       ^
       //
sg1000.c:61:9: warning: excess elements in array initializer [-Wexcess-initializers]
    7, {0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x80} /* has pause button */
        ^~~~
sg1000.c:65:9: warning: excess elements in array initializer [-Wexcess-initializers]
    6, {0x01, 0x02, 0x04, 0x08, 0x10, 0x20}
        ^~~~
sg1000.c:399:5: warning: implicit declaration of function 'kb_init' is invalid in C99 [-Wimplicit-function-declaration]
    kb_init();
    ^
4 warnings generated.
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND sms.c
In file included from sms.c:19:
./event.h:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif EVENT_H
       ^
       //
sms.c:37:9: warning: excess elements in array initializer [-Wexcess-initializers]
    7, {0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x80} /* has pause button */
        ^~~~
sms.c:41:9: warning: excess elements in array initializer [-Wexcess-initializers]
    6, {0x01, 0x02, 0x04, 0x08, 0x10, 0x20}
        ^~~~
3 warnings generated.
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND sms9918.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND sms_psg.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND tms9918.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND blit_c.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND video_x.c
video_x.c:482:12: warning: returning 'char *' from a function with result type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    return cur_image_buffer->data + (line * buffer_x);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND ui_x.c
ui_x.c:127:5: warning: implicit declaration of function 'video_init' is invalid in C99 [-Wimplicit-function-declaration]
    video_init();
    ^
ui_x.c:250:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
    exit(0);
    ^
ui_x.c:250:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
2 warnings generated.
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND snd_unix.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND keyboard_x.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND cd_unix.c
cd_unix.c:154:9: warning: implicit declaration of function 'ntohl' is invalid in C99 [-Wimplicit-function-declaration]
        *lba = LBA_CONVERT(toc_entry.addr.lba);
               ^
cd_unix.c:28:25: note: expanded from macro 'LBA_CONVERT'
#define LBA_CONVERT(x) (ntohl(x))
                        ^
1 warning generated.
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND cpu6280.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND build_cpu6280.c
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND -o build_cpu6280 build_cpu6280.o
./build_cpu6280 cpu6280opc.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND cpu6280opc.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND cpu6502.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND build_cpu6502.c
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND -o build_cpu6502 build_cpu6502.o
./build_cpu6502 cpu6502opc.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND cpu6502opc.c
/nxb-bin/usr/bin/cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND mz80.c
/nxb-bin/usr/bin/cc  -fstack-protector-strong  -L/usr/local/lib -Wl,--warn-common -o darcnes tool.o cal.o tiledraw.o event.o palette8.o apple2.o apple2_disk.o apple2_vdp.o coleco.o fds.o mappers.o msx.o nes.o nes_ppu.o nes_psg.o pce.o pce_cd.o pce_vdp.o sg1000.o sms.o sms9918.o sms_psg.o tms9918.o blit_c.o video_x.o ui_x.o snd_unix.o keyboard_x.o cd_unix.o cpu6280.o cpu6280opc.o cpu6502.o cpu6502opc.o mz80.o   -lXext -lXaw -lXmu -lXt -lX11
ld: error: undefined symbol: OpZ80
>>> referenced by mz80.c
>>>               mz80.o:(RunZ80)
>>> referenced by mz80.c
>>>               mz80.o:(RunZ80)
>>> referenced by mz80.c
>>>               mz80.o:(RunZ80)
>>> referenced 135 more times

ld: error: undefined symbol: OpZ80_1
>>> referenced by mz80.c
>>>               mz80.o:(CodesFD)
>>> referenced by mz80.c
>>>               mz80.o:(CodesDD)

ld: error: undefined symbol: OpZ80_2
>>> referenced by mz80.c
>>>               mz80.o:(CodesFD)
>>> referenced by mz80.c
>>>               mz80.o:(CodesDD)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:171: darcnes] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/emulators/darcnes/work/darcnes'
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/darcnes