[package - head-i386-default][emulators/mame] Failed for mame-0.166_5 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Tue Sep 26 16:42:24 UTC 2017
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 at FreeBSD.org
Last committer: gerald at FreeBSD.org
Ident: $FreeBSD: head/emulators/mame/Makefile 449591 2017-09-10 20:55:38Z gerald $
Log URL: http://beefy11.nyi.freebsd.org/data/head-i386-default/p450640_s323998/logs/mame-0.166_5.log
Build URL: http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p450640_s323998
Log:
====>> Building emulators/mame
build started at Tue Sep 26 16:39:02 UTC 2017
port directory: /usr/ports/emulators/mame
building for: FreeBSD head-i386-default-job-18 12.0-CURRENT FreeBSD 12.0-CURRENT 1200046 i386
maintained by: ports at FreeBSD.org
Makefile ident: $FreeBSD: head/emulators/mame/Makefile 449591 2017-09-10 20:55:38Z gerald $
Poudriere version: 3.1.19-63-g681eaae7
Host OSVERSION: 1200040
Jail OSVERSION: 1200046
Job Id: 18
!!! Jail is newer than host. (Jail: 1200046, Host: 1200040) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1200046
UNAME_v=FreeBSD 12.0-CURRENT 1200046
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=mame-0.166_5
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.19-63-g681eaae7
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
---End Poudriere Port Flags/Env---
---Begin OPTIONS List---
===> The following configuration options are available for mame-0.166_5:
DEBUG=off: Build with debugging support
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
---End OPTIONS List---
--CONFIGURE_ARGS--
--with-qt-includes=/usr/local/include/qt4 --with-qt-libraries=/usr/local/lib/qt4 --with-extra-includes=/usr/local/include --with-extra-libs=/usr/local/lib
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
QT_SELECT=qt4 SDL2_CONFIG=/usr/local/bin/sdl2-config MAKE=gmake PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/mame/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/mame/work HOME=/wrkdirs/usr/ports/emulators/mame/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh QTDIR="/usr/local/lib/qt4" QMAKE="/usr/local/lib/qt4/bin/qmake" MOC="/usr/local/lib/qt4/bin/moc" RCC="/usr/local/lib/qt4/bin/rcc" UIC="/usr/local/lib/qt4/bin/uic" QMAKESPEC="/usr/local/share/qt4/mkspecs/freebsd-$(ccver="$(c++ --version)"; case "$ccver" in *clang*) echo clang ;; *) echo g++ ;; esac)"
--End CONFIGURE_ENV--
--MAKE_ENV--
NOWERROR=1 USE_NETWORK=1 LD="c++" PYTHON="/usr/local/bin/python2.7" SDL_LIBVER="sdl2" OPT_FLAGS="-O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing " GCC_LDFLAGS=" -fstack-protector" TARGET="mame" SUBTARGET="mame" FULLNAME="mame" SDL_NETWORK="pcap" QT_SELECT=qt4 SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/mame/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/mame/work HOME=/wrkdirs/usr/ports/emulators/mame/work TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="ins
tall -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444"
--End MAKE_ENV--
--PLIST_SUB--
EMULATOR=mame
QT_BINDIR="lib/qt4/bin"
QT_INCDIR="include/qt4"
QT_LIBDIR="lib/qt4"
QT_ARCHDIR="lib/qt4"
QT_PLUGINDIR="lib/qt4/plugins"
QT_LIBEXECDIR="libexec/qt4"
QT_IMPORTDIR="lib/qt4/imports"
QT_QMLDIR="lib/qt4/qml"
QT_DATADIR="share/qt4"
QT_DOCDIR="share/doc/qt4"
QT_L10NDIR="share/qt4/translations"
QT_EXAMPLEDIR="share/examples/qt4"
QT_TESTDIR="share/qt4/tests"
QT_MKSPECDIR="share/qt4/mkspecs"
QT_QTCHOOSERDIR="etc/xdg/qtchooser"
PYTHON_INCLUDEDIR=include/python2.7
PYTHON_LIBDIR=lib/python2.7
PYTHON_PLATFORM=freebsd12
PYTHON_PYOEXTENSION=pyo
PYTHON_SITELIBDIR=lib/python2.7/site-packages
PYTHON_SUFFIX=27
PYTHON_VER=2.7
PYTHON_VERSION=python2.7
PYTHON2=""
PYTHON3="@comment
"
OSREL=12.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/mame"
EXAMPLESDIR="share/examples/mame"
DATADIR="share/mame"
WWWDIR="www/mame"
ETCDIR="etc/mame"
--End PLIST_SUB--
--SUB_LIST--
MTARGET=mame
MSUBTARGET=mame
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/mame
DOCSDIR=/usr/local/share/doc/mame
EXAMPLESDIR=/usr/local/share/examples/mame
WWWDIR=/usr/local/www/mame
ETCDIR=/usr/local/etc/mame
--End SUB_LIST--
---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
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 ####
ARCH=i386
CONFIGURE_MAX_CMD_LEN=262144
OPSYS=FreeBSD
OSREL=12.0
OSVERSION=1200046
PYTHONBASE=/usr/local
UID=0
_JAVA_OS_LIST_REGEXP=native|linux
_JAVA_VENDOR_LIST_REGEXP=openjdk|oracle|sun
_JAVA_VERSION_LIST_REGEXP=1.6|1.7|1.8|1.6\+|1.7\+|1.8\+
_OSRELEASE=12.0-CURRENT
#### Misc Poudriere ####
GID=0
DISABLE_MAKE_JOBS=poudriere
---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 mame 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
===========================================================================
=======================<phase: pkg-depends >============================
===> mame-0.166_5 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.10.1.txz
[head-i386-default-job-18] Installing pkg-1.10.1...
[head-i386-default-job-18] Extracting pkg-1.10.1: .......... done
<snip>
ioport_value read_safe(ioport_value defval) { return (this == NULL) ? defval : read(); }
^~~~ ~~~~
./../../../../src/emu/ioport.h:1209:68: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
void write_safe(ioport_value value, ioport_value mask = ~0) { if (this != NULL) write(value, mask); }
^~~~ ~~~~
In file included from ../../../../../src/osd/modules/sound/coreaudio_sound.c:11:
In file included from ../../../../../src/osd/modules/lib/osdobj_common.h:20:
In file included from ../../../../../src/osd/modules/debugger/debug_module.h:13:
In file included from ../../../../../src/emu/emu.h:62:
./../../../../src/emu/device.h:154:58: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
std::string siblingtag(const char *tag) const { return (this != NULL && m_owner != NULL) ? m_owner->subtag(tag) : std::string(tag); }
^~~~ ~~~~
./../../../../src/emu/device.h:588:6: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
if (this == NULL)
^~~~ ~~~~
./../../../../src/emu/device.h:609:6: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
if (this == NULL)
^~~~ ~~~~
In file included from ../../../../../src/osd/modules/sound/coreaudio_sound.c:11:
In file included from ../../../../../src/osd/modules/lib/osdobj_common.h:20:
In file included from ../../../../../src/osd/modules/debugger/debug_module.h:13:
In file included from ../../../../../src/emu/emu.h:109:
./../../../../src/emu/screen.h:209:42: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
attotime frame_period() const { return (this == NULL) ? DEFAULT_FRAME_PERIOD : attotime(0, m_frame_period); };
^~~~ ~~~~
10 warnings generated.
Compiling src/osd/modules/sound/sdl_sound.c...
In file included from ../../../../../src/osd/modules/sound/sdl_sound.c:20:
In file included from ../../../../../src/emu/emu.h:40:
./../../../../src/emu/memory.h:648:26: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
void *ptr() const { if (this == NULL) return NULL; return m_ptr; }
^~~~ ~~~~
./../../../../src/emu/memory.h:687:26: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
UINT8 *base() { return (this != NULL) ? &m_buffer[0] : NULL; }
^~~~ ~~~~
./../../../../src/emu/memory.h:688:25: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
UINT8 *end() { return (this != NULL) ? base() + m_buffer.size() : NULL; }
^~~~ ~~~~
./../../../../src/emu/memory.h:689:33: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
UINT32 bytes() const { return (this != NULL) ? m_buffer.size() : 0; }
^~~~ ~~~~
In file included from ../../../../../src/osd/modules/sound/sdl_sound.c:20:
In file included from ../../../../../src/emu/emu.h:55:
./../../../../src/emu/ioport.h:1207:56: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
ioport_value read_safe(ioport_value defval) { return (this == NULL) ? defval : read(); }
^~~~ ~~~~
./../../../../src/emu/ioport.h:1209:68: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
void write_safe(ioport_value value, ioport_value mask = ~0) { if (this != NULL) write(value, mask); }
^~~~ ~~~~
In file included from ../../../../../src/osd/modules/sound/sdl_sound.c:20:
In file included from ../../../../../src/emu/emu.h:62:
./../../../../src/emu/device.h:154:58: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
std::string siblingtag(const char *tag) const { return (this != NULL && m_owner != NULL) ? m_owner->subtag(tag) : std::string(tag); }
^~~~ ~~~~
./../../../../src/emu/device.h:588:6: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
if (this == NULL)
^~~~ ~~~~
./../../../../src/emu/device.h:609:6: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
if (this == NULL)
^~~~ ~~~~
In file included from ../../../../../src/osd/modules/sound/sdl_sound.c:20:
In file included from ../../../../../src/emu/emu.h:109:
./../../../../src/emu/screen.h:209:42: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
attotime frame_period() const { return (this == NULL) ? DEFAULT_FRAME_PERIOD : attotime(0, m_frame_period); };
^~~~ ~~~~
10 warnings generated.
Compiling src/osd/modules/sound/none.c...
Compiling src/osd/modules/render/drawogl.c...
In file included from ../../../../../src/osd/modules/render/drawogl.c:21:
In file included from ../../../../../src/emu/emu.h:40:
./../../../../src/emu/memory.h:648:26: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
void *ptr() const { if (this == NULL) return NULL; return m_ptr; }
^~~~ ~~~~
./../../../../src/emu/memory.h:687:26: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
UINT8 *base() { return (this != NULL) ? &m_buffer[0] : NULL; }
^~~~ ~~~~
./../../../../src/emu/memory.h:688:25: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
UINT8 *end() { return (this != NULL) ? base() + m_buffer.size() : NULL; }
^~~~ ~~~~
./../../../../src/emu/memory.h:689:33: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
UINT32 bytes() const { return (this != NULL) ? m_buffer.size() : 0; }
^~~~ ~~~~
In file included from ../../../../../src/osd/modules/render/drawogl.c:21:
In file included from ../../../../../src/emu/emu.h:55:
./../../../../src/emu/ioport.h:1207:56: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
ioport_value read_safe(ioport_value defval) { return (this == NULL) ? defval : read(); }
^~~~ ~~~~
./../../../../src/emu/ioport.h:1209:68: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
void write_safe(ioport_value value, ioport_value mask = ~0) { if (this != NULL) write(value, mask); }
^~~~ ~~~~
In file included from ../../../../../src/osd/modules/render/drawogl.c:21:
In file included from ../../../../../src/emu/emu.h:62:
./../../../../src/emu/device.h:154:58: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
std::string siblingtag(const char *tag) const { return (this != NULL && m_owner != NULL) ? m_owner->subtag(tag) : std::string(tag); }
^~~~ ~~~~
./../../../../src/emu/device.h:588:6: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
if (this == NULL)
^~~~ ~~~~
./../../../../src/emu/device.h:609:6: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
if (this == NULL)
^~~~ ~~~~
In file included from ../../../../../src/osd/modules/render/drawogl.c:21:
In file included from ../../../../../src/emu/emu.h:109:
./../../../../src/emu/screen.h:209:42: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
attotime frame_period() const { return (this == NULL) ? DEFAULT_FRAME_PERIOD : attotime(0, m_frame_period); };
^~~~ ~~~~
10 warnings generated.
Compiling src/osd/modules/opengl/gl_shader_tool.c...
In file included from ../../../../../src/osd/modules/opengl/gl_shader_tool.c:18:
In file included from ../../../../../src/emu/emu.h:40:
./../../../../src/emu/memory.h:648:26: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
void *ptr() const { if (this == NULL) return NULL; return m_ptr; }
^~~~ ~~~~
./../../../../src/emu/memory.h:687:26: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
UINT8 *base() { return (this != NULL) ? &m_buffer[0] : NULL; }
^~~~ ~~~~
./../../../../src/emu/memory.h:688:25: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
UINT8 *end() { return (this != NULL) ? base() + m_buffer.size() : NULL; }
^~~~ ~~~~
./../../../../src/emu/memory.h:689:33: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
UINT32 bytes() const { return (this != NULL) ? m_buffer.size() : 0; }
^~~~ ~~~~
In file included from ../../../../../src/osd/modules/opengl/gl_shader_tool.c:18:
In file included from ../../../../../src/emu/emu.h:55:
./../../../../src/emu/ioport.h:1207:56: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
ioport_value read_safe(ioport_value defval) { return (this == NULL) ? defval : read(); }
^~~~ ~~~~
./../../../../src/emu/ioport.h:1209:68: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
void write_safe(ioport_value value, ioport_value mask = ~0) { if (this != NULL) write(value, mask); }
^~~~ ~~~~
In file included from ../../../../../src/osd/modules/opengl/gl_shader_tool.c:18:
In file included from ../../../../../src/emu/emu.h:62:
./../../../../src/emu/device.h:154:58: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
std::string siblingtag(const char *tag) const { return (this != NULL && m_owner != NULL) ? m_owner->subtag(tag) : std::string(tag); }
^~~~ ~~~~
./../../../../src/emu/device.h:588:6: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
if (this == NULL)
^~~~ ~~~~
./../../../../src/emu/device.h:609:6: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
if (this == NULL)
^~~~ ~~~~
In file included from ../../../../../src/osd/modules/opengl/gl_shader_tool.c:18:
In file included from ../../../../../src/emu/emu.h:109:
./../../../../src/emu/screen.h:209:42: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
attotime frame_period() const { return (this == NULL) ? DEFAULT_FRAME_PERIOD : attotime(0, m_frame_period); };
^~~~ ~~~~
10 warnings generated.
Compiling src/osd/modules/opengl/gl_shader_mgr.c...
Compiling src/osd/modules/render/drawbgfx.c...
In file included from ../../../../../src/osd/modules/render/drawbgfx.c:28:
In file included from ../../../../../src/emu/emu.h:40:
./../../../../src/emu/memory.h:648:26: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
void *ptr() const { if (this == NULL) return NULL; return m_ptr; }
^~~~ ~~~~
./../../../../src/emu/memory.h:687:26: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
UINT8 *base() { return (this != NULL) ? &m_buffer[0] : NULL; }
^~~~ ~~~~
./../../../../src/emu/memory.h:688:25: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
UINT8 *end() { return (this != NULL) ? base() + m_buffer.size() : NULL; }
^~~~ ~~~~
./../../../../src/emu/memory.h:689:33: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
UINT32 bytes() const { return (this != NULL) ? m_buffer.size() : 0; }
^~~~ ~~~~
In file included from ../../../../../src/osd/modules/render/drawbgfx.c:28:
In file included from ../../../../../src/emu/emu.h:55:
./../../../../src/emu/ioport.h:1207:56: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
ioport_value read_safe(ioport_value defval) { return (this == NULL) ? defval : read(); }
^~~~ ~~~~
./../../../../src/emu/ioport.h:1209:68: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
void write_safe(ioport_value value, ioport_value mask = ~0) { if (this != NULL) write(value, mask); }
^~~~ ~~~~
In file included from ../../../../../src/osd/modules/render/drawbgfx.c:28:
In file included from ../../../../../src/emu/emu.h:62:
./../../../../src/emu/device.h:154:58: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
std::string siblingtag(const char *tag) const { return (this != NULL && m_owner != NULL) ? m_owner->subtag(tag) : std::string(tag); }
^~~~ ~~~~
./../../../../src/emu/device.h:588:6: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
if (this == NULL)
^~~~ ~~~~
./../../../../src/emu/device.h:609:6: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
if (this == NULL)
^~~~ ~~~~
In file included from ../../../../../src/osd/modules/render/drawbgfx.c:28:
In file included from ../../../../../src/emu/emu.h:109:
./../../../../src/emu/screen.h:209:42: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
attotime frame_period() const { return (this == NULL) ? DEFAULT_FRAME_PERIOD : attotime(0, m_frame_period); };
^~~~ ~~~~
./../../../../src/osd/modules/render/drawbgfx.c:174:8: error: no member named 'sdlSetWindow' in namespace 'bgfx'
bgfx::sdlSetWindow(window().sdl_window());
~~~~~~^
10 warnings and 1 error generated.
gmake[3]: *** [osd_sdl.make:649: ../../../../freebsd/obj/x32/Release/osd_sdl/src/osd/modules/render/drawbgfx.o] Error 1
gmake[2]: *** [Makefile:16: osd_sdl] Error 2
gmake[2]: Leaving directory '/wrkdirs/usr/ports/emulators/mame/work/mame-mame0166/build/projects/sdl/mame/gmake-freebsd'
gmake[1]: *** [makefile:1025: freebsd_x86] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/emulators/mame/work/mame-mame0166'
*** Error code 1
Stop.
make: stopped in /usr/ports/emulators/mame
More information about the freebsd-pkg-fallout
mailing list