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

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 06 Aug 2022 17:15:23 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://ampere2.nyi.freebsd.org/data/main-arm64-default/pf198cfc25ee5_sf44e257712/logs/darcnes-9b0401_7.log
Build URL:      http://ampere2.nyi.freebsd.org/build.html?mastername=main-arm64-default&build=pf198cfc25ee5_sf44e257712
Log:

=>> Building emulators/darcnes
build started at Sat Aug  6 17:15:03 UTC 2022
port directory: /usr/ports/emulators/darcnes
package name: darcnes-9b0401_7
building for: FreeBSD main-arm64-default-job-01 14.0-CURRENT FreeBSD 14.0-CURRENT 1400064 arm64
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400063
Jail OSVERSION: 1400064
Job Id: 01




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400064
UNAME_v=FreeBSD 14.0-CURRENT 1400064
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
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-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 PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/darcnes/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/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 PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/darcnes/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig NO_PIE=yes 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--
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---
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=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: aarch64-unknown-freebsd14.0 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: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400064
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   >============================
===>   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
===========================================================================
=======================<phase: pkg-depends    >============================
===>   darcnes-9b0401_7 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.4.pkg
[main-arm64-default-job-01] Installing pkg-1.18.4...
[main-arm64-default-job-01] Extracting pkg-1.18.4: .......... done
===>   darcnes-9b0401_7 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of darcnes-9b0401_7
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   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
===> Fetching all distfiles required by darcnes-9b0401_7 for building
<snip>
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
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
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
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
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
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
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
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
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND tool.c
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND cal.c
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND tiledraw.c
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
       ^
       //
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
1 warning generated.
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND apple2.c
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.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
       ^
       //
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.
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND apple2_vdp.c
1 warning generated.
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}
        ^~~~
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND fds.c
2 warnings generated.
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND mappers.c
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.
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}
        ^~~~
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)
                                              ^
2 warnings generated.
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND nes_psg.c
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.
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND pce_cd.c
3 warnings generated.
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND pce_vdp.c
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();
    ^
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}
        ^~~~
4 warnings generated.
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND sms9918.c
3 warnings generated.
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND sms_psg.c
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND tms9918.c
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND blit_c.c
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND video_x.c
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND ui_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);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND snd_unix.c
1 warning generated.
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND keyboard_x.c
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.
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND cpu6280.c
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND build_cpu6280.c
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND cpu6502.c
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND build_cpu6502.c
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND mz80.c
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
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_cpu6280 cpu6280opc.c
./build_cpu6502 cpu6502opc.c
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND cpu6280opc.c
cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -Wall   -DC_ONLY  -DPCE_CD_SUPPORT -DSOUND cpu6502opc.c
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'
===> 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/darcnes