Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2018 02:13:48 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][devel/flatzebra] Failed for flatzebra-0.1.6_5 in build
Message-ID:  <201801160213.w0G2Dmr5095274@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:     ports@FreeBSD.org
Last committer: amdmi3@FreeBSD.org
Ident:          $FreeBSD: head/devel/flatzebra/Makefile 426948 2016-11-23 18:15:24Z amdmi3 $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-amd64-default/p459147_s328035/logs/flatzebra-0.1.6_5.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p459147_s328035
Log:

=>> Building devel/flatzebra
build started at Tue Jan 16 02:13:37 UTC 2018
port directory: /usr/ports/devel/flatzebra
package name: flatzebra-0.1.6_5
building for: FreeBSD head-amd64-default-job-02 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 amd64
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/devel/flatzebra/Makefile 426948 2016-11-23 18:15:24Z amdmi3 $
Poudriere version: 3.2.3-46-g2b218269
Host OSVERSION: 1200054
Jail OSVERSION: 1200056
Job Id: 02




!!! 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
P_PYTHON_MAJOR_VER=2
POUDRIERE_VERSION=3.2.3-46-g2b218269
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
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 flatzebra-0.1.6_5:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/devel/flatzebra/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/flatzebra/work  HOME=/wrkdirs/usr/ports/devel/flatzebra/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/flatzebra/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/devel/flatzebra/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/flatzebra/work  HOME=/wrkdirs/usr/ports/devel/flatzebra/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/flatzebra/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/flatzebra"  EXAMPLESDIR="share/examples/flatzebra"  DATADIR="share/flatzebra"  WWWDIR="www/flatzebra"  ETCDIR="etc/flatzebra"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/flatzebra DOCSDIR=/usr/local/share/doc/flatzebra EXAMPLESDIR=/usr/local/share/examples/flatzebra  WWWDIR=/usr/local/www/flatzebra ETCDIR=/usr/local/etc/flatzebra
--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   >============================
===>   NOTICE:

The flatzebra 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

===>  License GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   flatzebra-0.1.6_5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[head-amd64-default-job-02] Installing pkg-1.10.4...
[head-amd64-default-job-02] Extracting pkg-1.10.4: .......... done
===>   flatzebra-0.1.6_5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of flatzebra-0.1.6_5
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The flatzebra 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

===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by flatzebra-0.1.6_5 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

The flatzebra 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

===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by flatzebra-0.1.6_5 for building
=> SHA256 Checksum OK for flatzebra-0.1.6.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>   NOTICE:

The flatzebra port currently does not have a maintainer. As a result, it is
<snip>

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
===>   flatzebra-0.1.6_5 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so)
===>   Returning to build of flatzebra-0.1.6_5
===>   flatzebra-0.1.6_5 depends on shared library: libSDL_image.so - not found
===>   Installing existing package /packages/All/sdl_image-1.2.12_11.txz
[head-amd64-default-job-02] Installing sdl_image-1.2.12_11...
[head-amd64-default-job-02] `-- Installing jpeg-turbo-1.5.3...
[head-amd64-default-job-02] `-- Extracting jpeg-turbo-1.5.3: .......... done
[head-amd64-default-job-02] `-- Installing png-1.6.34...
[head-amd64-default-job-02] `-- Extracting png-1.6.34: .......... done
[head-amd64-default-job-02] `-- Installing tiff-4.0.9...
[head-amd64-default-job-02] |   `-- Installing jbigkit-2.1_1...
[head-amd64-default-job-02] |   `-- Extracting jbigkit-2.1_1: .......... done
[head-amd64-default-job-02] `-- Extracting tiff-4.0.9: .......... done
[head-amd64-default-job-02] `-- Installing webp-0.6.1...
[head-amd64-default-job-02] |   `-- Installing giflib-5.1.4...
[head-amd64-default-job-02] |   `-- Extracting giflib-5.1.4: .......... done
[head-amd64-default-job-02] `-- Extracting webp-0.6.1: .......... done
[head-amd64-default-job-02] Extracting sdl_image-1.2.12_11: .......... done
Message from sdl_image-1.2.12_11:

===>   NOTICE:

