[package - head-i386-default][games/chapping] Failed for chapping-0.43_13 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Sun Mar 4 08:27:06 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: tijl at FreeBSD.org
Ident:          $FreeBSD: head/games/chapping/Makefile 374303 2014-12-08 16:48:38Z tijl $
Log URL:        http://beefy11.nyi.freebsd.org/data/head-i386-default/p463457_s330300/logs/chapping-0.43_13.log
Build URL:      http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p463457_s330300
Log:

=>> Building games/chapping
build started at Sun Mar  4 08:26:57 UTC 2018
port directory: /usr/ports/games/chapping
package name: chapping-0.43_13
building for: FreeBSD head-i386-default-job-09 12.0-CURRENT FreeBSD 12.0-CURRENT 1200059 i386
maintained by: amdmi3 at FreeBSD.org
Makefile ident:      $FreeBSD: head/games/chapping/Makefile 374303 2014-12-08 16:48:38Z tijl $
Poudriere version: 3.2.4-56-g0fd5b0e3
Host OSVERSION: 1200054
Jail OSVERSION: 1200059
Job Id: 09




!!! Jail is newer than host. (Jail: 1200059, Host: 1200054) !!!
!!! 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=1200059
UNAME_v=FreeBSD 12.0-CURRENT 1200059
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.4-56-g0fd5b0e3
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---
---End OPTIONS List---

