Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2018 02:13:42 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv6-default][games/bloodfrontier] Failed for bloodfrontier-b2_11 in build
Message-ID:  <201801290213.w0T2Dgag080879@beefy8.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

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

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




!!! 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=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
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-armv6-default/ref
QEMU_EMULATING=1
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-armv6-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p/pool
MASTERNAME=head-armv6-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
P_PYTHON_MAJOR_VER=2
POUDRIERE_VERSION=3.2.4-20-g3ab5fc55
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
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@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="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -O3 -fomit-frame-pointer -fno-strict-aliasing"  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS="" LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -O3 -fomit-frame-pointer -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---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
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=armv6
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---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.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)  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-armv6-default-job-11] Installing pkg-1.10.4...
[head-armv6-default-job-11] 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
<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... /nxb-bin/usr/bin/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'
/nxb-bin/usr/bin/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 -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
/nxb-bin/usr/bin/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 -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
/nxb-bin/usr/bin/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 -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
/nxb-bin/usr/bin/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 -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
/nxb-bin/usr/bin/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 -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
/nxb-bin/usr/bin/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 -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
/nxb-bin/usr/bin/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 -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
/nxb-bin/usr/bin/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 -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'
/nxb-bin/usr/bin/c++ -O2 -pipe -O3 -fomit-frame-pointer -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.
/nxb-bin/usr/bin/c++ -O2 -pipe -O3 -fomit-frame-pointer -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.
/nxb-bin/usr/bin/c++ -O2 -pipe -O3 -fomit-frame-pointer -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801290213.w0T2Dgag080879>