Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2018 11:34:14 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv6-default][games/einstein] Failed for einstein-2.0_10 in build
Message-ID:  <201805071134.w47BYEf5066895@beefy8.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

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/einstein/Makefile 426290 2016-11-17 16:52:59Z amdmi3 $
Log URL:        http://beefy8.nyi.freebsd.org/data/head-armv6-default/p469172_s333291/logs/einstein-2.0_10.log
Build URL:      http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p469172_s333291
Log:

=>> Building games/einstein
build started at Mon May  7 11:33:57 UTC 2018
port directory: /usr/ports/games/einstein
package name: einstein-2.0_10
building for: FreeBSD head-armv6-default-job-21 12.0-CURRENT FreeBSD 12.0-CURRENT 1200062 arm
maintained by: amdmi3@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/einstein/Makefile 426290 2016-11-17 16:52:59Z amdmi3 $
Poudriere version: 3.2.6-3-g832b198d
Host OSVERSION: 1200060
Jail OSVERSION: 1200062
Job Id: 21




!!! Jail is newer than host. (Jail: 1200062, Host: 1200060) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1200062
UNAME_v=FreeBSD 12.0-CURRENT 1200062
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.6-3-g832b198d
MASTERMNT=/usr/local/poudriere/data/.m/head-armv6-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-armv6-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-armv6-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---
---End OPTIONS List---

--MAINTAINER--
amdmi3@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/einstein/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/einstein/work  HOME=/wrkdirs/usr/ports/games/einstein/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/einstein/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/einstein/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/einstein/work  HOME=/wrkdirs/usr/ports/games/einstein/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/einstein/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="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fno-strict-aliasing"  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS="" LIBS=""  CXX="/nxb-bin/usr/bin/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/einstein"  EXAMPLESDIR="share/examples/einstein"  DATADIR="share/einstein"  WWWDIR="www/einstein"  ETCDIR="etc/einstein"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/einstein DOCSDIR=/usr/local/share/doc/einstein EXAMPLESDIR=/usr/local/share/examples/einstein  WWWDIR=/usr/local/www/einstein ETCDIR=/usr/local/etc/einstein
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
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_9d218390=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv6-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv6-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-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_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv6-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv6
OPSYS=FreeBSD
_OSRELEASE=12.0-CURRENT
OSREL=12.0
OSVERSION=1200062
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---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.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--
=======================<phase: check-sanity   >============================
===>  License GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   einstein-2.0_10 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5.txz
[head-armv6-default-job-21] Installing pkg-1.10.5...
[head-armv6-default-job-21] Extracting pkg-1.10.5: .......... done
===>   einstein-2.0_10 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of einstein-2.0_10
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by einstein-2.0_10 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by einstein-2.0_10 for building
=> SHA256 Checksum OK for einstein-2.0-src.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
<snip>
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/ft2-toc.html, if documentation was installed).
===>   einstein-2.0_10 depends on shared library: libSDL_ttf.so - found (/usr/local/lib/libSDL_ttf.so)
===>   Returning to build of einstein-2.0_10
===>   einstein-2.0_10 depends on shared library: libSDL_mixer.so - not found
===>   Installing existing package /packages/All/sdl_mixer-1.2.12_12.txz
[head-armv6-default-job-21] Installing sdl_mixer-1.2.12_12...
[head-armv6-default-job-21] `-- Installing flac-1.3.2...
[head-armv6-default-job-21] |   `-- Installing libogg-1.3.3,4...
[head-armv6-default-job-21] |   `-- Extracting libogg-1.3.3,4: .......... done
[head-armv6-default-job-21] `-- Extracting flac-1.3.2: .......... done
[head-armv6-default-job-21] `-- Installing libmikmod-3.3.11.1...
[head-armv6-default-job-21] `-- Extracting libmikmod-3.3.11.1: .......... done
[head-armv6-default-job-21] `-- Installing libvorbis-1.3.6,3...
[head-armv6-default-job-21] `-- Extracting libvorbis-1.3.6,3: .......... done
[head-armv6-default-job-21] `-- Installing smpeg-0.4.4_14...
[head-armv6-default-job-21] `-- Extracting smpeg-0.4.4_14: .......... done
[head-armv6-default-job-21] `-- Installing timidity-0.2i_1...
[head-armv6-default-job-21] `-- Extracting timidity-0.2i_1: .......... done
[head-armv6-default-job-21] Extracting sdl_mixer-1.2.12_12: ......... done
Message from timidity-0.2i_1:

