[package - 131i386-default][emulators/tuxnes] Failed for tuxnes-0.75_6 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 15 Oct 2022 20:59:29 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://beefy15.nyi.freebsd.org/data/131i386-default/9f2f3869d429/logs/tuxnes-0.75_6.log
Build URL:      http://beefy15.nyi.freebsd.org/build.html?mastername=131i386-default&build=9f2f3869d429
Log:

=>> Building emulators/tuxnes
build started at Sat Oct 15 20:59:16 UTC 2022
port directory: /usr/ports/emulators/tuxnes
package name: tuxnes-0.75_6
building for: FreeBSD 131i386-default-job-02 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 i386
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400063
Jail OSVERSION: 1301000
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1301000
UNAME_v=FreeBSD 13.1-RELEASE-p2
UNAME_r=13.1-RELEASE-p2
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/131i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/131i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=131i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/131i386-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---
---End OPTIONS List---

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

--CONFIGURE_ARGS--
--x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/tuxnes/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/tuxnes/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/tuxnes/work/.cache  HOME=/wrkdirs/usr/ports/emulators/tuxnes/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/tuxnes/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/tuxnes/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd
 _len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/tuxnes/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/tuxnes/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/tuxnes/work/.cache  HOME=/wrkdirs/usr/ports/emulators/tuxnes/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/tuxnes/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/tuxnes/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 ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/us
 r/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-no-integrated-as"  LDFLAGS=" -fstack-protector-strong -fuse-ld=bfd " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=13.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/tuxnes"  EXAMPLESDIR="share/examples/tuxnes"  DATADIR="share/tuxnes"  WWWDIR="www/tuxnes"  ETCDIR="etc/tuxnes"
--End PLIST_SUB--

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
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_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: i386-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: i386-unknown-freebsd13.1 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" "-m" "elf_i386_fbsd" "-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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: i386-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=13.1-RELEASE-p2
OSREL=13.1
OSVERSION=1301000
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)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  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 tuxnes 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 GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   tuxnes-0.75_6 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.4.pkg
[131i386-default-job-02] Installing pkg-1.18.4...
[131i386-default-job-02] Extracting pkg-1.18.4: .......... done
===>   tuxnes-0.75_6 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of tuxnes-0.75_6
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The tuxnes 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 GPLv2 accepted by the user
===> Fetching all distfiles required by tuxnes-0.75_6 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

