[package - 124amd64-quarterly][emulators/gngeo] Failed for gngeo-0.8_5 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 26 Dec 2023 03:46:20 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:     acm@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy2/data/124amd64-quarterly/74b68b434d29/logs/gngeo-0.8_5.log
Build URL:      https://pkg-status.freebsd.org/beefy2/build.html?mastername=124amd64-quarterly&build=74b68b434d29
Log:

=>> Building emulators/gngeo
build started at Tue Dec 26 03:43:34 UTC 2023
port directory: /usr/ports/emulators/gngeo
package name: gngeo-0.8_5
building for: FreeBSD 124amd64-quarterly-job-06 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 amd64
maintained by: acm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  2383 Oct  3 01:01 /usr/ports/emulators/gngeo/Makefile
Ports top last git commit: 74b68b434
Ports top unclean checkout: no
Port dir last git commit: 2195304f9
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.0
Host OSVERSION: 1500006
Jail OSVERSION: 1204000
Job Id: 06

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1204000
UNAME_v=FreeBSD 12.4-RELEASE-p9
UNAME_r=12.4-RELEASE-p9
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.0
MASTERMNT=/usr/local/poudriere/data/.m/124amd64-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/124amd64-quarterly/06/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=124amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/124amd64-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.0
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--
acm@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--program-transform-name="" --disable-gp2x --disable-i386asm --with-z80core=mamez80 --with-m68kcore=gen68k --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/gngeo/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/gngeo/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/gngeo/work/.cache  HOME=/wrkdirs/usr/ports/emulators/gngeo/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/gngeo/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/gngeo/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.71 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/gngeo/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/gngeo/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/gngeo/work/.cache  HOME=/wrkdirs/usr/ports/emulators/gngeo/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/gngeo/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/gngeo/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 DEFAULT_AUTOCONF=2.71 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89 "  CPP="cpp" CPPFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  `/usr/local/bin/sdl-config --cflags` -I/usr/local/include"  LDFLAGS=" `/usr/local/bin/sdl-config --libs` -L/usr/local/lib -fstack-protector-stron
g " 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=12.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/gngeo"  EXAMPLESDIR="share/examples/gngeo"  DATADIR="share/gngeo"  WWWDIR="www/gngeo"  ETCDIR="etc/gngeo"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/gngeo DOCSDIR=/usr/local/share/doc/gngeo EXAMPLESDIR=/usr/local/share/examples/gngeo  WWWDIR=/usr/local/www/gngeo ETCDIR=/usr/local/etc/gngeo
--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
####  ####
# 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)  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)  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
===>   gngeo-0.8_5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9.pkg
[124amd64-quarterly-job-06] Installing pkg-1.20.9...
[124amd64-quarterly-job-06] Extracting pkg-1.20.9: .......... done
===>   gngeo-0.8_5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of gngeo-0.8_5
===========================================================================
=======================<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 gngeo-0.8_5 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 gngeo-0.8_5 for building
=> SHA256 Checksum OK for pepone42-gngeo-gngeo_0.8_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 gngeo-0.8_5 for building
===>  Extracting for gngeo-0.8_5
=> SHA256 Checksum OK for pepone42-gngeo-gngeo_0.8_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 gngeo-0.8_5
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   gngeo-0.8_5 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.pkg
[124amd64-quarterly-job-06] Installing gmake-4.3_2...
[124amd64-quarterly-job-06] `-- Installing gettext-runtime-0.22_1...
[124amd64-quarterly-job-06] |   `-- Installing indexinfo-0.3.1...
[124amd64-quarterly-job-06] |   `-- Extracting indexinfo-0.3.1: .... done
[124amd64-quarterly-job-06] `-- Extracting gettext-runtime-0.22_1: .......... done
[124amd64-quarterly-job-06] Extracting gmake-4.3_2: .......... done
===>   gngeo-0.8_5 depends on package: gmake>=4.3 - found
===>   Returning to build of gngeo-0.8_5
===>   gngeo-0.8_5 depends on file: /usr/local/bin/sdl-config - not found
===>   Installing existing package /packages/All/sdl-1.2.15_16,2.pkg
[124amd64-quarterly-job-06] Installing sdl-1.2.15_16,2...
[124amd64-quarterly-job-06] `-- Installing aalib-1.4.r5_13...
[124amd64-quarterly-job-06] `-- Extracting aalib-1.4.r5_13: .......... done
[124amd64-quarterly-job-06] `-- Installing libGLU-9.0.2_2...
[124amd64-quarterly-job-06] |   `-- Installing libglvnd-1.6.0_2...
[124amd64-quarterly-job-06] |   | `-- Installing libX11-1.8.7,1...
[124amd64-quarterly-job-06] |   |   `-- Installing libxcb-1.15_1...
[124amd64-quarterly-job-06] |   |   | `-- Installing libXau-1.0.9...
[124amd64-quarterly-job-06] |   |   | `-- Extracting libXau-1.0.9: .......... done
[124amd64-quarterly-job-06] |   |   | `-- Installing libXdmcp-1.1.3...
[124amd64-quarterly-job-06] |   |   |   `-- Installing xorgproto-2023.2...
[124amd64-quarterly-job-06] |   |   |   `-- Extracting xorgproto-2023.2: .......... done
[124amd64-quarterly-job-06] |   |   | `-- Extracting libXdmcp-1.1.3: ......... done
[124amd64-quarterly-job-06] |   |   `-- Extracting libxcb-1.15_1: .......... done
[124amd64-quarterly-job-06] |   | `-- Extracting libX11-1.8.7,1: .......... done
[124amd64-quarterly-job-06] |   | `-- Installing libXext-1.3.4,1...
[124amd64-quarterly-job-06] |   | `-- Extracting libXext-1.3.4,1: .......... done
<snip>
                *