The sdl_image 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
===>   flatzebra-0.1.6_5 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so)
===>   Returning to build of flatzebra-0.1.6_5
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for flatzebra-0.1.6_5
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/devel/flatzebra/work/flatzebra-0.1.6/macros/libtool.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/devel/flatzebra/work/flatzebra-0.1.6/configure
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of c++... gcc3
checking maximum warning verbosity option... -W -Wall for C++ -W -Wall for C
checking build system type... amd64-portbld-freebsd12.0
checking host system type... amd64-portbld-freebsd12.0
checking how to print strings... printf
checking for gcc... cc
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 a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert amd64-portbld-freebsd12.0 file names to amd64-portbld-freebsd12.0 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd12.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... cpp
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 dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd12.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd12.0 ld.so
checking how to hardcode library paths into programs... immediate
checking for sdl-config... /usr/local/bin/sdl-config
checking for SDL - version >= 1.2.4... yes
checking for SDL_image library (>= 1.2.0)... found
checking for SDL_mixer... found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating flatzebra.spec
config.status: creating flatzebra-0.1.pc
config.status: creating src/Makefile
config.status: creating src/flatzebra/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
===========================================================================
=======================<phase: build          >============================
===>  Building for flatzebra-0.1.6_5
Making all in src
Making all in flatzebra
/bin/sh ../../libtool  --tag=CXX   --mode=compile c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flatzebra\" -DVERSION=\"0.1.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.    -I../../src  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector -fno-strict-aliasing  -W -Wall -MT libflatzebra_0_1_la-RCouple.lo -MD -MP -MF .deps/libflatzebra_0_1_la-RCouple.Tpo -c -o libflatzebra_0_1_la-RCouple.lo `test -f 'RCouple.cpp' || echo './'`RCouple.cpp
libtool: compile:  c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flatzebra\" -DVERSION=\"0.1.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../src -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector -fno-strict-aliasing -W -Wall -MT libflatzebra_0_1_la-RCouple.lo -MD -MP -MF .deps/libflatzebra_0_1_la-RCouple.Tpo -c RCouple.cpp  -fPIC -DPIC -o .libs/libflatzebra_0_1_la-RCouple.o
mv -f .deps/libflatzebra_0_1_la-RCouple.Tpo .deps/libflatzebra_0_1_la-RCouple.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=compile c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flatzebra\" -DVERSION=\"0.1.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.    -I../../src  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector -fno-strict-aliasing  -W -Wall -MT libflatzebra_0_1_la-GameEngine.lo -MD -MP -MF .deps/libflatzebra_0_1_la-GameEngine.Tpo -c -o libflatzebra_0_1_la-GameEngine.lo `test -f 'GameEngine.cpp' || echo './'`GameEngine.cpp
libtool: compile:  c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flatzebra\" -DVERSION=\"0.1.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../src -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector -fno-strict-aliasing -W -Wall -MT libflatzebra_0_1_la-GameEngine.lo -MD -MP -MF .deps/libflatzebra_0_1_la-GameEngine.Tpo -c GameEngine.cpp  -fPIC -DPIC -o .libs/libflatzebra_0_1_la-GameEngine.o
In file included from GameEngine.cpp:23:
./../src/flatzebra/GameEngine.h:412:23: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
    SDL_Rect rect = { x, y, width, height };
                      ^
./../src/flatzebra/GameEngine.h:412:23: note: insert an explicit cast to silence this issue
    SDL_Rect rect = { x, y, width, height };
                      ^
                      static_cast<Sint16>( )
./../src/flatzebra/GameEngine.h:412:26: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
    SDL_Rect rect = { x, y, width, height };
                         ^
./../src/flatzebra/GameEngine.h:412:26: note: insert an explicit cast to silence this issue
    SDL_Rect rect = { x, y, width, height };
                         ^
                         static_cast<Sint16>( )
./../src/flatzebra/GameEngine.h:412:29: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
    SDL_Rect rect = { x, y, width, height };
                            ^~~~~
./../src/flatzebra/GameEngine.h:412:29: note: insert an explicit cast to silence this issue
    SDL_Rect rect = { x, y, width, height };
                            ^~~~~
                            static_cast<Uint16>( )
./../src/flatzebra/GameEngine.h:412:36: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
    SDL_Rect rect = { x, y, width, height };
                                   ^~~~~~
./../src/flatzebra/GameEngine.h:412:36: note: insert an explicit cast to silence this issue
    SDL_Rect rect = { x, y, width, height };
                                   ^~~~~~
                                   static_cast<Uint16>( )
4 errors generated.
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/devel/flatzebra/work/flatzebra-0.1.6/src/flatzebra
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/devel/flatzebra/work/flatzebra-0.1.6/src
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/devel/flatzebra/work/flatzebra-0.1.6
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/flatzebra



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