From owner-freebsd-pkg-fallout@freebsd.org Tue Oct 2 17:52:57 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 115F610A6AFA for ; Tue, 2 Oct 2018 17:52:57 +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 956E8755AE for ; Tue, 2 Oct 2018 17:52:56 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5A43A10A6AF9; Tue, 2 Oct 2018 17:52:56 +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 382E810A6AF7 for ; Tue, 2 Oct 2018 17:52:56 +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 D3C14755AD for ; Tue, 2 Oct 2018 17:52:55 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from thunderx1.nyi.freebsd.org (thunderx1.nyi.freebsd.org [IPv6:2610:1c1:1:6082::16:fb]) (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 AE7453318 for ; Tue, 2 Oct 2018 17:52:55 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from thunderx1.nyi.freebsd.org (localhost [127.0.0.1]) by thunderx1.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id w92Hqtp2020153 for ; Tue, 2 Oct 2018 17:52:55 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by thunderx1.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w92HqtIr020150; Tue, 2 Oct 2018 17:52:55 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Tue, 2 Oct 2018 17:52:55 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201810021752.w92HqtIr020150@thunderx1.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - head-arm64-default][games/linwarrior] Failed for linwarrior-20100320_5 in build X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2018 17:52:57 -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: amdmi3@FreeBSD.org Last committer: linimon@FreeBSD.org Ident: $FreeBSD: head/games/linwarrior/Makefile 480017 2018-09-18 12:24:29Z linimon $ Log URL: http://thunderx1.nyi.freebsd.org/data/head-arm64-default/p480635_s338921/logs/linwarrior-20100320_5.log Build URL: http://thunderx1.nyi.freebsd.org/build.html?mastername=head-arm64-default&build=p480635_s338921 Log: =>> Building games/linwarrior build started at Tue Oct 2 17:51:36 UTC 2018 port directory: /usr/ports/games/linwarrior package name: linwarrior-20100320_5 building for: FreeBSD head-arm64-default-job-16 12.0-ALPHA7 FreeBSD 12.0-ALPHA7 1200084 arm64 maintained by: amdmi3@FreeBSD.org Makefile ident: $FreeBSD: head/games/linwarrior/Makefile 480017 2018-09-18 12:24:29Z linimon $ Poudriere version: 3.2.7-6-g819c79a1 Host OSVERSION: 1200072 Jail OSVERSION: 1200084 Job Id: 16 !!! Jail is newer than host. (Jail: 1200084, Host: 1200072) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh OSVERSION=1200084 UNAME_v=FreeBSD 12.0-ALPHA7 1200084 UNAME_r=12.0-ALPHA7 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 USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.7-6-g819c79a1 MASTERMNT=/usr/local/poudriere/data/.m/head-arm64-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/head-arm64-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-arm64-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-arm64-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- amdmi3@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/linwarrior/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/linwarrior/work HOME=/wrkdirs/usr/ports/games/linwarrior/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/linwarrior/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/linwarrior/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/linwarrior/work HOME=/wrkdirs/usr/ports/games/linwarrior/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/linwarrior/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 ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fuse-ld=bfd " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing -Wno-c+ +11-narrowing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/linwarrior" EXAMPLESDIR="share/examples/linwarrior" DATADIR="share/linwarrior" WWWDIR="www/linwarrior" ETCDIR="etc/linwarrior" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/linwarrior DOCSDIR=/usr/local/share/doc/linwarrior EXAMPLESDIR=/usr/local/share/examples/linwarrior WWWDIR=/usr/local/www/linwarrior ETCDIR=/usr/local/etc/linwarrior --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 #### /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 # stable/10 includes src.conf too late but make.conf is in sys.mk .if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*} # Disable build of llib now that head no longer has lint(1) LINT= true .endif #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: aarch64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: aarch64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: aarch64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=aarch64 OPSYS=FreeBSD _OSRELEASE=12.0-ALPHA7 OSREL=12.0 OSVERSION=1200084 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--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 1048576 stack size (kbytes, -s) 1048576 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-- =================================================== =========================================================================== =================================================== ===> linwarrior-20100320_5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_3.txz [head-arm64-default-job-16] Installing pkg-1.10.5_3... [head-arm64-default-job-16] Extracting pkg-1.10.5_3: .......... done ===> linwarrior-20100320_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of linwarrior-20100320_5 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by linwarrior-20100320_5 for building =========================================================================== =================================================== ===> Fetching all distfiles required by linwarrior-20100320_5 for building => SHA256 Checksum OK for linwarrior_20100320.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by linwarrior-20100320_5 for building ===> Extracting for linwarrior-20100320_5 => SHA256 Checksum OK for linwarrior_20100320.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for linwarrior-20100320_5 ===> Applying FreeBSD patches for linwarrior-20100320_5 =========================================================================== =================================================== ===> linwarrior-20100320_5 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_12,2.txz [head-arm64-default-job-16] Installing sdl-1.2.15_12,2... [head-arm64-default-job-16] `-- Installing aalib-1.4.r5_12... [head-arm64-default-job-16] | `-- Installing indexinfo-0.3.1... [head-arm64-default-job-16] | `-- Extracting indexinfo-0.3.1: .... done [head-arm64-default-job-16] `-- Extracting aalib-1.4.r5_12: .......... done [head-arm64-default-job-16] `-- Installing libGLU-9.0.0_3... ^ [] source/psi3d/kdtree.h:454:39: note: allocated with 'new[]' here float* left_min = new float[kdim]; ^ source/psi3d/kdtree.h:461:21: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete left_max; ^ [] source/psi3d/kdtree.h:455:39: note: allocated with 'new[]' here float* left_max = new float[kdim]; ^ source/psi3d/kdtree.h:475:21: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete right_min; ^ [] source/psi3d/kdtree.h:469:40: note: allocated with 'new[]' here float* right_min = new float[kdim]; ^ source/psi3d/kdtree.h:476:21: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete right_max; ^ [] source/psi3d/kdtree.h:470:40: note: allocated with 'new[]' here float* right_max = new float[kdim]; ^ source/psi3d/kdtree.h:543:21: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete left_min; ^ [] source/psi3d/kdtree.h:537:39: note: allocated with 'new[]' here float* left_min = new float[kdim]; ^ source/psi3d/kdtree.h:544:21: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete left_max; ^ [] source/psi3d/kdtree.h:538:39: note: allocated with 'new[]' here float* left_max = new float[kdim]; ^ source/psi3d/kdtree.h:558:21: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete right_min; ^ [] source/psi3d/kdtree.h:552:40: note: allocated with 'new[]' here float* right_min = new float[kdim]; ^ source/psi3d/kdtree.h:559:21: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete right_max; ^ [] source/psi3d/kdtree.h:553:40: note: allocated with 'new[]' here float* right_max = new float[kdim]; ^ 10 warnings generated. c++ -O2 -pipe -fno-strict-aliasing -Wall -I . `/usr/local/bin/sdl-config --cflags` -c source/cMission.cpp -o build/source/cMission.o In file included from source/cMission.cpp:4: In file included from source/cMission.h:14: In file included from source/cWorld.h:25: In file included from source/psi3d/macros.h:15: source/psi3d/instfont.h:421:9: warning: 'glPrint' macro redefined [-Wmacro-redefined] #define glPrint(buffer) \ ^ source/psi3d/snippetsgl.h:42:9: note: previous definition is here #define glPrint(name, getenum) \ ^ In file included from source/cMission.cpp:4: In file included from source/cMission.h:14: In file included from source/cWorld.h:36: source/psi3d/kdtree.h:234:9: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete bins; ^ [] source/psi3d/kdtree.h:197:30: note: allocated with 'new[]' here unsigned int* bins = new unsigned int[nbins]; ^ source/psi3d/kdtree.h:460:21: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete left_min; ^ [] source/psi3d/kdtree.h:454:39: note: allocated with 'new[]' here float* left_min = new float[kdim]; ^ source/psi3d/kdtree.h:461:21: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete left_max; ^ [] source/psi3d/kdtree.h:455:39: note: allocated with 'new[]' here float* left_max = new float[kdim]; ^ source/psi3d/kdtree.h:475:21: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete right_min; ^ [] source/psi3d/kdtree.h:469:40: note: allocated with 'new[]' here float* right_min = new float[kdim]; ^ source/psi3d/kdtree.h:476:21: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete right_max; ^ [] source/psi3d/kdtree.h:470:40: note: allocated with 'new[]' here float* right_max = new float[kdim]; ^ source/psi3d/kdtree.h:543:21: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete left_min; ^ [] source/psi3d/kdtree.h:537:39: note: allocated with 'new[]' here float* left_min = new float[kdim]; ^ source/psi3d/kdtree.h:544:21: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete left_max; ^ [] source/psi3d/kdtree.h:538:39: note: allocated with 'new[]' here float* left_max = new float[kdim]; ^ source/psi3d/kdtree.h:558:21: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete right_min; ^ [] source/psi3d/kdtree.h:552:40: note: allocated with 'new[]' here float* right_min = new float[kdim]; ^ source/psi3d/kdtree.h:559:21: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete right_max; ^ [] source/psi3d/kdtree.h:553:40: note: allocated with 'new[]' here float* right_max = new float[kdim]; ^ source/cMission.cpp:43:25: error: non-constant-expression cannot be narrowed from type 'int' to 'float' in initializer list [-Wc++11-narrowing] float pos[3] = {(i % 6) * 10 - 50, 0, -20 + (i / 6)*10 + (i / 6 % 2)*5}; ^~~~~~~~~~~~~~~~~ source/cMission.cpp:43:25: note: insert an explicit cast to silence this issue float pos[3] = {(i % 6) * 10 - 50, 0, -20 + (i / 6)*10 + (i / 6 % 2)*5}; ^~~~~~~~~~~~~~~~~ static_cast( ) source/cMission.cpp:43:47: error: non-constant-expression cannot be narrowed from type 'int' to 'float' in initializer list [-Wc++11-narrowing] float pos[3] = {(i % 6) * 10 - 50, 0, -20 + (i / 6)*10 + (i / 6 % 2)*5}; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/cMission.cpp:43:47: note: insert an explicit cast to silence this issue float pos[3] = {(i % 6) * 10 - 50, 0, -20 + (i / 6)*10 + (i / 6 % 2)*5}; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) source/cMission.cpp:73:28: error: non-constant-expression cannot be narrowed from type 'int' to 'float' in initializer list [-Wc++11-narrowing] float rot[3] = {0, rand() % 360, 0}; ^~~~~~~~~~~~ source/cMission.cpp:73:28: note: insert an explicit cast to silence this issue float rot[3] = {0, rand() % 360, 0}; ^~~~~~~~~~~~ static_cast( ) source/cMission.cpp:134:44: error: non-constant-expression cannot be narrowed from type 'int' to 'float' in initializer list [-Wc++11-narrowing] float pos[3] = {wx+sin(a) * b, 0 +wy, wz+cos(a) * b}; ^~~~~ source/cMission.cpp:134:44: note: insert an explicit cast to silence this issue float pos[3] = {wx+sin(a) * b, 0 +wy, wz+cos(a) * b}; ^~~~~ static_cast( ) source/cMission.cpp:135:32: error: non-constant-expression cannot be narrowed from type 'int' to 'float' in initializer list [-Wc++11-narrowing] float rot[3] = {0, 10 * (rand() % 36), 0}; ^~~~~~~~~~~~~~~~~~ source/cMission.cpp:135:32: note: insert an explicit cast to silence this issue float rot[3] = {0, 10 * (rand() % 36), 0}; ^~~~~~~~~~~~~~~~~~ static_cast( ) source/cMission.cpp:247:26: error: non-constant-expression cannot be narrowed from type 'int' to 'float' in initializer list [-Wc++11-narrowing] float pos[3] = { x, y, z+2}; ^ source/cMission.cpp:247:26: note: insert an explicit cast to silence this issue float pos[3] = { x, y, z+2}; ^ static_cast( ) source/cMission.cpp:247:29: error: non-constant-expression cannot be narrowed from type 'int' to 'float' in initializer list [-Wc++11-narrowing] float pos[3] = { x, y, z+2}; ^ source/cMission.cpp:247:29: note: insert an explicit cast to silence this issue float pos[3] = { x, y, z+2}; ^ static_cast( ) source/cMission.cpp:247:32: error: non-constant-expression cannot be narrowed from type 'int' to 'float' in initializer list [-Wc++11-narrowing] float pos[3] = { x, y, z+2}; ^~~ source/cMission.cpp:247:32: note: insert an explicit cast to silence this issue float pos[3] = { x, y, z+2}; ^~~ static_cast( ) In file included from source/cMission.cpp:4: In file included from source/cMission.h:16: source/cPad.h:33:11: warning: private field 'playerdata' is not used [-Wunused-private-field] void* playerdata; ^ 11 warnings and 8 errors generated. gmake[1]: *** [Makefile:54: build/source/cMission.o] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/linwarrior/work/linwarrior' *** Error code 1 Stop. make: stopped in /usr/ports/games/linwarrior