Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 2018 09:14:47 GMT
From:      pkg-fallout@FreeBSD.org
To:        amdmi3@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][games/einstein] Failed for einstein-2.0_10 in build
Message-ID:  <201802030914.w139ElEP029154@beefy12.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://beefy12.nyi.freebsd.org/data/head-amd64-default/p460764_s328823/logs/einstein-2.0_10.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p460764_s328823
Log:

=>> Building games/einstein
build started at Sat Feb  3 09:14:36 UTC 2018
port directory: /usr/ports/games/einstein
package name: einstein-2.0_10
building for: FreeBSD head-amd64-default-job-12 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 amd64
maintained by: amdmi3@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/einstein/Makefile 426290 2016-11-17 16:52:59Z amdmi3 $
Poudriere version: 3.2.4-34-g673bd441
Host OSVERSION: 1200054
Jail OSVERSION: 1200056
Job Id: 12




!!! Jail is newer than host. (Jail: 1200056, Host: 1200054) !!!
!!! 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-amd64-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-amd64-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.2.4-34-g673bd441
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---
---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="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -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/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---
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=amd64
CONFIGURE_MAX_CMD_LEN=262144
HAVE_COMPAT_IA32_KERN=YES
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)  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.4.txz
[head-amd64-default-job-12] Installing pkg-1.10.4...
[head-amd64-default-job-12] Extracting pkg-1.10.4: .......... 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>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by einstein-2.0_10 for building
===>  Extracting for einstein-2.0_10
=> SHA256 Checksum OK for einstein-2.0-src.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for einstein-2.0_10
===>  Applying FreeBSD patches for einstein-2.0_10
===========================================================================
=======================<phase: build-depends  >============================
===>   einstein-2.0_10 depends on file: /usr/local/bin/sdl-config - not found
===>   Installing existing package /packages/All/sdl-1.2.15_10,2.txz
[head-amd64-default-job-12] Installing sdl-1.2.15_10,2...
[head-amd64-default-job-12] `-- Installing aalib-1.4.r5_11...
[head-amd64-default-job-12] |   `-- Installing indexinfo-0.3.1...
[head-amd64-default-job-12] |   `-- Extracting indexinfo-0.3.1: .... done
[head-amd64-default-job-12] `-- Extracting aalib-1.4.r5_11: .......... done
[head-amd64-default-job-12] `-- Installing libGLU-9.0.0_3...
[head-amd64-default-job-12] |   `-- Installing mesa-libs-17.3.1...
[head-amd64-default-job-12] |   | `-- Installing expat-2.2.5...
[head-amd64-default-job-12] |   | `-- Extracting expat-2.2.5: .......... done
[head-amd64-default-job-12] |   | `-- Installing libX11-1.6.5,1...
[head-amd64-default-job-12] |   |   `-- Installing kbproto-1.0.7...
[head-amd64-default-job-12] |   |   `-- Extracting kbproto-1.0.7: .......... done
[head-amd64-default-job-12] |   |   `-- Installing libXau-1.0.8_3...
[head-amd64-default-job-12] |   |   | `-- Installing xproto-7.0.31...
[head-amd64-default-job-12] |   |   | `-- Extracting xproto-7.0.31: .......... done
[head-amd64-default-job-12] |   |   `-- Extracting libXau-1.0.8_3: .......... done
[head-amd64-default-job-12] |   |   `-- Installing libXdmcp-1.1.2...
[head-amd64-default-job-12] |   |   `-- Extracting libXdmcp-1.1.2: ......... done
[head-amd64-default-job-12] |   |   `-- Installing libxcb-1.12_2...
[head-amd64-default-job-12] |   |   | `-- Installing libpthread-stubs-0.4...
[head-amd64-default-job-12] |   |   | `-- Extracting libpthread-stubs-0.4: . done
[head-amd64-default-job-12] |   |   | `-- Installing libxml2-2.9.7...
[head-amd64-default-job-12] |   |   | `-- Extracting libxml2-2.9.7: .......... done
[head-amd64-default-job-12] |   |   `-- Extracting libxcb-1.12_2: .......... done
[head-amd64-default-job-12] |   | `-- Extracting libX11-1.6.5,1: .......... done
[head-amd64-default-job-12] |   | `-- Installing libXdamage-1.1.4_3...
[head-amd64-default-job-12] |   |   `-- Installing damageproto-1.2.1...
[head-amd64-default-job-12] |   |   `-- Extracting damageproto-1.2.1: .... done
<snip>

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
===>   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-amd64-default-job-12] Installing sdl_mixer-1.2.12_12...
[head-amd64-default-job-12] `-- Installing flac-1.3.2...
[head-amd64-default-job-12] |   `-- Installing libogg-1.3.3,4...
[head-amd64-default-job-12] |   `-- Extracting libogg-1.3.3,4: .......... done
[head-amd64-default-job-12] `-- Extracting flac-1.3.2: .......... done
[head-amd64-default-job-12] `-- Installing libmikmod-3.3.11.1...
[head-amd64-default-job-12] `-- Extracting libmikmod-3.3.11.1: .......... done
[head-amd64-default-job-12] `-- Installing libvorbis-1.3.5_1,3...
[head-amd64-default-job-12] `-- Extracting libvorbis-1.3.5_1,3: .......... done
[head-amd64-default-job-12] `-- Installing smpeg-0.4.4_14...
[head-amd64-default-job-12] `-- Extracting smpeg-0.4.4_14: .......... done
[head-amd64-default-job-12] `-- Installing timidity-0.2i_1...
[head-amd64-default-job-12] `-- Extracting timidity-0.2i_1: .......... done
[head-amd64-default-job-12] 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
Message from sdl_mixer-1.2.12_12:

===>   NOTICE:

The sdl_mixer 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
c++ -pipe -Wall   `/usr/local/bin/sdl-config --cflags` -DPREFIX=L\"/usr/local\"  -c puzgen.cpp
c++ -pipe -Wall   `/usr/local/bin/sdl-config --cflags` -DPREFIX=L\"/usr/local\"  -c main.cpp
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?201802030914.w139ElEP029154>