From owner-freebsd-pkg-fallout@freebsd.org Wed Jun 27 10:21:06 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 433AA10190D3 for ; Wed, 27 Jun 2018 10:21:06 +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 9CF79764FF for ; Wed, 27 Jun 2018 10:21:05 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5673B10190D2; Wed, 27 Jun 2018 10:21:05 +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 0718810190D1 for ; Wed, 27 Jun 2018 10:21:05 +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 A7DC9764F9; Wed, 27 Jun 2018 10:21:04 +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 890BA21AA4; Wed, 27 Jun 2018 10:21:04 +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 w5RAL4m3083082; Wed, 27 Jun 2018 10:21:04 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy12.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w5RAL46l083073; Wed, 27 Jun 2018 10:21:04 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Wed, 27 Jun 2018 10:21:04 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201806271021.w5RAL46l083073@beefy12.nyi.freebsd.org> To: amdmi3@FreeBSD.org Subject: [package - head-amd64-default][games/flyhard] Failed for flyhard-0.42_15 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 10:21:06 -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 467711 2018-04-18 13:57:42Z jbeich $ Log URL: http://beefy12.nyi.freebsd.org/data/head-amd64-default/p473363_s335650/logs/flyhard-0.42_15.log Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p473363_s335650 Log: =>> Building games/flyhard build started at Wed Jun 27 10:20:46 UTC 2018 port directory: /usr/ports/games/flyhard package name: flyhard-0.42_15 building for: FreeBSD head-amd64-default-job-06 12.0-CURRENT FreeBSD 12.0-CURRENT 1200069 amd64 maintained by: amdmi3@FreeBSD.org Makefile ident: $FreeBSD: head/games/flyhard/Makefile 467711 2018-04-18 13:57:42Z jbeich $ Poudriere version: 3.2.7-1-g7087c444 Host OSVERSION: 1200062 Jail OSVERSION: 1200069 Job Id: 06 !!! 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 flyhard-0.42_15: 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 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_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 =========================================================================== =================================================== ===> flyhard-0.42_15 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz [head-amd64-default-job-06] Installing pkg-1.10.5_1... [head-amd64-default-job-06] Extracting pkg-1.10.5_1: .......... done ===> flyhard-0.42_15 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of flyhard-0.42_15 =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by flyhard-0.42_15 for building =========================================================================== =================================================== ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by flyhard-0.42_15 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_15 for building ===> Extracting for flyhard-0.42_15 => SHA256 Checksum OK for flyhard-0.42.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for flyhard-0.42_15 ===> Applying FreeBSD patches for flyhard-0.42_15 =========================================================================== =================================================== ===> flyhard-0.42_15 depends on file: /usr/local/include/boost/shared_ptr.hpp - not found ===> Installing existing package /packages/All/boost-libs-1.67.0_1.txz [head-amd64-default-job-06] Installing boost-libs-1.67.0_1... [head-amd64-default-job-06] `-- Installing icu-61.1,1... [head-amd64-default-job-06] `-- Extracting icu-61.1,1: .......... done [head-amd64-default-job-06] Extracting boost-libs-1.67.0_1: .......... done 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_15 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