[package - head-i386-default][games/flyhard] Failed for flyhard-0.42_15 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Wed May 16 02:48:54 UTC 2018
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 at FreeBSD.org
Last committer: jbeich at FreeBSD.org
Ident: $FreeBSD: head/games/flyhard/Makefile 467711 2018-04-18 13:57:42Z jbeich $
Log URL: http://beefy11.nyi.freebsd.org/data/head-i386-default/p469985_s333618/logs/flyhard-0.42_15.log
Build URL: http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p469985_s333618
Log:
=>> Building games/flyhard
build started at Wed May 16 02:48:35 UTC 2018
port directory: /usr/ports/games/flyhard
package name: flyhard-0.42_15
building for: FreeBSD head-i386-default-job-07 12.0-CURRENT FreeBSD 12.0-CURRENT 1200063 i386
maintained by: amdmi3 at FreeBSD.org
Makefile ident: $FreeBSD: head/games/flyhard/Makefile 467711 2018-04-18 13:57:42Z jbeich $
Poudriere version: 3.2.6-3-g832b198d
Host OSVERSION: 1200062
Jail OSVERSION: 1200063
Job Id: 07
!!! 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 flyhard-0.42_15:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
amdmi3 at 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
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--
=======================<phase: check-sanity >============================
===> License GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===> 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-i386-default-job-07] Installing pkg-1.10.5_1...
[head-i386-default-job-07] 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
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License GPLv2+ accepted by the user
===> Fetching all distfiles required by flyhard-0.42_15 for building
===========================================================================
=======================<phase: checksum >============================
===> 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.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> 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.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for flyhard-0.42_15
===> Applying FreeBSD patches for flyhard-0.42_15
===========================================================================
=======================<phase: build-depends >============================
===> 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-i386-default-job-07] Installing boost-libs-1.67.0_1...
[head-i386-default-job-07] `-- Installing icu-61.1,1...
[head-i386-default-job-07] `-- Extracting icu-61.1,1: .......... done
<snip>
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
===========================================================================
=======================<phase: build >============================
===> 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<Sint16>( )
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<Sint16>( )
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<float>( )
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<float>( )
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<float>( )
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<float>( )
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<float>( )
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<float>( )
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<Sint16>( )
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<Sint16>( )
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<Uint16>( )
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<Uint16>( )
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<Uint16>( )
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<Uint16>( )
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<Uint16>( )
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<Uint16>( )
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<Sint16>( )
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<Sint16>( )
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<Sint16>( )
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
More information about the freebsd-pkg-fallout
mailing list