From owner-freebsd-pkg-fallout@freebsd.org Mon Apr 23 04:40:05 2018 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6118FBB1D6 for ; Mon, 23 Apr 2018 04:40:04 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5664D708B4 for ; Mon, 23 Apr 2018 04:40:04 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 14BD7FBB1D5; Mon, 23 Apr 2018 04:40:04 +0000 (UTC) Delivered-To: pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D59EAFBB1D4 for ; Mon, 23 Apr 2018 04:40:03 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8CA02708B3 for ; Mon, 23 Apr 2018 04:40:03 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy16.nyi.freebsd.org (beefy16.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:e3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 82EB51F5D0 for ; Mon, 23 Apr 2018 04:40:03 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy16.nyi.freebsd.org (localhost [127.0.0.1]) by beefy16.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3N4e32j088895 for ; Mon, 23 Apr 2018 04:40:03 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy16.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w3N4e3Cb088894; Mon, 23 Apr 2018 04:40:03 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Mon, 23 Apr 2018 04:40:03 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201804230440.w3N4e3Cb088894@beefy16.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - head-armv7-default][games/cube] Failed for cube-2005.08.29_17 in build X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2018 04:40:05 -0000 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 Last committer: rezny@FreeBSD.org Ident: $FreeBSD: head/games/cube/Makefile 441503 2017-05-23 05:03:14Z rezny $ Log URL: http://beefy16.nyi.freebsd.org/data/head-armv7-default/p467853_s332849/logs/cube-2005.08.29_17.log Build URL: http://beefy16.nyi.freebsd.org/build.html?mastername=head-armv7-default&build=p467853_s332849 Log: =>> Building games/cube build started at Mon Apr 23 04:39:49 UTC 2018 port directory: /usr/ports/games/cube package name: cube-2005.08.29_17 building for: FreeBSD head-armv7-default-job-10 12.0-CURRENT FreeBSD 12.0-CURRENT 1200062 arm maintained by: ports@FreeBSD.org Makefile ident: $FreeBSD: head/games/cube/Makefile 441503 2017-05-23 05:03:14Z rezny $ Poudriere version: 3.2.6-1-ga0ae87a0 Host OSVERSION: 1200060 Jail OSVERSION: 1200062 Job Id: 10 !!! Jail is newer than host. (Jail: 1200062, Host: 1200060) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=armv7 UNAME_m=arm ABI_FILE=/usr/lib/crt1.o OSVERSION=1200062 UNAME_v=FreeBSD 12.0-CURRENT 1200062 UNAME_r=12.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local QEMU_EMULATING=1 USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.6-1-ga0ae87a0 MASTERMNT=/usr/local/poudriere/data/.m/head-armv7-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/head-armv7-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-armv7-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-armv7-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--- ===> The following configuration options are available for cube-2005.08.29_17: DOCS=on: Build and/or install documentation OPTIMIZED_CFLAGS=off: Use extra compiler optimizations ====> Clients and servers: you have to choose at least one of them CLIENT=on: Build client SERVER=on: Build dedicated server ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/cube/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/cube/work HOME=/wrkdirs/usr/ports/games/cube/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/cube/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/cube/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/cube/work HOME=/wrkdirs/usr/ports/games/cube/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/cube/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 -fsigned-char -fno-strict-aliasing" CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="" LDFLAGS=" -lX11" LIBS="" CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fsigned-char -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-- PORTDOCS="" PORTEXAMPLES="" DOCS="" NO_DOCS="@comment " OPTIMIZED_CFLAGS="@comment " NO_OPTIMIZED_CFLAGS="" CLIENT="" NO_CLIENT="@comment " SERVER="" NO_SERVER="@comment " OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/cube" EXAMPLESDIR="share/examples/cube" DATADIR="share/cube" WWWDIR="www/cube" ETCDIR="etc/cube" --End PLIST_SUB-- --SUB_LIST-- DOCS="" NO_DOCS="@comment " OPTIMIZED_CFLAGS="@comment " NO_OPTIMIZED_CFLAGS="" CLIENT="" NO_CLIENT="@comment " SERVER="" NO_SERVER="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/cube DOCSDIR=/usr/local/share/doc/cube EXAMPLESDIR=/usr/local/share/examples/cube WWWDIR=/usr/local/www/cube ETCDIR=/usr/local/etc/cube --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=armv7 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_9d218390=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _ALTCCVERSION_9d218390=none _CXXINTERNAL_9c45a5b1=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-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_9d218390_58173849=yes CC_OUTPUT_9d218390_9bdba57c=yes CC_OUTPUT_9d218390_6a4fe7f5=yes CC_OUTPUT_9d218390_6bcac02b=yes CC_OUTPUT_9d218390_67d20829=yes CC_OUTPUT_9d218390_bfa62e83=yes CC_OUTPUT_9d218390_f0b4d593=yes CC_OUTPUT_9d218390_308abb44=yes CC_OUTPUT_9d218390_f00456e5=yes CC_OUTPUT_9d218390_65ad290d=yes CC_OUTPUT_9d218390_b2657cc3=yes CC_OUTPUT_9d218390_380987f7=yes _OBJC_CCVERSION_9d218390=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _OBJC_ALTCCVERSION_9d218390=none ARCH=armv7 OPSYS=FreeBSD _OSRELEASE=12.0-CURRENT OSREL=12.0 OSVERSION=1200062 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=262144 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=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-- =================================================== ===> NOTICE: The cube 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 =========================================================================== =================================================== ===> cube-2005.08.29_17 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz ./cube.h:255:55: note: expanded from macro 'VARP' #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) ^ :266:1: note: expanded from here "sensitivity" ^ clientgame.cpp:17:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] VARP(sensitivityscale, 1, 1, 10000); ^ ./cube.h:255:55: note: expanded from macro 'VARP' #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) ^ :267:1: note: expanded from here "sensitivityscale" ^ clientgame.cpp:18:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] VARP(invmouse, 0, 0, 1); ^ ./cube.h:255:55: note: expanded from macro 'VARP' #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) ^ :268:1: note: expanded from here "invmouse" ^ clientgame.cpp:215:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] COMMANDN(sleep, sleepf, ARG_2STR); ^ ./cube.h:253:75: note: expanded from macro 'COMMANDN' #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ :269:1: note: expanded from here "sleep" ^ clientgame.cpp:312:32: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(player1->attacking = on) respawn(); ~~~~~~~~~~~~~~~~~~~^~~~ clientgame.cpp:312:32: note: place parentheses around the assignment to silence this warning else if(player1->attacking = on) respawn(); ^ ( ) clientgame.cpp:312:32: note: use '==' to turn this assignment into an equality comparison else if(player1->attacking = on) respawn(); ^ == clientgame.cpp:317:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] COMMAND(backward, ARG_DOWN); ^ ./cube.h:254:30: note: expanded from macro 'COMMAND' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^ ./cube.h:253:75: note: expanded from macro 'COMMANDN' #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ :271:1: note: expanded from here "backward" ^ clientgame.cpp:318:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] COMMAND(forward, ARG_DOWN); ^ ./cube.h:254:30: note: expanded from macro 'COMMAND' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^ ./cube.h:253:75: note: expanded from macro 'COMMANDN' #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ :273:1: note: expanded from here "forward" ^ clientgame.cpp:319:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] COMMAND(left, ARG_DOWN); ^ ./cube.h:254:30: note: expanded from macro 'COMMAND' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^ ./cube.h:253:75: note: expanded from macro 'COMMANDN' #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ :275:1: note: expanded from here "left" ^ clientgame.cpp:320:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] COMMAND(right, ARG_DOWN); ^ ./cube.h:254:30: note: expanded from macro 'COMMAND' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^ ./cube.h:253:75: note: expanded from macro 'COMMANDN' #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ :277:1: note: expanded from here "right" ^ clientgame.cpp:321:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] COMMANDN(jump, jumpn, ARG_DOWN); ^ ./cube.h:253:75: note: expanded from macro 'COMMANDN' #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ :279:1: note: expanded from here "jump" ^ clientgame.cpp:322:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] COMMAND(attack, ARG_DOWN); ^ ./cube.h:254:30: note: expanded from macro 'COMMAND' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^ ./cube.h:253:75: note: expanded from macro 'COMMANDN' #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ :281:1: note: expanded from here "attack" ^ clientgame.cpp:323:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] COMMAND(showscores, ARG_DOWN); ^ ./cube.h:254:30: note: expanded from macro 'COMMAND' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^ ./cube.h:253:75: note: expanded from macro 'COMMANDN' #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ :283:1: note: expanded from here "showscores" ^ clientgame.cpp:420:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] neterr("clientnum"); ^ clientgame.cpp:446:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] setvar("gamespeed", 100); ^ clientgame.cpp:447:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] setvar("fog", 180); ^ clientgame.cpp:448:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] setvar("fogcolour", 0x8099B3); ^ clientgame.cpp:455:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] COMMANDN(map, changemap, ARG_1STR); ^ ./cube.h:253:75: note: expanded from macro 'COMMANDN' #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ :285:1: note: expanded from here "map" ^ 21 warnings generated. /nxb-bin/usr/bin/c++ -O2 -pipe -fsigned-char -fno-strict-aliasing -Wall -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o clients2c.o clients2c.cpp In file included from clients2c.cpp:3: In file included from ./cube.h:3: ./tools.h:248:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(int i = 0, k; k = key[i]; i++) h = ((h<<5)+h)^k; // bernstein k=33 xor ~~^~~~~~~~ ./tools.h:248:29: note: place parentheses around the assignment to silence this warning for(int i = 0, k; k = key[i]; i++) h = ((h<<5)+h)^k; // bernstein k=33 xor ^ ( ) ./tools.h:248:29: note: use '==' to turn this assignment into an equality comparison for(int i = 0, k; k = key[i]; i++) h = ((h<<5)+h)^k; // bernstein k=33 xor ^ == In file included from clients2c.cpp:3: In file included from ./cube.h:284: ./protos.h:127:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] extern void fatal(char *s, char *o = ""); ^ clients2c.cpp:54:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(ENET_NET_TO_HOST_16(*(ushort *)buf)!=len) neterr("packet length"); ^ clients2c.cpp:259:23: error: non-constant-expression cannot be narrowed from type 'short' to 'float' in initializer list [-Wc++11-narrowing] vec v = { ents[i].x, ents[i].y, ents[i].z }; ^~~~~~~~~ clients2c.cpp:259:23: note: insert an explicit cast to silence this issue vec v = { ents[i].x, ents[i].y, ents[i].z }; ^~~~~~~~~ static_cast( ) clients2c.cpp:259:34: error: non-constant-expression cannot be narrowed from type 'short' to 'float' in initializer list [-Wc++11-narrowing] vec v = { ents[i].x, ents[i].y, ents[i].z }; ^~~~~~~~~ clients2c.cpp:259:34: note: insert an explicit cast to silence this issue vec v = { ents[i].x, ents[i].y, ents[i].z }; ^~~~~~~~~ static_cast( ) clients2c.cpp:259:45: error: non-constant-expression cannot be narrowed from type 'short' to 'float' in initializer list [-Wc++11-narrowing] vec v = { ents[i].x, ents[i].y, ents[i].z }; ^~~~~~~~~ clients2c.cpp:259:45: note: insert an explicit cast to silence this issue vec v = { ents[i].x, ents[i].y, ents[i].z }; ^~~~~~~~~ static_cast( ) clients2c.cpp:352:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] neterr("type"); ^ 4 warnings and 3 errors generated. gmake[1]: *** [: clients2c.o] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/cube/work/cube_source/src' *** Error code 1 Stop. make: stopped in /usr/ports/games/cube