From owner-freebsd-pkg-fallout@freebsd.org Wed May 23 05:33:19 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 8A7DCEF00F5 for ; Wed, 23 May 2018 05:33:19 +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 1111E7852F for ; Wed, 23 May 2018 05:33:19 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id C913EEF00F4; Wed, 23 May 2018 05:33:18 +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 78911EF00F3 for ; Wed, 23 May 2018 05:33:18 +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 2BF1A7852D; Wed, 23 May 2018 05:33:18 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy11.nyi.freebsd.org (beefy11.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:ee]) (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 E70021E90F; Wed, 23 May 2018 05:33:17 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy11.nyi.freebsd.org (localhost [127.0.0.1]) by beefy11.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id w4N5XH00059442; Wed, 23 May 2018 05:33:17 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy11.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w4N5XHAY059422; Wed, 23 May 2018 05:33:17 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Wed, 23 May 2018 05:33:17 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201805230533.w4N5XHAY059422@beefy11.nyi.freebsd.org> To: amdmi3@FreeBSD.org Subject: [package - head-i386-default][games/spacejunk] Failed for spacejunk-1.0.5_3 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, 23 May 2018 05:33:19 -0000 You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: amdmi3@FreeBSD.org Last committer: linimon@FreeBSD.org Ident: $FreeBSD: head/games/spacejunk/Makefile 426084 2016-11-14 06:19:30Z linimon $ Log URL: http://beefy11.nyi.freebsd.org/data/head-i386-default/p470591_s333820/logs/spacejunk-1.0.5_3.log Build URL: http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p470591_s333820 Log: =>> Building games/spacejunk build started at Wed May 23 05:30:08 UTC 2018 port directory: /usr/ports/games/spacejunk package name: spacejunk-1.0.5_3 building for: FreeBSD head-i386-default-job-14 12.0-CURRENT FreeBSD 12.0-CURRENT 1200063 i386 maintained by: amdmi3@FreeBSD.org Makefile ident: $FreeBSD: head/games/spacejunk/Makefile 426084 2016-11-14 06:19:30Z linimon $ Poudriere version: 3.2.6-3-g832b198d Host OSVERSION: 1200062 Jail OSVERSION: 1200063 Job Id: 14 !!! Jail is newer than host. (Jail: 1200063, Host: 1200062) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=1200063 UNAME_v=FreeBSD 12.0-CURRENT 1200063 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-3-g832b198d MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-i386-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-i386-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 spacejunk-1.0.5_3: 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 XDG_DATA_HOME=/wrkdirs/usr/ports/games/spacejunk/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/spacejunk/work HOME=/wrkdirs/usr/ports/games/spacejunk/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/spacejunk/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/spacejunk/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/spacejunk/work HOME=/wrkdirs/usr/ports/games/spacejunk/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/spacejunk/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=" -fstack-protector" LIBS="-L/usr/local/lib" 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/spacejunk" EXAMPLESDIR="share/examples/spacejunk" DATADIR="share/spacejunk" WWWDIR="www/spacejunk" ETCDIR="etc/spacejunk" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/spacejunk DOCSDIR=/usr/local/share/doc/spacejunk EXAMPLESDIR=/usr/local/share/examples/spacejunk WWWDIR=/usr/local/www/spacejunk ETCDIR=/usr/local/etc/spacejunk --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 MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### /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: i386-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: i386-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" "-m" "elf_i386_fbsd" "-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: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=i386 OPSYS=FreeBSD _OSRELEASE=12.0-CURRENT OSREL=12.0 OSVERSION=1200063 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=262144 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 524288 stack size (kbytes, -s) 65536 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 GPLv3+ accepted by the user =========================================================================== =================================================== ===> spacejunk-1.0.5_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz [head-i386-default-job-14] Installing pkg-1.10.5_1... [head-i386-default-job-14] Extracting pkg-1.10.5_1: .......... done ===> spacejunk-1.0.5_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of spacejunk-1.0.5_3 =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv3+ accepted by the user ===> Fetching all distfiles required by spacejunk-1.0.5_3 for building =========================================================================== =================================================== ===> License GPLv3+ accepted by the user ===> Fetching all distfiles required by spacejunk-1.0.5_3 for building => SHA256 Checksum OK for spacejunk-1.0.5.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv3+ accepted by the user ===> Fetching all distfiles required by spacejunk-1.0.5_3 for building ===> Extracting for spacejunk-1.0.5_3 => SHA256 Checksum OK for spacejunk-1.0.5.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for spacejunk-1.0.5_3 ===> Applying FreeBSD patches for spacejunk-1.0.5_3 =========================================================================== =================================================== ===> spacejunk-1.0.5_3 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_10,2.txz [head-i386-default-job-14] Installing sdl-1.2.15_10,2... [head-i386-default-job-14] `-- Installing aalib-1.4.r5_11... [head-i386-default-job-14] | `-- Installing indexinfo-0.3.1... spacejunk.cpp:96:5: note: in instantiation of function template specialization 'FreeLoader' requested here FreeLoader(); ^ ./reference.h:76:19: note: 'operator*' returns a reference PointedType & operator *() const { ^ 22 warnings generated. mv -f .deps/spacejunk-spacejunk.Tpo .deps/spacejunk-spacejunk.Po c++ -DHAVE_CONFIG_H -I. -I.. -I../guichan/include -I../sge030809 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -Wno-deprecated -Wall -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -MT spacejunk-graphic.o -MD -MP -MF .deps/spacejunk-graphic.Tpo -c -o spacejunk-graphic.o `test -f 'graphic.cpp' || echo './'`graphic.cpp graphic.cpp:95:20: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect rs = {toScreenx(r->x),toScreeny(r->y),toScreenw(r->w),toScreenh(r->h)}; ^~~~~~~~~~~~~~~ graphic.cpp:95:20: note: insert an explicit cast to silence this issue SDL_Rect rs = {toScreenx(r->x),toScreeny(r->y),toScreenw(r->w),toScreenh(r->h)}; ^~~~~~~~~~~~~~~ static_cast( ) graphic.cpp:95:36: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect rs = {toScreenx(r->x),toScreeny(r->y),toScreenw(r->w),toScreenh(r->h)}; ^~~~~~~~~~~~~~~ graphic.cpp:95:36: note: insert an explicit cast to silence this issue SDL_Rect rs = {toScreenx(r->x),toScreeny(r->y),toScreenw(r->w),toScreenh(r->h)}; ^~~~~~~~~~~~~~~ static_cast( ) graphic.cpp:95:52: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SDL_Rect rs = {toScreenx(r->x),toScreeny(r->y),toScreenw(r->w),toScreenh(r->h)}; ^~~~~~~~~~~~~~~ graphic.cpp:95:52: note: insert an explicit cast to silence this issue SDL_Rect rs = {toScreenx(r->x),toScreeny(r->y),toScreenw(r->w),toScreenh(r->h)}; ^~~~~~~~~~~~~~~ static_cast( ) graphic.cpp:95:68: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SDL_Rect rs = {toScreenx(r->x),toScreeny(r->y),toScreenw(r->w),toScreenh(r->h)}; ^~~~~~~~~~~~~~~ graphic.cpp:95:68: note: insert an explicit cast to silence this issue SDL_Rect rs = {toScreenx(r->x),toScreeny(r->y),toScreenw(r->w),toScreenh(r->h)}; ^~~~~~~~~~~~~~~ static_cast( ) graphic.cpp:220:13: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return &*bmp ? bmp->format->palette : NULL; ^~~~ ~ ./reference.h:76:19: note: 'operator*' returns a reference PointedType & operator *() const { ^ graphic.cpp:246:21: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SDL_Rect r={0,0,getScreen()->w,getScreen()->h}; ^~~~~~~~~~~~~~ graphic.cpp:246:21: note: insert an explicit cast to silence this issue SDL_Rect r={0,0,getScreen()->w,getScreen()->h}; ^~~~~~~~~~~~~~ static_cast( ) graphic.cpp:246:36: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SDL_Rect r={0,0,getScreen()->w,getScreen()->h}; ^~~~~~~~~~~~~~ graphic.cpp:246:36: note: insert an explicit cast to silence this issue SDL_Rect r={0,0,getScreen()->w,getScreen()->h}; ^~~~~~~~~~~~~~ static_cast( ) graphic.cpp:291:16: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] if (!(&*cache)) { ~ ^~~~~~ ./reference.h:76:19: note: 'operator*' returns a reference PointedType & operator *() const { ^ graphic.cpp:319:20: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect trec={toScreenx(x),toScreeny(y),0,0}; ^~~~~~~~~~~~ graphic.cpp:319:20: note: insert an explicit cast to silence this issue SDL_Rect trec={toScreenx(x),toScreeny(y),0,0}; ^~~~~~~~~~~~ static_cast( ) graphic.cpp:319:33: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect trec={toScreenx(x),toScreeny(y),0,0}; ^~~~~~~~~~~~ graphic.cpp:319:33: note: insert an explicit cast to silence this issue SDL_Rect trec={toScreenx(x),toScreeny(y),0,0}; ^~~~~~~~~~~~ static_cast( ) graphic.cpp:335:11: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] if (!&*bmp) return; ~ ^~~~ ./reference.h:76:19: note: 'operator*' returns a reference PointedType & operator *() const { ^ graphic.cpp:339:14: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] if (&*rot) { ~~ ^~~~ ./reference.h:76:19: note: 'operator*' returns a reference PointedType & operator *() const { ^ graphic.cpp:346:34: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SDL_Rect srcrec={0,0,bmp->w,bmp->h}; ^~~~~~ graphic.cpp:346:34: note: insert an explicit cast to silence this issue SDL_Rect srcrec={0,0,bmp->w,bmp->h}; ^~~~~~ static_cast( ) graphic.cpp:346:41: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SDL_Rect srcrec={0,0,bmp->w,bmp->h}; ^~~~~~ graphic.cpp:346:41: note: insert an explicit cast to silence this issue SDL_Rect srcrec={0,0,bmp->w,bmp->h}; ^~~~~~ static_cast( ) graphic.cpp:347:28: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect trec={toScreenx(x),toScreeny(y),bmp->w,bmp->h}; ^~~~~~~~~~~~ graphic.cpp:347:28: note: insert an explicit cast to silence this issue SDL_Rect trec={toScreenx(x),toScreeny(y),bmp->w,bmp->h}; ^~~~~~~~~~~~ static_cast( ) graphic.cpp:347:41: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect trec={toScreenx(x),toScreeny(y),bmp->w,bmp->h}; ^~~~~~~~~~~~ graphic.cpp:347:41: note: insert an explicit cast to silence this issue SDL_Rect trec={toScreenx(x),toScreeny(y),bmp->w,bmp->h}; ^~~~~~~~~~~~ static_cast( ) graphic.cpp:347:54: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SDL_Rect trec={toScreenx(x),toScreeny(y),bmp->w,bmp->h}; ^~~~~~ graphic.cpp:347:54: note: insert an explicit cast to silence this issue SDL_Rect trec={toScreenx(x),toScreeny(y),bmp->w,bmp->h}; ^~~~~~ static_cast( ) graphic.cpp:347:61: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SDL_Rect trec={toScreenx(x),toScreeny(y),bmp->w,bmp->h}; ^~~~~~ graphic.cpp:347:61: note: insert an explicit cast to silence this issue SDL_Rect trec={toScreenx(x),toScreeny(y),bmp->w,bmp->h}; ^~~~~~ static_cast( ) graphic.cpp:358:13: warning: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Wabsolute-value] if (fabsf(cache_angle-angle)>EPS || fabsf(cache_zoom-zoom)>EPS) { ^ graphic.cpp:358:13: note: use function 'std::abs' instead if (fabsf(cache_angle-angle)>EPS || fabsf(cache_zoom-zoom)>EPS) { ^~~~~ std::abs graphic.cpp:358:13: note: include the header or explicitly provide a declaration for 'std::abs' graphic.cpp:358:45: warning: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Wabsolute-value] if (fabsf(cache_angle-angle)>EPS || fabsf(cache_zoom-zoom)>EPS) { ^ graphic.cpp:358:45: note: use function 'std::abs' instead if (fabsf(cache_angle-angle)>EPS || fabsf(cache_zoom-zoom)>EPS) { ^~~~~ std::abs graphic.cpp:358:45: note: include the header or explicitly provide a declaration for 'std::abs' graphic.cpp:374:24: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect trec={toScreenx(x),toScreeny(y),0,0}; ^~~~~~~~~~~~ graphic.cpp:374:24: note: insert an explicit cast to silence this issue SDL_Rect trec={toScreenx(x),toScreeny(y),0,0}; ^~~~~~~~~~~~ static_cast( ) graphic.cpp:374:37: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect trec={toScreenx(x),toScreeny(y),0,0}; ^~~~~~~~~~~~ graphic.cpp:374:37: note: insert an explicit cast to silence this issue SDL_Rect trec={toScreenx(x),toScreeny(y),0,0}; ^~~~~~~~~~~~ static_cast( ) graphic.cpp:393:52: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SDL_Rect trec={Sint16(cx-rx),Sint16(cy-ry),int(2*rx),int(2*ry)}; ^~~~~~~~~ graphic.cpp:393:52: note: insert an explicit cast to silence this issue SDL_Rect trec={Sint16(cx-rx),Sint16(cy-ry),int(2*rx),int(2*ry)}; ^~~~~~~~~ static_cast( ) graphic.cpp:393:62: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SDL_Rect trec={Sint16(cx-rx),Sint16(cy-ry),int(2*rx),int(2*ry)}; ^~~~~~~~~ graphic.cpp:393:62: note: insert an explicit cast to silence this issue SDL_Rect trec={Sint16(cx-rx),Sint16(cy-ry),int(2*rx),int(2*ry)}; ^~~~~~~~~ static_cast( ) graphic.cpp:394:48: error: non-constant-expression cannot be narrowed from type 'Sint16' (aka 'short') to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SDL_Rect trec1={trec.x,Sint16(cy-dy-1),Sint16(rx-dx+3),Sint16(2*dy+3)}; ^~~~~~~~~~~~~~~ graphic.cpp:394:48: note: insert an explicit cast to silence this issue SDL_Rect trec1={trec.x,Sint16(cy-dy-1),Sint16(rx-dx+3),Sint16(2*dy+3)}; ^~~~~~~~~~~~~~~ static_cast( ) fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/games/spacejunk/work/spacejunk-1.0.5/src *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/games/spacejunk/work/spacejunk-1.0.5 *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/games/spacejunk/work/spacejunk-1.0.5 *** Error code 1 Stop. make: stopped in /usr/ports/games/spacejunk