From owner-freebsd-pkg-fallout@freebsd.org Sat Feb 17 21:46:31 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 7F95DF12B79 for ; Sat, 17 Feb 2018 21:46:31 +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 DD6446E826 for ; Sat, 17 Feb 2018 21:46:30 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 97479F12B75; Sat, 17 Feb 2018 21:46:30 +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 647C2F12B72 for ; Sat, 17 Feb 2018 21:46:30 +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 1BFC36E824 for ; Sat, 17 Feb 2018 21:46:30 +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 162E022672 for ; Sat, 17 Feb 2018 21:46:30 +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 w1HLkUMG025084 for ; Sat, 17 Feb 2018 21:46:30 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by thunderx1.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w1HLkTKA025083; Sat, 17 Feb 2018 21:46:29 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Sat, 17 Feb 2018 21:46:29 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201802172146.w1HLkTKA025083@thunderx1.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - head-arm64-default][games/flyhard] Failed for flyhard-0.42_14 in build X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Feb 2018 21:46:31 -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://thunderx1.nyi.freebsd.org/data/head-arm64-default/p461032_s328914/logs/flyhard-0.42_14.log Build URL: http://thunderx1.nyi.freebsd.org/build.html?mastername=head-arm64-default&build=p461032_s328914 Log: =>> Building games/flyhard build started at Sat Feb 17 21:44:59 UTC 2018 port directory: /usr/ports/games/flyhard package name: flyhard-0.42_14 building for: FreeBSD head-arm64-default-job-06 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 arm64 maintained by: amdmi3@FreeBSD.org Makefile ident: $FreeBSD: head/games/flyhard/Makefile 459315 2018-01-18 04:11:02Z jbeich $ Poudriere version: 3.2.4-42-g98f2e28b Host OSVERSION: 1200052 Jail OSVERSION: 1200056 Job Id: 06 !!! Jail is newer than host. (Jail: 1200056, Host: 1200052) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh OSVERSION=1200056 UNAME_v=FreeBSD 12.0-CURRENT 1200056 UNAME_r=12.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM= MASTERMNT=/usr/local/poudriere/data/.m/head-arm64-default/ref PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk OLDPWD=/usr/local/poudriere/data/.m/head-arm64-default/ref/.p P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS PWD=/usr/local/poudriere/data/.m/head-arm64-default/ref/.p/pool MASTERNAME=head-arm64-default SCRIPTPREFIX=/usr/local/share/poudriere USER=root HOME=/root POUDRIERE_VERSION=3.2.4-42-g98f2e28b SCRIPTPATH=/usr/local/share/poudriere/bulk.sh LIBEXECPREFIX=/usr/local/libexec/poudriere LOCALBASE=/usr/local PACKAGE_BUILDING=yes 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 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -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 #### ARCH=aarch64 CONFIGURE_MAX_CMD_LEN=262144 OPSYS=FreeBSD OSREL=12.0 OSVERSION=1200056 PYTHONBASE=/usr/local UID=0 _OSRELEASE=12.0-CURRENT #### Misc Poudriere #### GID=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-- =================================================== ===> 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.4.txz [head-arm64-default-job-06] Installing pkg-1.10.4... [head-arm64-default-job-06] Extracting pkg-1.10.4: .......... 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-arm64-default-job-06] Installing boost-libs-1.66.0... [head-arm64-default-job-06] `-- Installing icu-60.2_1,1... [head-arm64-default-job-06] `-- Extracting icu-60.2_1,1: .......... done [head-arm64-default-job-06] 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-arm64-default-job-06] Installing sdl-1.2.15_10,2... [head-arm64-default-job-06] `-- Installing aalib-1.4.r5_11... [head-arm64-default-job-06] | `-- Installing indexinfo-0.3.1... [head-arm64-default-job-06] | `-- Extracting indexinfo-0.3.1: .... done [head-arm64-default-job-06] `-- Extracting aalib-1.4.r5_11: .......... done [head-arm64-default-job-06] `-- Installing libGLU-9.0.0_3... [head-arm64-default-job-06] | `-- Installing mesa-libs-17.3.1... [head-arm64-default-job-06] | | `-- Installing expat-2.2.5... [head-arm64-default-job-06] | | `-- Extracting expat-2.2.5: .......... done [head-arm64-default-job-06] | | `-- Installing libX11-1.6.5,1... [head-arm64-default-job-06] | | `-- Installing kbproto-1.0.7... [head-arm64-default-job-06] | | `-- Extracting kbproto-1.0.7: .......... 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_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 -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