From owner-freebsd-pkg-fallout@freebsd.org Sun Apr 1 13:33:55 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 B84C4F9B440 for ; Sun, 1 Apr 2018 13:33:55 +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 281FD6C1A3 for ; Sun, 1 Apr 2018 13:33:55 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id DB702F9B437; Sun, 1 Apr 2018 13:33:54 +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 B132AF9B436 for ; Sun, 1 Apr 2018 13:33:54 +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 5C70F6C1A1; Sun, 1 Apr 2018 13:33:54 +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 5745827821; Sun, 1 Apr 2018 13:33:54 +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 w31DXsVB031743; Sun, 1 Apr 2018 13:33:54 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy12.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w31DXshh031742; Sun, 1 Apr 2018 13:33:54 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Sun, 1 Apr 2018 13:33:54 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201804011333.w31DXshh031742@beefy12.nyi.freebsd.org> To: amdmi3@FreeBSD.org Subject: [package - head-amd64-default][games/flyhard] Failed for flyhard-0.42_14 in build Cc: pkg-fallout@FreeBSD.org 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: Sun, 01 Apr 2018 13:33:56 -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: jbeich@FreeBSD.org Ident: $FreeBSD: head/games/flyhard/Makefile 459315 2018-01-18 04:11:02Z jbeich $ Log URL: http://beefy12.nyi.freebsd.org/data/head-amd64-default/p466017_s331831/logs/flyhard-0.42_14.log Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p466017_s331831 Log: =>> Building games/flyhard build started at Sun Apr 1 13:33:36 UTC 2018 port directory: /usr/ports/games/flyhard package name: flyhard-0.42_14 building for: FreeBSD head-amd64-default-job-15 12.0-CURRENT FreeBSD 12.0-CURRENT 1200060 amd64 maintained by: amdmi3@FreeBSD.org Makefile ident: $FreeBSD: head/games/flyhard/Makefile 459315 2018-01-18 04:11:02Z jbeich $ Poudriere version: 3.2.6 Host OSVERSION: 1200060 Jail OSVERSION: 1200060 Job Id: 15 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1200060 UNAME_v=FreeBSD 12.0-CURRENT 1200060 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.6 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 flyhard-0.42_14: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- amdmi3@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --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/flyhard/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/flyhard/work HOME=/wrkdirs/usr/ports/games/flyhard/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/flyhard/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/flyhard/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/flyhard/work HOME=/wrkdirs/usr/ports/games/flyhard/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/flyhard/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -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="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/flyhard" EXAMPLESDIR="share/examples/flyhard" DATADIR="share/flyhard" WWWDIR="www/flyhard" ETCDIR="etc/flyhard" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/flyhard DOCSDIR=/usr/local/share/doc/flyhard EXAMPLESDIR=/usr/local/share/examples/flyhard WWWDIR=/usr/local/www/flyhard ETCDIR=/usr/local/etc/flyhard --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_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=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=1200060 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 =========================================================================== =================================================== ===> flyhard-0.42_14 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz [head-amd64-default-job-15] Installing pkg-1.10.5... [head-amd64-default-job-15] Extracting pkg-1.10.5: .......... done ===> flyhard-0.42_14 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of flyhard-0.42_14 =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by flyhard-0.42_14 for building =========================================================================== =================================================== ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by flyhard-0.42_14 for building => SHA256 Checksum OK for flyhard-0.42.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by flyhard-0.42_14 for building ===> Extracting for flyhard-0.42_14 => SHA256 Checksum OK for flyhard-0.42.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for flyhard-0.42_14 ===> Applying FreeBSD patches for flyhard-0.42_14 =========================================================================== =================================================== ===> flyhard-0.42_14 depends on file: /usr/local/include/boost/shared_ptr.hpp - not found ===> Installing existing package /packages/All/boost-libs-1.66.0.txz [head-amd64-default-job-15] Installing boost-libs-1.66.0... [head-amd64-default-job-15] `-- Installing icu-60.2_2,1... [head-amd64-default-job-15] `-- Extracting icu-60.2_2,1: .......... done [head-amd64-default-job-15] Extracting boost-libs-1.66.0: .......... done Message from boost-libs-1.66.0: You have built the Boost library with thread support. Don't forget to add -pthread to your linker options when linking your code. ===> flyhard-0.42_14 depends on file: /usr/local/include/boost/shared_ptr.hpp - found ===> Returning to build of flyhard-0.42_14 ===> flyhard-0.42_14 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-15] Installing sdl-1.2.15_10,2... [head-amd64-default-job-15] `-- Installing aalib-1.4.r5_11... [head-amd64-default-job-15] | `-- Installing indexinfo-0.3.1... checking for unistd.h... (cached) yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for sdl-config... /usr/local/bin/sdl-config checking for Mix_OpenAudio in -lSDL_mixer... yes checking SDL/SDL.h usability... yes checking SDL/SDL.h presence... yes checking for SDL/SDL.h... yes checking SDL.h usability... no checking SDL.h presence... no checking for SDL.h... no checking SDL/SDL_mixer.h usability... yes checking SDL/SDL_mixer.h presence... yes checking for SDL/SDL_mixer.h... yes checking SDL_mixer.h usability... no checking SDL_mixer.h presence... no checking for SDL_mixer.h... no checking for SDL.h... (cached) no checking for SDL/SDL.h... (cached) yes checking for SDL_mixer.h... (cached) no checking for SDL/SDL_mixer.h... (cached) yes checking boost/shared_ptr.hpp usability... yes checking boost/shared_ptr.hpp presence... yes checking for boost/shared_ptr.hpp... yes checking boost/weak_ptr.hpp usability... yes checking boost/weak_ptr.hpp presence... yes checking for boost/weak_ptr.hpp... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/images/Makefile config.status: creating src/sounds/Makefile config.status: creating config.h config.status: executing depfiles commands =========================================================================== =================================================== ===> Building for flyhard-0.42_14 gmake[1]: Entering directory '/wrkdirs/usr/ports/games/flyhard/work/flyhard-0.42' gmake all-recursive gmake[2]: Entering directory '/wrkdirs/usr/ports/games/flyhard/work/flyhard-0.42' Making all in src gmake[3]: Entering directory '/wrkdirs/usr/ports/games/flyhard/work/flyhard-0.42/src' Making all in images gmake[4]: Entering directory '/wrkdirs/usr/ports/games/flyhard/work/flyhard-0.42/src/images' gmake[4]: Nothing to be done for 'all'. gmake[4]: Leaving directory '/wrkdirs/usr/ports/games/flyhard/work/flyhard-0.42/src/images' Making all in sounds gmake[4]: Entering directory '/wrkdirs/usr/ports/games/flyhard/work/flyhard-0.42/src/sounds' gmake[4]: Nothing to be done for 'all'. gmake[4]: Leaving directory '/wrkdirs/usr/ports/games/flyhard/work/flyhard-0.42/src/sounds' gmake[4]: Entering directory '/wrkdirs/usr/ports/games/flyhard/work/flyhard-0.42/src' c++ -DHAVE_CONFIG_H -I. -I.. -Wall -O3 -Wno-sign-compare -DIMAGESDIR=\"/usr/local/share/flyhard/images\" -DSOUNDSDIR=\"/usr/local/share/flyhard/sounds\" -DLEVELDIR=\"/usr/local/share/flyhard/levels\" -DSAVEDIR=\"/usr/local/share/flyhard/save\" -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -MT flyhard.o -MD -MP -MF .deps/flyhard.Tpo -c -o flyhard.o flyhard.cpp flyhard.cpp:254:20: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect centre={std::max(0,(screen->w-ts->w)/2), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ flyhard.cpp:254:20: note: insert an explicit cast to silence this issue SDL_Rect centre={std::max(0,(screen->w-ts->w)/2), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) flyhard.cpp:255:20: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] std::max(0,(screen->h-ts->h)/2), 0,0}; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ flyhard.cpp:255:20: note: insert an explicit cast to silence this issue std::max(0,(screen->h-ts->h)/2), 0,0}; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) flyhard.cpp:310:22: error: non-constant-expression cannot be narrowed from type 'double' to 'float' in initializer list [-Wc++11-narrowing] { -9, 0, -pi/2, "Left", 0, WT_NOTHING}, ^~~~~ flyhard.cpp:310:22: note: insert an explicit cast to silence this issue { -9, 0, -pi/2, "Left", 0, WT_NOTHING}, ^~~~~ static_cast( ) flyhard.cpp:311:23: error: non-constant-expression cannot be narrowed from type 'double' to 'float' in initializer list [-Wc++11-narrowing] { 9, 0, pi/2, "Right", 0, WT_NOTHING}, ^~~~ flyhard.cpp:311:23: note: insert an explicit cast to silence this issue { 9, 0, pi/2, "Right", 0, WT_NOTHING}, ^~~~ static_cast( ) flyhard.cpp:312:22: error: non-constant-expression cannot be narrowed from type 'double' to 'float' in initializer list [-Wc++11-narrowing] { -9, 4, -pi/2, "Left", 0, WT_NOTHING}, ^~~~~ flyhard.cpp:312:22: note: insert an explicit cast to silence this issue { -9, 4, -pi/2, "Left", 0, WT_NOTHING}, ^~~~~ static_cast( ) flyhard.cpp:313:23: error: non-constant-expression cannot be narrowed from type 'double' to 'float' in initializer list [-Wc++11-narrowing] { 9, 4, pi/2, "Right", 0, WT_NOTHING}, ^~~~ flyhard.cpp:313:23: note: insert an explicit cast to silence this issue { 9, 4, pi/2, "Right", 0, WT_NOTHING}, ^~~~ static_cast( ) flyhard.cpp:314:25: error: non-constant-expression cannot be narrowed from type 'double' to 'float' in initializer list [-Wc++11-narrowing] { -2, 16, pi, "Rear left", 0, WT_NOTHING}, ^~ flyhard.cpp:314:25: note: insert an explicit cast to silence this issue { -2, 16, pi, "Rear left", 0, WT_NOTHING}, ^~ static_cast( ) flyhard.cpp:315:25: error: non-constant-expression cannot be narrowed from type 'double' to 'float' in initializer list [-Wc++11-narrowing] { 2, 16, pi, "Rear right", 0, WT_NOTHING}, ^~ flyhard.cpp:315:25: note: insert an explicit cast to silence this issue { 2, 16, pi, "Rear right", 0, WT_NOTHING}, ^~ static_cast( ) flyhard.cpp:371:9: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] std::max(0, (screen_w-TILE_SIZE*the_arena.width())/2), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ flyhard.cpp:371:9: note: insert an explicit cast to silence this issue std::max(0, (screen_w-TILE_SIZE*the_arena.width())/2), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) flyhard.cpp:372:9: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] std::max(0, (screen_h-TILE_SIZE*the_arena.height())/2), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ flyhard.cpp:372:9: note: insert an explicit cast to silence this issue std::max(0, (screen_h-TILE_SIZE*the_arena.height())/2), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) flyhard.cpp:373:9: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] std::min(screen_w, TILE_SIZE*the_arena.width()), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ flyhard.cpp:373:9: note: insert an explicit cast to silence this issue std::min(screen_w, TILE_SIZE*the_arena.width()), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) flyhard.cpp:374:9: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] std::min(screen_h, TILE_SIZE*the_arena.height()) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ flyhard.cpp:374:9: note: insert an explicit cast to silence this issue std::min(screen_h, TILE_SIZE*the_arena.height()) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) flyhard.cpp:379:26: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SDL_Rect sr={0,0,screen->w, screen->h-TILE_SIZE}; ^~~~~~~~~ flyhard.cpp:379:26: note: insert an explicit cast to silence this issue SDL_Rect sr={0,0,screen->w, screen->h-TILE_SIZE}; ^~~~~~~~~ static_cast( ) flyhard.cpp:379:37: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SDL_Rect sr={0,0,screen->w, screen->h-TILE_SIZE}; ^~~~~~~~~~~~~~~~~~~ flyhard.cpp:379:37: note: insert an explicit cast to silence this issue SDL_Rect sr={0,0,screen->w, screen->h-TILE_SIZE}; ^~~~~~~~~~~~~~~~~~~ static_cast( ) flyhard.cpp:389:28: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SDL_Rect sr={0,0,screen->w, screen->h-TILE_SIZE}; ^~~~~~~~~ flyhard.cpp:389:28: note: insert an explicit cast to silence this issue SDL_Rect sr={0,0,screen->w, screen->h-TILE_SIZE}; ^~~~~~~~~ static_cast( ) flyhard.cpp:389:39: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SDL_Rect sr={0,0,screen->w, screen->h-TILE_SIZE}; ^~~~~~~~~~~~~~~~~~~ flyhard.cpp:389:39: note: insert an explicit cast to silence this issue SDL_Rect sr={0,0,screen->w, screen->h-TILE_SIZE}; ^~~~~~~~~~~~~~~~~~~ static_cast( ) flyhard.cpp:441:22: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect bs={screen_x, screen_y, window.w, window.h}; ^~~~~~~~ flyhard.cpp:441:22: note: insert an explicit cast to silence this issue SDL_Rect bs={screen_x, screen_y, window.w, window.h}; ^~~~~~~~ static_cast( ) flyhard.cpp:441:32: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect bs={screen_x, screen_y, window.w, window.h}; ^~~~~~~~ flyhard.cpp:441:32: note: insert an explicit cast to silence this issue SDL_Rect bs={screen_x, screen_y, window.w, window.h}; ^~~~~~~~ static_cast( ) flyhard.cpp:464:28: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect to={int(m.m_x),int(m.m_y),m.pic()->w,m.pic()->h}; ^~~~~~~~~~ flyhard.cpp:464:28: note: insert an explicit cast to silence this issue SDL_Rect to={int(m.m_x),int(m.m_y),m.pic()->w,m.pic()->h}; ^~~~~~~~~~ static_cast( ) fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. gmake[4]: *** [Makefile:281: flyhard.o] Error 1 gmake[4]: Leaving directory '/wrkdirs/usr/ports/games/flyhard/work/flyhard-0.42/src' gmake[3]: *** [Makefile:318: all-recursive] Error 1 gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/flyhard/work/flyhard-0.42/src' gmake[2]: *** [Makefile:221: all-recursive] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/flyhard/work/flyhard-0.42' gmake[1]: *** [Makefile:160: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/flyhard/work/flyhard-0.42' *** Error code 1 Stop. make: stopped in /usr/ports/games/flyhard