/usr/include/zlib.h:1634:43: note: passing argument to parameter 'file' here
ZEXTERN int ZEXPORT    gzclose OF((gzFile file));
                                          ^
state.c:556:9: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types]
        gzread(gzf,state_img_tmp->pixels,304*224*2);
               ^~~
               *
/usr/include/zlib.h:1395:39: note: passing argument to parameter 'file' here
ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len));
                                      ^
state.c:590:10: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types]
        gzclose(gzf);
                ^~~
                *
/usr/include/zlib.h:1634:43: note: passing argument to parameter 'file' here
ZEXTERN int ZEXPORT    gzclose OF((gzFile file));
                                          ^
15 warnings generated.
mv -f .deps/state.Tpo .deps/state.Po
cc -DHAVE_CONFIG_H -I. -I.. -DDATA_DIRECTORY='"/usr/local/share/gngeo"'  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -Wall -Wno-unused -funroll-loops                     -ffast-math -g -MT conf.o -MD -MP -MF .deps/conf.Tpo -c -o conf.o conf.c
mv -f .deps/conf.Tpo .deps/conf.Po
cc -DHAVE_CONFIG_H -I. -I.. -DDATA_DIRECTORY='"/usr/local/share/gngeo"'  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -Wall -Wno-unused -funroll-loops                     -ffast-math -g -MT transpack.o -MD -MP -MF .deps/transpack.Tpo -c -o transpack.o transpack.c
mv -f .deps/transpack.Tpo .deps/transpack.Po
cc -DHAVE_CONFIG_H -I. -I.. -DDATA_DIRECTORY='"/usr/local/share/gngeo"'  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -Wall -Wno-unused -funroll-loops                     -ffast-math -g -MT menu.o -MD -MP -MF .deps/menu.Tpo -c -o menu.o menu.c
menu.c:1290:34: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                                        (void*) gn_menu_create_item(effect[i].desc, MENU_ACTION, change_effect_action, (void*) effect[i].name));
                                                                    ^~~~~~~~~~~~~~
