[package - head-i386-default][games/bloodfrontier] Failed for bloodfrontier-b2_11 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Sun Jan 21 05:38:53 UTC 2018


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:     amdmi3 at FreeBSD.org
Last committer: olgeni at FreeBSD.org
Ident:          $FreeBSD: head/games/bloodfrontier/Makefile 453381 2017-11-02 21:41:47Z olgeni $
Log URL:        http://beefy11.nyi.freebsd.org/data/head-i386-default/p459491_s328183/logs/bloodfrontier-b2_11.log
Build URL:      http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p459491_s328183
Log:

=>> Building games/bloodfrontier
build started at Sun Jan 21 05:37:10 UTC 2018
port directory: /usr/ports/games/bloodfrontier
package name: bloodfrontier-b2_11
building for: FreeBSD head-i386-default-job-14 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 i386
maintained by: amdmi3 at FreeBSD.org
Makefile ident:      $FreeBSD: head/games/bloodfrontier/Makefile 453381 2017-11-02 21:41:47Z olgeni $
Poudriere version: 3.2.4
Host OSVERSION: 1200054
Jail OSVERSION: 1200056
Job Id: 14




!!! Jail is newer than host. (Jail: 1200056, Host: 1200054) !!!
!!! 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=1200056
UNAME_v=FreeBSD 12.0-CURRENT 1200056
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
OLDPWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
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
P_PYTHON_MAJOR_VER=2
POUDRIERE_VERSION=3.2.4
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=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for bloodfrontier-b2_11:
     OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
