From owner-freebsd-pkg-fallout@freebsd.org Wed Jun 27 00:33:35 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 01110102440E for ; Wed, 27 Jun 2018 00:33:35 +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 4F8AF8B94E for ; Wed, 27 Jun 2018 00:33:34 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 132EE102440D; Wed, 27 Jun 2018 00:33:34 +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 BF782102440C for ; Wed, 27 Jun 2018 00:33:33 +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 739358B94D; Wed, 27 Jun 2018 00:33:33 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy12.nyi.freebsd.org (beefy12.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:ef]) (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 546AD1BBBD; Wed, 27 Jun 2018 00:33:33 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy12.nyi.freebsd.org (localhost [127.0.0.1]) by beefy12.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id w5R0XX5u022103; Wed, 27 Jun 2018 00:33:33 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy12.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w5R0XWUf022007; Wed, 27 Jun 2018 00:33:32 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Wed, 27 Jun 2018 00:33:32 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201806270033.w5R0XWUf022007@beefy12.nyi.freebsd.org> To: martin@arp242.net Subject: [package - head-amd64-default][games/boswars] Failed for boswars-2.6.1_10 in build Cc: pkg-fallout@FreeBSD.org X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 00:33:35 -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: martin@arp242.net Last committer: amdmi3@FreeBSD.org Ident: $FreeBSD: head/games/boswars/Makefile 447605 2017-08-09 09:01:19Z amdmi3 $ Log URL: http://beefy12.nyi.freebsd.org/data/head-amd64-default/p473363_s335650/logs/boswars-2.6.1_10.log Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p473363_s335650 Log: =>> Building games/boswars build started at Wed Jun 27 00:31:51 UTC 2018 port directory: /usr/ports/games/boswars package name: boswars-2.6.1_10 building for: FreeBSD head-amd64-default-job-18 12.0-CURRENT FreeBSD 12.0-CURRENT 1200069 amd64 maintained by: martin@arp242.net Makefile ident: $FreeBSD: head/games/boswars/Makefile 447605 2017-08-09 09:01:19Z amdmi3 $ Poudriere version: 3.2.7-1-g7087c444 Host OSVERSION: 1200062 Jail OSVERSION: 1200069 Job Id: 18 !!! Jail is newer than host. (Jail: 1200069, Host: 1200062) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh OSVERSION=1200069 UNAME_v=FreeBSD 12.0-CURRENT 1200069 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 USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.7-1-g7087c444 MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-amd64-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-amd64-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 boswars-2.6.1_10: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- martin@arp242.net --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/boswars/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/boswars/work HOME=/wrkdirs/usr/ports/games/boswars/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/boswars/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 LUA_MODLIBDIR=/usr/local/lib/lua/5.1 LUA_MODSHAREDIR=/usr/local/share/lua/5.1 LUA_VER=5.1 LUA_INCDIR=/usr/local/include/lua51 LUA_LIBDIR=/usr/local/lib XDG_DATA_HOME=/wrkdirs/usr/ports/games/boswars/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/boswars/work HOME=/wrkdirs/usr/ports/games/boswars/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/boswars/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 CC="cc" CFLAGS="-O2 -pipe -DSTRATAGUS_LIB_PATH='"\"/usr/local/share/boswars\""' -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DSTRATAGUS_LIB_PATH='"\"/usr/local/share/boswars\""' -fstack-protector -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s - m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" PORTEXAMPLES="" LUA_MODLIBDIR=lib/lua/5.1 LUA_MODSHAREDIR=share/lua/5.1 LUA_VER=5.1 LUA_INCDIR=include/lua51 LUA_LIBDIR=lib LUA_VER_STR=51 OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/boswars" EXAMPLESDIR="share/examples/boswars" DATADIR="share/boswars" WWWDIR="www/boswars" ETCDIR="etc/boswars" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/boswars DOCSDIR=/usr/local/share/doc/boswars EXAMPLESDIR=/usr/local/share/examples/boswars WWWDIR=/usr/local/www/boswars ETCDIR=/usr/local/etc/boswars --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 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/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_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.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=amd64 OPSYS=FreeBSD _OSRELEASE=12.0-CURRENT OSREL=12.0 OSVERSION=1200069 PYTHONBASE=/usr/local HAVE_COMPAT_IA32_KERN=YES 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) 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-- =================================================== ===> License GPLv2 accepted by the user =========================================================================== =================================================== ===> boswars-2.6.1_10 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz [head-amd64-default-job-18] Installing pkg-1.10.5_1... [head-amd64-default-job-18] Extracting pkg-1.10.5_1: .......... done ===> boswars-2.6.1_10 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of boswars-2.6.1_10 =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by boswars-2.6.1_10 for building =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by boswars-2.6.1_10 for building => SHA256 Checksum OK for boswars-2.6.1-src.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by boswars-2.6.1_10 for building ===> Extracting for boswars-2.6.1_10 => SHA256 Checksum OK for boswars-2.6.1-src.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for boswars-2.6.1_10 ===> Applying FreeBSD patches for boswars-2.6.1_10 =========================================================================== =================================================== ===> boswars-2.6.1_10 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_10,2.txz [head-amd64-default-job-18] Installing sdl-1.2.15_10,2... [head-amd64-default-job-18] `-- Installing aalib-1.4.r5_11... [head-amd64-default-job-18] | `-- Installing indexinfo-0.3.1... [head-amd64-default-job-18] | `-- Extracting indexinfo-0.3.1: .... done 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 Message from sdl-1.2.15_10,2: ------------------------------------------------------------------------------ Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". ------------------------------------------------------------------------------ ===> boswars-2.6.1_10 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of boswars-2.6.1_10 ===> boswars-2.6.1_10 depends on file: /usr/local/bin/scons - not found ===> Installing existing package /packages/All/scons-3.0.1.txz [head-amd64-default-job-18] Installing scons-3.0.1... [head-amd64-default-job-18] `-- Installing m4-1.4.18,1... [head-amd64-default-job-18] `-- Extracting m4-1.4.18,1: .......... done [head-amd64-default-job-18] `-- Installing py27-setuptools-39.2.0... [head-amd64-default-job-18] | `-- Installing python27-2.7.15... [head-amd64-default-job-18] | | `-- Installing gettext-runtime-0.19.8.1_1... [head-amd64-default-job-18] | | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done [head-amd64-default-job-18] | | `-- Installing libffi-3.2.1_2... [head-amd64-default-job-18] | | `-- Extracting libffi-3.2.1_2: .......... done [head-amd64-default-job-18] | | `-- Installing readline-7.0.3_1... [head-amd64-default-job-18] | | `-- Extracting readline-7.0.3_1: .......... done [head-amd64-default-job-18] | `-- Extracting python27-2.7.15: .......... done [head-amd64-default-job-18] `-- Extracting py27-setuptools-39.2.0: .......... done [head-amd64-default-job-18] Extracting scons-3.0.1: .......... done Message from python27-2.7.15: =========================================================================== Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter =========================================================================== ===> boswars-2.6.1_10 depends on file: /usr/local/bin/scons - found ===> Returning to build of boswars-2.6.1_10 ===> boswars-2.6.1_10 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - not found ===> Installing existing package /packages/All/glproto-1.4.17.txz [head-amd64-default-job-18] Installing glproto-1.4.17... [head-amd64-default-job-18] Extracting glproto-1.4.17: ......... done ===> boswars-2.6.1_10 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - found ===> Returning to build of boswars-2.6.1_10 ===> boswars-2.6.1_10 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - not found ===> Installing existing package /packages/All/dri2proto-2.8.txz [head-amd64-default-job-18] Installing dri2proto-2.8... [head-amd64-default-job-18] Extracting dri2proto-2.8: ....... done ===> boswars-2.6.1_10 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - found ===> Returning to build of boswars-2.6.1_10 ===> boswars-2.6.1_10 depends on file: /usr/local/libdata/pkgconfig/dri3proto.pc - not found ===> Installing existing package /packages/All/dri3proto-1.0.txz [head-amd64-default-job-18] Installing dri3proto-1.0... [head-amd64-default-job-18] Extracting dri3proto-1.0: ...... done ===> boswars-2.6.1_10 depends on file: /usr/local/libdata/pkgconfig/dri3proto.pc - found ===> Returning to build of boswars-2.6.1_10 =========================================================================== =================================================== ===> boswars-2.6.1_10 depends on shared library: libpng.so - not found ===> Installing existing package /packages/All/png-1.6.34.txz [head-amd64-default-job-18] Installing png-1.6.34... [head-amd64-default-job-18] Extracting png-1.6.34: .......... done ===> boswars-2.6.1_10 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> Returning to build of boswars-2.6.1_10 ===> boswars-2.6.1_10 depends on shared library: libtheora.so - not found ===> Installing existing package /packages/All/libtheora-1.1.1_7.txz [head-amd64-default-job-18] Installing libtheora-1.1.1_7... [head-amd64-default-job-18] `-- Installing libogg-1.3.3,4... [head-amd64-default-job-18] `-- Extracting libogg-1.3.3,4: .......... done [head-amd64-default-job-18] `-- Installing libvorbis-1.3.6,3... [head-amd64-default-job-18] `-- Extracting libvorbis-1.3.6,3: .......... done [head-amd64-default-job-18] Extracting libtheora-1.1.1_7: .......... done ===> boswars-2.6.1_10 depends on shared library: libtheora.so - found (/usr/local/lib/libtheora.so) ===> Returning to build of boswars-2.6.1_10 ===> boswars-2.6.1_10 depends on shared library: libvorbis.so - found (/usr/local/lib/libvorbis.so) ===> boswars-2.6.1_10 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> boswars-2.6.1_10 depends on shared library: liblua-5.1.so - not found ===> Installing existing package /packages/All/lua51-5.1.5_9.txz [head-amd64-default-job-18] Installing lua51-5.1.5_9... [head-amd64-default-job-18] `-- Installing libedit-3.1.20170329_2,1... [head-amd64-default-job-18] `-- Extracting libedit-3.1.20170329_2,1: .......... done [head-amd64-default-job-18] Extracting lua51-5.1.5_9: ......... done ===> boswars-2.6.1_10 depends on shared library: liblua-5.1.so - found (/usr/local/lib/liblua-5.1.so) ===> Returning to build of boswars-2.6.1_10 ===> boswars-2.6.1_10 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) =========================================================================== =================================================== ===> Configuring for boswars-2.6.1_10 =========================================================================== =================================================== ===> Building for boswars-2.6.1_10 scons: Reading SConscript files ... build_conf_cache.py doesn't exist or out of date. Generating new build config cache ... Checking for C library png... yes Checking for C library z... yes Checking for C library lua-5.1... yes Checking for C library GL... yes Checking for C library vorbis... yes Checking for C library theora... yes Checking for C library ogg... yes Checking for C function strcasestr()... yes Checking for C function strnlen()... yes Checking for C header file X11/Xlib.h... yes Checking for C header file X11/Xatom.h... yes Checking for C library X11... yes Checking for C library SDL... yes scons: warning: BuildDir() and the build_dir keyword have been deprecated; use VariantDir() and the variant_dir keyword instead. File "/wrkdirs/usr/ports/games/boswars/work/boswars-2.6.1-src/SConstruct", line 321, in DefineVariant scons: warning: BuildDir() and the build_dir keyword have been deprecated; use VariantDir() and the variant_dir keyword instead. File "/wrkdirs/usr/ports/games/boswars/work/boswars-2.6.1-src/SConstruct", line 321, in DefineVariant scons: warning: BuildDir() and the build_dir keyword have been deprecated; use VariantDir() and the variant_dir keyword instead. File "/wrkdirs/usr/ports/games/boswars/work/boswars-2.6.1-src/SConstruct", line 321, in DefineVariant scons: done reading SConscript files. scons: Building targets ... c++ -o build/release/action/action_attack.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/action/action_attack.cpp c++ -o build/release/action/action_unload.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/action/action_unload.cpp c++ -o build/release/action/action_patrol.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/action/action_patrol.cpp c++ -o build/release/action/action_still.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/action/action_still.cpp c++ -o build/release/action/action_spellcast.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/action/action_spellcast.cpp c++ -o build/release/action/actions.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/action/actions.cpp c++ -o build/release/action/action_stand.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/action/action_stand.cpp c++ -o build/release/action/action_follow.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/action/action_follow.cpp c++ -o build/release/action/action_board.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/action/action_board.cpp c++ -o build/release/action/action_resource.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/action/action_resource.cpp c++ -o build/release/action/action_repair.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/action/action_repair.cpp c++ -o build/release/action/action_die.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/action/action_die.cpp c++ -o build/release/action/command.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/action/command.cpp c++ -o build/release/action/action_move.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/action/action_move.cpp c++ -o build/release/action/action_train.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/action/action_train.cpp c++ -o build/release/action/action_build.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/action/action_build.cpp c++ -o build/release/ai/script_ai.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/ai/script_ai.cpp c++ -o build/release/ai/ai.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/ai/ai.cpp c++ -o build/release/ai/ai_building.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/ai/ai_building.cpp c++ -o build/release/ai/ai_resource.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/ai/ai_resource.cpp c++ -o build/release/ai/ai_magic.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/ai/ai_magic.cpp c++ -o build/release/ai/ai_force.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/ai/ai_force.cpp c++ -o build/release/editor/patch_editor.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/editor/patch_editor.cpp c++ -o build/release/editor/editloop.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/editor/editloop.cpp c++ -o build/release/game/player.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/game/player.cpp c++ -o build/release/game/savegame.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/game/savegame.cpp c++ -o build/release/game/trigger.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/game/trigger.cpp c++ -o build/release/game/replay.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/game/replay.cpp c++ -o build/release/game/game.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/game/game.cpp engine/game/game.cpp:600:36: warning: result of comparison of constant -1 with expression of type 'PlayerTypes' is always true [-Wtautological-constant-out-of-range-compare] if (GameSettings.Presets[i].Type != SettingsPresetMapDefault) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. c++ -o build/release/game/selection.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/game/selection.cpp c++ -o build/release/game/missile.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/game/missile.cpp c++ -o build/release/game/spells.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/game/spells.cpp c++ -o build/release/game/construct.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/game/construct.cpp c++ -o build/release/game/script_player.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/game/script_player.cpp c++ -o build/release/game/mainloop.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/game/mainloop.cpp c++ -o build/release/game/loadgame.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/game/loadgame.cpp c++ -o build/release/game/script_spell.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/game/script_spell.cpp c++ -o build/release/game/script_missile.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/game/script_missile.cpp c++ -o build/release/game/groups.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/game/groups.cpp c++ -o build/release/map/map_radar.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/map/map_radar.cpp c++ -o build/release/map/map_draw.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/map/map_draw.cpp c++ -o build/release/map/map_save.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/map/map_save.cpp c++ -o build/release/map/minimap.o -c -fsigned-char -O2 -pipe -DSTRATAGUS_LIB_PATH='"/usr/local/share/boswars"' -fstack-protector -fno-strict-aliasing -pthread -DUSE_VORBIS -DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/lua51 -I/usr/local/include/SDL -Iengine/include -Iengine/guichan/include engine/map/minimap.cpp engine/map/minimap.cpp:490:21: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect drect = {X, Y, 0, 0}; ^ engine/map/minimap.cpp:490:21: note: insert an explicit cast to silence this issue SDL_Rect drect = {X, Y, 0, 0}; ^ static_cast( ) engine/map/minimap.cpp:490:24: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect drect = {X, Y, 0, 0}; ^ engine/map/minimap.cpp:490:24: note: insert an explicit cast to silence this issue SDL_Rect drect = {X, Y, 0, 0}; ^ static_cast( ) 2 errors generated. scons: *** [build/release/map/minimap.o] Error 1 scons: building terminated because of errors. *** Error code 1 Stop. make: stopped in /usr/ports/games/boswars