===>   NOTICE:

The timidity port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
===>   einstein-2.0_10 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so)
===>   Returning to build of einstein-2.0_10
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for einstein-2.0_10
===========================================================================
=======================<phase: build          >============================
===>  Building for einstein-2.0_10
/nxb-bin/usr/bin/c++ -pipe -Wall   `/usr/local/bin/sdl-config --cflags` -DPREFIX=L\"/usr/local\"  -c puzgen.cpp
/nxb-bin/usr/bin/c++ -pipe -Wall   `/usr/local/bin/sdl-config --cflags` -DPREFIX=L\"/usr/local\"  -c main.cpp
/nxb-bin/usr/bin/c++ -pipe -Wall   `/usr/local/bin/sdl-config --cflags` -DPREFIX=L\"/usr/local\"  -c screen.cpp
screen.cpp:119:32: 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, mouseSave->w, mouseSave->h };
                               ^~~~~~~~~~~~
screen.cpp:119:32: note: insert an explicit cast to silence this issue
        SDL_Rect src = { 0, 0, mouseSave->w, mouseSave->h };
                               ^~~~~~~~~~~~
                               static_cast<Uint16>( )
screen.cpp:119:46: 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, mouseSave->w, mouseSave->h };
                                             ^~~~~~~~~~~~
screen.cpp:119:46: note: insert an explicit cast to silence this issue
        SDL_Rect src = { 0, 0, mouseSave->w, mouseSave->h };
                                             ^~~~~~~~~~~~
                                             static_cast<Uint16>( )
screen.cpp:120:26: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
        SDL_Rect dst = { saveX, saveY, mouseSave->w, mouseSave->h };
                         ^~~~~
screen.cpp:120:26: note: insert an explicit cast to silence this issue
        SDL_Rect dst = { saveX, saveY, mouseSave->w, mouseSave->h };
                         ^~~~~
                         static_cast<Sint16>( )
screen.cpp:120:33: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
        SDL_Rect dst = { saveX, saveY, mouseSave->w, mouseSave->h };
                                ^~~~~
screen.cpp:120:33: note: insert an explicit cast to silence this issue
        SDL_Rect dst = { saveX, saveY, mouseSave->w, mouseSave->h };
                                ^~~~~
                                static_cast<Sint16>( )
screen.cpp:120:40: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
        SDL_Rect dst = { saveX, saveY, mouseSave->w, mouseSave->h };
                                       ^~~~~~~~~~~~
screen.cpp:120:40: note: insert an explicit cast to silence this issue
        SDL_Rect dst = { saveX, saveY, mouseSave->w, mouseSave->h };
                                       ^~~~~~~~~~~~
                                       static_cast<Uint16>( )
screen.cpp:120:54: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
        SDL_Rect dst = { saveX, saveY, mouseSave->w, mouseSave->h };
                                                     ^~~~~~~~~~~~
screen.cpp:120:54: note: insert an explicit cast to silence this issue
        SDL_Rect dst = { saveX, saveY, mouseSave->w, mouseSave->h };
                                                     ^~~~~~~~~~~~
                                                     static_cast<Uint16>( )
screen.cpp:144:32: 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, mouseSave->w, mouseSave->h };
                               ^~~~~~~~~~~~
screen.cpp:144:32: note: insert an explicit cast to silence this issue
        SDL_Rect src = { 0, 0, mouseSave->w, mouseSave->h };
                               ^~~~~~~~~~~~
                               static_cast<Uint16>( )
