From owner-freebsd-pkg-fallout@freebsd.org Sat Feb 17 22:50:52 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 9057CF18180 for ; Sat, 17 Feb 2018 22:50:52 +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 2E2D1715F7 for ; Sat, 17 Feb 2018 22:50:52 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id E5C8FF1817F; Sat, 17 Feb 2018 22:50:51 +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 96094F1817E for ; Sat, 17 Feb 2018 22:50:51 +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 49AEC715F2 for ; Sat, 17 Feb 2018 22:50:51 +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 43ECC230FD for ; Sat, 17 Feb 2018 22:50:51 +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 w1HMopKT044880 for ; Sat, 17 Feb 2018 22:50:51 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by thunderx1.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w1HMopIi044871; Sat, 17 Feb 2018 22:50:51 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Sat, 17 Feb 2018 22:50:51 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201802172250.w1HMopIi044871@thunderx1.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - head-arm64-default][games/hex-a-hop] Failed for hex-a-hop-1.1.0_6 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 22:50:53 -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: amdmi3@FreeBSD.org Ident: $FreeBSD: head/games/hex-a-hop/Makefile 425319 2016-11-04 13:23:51Z amdmi3 $ Log URL: http://thunderx1.nyi.freebsd.org/data/head-arm64-default/p461032_s328914/logs/hex-a-hop-1.1.0_6.log Build URL: http://thunderx1.nyi.freebsd.org/build.html?mastername=head-arm64-default&build=p461032_s328914 Log: =>> Building games/hex-a-hop build started at Sat Feb 17 22:49:46 UTC 2018 port directory: /usr/ports/games/hex-a-hop package name: hex-a-hop-1.1.0_6 building for: FreeBSD head-arm64-default-job-10 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 arm64 maintained by: amdmi3@FreeBSD.org Makefile ident: $FreeBSD: head/games/hex-a-hop/Makefile 425319 2016-11-04 13:23:51Z amdmi3 $ Poudriere version: 3.2.4-42-g98f2e28b Host OSVERSION: 1200052 Jail OSVERSION: 1200056 Job Id: 10 !!! 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 hex-a-hop-1.1.0_6: DEBUG=off: Build with debugging support NLS=on: Native Language Support PANGO=off: Use SDL_Pango instead of SDL_ttf SOUND=on: Sound support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- amdmi3@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --disable-debug --enable-sound --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- ac_cv_header_libintl_h=yes SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/hex-a-hop/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/hex-a-hop/work HOME=/wrkdirs/usr/ports/games/hex-a-hop/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/hex-a-hop/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/hex-a-hop/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/hex-a-hop/work HOME=/wrkdirs/usr/ports/games/hex-a-hop/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/hex-a-hop/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 -I/usr/local/include -DLIBICONV_PLUG -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include -DLIBICONV_PLUG" LDFLAGS=" -L/usr/local/lib -lintl" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fno-strict-aliasing -DLIBICONV_PLUG" 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/hex-a-hop" EXAMPLESDIR="share/examples/hex-a-hop" DATADIR="share/hex-a-hop" WWWDIR="www/hex-a-hop" ETCDIR="etc/hex-a-hop" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/hex-a-hop DOCSDIR=/usr/local/share/doc/hex-a-hop EXAMPLESDIR=/usr/local/share/examples/hex-a-hop WWWDIR=/usr/local/www/hex-a-hop ETCDIR=/usr/local/etc/hex-a-hop --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-- =================================================== =========================================================================== =================================================== ===> hex-a-hop-1.1.0_6 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.4.txz [head-arm64-default-job-10] Installing pkg-1.10.4... [head-arm64-default-job-10] Extracting pkg-1.10.4: .......... done ===> hex-a-hop-1.1.0_6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of hex-a-hop-1.1.0_6 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by hex-a-hop-1.1.0_6 for building =========================================================================== =================================================== ===> Fetching all distfiles required by hex-a-hop-1.1.0_6 for building => SHA256 Checksum OK for hex-a-hop-1.1.0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by hex-a-hop-1.1.0_6 for building ===> Extracting for hex-a-hop-1.1.0_6 => SHA256 Checksum OK for hex-a-hop-1.1.0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for hex-a-hop-1.1.0_6 ===> Applying FreeBSD patches for hex-a-hop-1.1.0_6 /usr/bin/sed -i.bak -E '/CFLAGS|CXXFLAGS/s/-g//' /wrkdirs/usr/ports/games/hex-a-hop/work/hex-a-hop-1.1.0/configure =========================================================================== =================================================== ===> hex-a-hop-1.1.0_6 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-10] Installing sdl-1.2.15_10,2... [head-arm64-default-job-10] `-- Installing aalib-1.4.r5_11... [head-arm64-default-job-10] | `-- Installing indexinfo-0.3.1... [head-arm64-default-job-10] | `-- Extracting indexinfo-0.3.1: .... done [head-arm64-default-job-10] `-- Extracting aalib-1.4.r5_11: .......... done [head-arm64-default-job-10] `-- Installing libGLU-9.0.0_3... [head-arm64-default-job-10] | `-- Installing mesa-libs-17.3.1... [head-arm64-default-job-10] | | `-- Installing expat-2.2.5... [head-arm64-default-job-10] | | `-- Extracting expat-2.2.5: .......... done [head-arm64-default-job-10] | | `-- Installing libX11-1.6.5,1... [head-arm64-default-job-10] | | `-- Installing kbproto-1.0.7... [head-arm64-default-job-10] | | `-- Extracting kbproto-1.0.7: .......... done [head-arm64-default-job-10] | | `-- Installing libXau-1.0.8_3... [head-arm64-default-job-10] | | | `-- Installing xproto-7.0.31... [head-arm64-default-job-10] | | | `-- Extracting xproto-7.0.31: .......... done [head-arm64-default-job-10] | | `-- Extracting libXau-1.0.8_3: .......... done [head-arm64-default-job-10] | | `-- Installing libXdmcp-1.1.2... [head-arm64-default-job-10] | | `-- Extracting libXdmcp-1.1.2: ......... done [head-arm64-default-job-10] | | `-- Installing libxcb-1.12_2... [head-arm64-default-job-10] | | | `-- Installing libpthread-stubs-0.4... [head-arm64-default-job-10] | | | `-- Extracting libpthread-stubs-0.4: . done [head-arm64-default-job-10] | | | `-- Installing libxml2-2.9.7... [head-arm64-default-job-10] | | | `-- Extracting libxml2-2.9.7: .......... done [head-arm64-default-job-10] | | `-- Extracting libxcb-1.12_2: .......... done [head-arm64-default-job-10] | | `-- Extracting libX11-1.6.5,1: .......... done [head-arm64-default-job-10] | | `-- Installing libXdamage-1.1.4_3... checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... gcc3 checking for library containing strerror... none required checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking dependency style of cc... (cached) gcc3 checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking dependency style of cc... (cached) gcc3 checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for stdint.h... (cached) yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking for main in -lm... yes checking for sdl-config... /usr/local/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for libintl.h... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating data/Makefile config.status: creating src/Makefile config.status: creating src/config.h config.status: executing depfiles commands =========================================================================== =================================================== ===> Building for hex-a-hop-1.1.0_6 Making all in src /usr/bin/make all-am c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fno-strict-aliasing -DLIBICONV_PLUG -DNDEBUG -Wall -DUSE_GETTEXT -DDISABLE_SOUND -DDATADIR=\""/usr/local/share/hex-a-hop"\" -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fno-strict-aliasing -DLIBICONV_PLUG -DNDEBUG -Wall -DUSE_GETTEXT -DDISABLE_SOUND -DDATADIR=\""/usr/local/share/hex-a-hop"\" -MT gfx.o -MD -MP -MF .deps/gfx.Tpo -c -o gfx.o gfx.cpp mv -f .deps/gfx.Tpo .deps/gfx.Po c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fno-strict-aliasing -DLIBICONV_PLUG -DNDEBUG -Wall -DUSE_GETTEXT -DDISABLE_SOUND -DDATADIR=\""/usr/local/share/hex-a-hop"\" -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fno-strict-aliasing -DLIBICONV_PLUG -DNDEBUG -Wall -DUSE_GETTEXT -DDISABLE_SOUND -DDATADIR=\""/usr/local/share/hex-a-hop"\" -MT hex_puzzzle.o -MD -MP -MF .deps/hex_puzzzle.Tpo -c -o hex_puzzzle.o hex_puzzzle.cpp hex_puzzzle.cpp:105:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strncat(save_path, "/", sizeof(save_path)); ^~~~~~~~~~~~~~~~~ hex_puzzzle.cpp:105:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strncat(save_path, "/", sizeof(save_path)); ^~~~~~~~~~~~~~~~~ sizeof(save_path) - strlen(save_path) - 1 hex_puzzzle.cpp:343:17: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect r = {(i%10)*GFX_SIZE, ((i/10)%7)*GFX_SIZE, GFX_SIZE, GFX_SIZE}; ^~~~~~~~~~~~~~~ hex_puzzzle.cpp:343:17: note: insert an explicit cast to silence this issue SDL_Rect r = {(i%10)*GFX_SIZE, ((i/10)%7)*GFX_SIZE, GFX_SIZE, GFX_SIZE}; ^~~~~~~~~~~~~~~ static_cast( ) hex_puzzzle.cpp:343:34: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect r = {(i%10)*GFX_SIZE, ((i/10)%7)*GFX_SIZE, GFX_SIZE, GFX_SIZE}; ^~~~~~~~~~~~~~~~~~~ hex_puzzzle.cpp:343:34: note: insert an explicit cast to silence this issue SDL_Rect r = {(i%10)*GFX_SIZE, ((i/10)%7)*GFX_SIZE, GFX_SIZE, GFX_SIZE}; ^~~~~~~~~~~~~~~~~~~ static_cast( ) hex_puzzzle.cpp:687:18: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect dst = {x-scrollX-GFX_SIZE/2, y-scrollY-GFX_SIZE+TILE_H1, 0, 0}; ^~~~~~~~~~~~~~~~~~~~ hex_puzzzle.cpp:687:18: note: insert an explicit cast to silence this issue SDL_Rect dst = {x-scrollX-GFX_SIZE/2, y-scrollY-GFX_SIZE+TILE_H1, 0, 0}; ^~~~~~~~~~~~~~~~~~~~ static_cast() hex_puzzzle.cpp:687:40: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect dst = {x-scrollX-GFX_SIZE/2, y-scrollY-GFX_SIZE+TILE_H1, 0, 0}; ^~~~~~~~~~~~~~~~~~~~~~~~~~ hex_puzzzle.cpp:687:40: note: insert an explicit cast to silence this issue SDL_Rect dst = {x-scrollX-GFX_SIZE/2, y-scrollY-GFX_SIZE+TILE_H1, 0, 0}; ^~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) hex_puzzzle.cpp:725:18: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect src = {sx, sy, 64, 80}; ^~ hex_puzzzle.cpp:725:18: note: insert an explicit cast to silence this issue SDL_Rect src = {sx, sy, 64, 80}; ^~ static_cast( ) hex_puzzzle.cpp:725:22: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect src = {sx, sy, 64, 80}; ^~ hex_puzzzle.cpp:725:22: note: insert an explicit cast to silence this issue SDL_Rect src = {sx, sy, 64, 80}; ^~ static_cast( ) hex_puzzzle.cpp:726:18: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect dst = {x-scrollX-32, y-scrollY-65, 0, 0}; ^~~~~~~~~~~~ hex_puzzzle.cpp:726:18: note: insert an explicit cast to silence this issue SDL_Rect dst = {x-scrollX-32, y-scrollY-65, 0, 0}; ^~~~~~~~~~~~ static_cast( ) hex_puzzzle.cpp:726:32: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect dst = {x-scrollX-32, y-scrollY-65, 0, 0}; ^~~~~~~~~~~~ hex_puzzzle.cpp:726:32: note: insert an explicit cast to silence this issue SDL_Rect dst = {x-scrollX-32, y-scrollY-65, 0, 0}; ^~~~~~~~~~~~ static_cast( ) hex_puzzzle.cpp:1003:30: warning: explicitly assigning value of variable of type 'double' to itself [-Wself-assign] if (mode & 1) f=1-f; else f=f; ~^~ hex_puzzzle.cpp:1031:7: warning: 'LaserRender::Render' hides overloaded virtual function [-Woverloaded-virtual] void Render(RenderObject* /*r*/, double /*time*/) ^ hex_puzzzle.cpp:427:15: note: hidden overloaded virtual function 'RenderStage::Render' declared here: different number of parameters (3 vs 2) virtual void Render(RenderObject* r, double time, bool reflect) = 0; ^ hex_puzzzle.cpp:1264:18: warning: assigning field to itself [-Wself-assign-field] if (f==1) dead = this->dead; ^ hex_puzzzle.cpp:2495:25: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SDL_Rect src = {0,0,screen->w,screen->h}; ^~~~~~~~~ hex_puzzzle.cpp:2495:25: note: insert an explicit cast to silence this issue SDL_Rect src = {0,0,screen->w,screen->h}; ^~~~~~~~~ static_cast( ) hex_puzzzle.cpp:2495:35: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SDL_Rect src = {0,0,screen->w,screen->h}; ^~~~~~~~~ hex_puzzzle.cpp:2495:35: note: insert an explicit cast to silence this issue SDL_Rect src = {0,0,screen->w,screen->h}; ^~~~~~~~~ static_cast( ) hex_puzzzle.cpp:2496:25: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SDL_Rect dst = {0,0,screen->w,screen->h}; ^~~~~~~~~ hex_puzzzle.cpp:2496:25: note: insert an explicit cast to silence this issue SDL_Rect dst = {0,0,screen->w,screen->h}; ^~~~~~~~~ static_cast( ) hex_puzzzle.cpp:2496:35: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SDL_Rect dst = {0,0,screen->w,screen->h}; ^~~~~~~~~ hex_puzzzle.cpp:2496:35: note: insert an explicit cast to silence this issue SDL_Rect dst = {0,0,screen->w,screen->h}; ^~~~~~~~~ static_cast( ) hex_puzzzle.cpp:2636:21: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect dst = {pad, SCREEN_H-TILE_H2-pad, 0, 0}; ^~~ hex_puzzzle.cpp:2636:21: note: insert an explicit cast to silence this issue SDL_Rect dst = {pad, SCREEN_H-TILE_H2-pad, 0, 0}; ^~~ static_cast( ) hex_puzzzle.cpp:2636:26: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect dst = {pad, SCREEN_H-TILE_H2-pad, 0, 0}; ^~~~~~~~~~~~~~~~~~~~ ./video.h:13:18: note: expanded from macro 'SCREEN_H' #define SCREEN_H 480 ^ hex_puzzzle.cpp:2636:26: note: insert an explicit cast to silence this issue SDL_Rect dst = {pad, SCREEN_H-TILE_H2-pad, 0, 0}; ^~~~~~~~~~~~~~~~~~~~ static_cast() ./video.h:13:18: note: expanded from macro 'SCREEN_H' #define SCREEN_H 480 ^ hex_puzzzle.cpp:3263:7: warning: unused variable 'playerStartPos' [-Wunused-variable] Pos playerStartPos = player; ^ 5 warnings and 14 errors generated. *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/games/hex-a-hop/work/hex-a-hop-1.1.0/src *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/games/hex-a-hop/work/hex-a-hop-1.1.0/src *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/games/hex-a-hop/work/hex-a-hop-1.1.0 *** Error code 1 Stop. make: stopped in /usr/ports/games/hex-a-hop