The tuxnes 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:
<snip>
x86.S:75: Warning: no instruction mnemonic suffix given and no register operands; using default for `cmp'
cc -DHAVE_CONFIG_H -I. -I. -I.   -no-integrated-as  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe -Wall -I/usr/local/include  -I/usr/local/include -c dynrec.c
dynrec.c:66:11: warning: assigning to 'unsigned int *' from 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ptr = (int *) TRANS_TBL;
          ^ ~~~~~~~~~~~~~~~~~
dynrec.c:76:15: warning: assigning to 'unsigned int *' from 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
          ptr = (int *) (ptr[src] + (int) TRANS_TBL);
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dynrec.c:50:13: warning: variable 'dlen' set but not used [-Wunused-but-set-variable]
  int slen, dlen;
            ^
3 warnings generated.
cc -DHAVE_CONFIG_H -I. -I. -I.   -no-integrated-as  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe -Wall -I/usr/local/include  -I/usr/local/include -c emu.c
cc -DHAVE_CONFIG_H -I. -I. -I.   -no-integrated-as  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe -Wall -I/usr/local/include  -I/usr/local/include -c fb.c
cc -DHAVE_CONFIG_H -I. -I. -I.   -no-integrated-as  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe -Wall -I/usr/local/include  -I/usr/local/include -c gamegenie.c
gamegenie.c:86:13: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' [-Wimplicit-function-declaration]
  codelen = strlen (ggcode);
            ^
gamegenie.c:86:13: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
1 warning generated.
cc -DHAVE_CONFIG_H -I. -I. -I.   -no-integrated-as  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe -Wall -I/usr/local/include  -I/usr/local/include -c io.c
io.c:440:13: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned int)' [-Wimplicit-function-declaration]
            memcpy (spriteram, RAM + (val << 8), 256);
            ^
io.c:440:13: note: include the header <string.h> or explicitly provide a declaration for 'memcpy'
1 warning generated.
cc -DHAVE_CONFIG_H -I. -I. -I.   -no-integrated-as  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe -Wall -I/usr/local/include  -I/usr/local/include -c mapper.c
mapper.c:260:17: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned int)' [-Wimplicit-function-declaration]
                memcpy (VRAM, VROM_BASE + (mmc1reg[1] & 31) * 0x1000, 4096
                ^
mapper.c:260:17: note: include the header <string.h> or explicitly provide a declaration for 'memcpy'
mapper.c:2114:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
  strcpy (MapperName[0], "No mapper");
  ^
mapper.c:2114:3: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
2 warnings generated.
cc -DHAVE_CONFIG_H -I. -I. -I.   -no-integrated-as  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe -Wall -I/usr/local/include  -I/usr/local/include -c sound.c
sound.c:524:3: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned int)' [-Wimplicit-function-declaration]
  memset( audio_buffer, 0, samples_per_vsync );
  ^
sound.c:524:3: note: include the header <string.h> or explicitly provide a declaration for 'memset'
sound.c:571:23: warning: implicit conversion from 'unsigned long' to 'float' changes value from 1375731671 to 1375731712 [-Wimplicit-const-int-float-conversion]
            (MAGIC_squ* CYCLES_PER_SAMPLE * magic_adjust) /
             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ~
sound.c:575:24: warning: implicit conversion from 'unsigned long' to 'float' changes value from 687865815 to 687865792 [-Wimplicit-const-int-float-conversion]
            (MAGIC_tri * CYCLES_PER_SAMPLE * magic_adjust) /
             ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ~
sound.c:928:40: warning: implicit conversion from 'unsigned long long' to 'float' changes value from 11005853655 to 11005853696 [-Wimplicit-const-int-float-conversion]
                            (MAGIC_noi * CYCLES_PER_SAMPLE * magic_adjust) / 
                             ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ~
sound.c:953:40: warning: implicit conversion from 'unsigned long' to 'float' changes value from 85983191 to 85983192 [-Wimplicit-const-int-float-conversion]
                            (MAGIC_dmc * CYCLES_PER_SAMPLE * magic_adjust) /
                             ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ~
sound.c:1090:40: warning: result of comparison of constant 65536 with expression of type 'unsigned short' is always false [-Wtautological-constant-out-of-range-compare]
                if ( dmc_dta_ftch_addr == 0x10000 ) {
                     ~~~~~~~~~~~~~~~~~ ^  ~~~~~~~
6 warnings generated.
cc -DHAVE_CONFIG_H -I. -I. -I.   -no-integrated-as  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe -Wall -I/usr/local/include  -I/usr/local/include -c ggi.c
cc -DHAVE_CONFIG_H -I. -I. -I.   -no-integrated-as  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe -Wall -I/usr/local/include  -I/usr/local/include -c x11.c
x11.c:310:7: warning: unused variable 'status' [-Wunused-variable]
  int status;
      ^
x11.c:563:72: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
    geometry_mask |= XParseGeometry (renderer_config.geometry, &x, &y, &width, &height);
                                                                       ^~~~~~
/usr/local/include/X11/Xlib.h:2871:37: note: passing argument to parameter here
    unsigned int*       /* width_return */,
                                          ^
x11.c:563:80: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
    geometry_mask |= XParseGeometry (renderer_config.geometry, &x, &y, &width, &height);
                                                                               ^~~~~~~
/usr/local/include/X11/Xlib.h:2873:1: note: passing argument to parameter here
);
^
x11.c:585:11: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                &x, &y, &width, &height, &border, &depth);
                        ^~~~~~
/usr/local/include/X11/Xlib.h:2636:37: note: passing argument to parameter here
    unsigned int*       /* width_return */,
                                          ^
x11.c:585:19: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                &x, &y, &width, &height, &border, &depth);
                                ^~~~~~~
/usr/local/include/X11/Xlib.h:2637:38: note: passing argument to parameter here
    unsigned int*       /* height_return */,
                                           ^
x11.c:585:28: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                &x, &y, &width, &height, &border, &depth);
                                         ^~~~~~~
/usr/local/include/X11/Xlib.h:2638:44: note: passing argument to parameter here
    unsigned int*       /* border_width_return */,
                                                 ^
x11.c:701:65: warning: passing 'unsigned char [65536]' 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]
  tilebitimage = XCreateImage (display, visual, 1, XYBitmap, 0, tilebitdata,
                                                                ^~~~~~~~~~~
/usr/local/include/X11/Xlib.h:1447:22: note: passing argument to parameter here
    char*               /* data */,
                                  ^
x11.c:703:66: warning: passing 'unsigned char [65536]' 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]
  tilebitimage2 = XCreateImage (display, visual, 1, XYBitmap, 0, tilebitdata2,
                                                                 ^~~~~~~~~~~~
/usr/local/include/X11/Xlib.h:1447:22: note: passing argument to parameter here
    char*               /* data */,
                                  ^
x11.c:395:7: warning: variable 'geometry_mask' set but not used [-Wunused-but-set-variable]
  int geometry_mask;
      ^
x11.c:927:19: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
  KeySym keysym = XKeycodeToKeysym (display, ((XKeyEvent *) & ev)->keycode, 0);
                  ^
/usr/local/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here
_X_DEPRECATED
^
/usr/local/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED'
# define _X_DEPRECATED  __attribute__((deprecated))
                                       ^
x11.c:2246:14: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  static int count = 0;
             ^
cc -DHAVE_CONFIG_H -I. -I. -I.   -no-integrated-as  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe -Wall -I/usr/local/include  -I/usr/local/include -c w.c
cc -DHAVE_CONFIG_H -I. -I. -I.   -no-integrated-as  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe -Wall -I/usr/local/include  -I/usr/local/include -c renderer.c
cc -DHAVE_CONFIG_H -I. -I. -I.   -no-integrated-as  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe -Wall -I/usr/local/include  -I/usr/local/include -c ntsc_pal.c
cc -DHAVE_CONFIG_H -I. -I. -I.   -no-integrated-as  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe -Wall -I/usr/local/include  -I/usr/local/include -c unzip.c
unzip.c:452:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
        fclose(s->file);
        ^
unzip.c:449:5: note: previous statement is here
    if (s->pfile_in_zip_read!=NULL)
    ^
unzip.c:776:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
        s=(unz_s*)file;
        ^
unzip.c:773:5: note: previous statement is here
    if (strlen(szFileName)>=UNZ_MAXFILENAMEINZIP)
    ^
unzip.c:857:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
        if (unzlocal_getLong(s->file,&uData) != UNZ_OK) /* date/time */
        ^
unzip.c:853:5: note: previous statement is here
    if ((err==UNZ_OK) && (s->cur_file_info.compression_method!=0) &&
    ^
unzip.c:921:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
        if (unzlocal_CheckCurrentFileCoherencyHeader(s,&iSizeVar,
        ^
unzip.c:918:5: note: previous statement is here
    if (s->pfile_in_zip_read != NULL)
    ^
unzip.c:1020:43: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
        if ((pfile_in_zip_read_info->read_buffer == NULL))
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
unzip.c:1020:43: note: remove extraneous parentheses around the comparison to silence this warning
        if ((pfile_in_zip_read_info->read_buffer == NULL))
            ~                                    ^      ~
unzip.c:1020:43: note: use '=' to turn this equality comparison into an assignment
        if ((pfile_in_zip_read_info->read_buffer == NULL))
                                                 ^~
                                                 =
11 warnings generated.
cc -DHAVE_CONFIG_H -I. -I. -I.   -no-integrated-as  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe -Wall -I/usr/local/include  -I/usr/local/include -c ziploader.c
ziploader.c:59:7: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  ptr = ROM;
      ^ ~~~
ziploader.c:33:7: warning: variable 'repeat' set but not used [-Wunused-but-set-variable]
  int repeat;
      ^
2 warnings generated.
cc -DHAVE_CONFIG_H -I. -I. -I.   -no-integrated-as  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe -Wall -I/usr/local/include  -I/usr/local/include -c comptbl.c
comptbl.c:63:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
    exit (1);
    ^
comptbl.c:63:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
5 warnings generated.
1 warning generated.
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe -Wall -I/usr/local/include  -I/usr/local/include -fstack-protector-strong -fuse-ld=bfd  -o comptbl  comptbl.o  -lm -lz -lXext -lXpm   -lSM -lICE -lX11   -L/usr/local/lib
./comptbl
ld -r -b binary -r -defsym TRANS_TBL=_binary_compdata_start compdata -o table.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe -Wall -I/usr/local/include  -I/usr/local/include -fstack-protector-strong -fuse-ld=bfd  -o tuxnes  x86.o d6502.o dynrec.o emu.o fb.o gamegenie.o io.o mapper.o sound.o ggi.o x11.o w.o renderer.o ntsc_pal.o unzip.o ziploader.o table.o -lm -lz -lXext -lXpm   -lSM -lICE -lX11   -L/usr/local/lib
/usr/local/bin/ld.bfd: dynrec.o:(.bss+0x10): multiple definition of `mask'; d6502.o:(.bss+0x0): first defined here
/usr/local/bin/ld.bfd: emu.o:(.bss+0x458): multiple definition of `mask'; d6502.o:(.bss+0x0): first defined here
/usr/local/bin/ld.bfd: fb.o:(.bss+0x104): multiple definition of `mask'; d6502.o:(.bss+0x0): first defined here
/usr/local/bin/ld.bfd: io.o:(.bss+0x45f8): multiple definition of `mask'; d6502.o:(.bss+0x0): first defined here
/usr/local/bin/ld.bfd: mapper.o:(.bss+0x0): multiple definition of `drawimage'; fb.o:(.bss+0xf8): first defined here
/usr/local/bin/ld.bfd: mapper.o:(.bss+0x864): multiple definition of `MapperName'; emu.o:(.bss+0x478): first defined here
/usr/local/bin/ld.bfd: mapper.o:(.bss+0x2664): multiple definition of `mask'; d6502.o:(.bss+0x0): first defined here
/usr/local/bin/ld.bfd: sound.o:(.bss+0x4): multiple definition of `mask'; d6502.o:(.bss+0x0): first defined here
/usr/local/bin/ld.bfd: ggi.o:(.bss+0x0): multiple definition of `mask'; d6502.o:(.bss+0x0): first defined here
/usr/local/bin/ld.bfd: x11.o:(.bss+0x223c4): multiple definition of `mask'; d6502.o:(.bss+0x0): first defined here
/usr/local/bin/ld.bfd: w.o:(.bss+0x0): multiple definition of `mask'; d6502.o:(.bss+0x0): first defined here
/usr/local/bin/ld.bfd: renderer.o:(.bss+0x1c): multiple definition of `mask'; d6502.o:(.bss+0x0): first defined here
/usr/local/bin/ld.bfd: ntsc_pal.o:(.bss+0x0): multiple definition of `mask'; d6502.o:(.bss+0x0): first defined here
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:226: tuxnes] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/emulators/tuxnes/work/tuxnes-0.75'
===> 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/tuxnes