====> Options available for the multi COMPONENTS: you have to choose at least one of them
     CLIENT=on: Build client
     DEDICATED=on: Build dedicated server
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
amdmi3 at 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--
SDL_CONFIG=/usr/local/bin/sdl-config MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/bloodfrontier/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/bloodfrontier/work  HOME=/wrkdirs/usr/ports/games/bloodfrontier/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/bloodfrontier/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/bloodfrontier/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/bloodfrontier/work  HOME=/wrkdirs/usr/ports/games/bloodfrontier/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/bloodfrontier/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -O3 -fomit-frame-pointer -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -O3 -fomit-frame-pointer -fstack-protector -fno-strict-aliasing  -O3 -fomit-frame-pointer"  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="" PORTEXAMPLES="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/bloodfrontier"  EXAMPLESDIR="share/examples/bloodfrontier"  DATADIR="share/bloodfrontier"  WWWDIR="www/bloodfrontier"  ETCDIR="etc/bloodfrontier"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/bloodfrontier DOCSDIR=/usr/local/share/doc/bloodfrontier EXAMPLESDIR=/usr/local/share/examples/bloodfrontier  WWWDIR=/usr/local/www/bloodfrontier ETCDIR=/usr/local/etc/bloodfrontier
--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 ####
ARCH=i386
CONFIGURE_MAX_CMD_LEN=262144
OPSYS=FreeBSD
OSREL=12.0
OSVERSION=1200056
PYTHONBASE=/usr/local
UID=0
_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   >============================
===>  License ZLIB accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   bloodfrontier-b2_11 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[head-i386-default-job-14] Installing pkg-1.10.4...
[head-i386-default-job-14] Extracting pkg-1.10.4: .......... done
===>   bloodfrontier-b2_11 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of bloodfrontier-b2_11
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License ZLIB accepted by the user
===> Fetching all distfiles required by bloodfrontier-b2_11 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License ZLIB accepted by the user
===> Fetching all distfiles required by bloodfrontier-b2_11 for building
=> SHA256 Checksum OK for bloodfrontier-B2-linux.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License ZLIB accepted by the user
===> Fetching all distfiles required by bloodfrontier-b2_11 for building
===>  Extracting for bloodfrontier-b2_11
=> SHA256 Checksum OK for bloodfrontier-B2-linux.tar.bz2.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for bloodfrontier-b2_11
===>  Applying FreeBSD patches for bloodfrontier-b2_11
===========================================================================
=======================<phase: build-depends  >============================
===>   bloodfrontier-b2_11 depends on file: /usr/local/bin/sdl-config - not found
===>   Installing existing package /packages/All/sdl-1.2.15_10,2.txz
[head-i386-default-job-14] Installing sdl-1.2.15_10,2...
[head-i386-default-job-14] `-- Installing aalib-1.4.r5_11...
[head-i386-default-job-14] |   `-- Installing indexinfo-0.3.1...
[head-i386-default-job-14] |   `-- Extracting indexinfo-0.3.1: .... done
[head-i386-default-job-14] `-- Extracting aalib-1.4.r5_11: .......... done
[head-i386-default-job-14] `-- Installing libGLU-9.0.0_3...
[head-i386-default-job-14] |   `-- Installing mesa-libs-17.3.1...
[head-i386-default-job-14] |   | `-- Installing expat-2.2.5...
[head-i386-default-job-14] |   | `-- Extracting expat-2.2.5: .......... done
[head-i386-default-job-14] |   | `-- Installing libX11-1.6.5,1...
[head-i386-default-job-14] |   |   `-- Installing kbproto-1.0.7...
[head-i386-default-job-14] |   |   `-- Extracting kbproto-1.0.7: .......... done
[head-i386-default-job-14] |   |   `-- Installing libXau-1.0.8_3...
[head-i386-default-job-14] |   |   | `-- Installing xproto-7.0.31...
[head-i386-default-job-14] |   |   | `-- Extracting xproto-7.0.31: .......... done
[head-i386-default-job-14] |   |   `-- Extracting libXau-1.0.8_3: .......... done
[head-i386-default-job-14] |   |   `-- Installing libXdmcp-1.1.2...
[head-i386-default-job-14] |   |   `-- Extracting libXdmcp-1.1.2: ......... done
<snip>
checking for ranlib... ranlib
checking for gethostbyaddr_r... yes
checking for gethostbyname_r... yes
checking for poll... (cached) yes
checking for fcntl... (cached) yes
checking for inet_pton... yes
checking for inet_ntop... (cached) yes
checking for struct msghdr.msg_flags... yes
checking for socklen_t... (cached) yes
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking whether to use CRC32... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/enet/Makefile
config.status: executing depfiles commands
===========================================================================
=======================<phase: build          >============================
===>  Building for bloodfrontier-b2_11
gmake[1]: Entering directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src'
gmake	-C enet/ all
gmake[2]: Entering directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet'
Making all in include
gmake[3]: Entering directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet/include'
Making all in enet
gmake[4]: Entering directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet/include/enet'
gmake[4]: Nothing to be done for 'all'.
gmake[4]: Leaving directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet/include/enet'
gmake[4]: Entering directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet/include'
gmake[4]: Nothing to be done for 'all-am'.
gmake[4]: Leaving directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet/include'
gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet/include'
gmake[3]: Entering directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet'
cc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"9-15-2008\" -DPACKAGE_STRING=\"libenet\ 9-15-2008\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"9-15-2008\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude    -O2 -pipe  -O3 -fomit-frame-pointer -fstack-protector -fno-strict-aliasing -MT host.o -MD -MP -MF .deps/host.Tpo -c -o host.o host.c
mv -f .deps/host.Tpo .deps/host.Po
cc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"9-15-2008\" -DPACKAGE_STRING=\"libenet\ 9-15-2008\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"9-15-2008\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude    -O2 -pipe  -O3 -fomit-frame-pointer -fstack-protector -fno-strict-aliasing -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c
mv -f .deps/list.Tpo .deps/list.Po
cc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"9-15-2008\" -DPACKAGE_STRING=\"libenet\ 9-15-2008\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"9-15-2008\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude    -O2 -pipe  -O3 -fomit-frame-pointer -fstack-protector -fno-strict-aliasing -MT callbacks.o -MD -MP -MF .deps/callbacks.Tpo -c -o callbacks.o callbacks.c
mv -f .deps/callbacks.Tpo .deps/callbacks.Po
cc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"9-15-2008\" -DPACKAGE_STRING=\"libenet\ 9-15-2008\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"9-15-2008\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude    -O2 -pipe  -O3 -fomit-frame-pointer -fstack-protector -fno-strict-aliasing -MT packet.o -MD -MP -MF .deps/packet.Tpo -c -o packet.o packet.c
mv -f .deps/packet.Tpo .deps/packet.Po
cc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"9-15-2008\" -DPACKAGE_STRING=\"libenet\ 9-15-2008\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"9-15-2008\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude    -O2 -pipe  -O3 -fomit-frame-pointer -fstack-protector -fno-strict-aliasing -MT peer.o -MD -MP -MF .deps/peer.Tpo -c -o peer.o peer.c
mv -f .deps/peer.Tpo .deps/peer.Po
cc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"9-15-2008\" -DPACKAGE_STRING=\"libenet\ 9-15-2008\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"9-15-2008\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude    -O2 -pipe  -O3 -fomit-frame-pointer -fstack-protector -fno-strict-aliasing -MT protocol.o -MD -MP -MF .deps/protocol.Tpo -c -o protocol.o protocol.c
protocol.c:47:16: warning: 7 enumeration values not handled in switch: 'ENET_PEER_STATE_DISCONNECTED', 'ENET_PEER_STATE_CONNECTING', 'ENET_PEER_STATE_ACKNOWLEDGING_CONNECT'... [-Wswitch]
       switch (currentPeer -> state)
               ^
protocol.c:712:13: warning: 7 enumeration values not handled in switch: 'ENET_PEER_STATE_DISCONNECTED', 'ENET_PEER_STATE_CONNECTING', 'ENET_PEER_STATE_CONNECTION_PENDING'... [-Wswitch]
    switch (peer -> state)
            ^
2 warnings generated.
mv -f .deps/protocol.Tpo .deps/protocol.Po
cc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"9-15-2008\" -DPACKAGE_STRING=\"libenet\ 9-15-2008\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"9-15-2008\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude    -O2 -pipe  -O3 -fomit-frame-pointer -fstack-protector -fno-strict-aliasing -MT unix.o -MD -MP -MF .deps/unix.Tpo -c -o unix.o unix.c
mv -f .deps/unix.Tpo .deps/unix.Po
cc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"9-15-2008\" -DPACKAGE_STRING=\"libenet\ 9-15-2008\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"9-15-2008\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude    -O2 -pipe  -O3 -fomit-frame-pointer -fstack-protector -fno-strict-aliasing -MT win32.o -MD -MP -MF .deps/win32.Tpo -c -o win32.o win32.c
mv -f .deps/win32.Tpo .deps/win32.Po
rm -f libenet.a
ar cru libenet.a host.o list.o callbacks.o packet.o peer.o protocol.o unix.o win32.o 
ranlib libenet.a
gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet'
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet'
c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector -fno-strict-aliasing  -O3 -fomit-frame-pointer -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags`   -c -o shared/crypto.o shared/crypto.cpp
In file included from shared/crypto.cpp:1:
In file included from shared/cube.h:80:
shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
inline char *expandstr(char *o, const char *n, char *delimit = " ")
                                                               ^