--MAINTAINER--
amdmi3 at FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

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

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/chapping DOCSDIR=/usr/local/share/doc/chapping EXAMPLESDIR=/usr/local/share/examples/chapping  WWWDIR=/usr/local/www/chapping ETCDIR=/usr/local/etc/chapping
--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 (branches/release_60 325932) (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 (branches/release_60 325932) (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"
OUTPUT_58173849_921dbbb2=yes
OUTPUT_9bdba57c_921dbbb2=yes
OUTPUT_6a4fe7f5_921dbbb2=yes
OUTPUT_6bcac02b_921dbbb2=yes
OUTPUT_67d20829_921dbbb2=yes
OUTPUT_bfa62e83_921dbbb2=yes
OUTPUT_f0b4d593_921dbbb2=yes
OUTPUT_308abb44_921dbbb2=yes
OUTPUT_f00456e5_921dbbb2=yes
OUTPUT_65ad290d_921dbbb2=yes
OUTPUT_b2657cc3_921dbbb2=yes
OUTPUT_380987f7_921dbbb2=yes
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=12.0-CURRENT
OSREL=12.0
OSVERSION=1200059
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
#### 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)  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   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   chapping-0.43_13 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5.txz
[head-i386-default-job-09] Installing pkg-1.10.5...
[head-i386-default-job-09] Extracting pkg-1.10.5: .......... done
===>   chapping-0.43_13 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of chapping-0.43_13
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by chapping-0.43_13 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by chapping-0.43_13 for building
=> SHA256 Checksum OK for chapping-0.43-src.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by chapping-0.43_13 for building
===>  Extracting for chapping-0.43_13
=> SHA256 Checksum OK for chapping-0.43-src.tar.bz2.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for chapping-0.43_13
===>  Applying FreeBSD patches for chapping-0.43_13
===========================================================================
=======================<phase: build-depends  >============================
===>   chapping-0.43_13 depends on file: /usr/local/bin/sdl-config - not found
===>   Installing existing package /packages/All/sdl-1.2.15_10,2.txz
[head-i386-default-job-09] Installing sdl-1.2.15_10,2...
[head-i386-default-job-09] `-- Installing aalib-1.4.r5_11...
[head-i386-default-job-09] |   `-- Installing indexinfo-0.3.1...
[head-i386-default-job-09] |   `-- Extracting indexinfo-0.3.1: .... done
[head-i386-default-job-09] `-- Extracting aalib-1.4.r5_11: .......... done
[head-i386-default-job-09] `-- Installing libGLU-9.0.0_3...
[head-i386-default-job-09] |   `-- Installing mesa-libs-17.3.1...
[head-i386-default-job-09] |   | `-- Installing expat-2.2.5...
[head-i386-default-job-09] |   | `-- Extracting expat-2.2.5: .......... done
[head-i386-default-job-09] |   | `-- Installing libX11-1.6.5,1...
[head-i386-default-job-09] |   |   `-- Installing kbproto-1.0.7...
[head-i386-default-job-09] |   |   `-- Extracting kbproto-1.0.7: .......... done
[head-i386-default-job-09] |   |   `-- Installing libXau-1.0.8_3...
[head-i386-default-job-09] |   |   | `-- Installing xproto-7.0.31...
<snip>
[head-i386-default-job-09] |   |   | `-- Extracting fixesproto-5.0: .... done
[head-i386-default-job-09] |   |   `-- Extracting libXfixes-5.0.3: .......... done
[head-i386-default-job-09] |   | `-- Extracting libXdamage-1.1.4_3: ...... done
[head-i386-default-job-09] |   | `-- Installing libXext-1.3.3_1,1...
[head-i386-default-job-09] |   |   `-- Installing xextproto-7.3.0...
[head-i386-default-job-09] |   |   `-- Extracting xextproto-7.3.0: .......... done
[head-i386-default-job-09] |   | `-- Extracting libXext-1.3.3_1,1: .......... done
[head-i386-default-job-09] |   | `-- Installing libXxf86vm-1.1.4_1...
[head-i386-default-job-09] |   |   `-- Installing xf86vidmodeproto-2.3.1...
[head-i386-default-job-09] |   |   `-- Extracting xf86vidmodeproto-2.3.1: .... done
[head-i386-default-job-09] |   | `-- Extracting libXxf86vm-1.1.4_1: .......... done
[head-i386-default-job-09] |   | `-- Installing libdrm-2.4.89,1...
[head-i386-default-job-09] |   |   `-- Installing libpciaccess-0.13.5...
[head-i386-default-job-09] |   |   | `-- Installing pciids-20180219...
[head-i386-default-job-09] |   |   | `-- Extracting pciids-20180219: ..... done
[head-i386-default-job-09] |   |   `-- Extracting libpciaccess-0.13.5: ...... done
[head-i386-default-job-09] |   | `-- Extracting libdrm-2.4.89,1: .......... done
[head-i386-default-job-09] |   | `-- Installing libunwind-20170615...
[head-i386-default-job-09] |   | `-- Extracting libunwind-20170615: .......... done
[head-i386-default-job-09] |   | `-- Installing libxshmfence-1.2_2...
[head-i386-default-job-09] |   | `-- Extracting libxshmfence-1.2_2: ......... done
[head-i386-default-job-09] |   `-- Extracting mesa-libs-17.3.1: .......... done
[head-i386-default-job-09] `-- Extracting libGLU-9.0.0_3: ...... done
[head-i386-default-job-09] `-- Installing libXrandr-1.5.1...
[head-i386-default-job-09] |   `-- Installing libXrender-0.9.10...
[head-i386-default-job-09] |   | `-- Installing renderproto-0.11.1...
[head-i386-default-job-09] |   | `-- Extracting renderproto-0.11.1: .... done
[head-i386-default-job-09] |   `-- Extracting libXrender-0.9.10: .......... done
[head-i386-default-job-09] |   `-- Installing randrproto-1.5.0...
[head-i386-default-job-09] |   `-- Extracting randrproto-1.5.0: .... done
[head-i386-default-job-09] `-- Extracting libXrandr-1.5.1: .......... done
[head-i386-default-job-09] Extracting sdl-1.2.15_10,2: .......... done
Message from aalib-1.4.r5_11:

===>   NOTICE:

The aalib 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-1.2.15_10,2:

------------------------------------------------------------------------------
 Your SDL library has been built with libvgl support, which means that you
 can run almost any SDL application straight on your console (VESA 2.0
 compatible videocard is required).

 To do this you have to load the vesa kernel module or enable it in your
 kernel, and set environment variable "SDL_VIDEODRIVER=vgl".
------------------------------------------------------------------------------
===>   chapping-0.43_13 depends on file: /usr/local/bin/sdl-config - found
===>   Returning to build of chapping-0.43_13
===>   chapping-0.43_13 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_2.txz
[head-i386-default-job-09] Installing gmake-4.2.1_2...
[head-i386-default-job-09] `-- Installing gettext-runtime-0.19.8.1_1...
[head-i386-default-job-09] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[head-i386-default-job-09] Extracting gmake-4.2.1_2: .......... done
===>   chapping-0.43_13 depends on executable: gmake - found
===>   Returning to build of chapping-0.43_13
===========================================================================
=======================<phase: lib-depends    >============================
===>   chapping-0.43_13 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so)
===>   chapping-0.43_13 depends on shared library: libSDL_image.so - not found
===>   Installing existing package /packages/All/sdl_image-1.2.12_11.txz
[head-i386-default-job-09] Installing sdl_image-1.2.12_11...
[head-i386-default-job-09] `-- Installing jpeg-turbo-1.5.3...
[head-i386-default-job-09] `-- Extracting jpeg-turbo-1.5.3: .......... done
[head-i386-default-job-09] `-- Installing png-1.6.34...
[head-i386-default-job-09] `-- Extracting png-1.6.34: .......... done
[head-i386-default-job-09] `-- Installing tiff-4.0.9_1...
[head-i386-default-job-09] |   `-- Installing jbigkit-2.1_1...
[head-i386-default-job-09] |   `-- Extracting jbigkit-2.1_1: .......... done
[head-i386-default-job-09] `-- Extracting tiff-4.0.9_1: .......... done
[head-i386-default-job-09] `-- Installing webp-0.6.1...
[head-i386-default-job-09] |   `-- Installing giflib-5.1.4...
[head-i386-default-job-09] |   `-- Extracting giflib-5.1.4: .......... done
[head-i386-default-job-09] `-- Extracting webp-0.6.1: .......... done
[head-i386-default-job-09] Extracting sdl_image-1.2.12_11: .......... done
===>   chapping-0.43_13 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so)
===>   Returning to build of chapping-0.43_13
===>   chapping-0.43_13 depends on shared library: libSDL_gfx.so - not found
===>   Installing existing package /packages/All/sdl_gfx-2.0.25_3.txz
[head-i386-default-job-09] Installing sdl_gfx-2.0.25_3...
[head-i386-default-job-09] Extracting sdl_gfx-2.0.25_3: .......... done
===>   chapping-0.43_13 depends on shared library: libSDL_gfx.so - found (/usr/local/lib/libSDL_gfx.so)
===>   Returning to build of chapping-0.43_13
===>   chapping-0.43_13 depends on shared library: libSDL_ttf.so - not found
===>   Installing existing package /packages/All/sdl_ttf-2.0.11_7.txz
[head-i386-default-job-09] Installing sdl_ttf-2.0.11_7...
[head-i386-default-job-09] `-- Installing freetype2-2.8_1...
[head-i386-default-job-09] `-- Extracting freetype2-2.8_1: .......... done
[head-i386-default-job-09] Extracting sdl_ttf-2.0.11_7: .......... done
Message from freetype2-2.8_1:

The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
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).
===>   chapping-0.43_13 depends on shared library: libSDL_ttf.so - found (/usr/local/lib/libSDL_ttf.so)
===>   Returning to build of chapping-0.43_13
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for chapping-0.43_13
===========================================================================
=======================<phase: build          >============================
===>  Building for chapping-0.43_13
gmake[1]: Entering directory '/wrkdirs/usr/ports/games/chapping/work/chapping-0.43-source'
cd library/&&gmake&&cd ..&&cd game/&&gmake&&cd ..
gmake[2]: Entering directory '/wrkdirs/usr/ports/games/chapping/work/chapping-0.43-source/library'
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  `/usr/local/bin/sdl-config --cflags`   -c -o rendermanager.o rendermanager.cpp
In file included from rendermanager.cpp:10:
In file included from ./collision.h:8:
./boxactor.h:15:45: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
                SDL_Rect getRect()const{return (SDL_Rect){(int)(min.scale_x()),(int)(min.scale_y()),(int)size.scale_x(),(int)size.scale_y()};}
                                                          ^~~~~~~~~~~~~~~~~~~~
./boxactor.h:15:45: note: insert an explicit cast to silence this issue
                SDL_Rect getRect()const{return (SDL_Rect){(int)(min.scale_x()),(int)(min.scale_y()),(int)size.scale_x(),(int)size.scale_y()};}
                                                          ^~~~~~~~~~~~~~~~~~~~
                                                          static_cast<Sint16>()
./boxactor.h:15:66: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
                SDL_Rect getRect()const{return (SDL_Rect){(int)(min.scale_x()),(int)(min.scale_y()),(int)size.scale_x(),(int)size.scale_y()};}
                                                                               ^~~~~~~~~~~~~~~~~~~~
./boxactor.h:15:66: note: insert an explicit cast to silence this issue
                SDL_Rect getRect()const{return (SDL_Rect){(int)(min.scale_x()),(int)(min.scale_y()),(int)size.scale_x(),(int)size.scale_y()};}
                                                                               ^~~~~~~~~~~~~~~~~~~~
                                                                               static_cast<Sint16>()
./boxactor.h:15:87: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
                SDL_Rect getRect()const{return (SDL_Rect){(int)(min.scale_x()),(int)(min.scale_y()),(int)size.scale_x(),(int)size.scale_y()};}
                                                                                                    ^~~~~~~~~~~~~~~~~~~
./boxactor.h:15:87: note: insert an explicit cast to silence this issue
                SDL_Rect getRect()const{return (SDL_Rect){(int)(min.scale_x()),(int)(min.scale_y()),(int)size.scale_x(),(int)size.scale_y()};}
                                                                                                    ^~~~~~~~~~~~~~~~~~~
                                                                                                    static_cast<Uint16>( )
./boxactor.h:15:107: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
                SDL_Rect getRect()const{return (SDL_Rect){(int)(min.scale_x()),(int)(min.scale_y()),(int)size.scale_x(),(int)size.scale_y()};}
                                                                                                                        ^~~~~~~~~~~~~~~~~~~
./boxactor.h:15:107: note: insert an explicit cast to silence this issue
                SDL_Rect getRect()const{return (SDL_Rect){(int)(min.scale_x()),(int)(min.scale_y()),(int)size.scale_x(),(int)size.scale_y()};}
                                                                                                                        ^~~~~~~~~~~~~~~~~~~
                                                                                                                        static_cast<Uint16>( )
In file included from rendermanager.cpp:10:
In file included from ./collision.h:9:
./circularactor.h:14:45: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
                SDL_Rect getRect()const{return (SDL_Rect){(int)(center.scale_x()-r),(int)(center.scale_y()-r),(int)(2*r),(int)(2*r)};}
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~
./circularactor.h:14:45: note: insert an explicit cast to silence this issue
                SDL_Rect getRect()const{return (SDL_Rect){(int)(center.scale_x()-r),(int)(center.scale_y()-r),(int)(2*r),(int)(2*r)};}
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~
                                                          static_cast<Sint16>(     )
./circularactor.h:14:71: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
                SDL_Rect getRect()const{return (SDL_Rect){(int)(center.scale_x()-r),(int)(center.scale_y()-r),(int)(2*r),(int)(2*r)};}
                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~
./circularactor.h:14:71: note: insert an explicit cast to silence this issue
                SDL_Rect getRect()const{return (SDL_Rect){(int)(center.scale_x()-r),(int)(center.scale_y()-r),(int)(2*r),(int)(2*r)};}
                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                    static_cast<Sint16>(     )
./circularactor.h:14:97: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
                SDL_Rect getRect()const{return (SDL_Rect){(int)(center.scale_x()-r),(int)(center.scale_y()-r),(int)(2*r),(int)(2*r)};}
                                                                                                              ^~~~~~~~~~
./circularactor.h:14:97: note: insert an explicit cast to silence this issue
                SDL_Rect getRect()const{return (SDL_Rect){(int)(center.scale_x()-r),(int)(center.scale_y()-r),(int)(2*r),(int)(2*r)};}
                                                                                                              ^~~~~~~~~~
                                                                                                              static_cast<Uint16>( )
./circularactor.h:14:108: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
                SDL_Rect getRect()const{return (SDL_Rect){(int)(center.scale_x()-r),(int)(center.scale_y()-r),(int)(2*r),(int)(2*r)};}
                                                                                                                         ^~~~~~~~~~
./circularactor.h:14:108: note: insert an explicit cast to silence this issue
                SDL_Rect getRect()const{return (SDL_Rect){(int)(center.scale_x()-r),(int)(center.scale_y()-r),(int)(2*r),(int)(2*r)};}
                                                                                                                         ^~~~~~~~~~
                                                                                                                         static_cast<Uint16>( )
8 errors generated.
gmake[2]: *** [<builtin>: rendermanager.o] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/chapping/work/chapping-0.43-source/library'
gmake[1]: *** [Makefile:2: linux] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/chapping/work/chapping-0.43-source'
*** Error code 1

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


More information about the freebsd-pkg-fallout mailing list