screen.cpp:144:46: 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, mouseSave->w, mouseSave->h };
                                             ^~~~~~~~~~~~
screen.cpp:144:46: note: insert an explicit cast to silence this issue
        SDL_Rect src = { 0, 0, mouseSave->w, mouseSave->h };
                                             ^~~~~~~~~~~~
                                             static_cast<Uint16>( )
screen.cpp:145:26: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
        SDL_Rect dst = { x, y, mouseImage->w, mouseImage->h };
                         ^
screen.cpp:145:26: note: insert an explicit cast to silence this issue
        SDL_Rect dst = { x, y, mouseImage->w, mouseImage->h };
                         ^
                         static_cast<Sint16>( )
screen.cpp:145:29: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
        SDL_Rect dst = { x, y, mouseImage->w, mouseImage->h };
                            ^
screen.cpp:145:29: note: insert an explicit cast to silence this issue
        SDL_Rect dst = { x, y, mouseImage->w, mouseImage->h };
                            ^
                            static_cast<Sint16>( )
screen.cpp:145:32: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
        SDL_Rect dst = { x, y, mouseImage->w, mouseImage->h };
                               ^~~~~~~~~~~~~
screen.cpp:145:32: note: insert an explicit cast to silence this issue
        SDL_Rect dst = { x, y, mouseImage->w, mouseImage->h };
                               ^~~~~~~~~~~~~
                               static_cast<Uint16>( )
screen.cpp:145:47: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
        SDL_Rect dst = { x, y, mouseImage->w, mouseImage->h };
                                              ^~~~~~~~~~~~~
screen.cpp:145:47: note: insert an explicit cast to silence this issue
        SDL_Rect dst = { x, y, mouseImage->w, mouseImage->h };
                                              ^~~~~~~~~~~~~
                                              static_cast<Uint16>( )
screen.cpp:214:20: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
    SDL_Rect r = { x, y, w, h };
                   ^
screen.cpp:214:20: note: insert an explicit cast to silence this issue
    SDL_Rect r = { x, y, w, h };
                   ^
                   static_cast<Sint16>( )
screen.cpp:214:23: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
    SDL_Rect r = { x, y, w, h };
                      ^
screen.cpp:214:23: note: insert an explicit cast to silence this issue
    SDL_Rect r = { x, y, w, h };
                      ^
                      static_cast<Sint16>( )
screen.cpp:214:26: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
    SDL_Rect r = { x, y, w, h };
                         ^
screen.cpp:214:26: note: insert an explicit cast to silence this issue
    SDL_Rect r = { x, y, w, h };
                         ^
                         static_cast<Uint16>( )
screen.cpp:214:29: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
    SDL_Rect r = { x, y, w, h };
                            ^
screen.cpp:214:29: note: insert an explicit cast to silence this issue
    SDL_Rect r = { x, y, w, h };
                            ^
                            static_cast<Uint16>( )
screen.cpp:258:28: 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, tile->w, tile->h };
                           ^~~~~~~
screen.cpp:258:28: note: insert an explicit cast to silence this issue
    SDL_Rect src = { 0, 0, tile->w, tile->h };
                           ^~~~~~~
                           static_cast<Uint16>( )
screen.cpp:258:37: 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, tile->w, tile->h };
                                    ^~~~~~~
screen.cpp:258:37: note: insert an explicit cast to silence this issue
    SDL_Rect src = { 0, 0, tile->w, tile->h };
                                    ^~~~~~~
                                    static_cast<Uint16>( )
screen.cpp:259:22: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
    SDL_Rect dst = { x, y, tile->w, tile->h };
                     ^
screen.cpp:259:22: note: insert an explicit cast to silence this issue
    SDL_Rect dst = { x, y, tile->w, tile->h };
                     ^
                     static_cast<Sint16>( )
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/games/einstein/work/einstein-2.0
*** Error code 1

Stop.
make: stopped in /usr/ports/games/einstein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805071134.w47BYEf5066895>