menu.c:777:41: note: passing argument to parameter 'name' here
GN_MENU_ITEM *gn_menu_create_item(char *name, Uint32 type,
                                        ^
menu.c:1306:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
        int rate = (int) self->arg;
                   ^~~~~~~~~~~~~~~
menu.c:1384:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
        int type = (int) self->arg;
                   ^~~~~~~~~~~~~~~
3 warnings generated.
mv -f .deps/menu.Tpo .deps/menu.Po
cc -DHAVE_CONFIG_H -I. -I.. -DDATA_DIRECTORY='"/usr/local/share/gngeo"'  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -Wall -Wno-unused -funroll-loops                     -ffast-math -g -MT roms.o -MD -MP -MF .deps/roms.Tpo -c -o roms.o roms.c
roms.c:1324:22: warning: implicit declaration of function 'basename' [-Wimplicit-function-declaration]
        char *game = strdup(basename(filename));
                            ^
roms.c:1324:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
        char *game = strdup(basename(filename));
                            ^~~~~~~~~~~~~~~~~~
/usr/include/string.h:87:26: note: passing argument to parameter here
char    *strdup(const char *) __malloc_like;
                            ^
2 warnings generated.
mv -f .deps/roms.Tpo .deps/roms.Po
cc -DHAVE_CONFIG_H -I. -I.. -DDATA_DIRECTORY='"/usr/local/share/gngeo"'  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -Wall -Wno-unused -funroll-loops                     -ffast-math -g -MT mame_layer.o -MD -MP -MF .deps/mame_layer.Tpo -c -o mame_layer.o mame_layer.c
mv -f .deps/mame_layer.Tpo .deps/mame_layer.Po
cc -DHAVE_CONFIG_H -I. -I.. -DDATA_DIRECTORY='"/usr/local/share/gngeo"'  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -Wall -Wno-unused -funroll-loops                     -ffast-math -g -MT neoboot.o -MD -MP -MF .deps/neoboot.Tpo -c -o neoboot.o neoboot.c
mv -f .deps/neoboot.Tpo .deps/neoboot.Po
cc -DHAVE_CONFIG_H -I. -I.. -DDATA_DIRECTORY='"/usr/local/share/gngeo"'  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -Wall -Wno-unused -funroll-loops                     -ffast-math -g -MT event.o -MD -MP -MF .deps/event.Tpo -c -o event.o event.c
mv -f .deps/event.Tpo .deps/event.Po
cc -DHAVE_CONFIG_H -I. -I.. -DDATA_DIRECTORY='"/usr/local/share/gngeo"'  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -Wall -Wno-unused -funroll-loops                     -ffast-math -g -MT stb_image.o -MD -MP -MF .deps/stb_image.Tpo -c -o stb_image.o stb_image.c
mv -f .deps/stb_image.Tpo .deps/stb_image.Po
cc -DHAVE_CONFIG_H -I. -I.. -DDATA_DIRECTORY='"/usr/local/share/gngeo"'  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -Wall -Wno-unused -funroll-loops                     -ffast-math -g -MT stb_zlib.o -MD -MP -MF .deps/stb_zlib.Tpo -c -o stb_zlib.o stb_zlib.c
mv -f .deps/stb_zlib.Tpo .deps/stb_zlib.Po
cc -DHAVE_CONFIG_H -I. -I.. -DDATA_DIRECTORY='"/usr/local/share/gngeo"'  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -Wall -Wno-unused -funroll-loops                     -ffast-math -g -MT generator68k_interf.o -MD -MP -MF .deps/generator68k_interf.Tpo -c -o generator68k_interf.o generator68k_interf.c
mv -f .deps/generator68k_interf.Tpo .deps/generator68k_interf.Po
cc -DHAVE_CONFIG_H -I. -I.. -DDATA_DIRECTORY='"/usr/local/share/gngeo"'  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -Wall -Wno-unused -funroll-loops                     -ffast-math -g -MT mamez80_interf.o -MD -MP -MF .deps/mamez80_interf.Tpo -c -o mamez80_interf.o mamez80_interf.c
mv -f .deps/mamez80_interf.Tpo .deps/mamez80_interf.Po
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -Wall -Wno-unused -funroll-loops                     -ffast-math -g  -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -L/usr/local/lib -fstack-protector-strong  -o gngeo fileio.o pd4990a.o video.o profiler.o main.o list.o memory.o resfile.o timer.o frame_skip.o messages.o screen.o emu.o neocrypt.o sound.o unzip.o debug.o state.o conf.o transpack.o menu.o roms.o mame_layer.o neoboot.o event.o stb_image.o stb_zlib.o  generator68k_interf.o   mamez80_interf.o    effect/libeffect.a blitter/libblitter.a ym2610/libym2610.a generator68k/libgenerator68k.a mamez80/libmamez80.a  -lz -lm  -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread
ld: error: duplicate symbol: neogeo_frame_counter
>>> defined at video.h:70 (./video.h:70)
>>>            fileio.o:(neogeo_frame_counter)
>>> defined at video.h:70 (./video.h:70)
>>>            pd4990a.o:(.bss+0x28)

ld: error: duplicate symbol: state_img
>>> defined at state.h:83 (./state.h:83)
>>>            fileio.o:(state_img)
>>> defined at state.h:83 (./state.h:83)
>>>            pd4990a.o:(.bss+0x30)

ld: error: duplicate symbol: memory
>>> defined at memory.h:117 (./memory.h:117)
>>>            fileio.o:(memory)
>>> defined at memory.h:117 (./memory.h:117)
>>>            pd4990a.o:(.bss+0x38)

ld: error: duplicate symbol: current_pal
>>> defined at memory.h:121 (./memory.h:121)
>>>            fileio.o:(current_pal)
>>> defined at memory.h:121 (./memory.h:121)
>>>            pd4990a.o:(.bss+0x4E258)

ld: error: duplicate symbol: current_pc_pal
>>> defined at memory.h:122 (./memory.h:122)
>>>            fileio.o:(current_pc_pal)
>>> defined at memory.h:122 (./memory.h:122)
>>>            pd4990a.o:(.bss+0x4E260)

ld: error: duplicate symbol: current_fix
>>> defined at memory.h:123 (./memory.h:123)
>>>            fileio.o:(current_fix)
>>> defined at memory.h:123 (./memory.h:123)
>>>            pd4990a.o:(.bss+0x4E268)

ld: error: duplicate symbol: fix_usage
>>> defined at memory.h:124 (./memory.h:124)
>>>            fileio.o:(fix_usage)
>>> defined at memory.h:124 (./memory.h:124)
>>>            pd4990a.o:(.bss+0x4E270)

ld: error: duplicate symbol: sram_lock
>>> defined at memory.h:127 (./memory.h:127)
>>>            fileio.o:(sram_lock)
>>> defined at memory.h:127 (./memory.h:127)
>>>            pd4990a.o:(.bss+0x4E278)

ld: error: duplicate symbol: sound_code
>>> defined at memory.h:132 (./memory.h:132)
>>>            fileio.o:(sound_code)
>>> defined at memory.h:132 (./memory.h:132)
>>>            pd4990a.o:(.bss+0x4E279)

ld: error: duplicate symbol: pending_command
>>> defined at memory.h:133 (./memory.h:133)
>>>            fileio.o:(pending_command)
>>> defined at memory.h:133 (./memory.h:133)
>>>            pd4990a.o:(.bss+0x4E27A)

ld: error: duplicate symbol: result_code
>>> defined at memory.h:134 (./memory.h:134)
>>>            fileio.o:(result_code)
>>> defined at memory.h:134 (./memory.h:134)
>>>            pd4990a.o:(.bss+0x4E27B)

ld: error: duplicate symbol: z80_bank
>>> defined at memory.h:140 (./memory.h:140)
>>>            fileio.o:(z80_bank)
>>> defined at memory.h:140 (./memory.h:140)
>>>            pd4990a.o:(.bss+0x4E27C)

ld: error: duplicate symbol: mem68k_fetch_bksw_byte
>>> defined at memory.h:266 (./memory.h:266)
>>>            fileio.o:(mem68k_fetch_bksw_byte)
>>> defined at memory.h:266 (./memory.h:266)
>>>            pd4990a.o:(.bss+0x4E288)

ld: error: duplicate symbol: mem68k_fetch_bksw_word
>>> defined at memory.h:267 (./memory.h:267)
>>>            fileio.o:(mem68k_fetch_bksw_word)
>>> defined at memory.h:267 (./memory.h:267)
>>>            pd4990a.o:(.bss+0x4E290)

ld: error: duplicate symbol: mem68k_fetch_bksw_long
>>> defined at memory.h:268 (./memory.h:268)
>>>            fileio.o:(mem68k_fetch_bksw_long)
>>> defined at memory.h:268 (./memory.h:268)
>>>            pd4990a.o:(.bss+0x4E298)

ld: error: duplicate symbol: mem68k_store_bksw_byte
>>> defined at memory.h:269 (./memory.h:269)
>>>            fileio.o:(mem68k_store_bksw_byte)
>>> defined at memory.h:269 (./memory.h:269)
>>>            pd4990a.o:(.bss+0x4E2A0)

ld: error: duplicate symbol: mem68k_store_bksw_word
>>> defined at memory.h:270 (./memory.h:270)
>>>            fileio.o:(mem68k_store_bksw_word)
>>> defined at memory.h:270 (./memory.h:270)
>>>            pd4990a.o:(.bss+0x4E2A8)

ld: error: duplicate symbol: mem68k_store_bksw_long
>>> defined at memory.h:271 (./memory.h:271)
>>>            fileio.o:(mem68k_store_bksw_long)
>>> defined at memory.h:271 (./memory.h:271)
>>>            pd4990a.o:(.bss+0x4E2B0)

ld: error: duplicate symbol: memory
>>> defined at memory.h:117 (./memory.h:117)
>>>            fileio.o:(memory)
>>> defined at memory.h:117 (./memory.h:117)
>>>            video.o:(.bss+0x0)

ld: error: duplicate symbol: buffer
>>> defined at screen.h:21 (./screen.h:21)
>>>            fileio.o:(buffer)
>>> defined at screen.h:21 (./screen.h:21)
>>>            video.o:(.bss+0x4E228)

ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [Makefile:499: gngeo] Error 1
gmake[4]: Leaving directory '/wrkdirs/usr/ports/emulators/gngeo/work/gngeo-gngeo_0.8/src'
gmake[3]: *** [Makefile:590: all-recursive] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/emulators/gngeo/work/gngeo-gngeo_0.8/src'
gmake[2]: *** [Makefile:478: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/emulators/gngeo/work/gngeo-gngeo_0.8'
gmake[1]: *** [Makefile:355: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/emulators/gngeo/work/gngeo-gngeo_0.8'
*** Error code 1

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