In file included from shared/crypto.cpp:1:
In file included from shared/cube.h:81:
shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
    ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; }        // force vtable copy, ugh
                                       ~~~~~~ ^
shared/command.h:88:47: note: explicitly cast the pointer to silence this warning
    ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; }        // force vtable copy, ugh
                                              ^
                                              (void*)
In file included from shared/crypto.cpp:1:
In file included from shared/cube.h:85:
shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs]
        defvformatstring(str, faded, fmt);
                              ^
shared/iengine.h:453:75: note: parameter of type 'bool' is declared here
    int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...)
                                                                          ^
3 warnings generated.
c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector -fno-strict-aliasing  -O3 -fomit-frame-pointer -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags`   -c -o shared/geom.o shared/geom.cpp
In file included from shared/geom.cpp:1:
In file included from shared/cube.h:80:
shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
inline char *expandstr(char *o, const char *n, char *delimit = " ")
                                                               ^
In file included from shared/geom.cpp:1:
In file included from shared/cube.h:81:
shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
    ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; }        // force vtable copy, ugh
                                       ~~~~~~ ^
shared/command.h:88:47: note: explicitly cast the pointer to silence this warning
    ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; }        // force vtable copy, ugh
                                              ^
                                              (void*)
In file included from shared/geom.cpp:1:
In file included from shared/cube.h:85:
shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs]
        defvformatstring(str, faded, fmt);
                              ^
shared/iengine.h:453:75: note: parameter of type 'bool' is declared here
    int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...)
                                                                          ^
3 warnings generated.
c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector -fno-strict-aliasing  -O3 -fomit-frame-pointer -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags`   -c -o shared/stream.o shared/stream.cpp
In file included from shared/stream.cpp:1:
In file included from shared/cube.h:80:
shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
inline char *expandstr(char *o, const char *n, char *delimit = " ")
                                                               ^
In file included from shared/stream.cpp:1:
In file included from shared/cube.h:81:
shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
    ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; }        // force vtable copy, ugh
                                       ~~~~~~ ^
shared/command.h:88:47: note: explicitly cast the pointer to silence this warning
    ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; }        // force vtable copy, ugh
                                              ^
                                              (void*)
In file included from shared/stream.cpp:1:
In file included from shared/cube.h:85:
shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs]
        defvformatstring(str, faded, fmt);
                              ^
shared/iengine.h:453:75: note: parameter of type 'bool' is declared here
    int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...)
                                                                          ^
shared/stream.cpp:515:22: warning: expression result unused [-Wunused-value]
        for(; *mode; *mode++)
                     ^~~~~~~
shared/stream.cpp:578:13: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'uchar' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
            crc&0xFF, (crc>>8)&0xFF, (crc>>16)&0xFF, (crc>>24)&0xFF,
            ^~~~~~~~
shared/stream.cpp:578:13: note: insert an explicit cast to silence this issue
            crc&0xFF, (crc>>8)&0xFF, (crc>>16)&0xFF, (crc>>24)&0xFF,
            ^~~~~~~~
            static_cast<uchar>( )
shared/stream.cpp:578:23: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'uchar' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
            crc&0xFF, (crc>>8)&0xFF, (crc>>16)&0xFF, (crc>>24)&0xFF,
                      ^~~~~~~~~~~~~
shared/stream.cpp:578:23: note: insert an explicit cast to silence this issue
            crc&0xFF, (crc>>8)&0xFF, (crc>>16)&0xFF, (crc>>24)&0xFF,
                      ^~~~~~~~~~~~~
                      static_cast<uchar>( )
shared/stream.cpp:578:38: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'uchar' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
            crc&0xFF, (crc>>8)&0xFF, (crc>>16)&0xFF, (crc>>24)&0xFF,
                                     ^~~~~~~~~~~~~~
shared/stream.cpp:578:38: note: insert an explicit cast to silence this issue
            crc&0xFF, (crc>>8)&0xFF, (crc>>16)&0xFF, (crc>>24)&0xFF,
                                     ^~~~~~~~~~~~~~
                                     static_cast<uchar>( )
shared/stream.cpp:578:54: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'uchar' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
            crc&0xFF, (crc>>8)&0xFF, (crc>>16)&0xFF, (crc>>24)&0xFF,
                                                     ^~~~~~~~~~~~~~
shared/stream.cpp:578:54: note: insert an explicit cast to silence this issue
            crc&0xFF, (crc>>8)&0xFF, (crc>>16)&0xFF, (crc>>24)&0xFF,
                                                     ^~~~~~~~~~~~~~
                                                     static_cast<uchar>( )
shared/stream.cpp:579:13: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'uchar' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
            zfile.total_in&0xFF, (zfile.total_in>>8)&0xFF, (zfile.total_in>>16)&0xFF, (zfile.total_in>>24)&0xFF
            ^~~~~~~~~~~~~~~~~~~
shared/stream.cpp:579:13: note: insert an explicit cast to silence this issue
            zfile.total_in&0xFF, (zfile.total_in>>8)&0xFF, (zfile.total_in>>16)&0xFF, (zfile.total_in>>24)&0xFF
            ^~~~~~~~~~~~~~~~~~~
            static_cast<uchar>()
shared/stream.cpp:579:34: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'uchar' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
            zfile.total_in&0xFF, (zfile.total_in>>8)&0xFF, (zfile.total_in>>16)&0xFF, (zfile.total_in>>24)&0xFF
                                 ^~~~~~~~~~~~~~~~~~~~~~~~
shared/stream.cpp:579:34: note: insert an explicit cast to silence this issue
            zfile.total_in&0xFF, (zfile.total_in>>8)&0xFF, (zfile.total_in>>16)&0xFF, (zfile.total_in>>24)&0xFF
                                 ^~~~~~~~~~~~~~~~~~~~~~~~
                                 static_cast<uchar>(     )
shared/stream.cpp:579:60: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'uchar' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
            zfile.total_in&0xFF, (zfile.total_in>>8)&0xFF, (zfile.total_in>>16)&0xFF, (zfile.total_in>>24)&0xFF
                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~
shared/stream.cpp:579:60: note: insert an explicit cast to silence this issue
            zfile.total_in&0xFF, (zfile.total_in>>8)&0xFF, (zfile.total_in>>16)&0xFF, (zfile.total_in>>24)&0xFF
                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~
                                                           static_cast<uchar>(      )
shared/stream.cpp:579:87: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'uchar' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
            zfile.total_in&0xFF, (zfile.total_in>>8)&0xFF, (zfile.total_in>>16)&0xFF, (zfile.total_in>>24)&0xFF
                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
shared/stream.cpp:579:87: note: insert an explicit cast to silence this issue
            zfile.total_in&0xFF, (zfile.total_in>>8)&0xFF, (zfile.total_in>>16)&0xFF, (zfile.total_in>>24)&0xFF
                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                      static_cast<uchar>(      )
4 warnings and 8 errors generated.
gmake[1]: *** [<builtin>: shared/stream.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src'
*** Error code 1

Stop.
make: stopped in /usr/ports/games/bloodfrontier


More information about the freebsd-pkg-fallout mailing list