Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Apr 2018 08:34:43 GMT
From:      pkg-fallout@FreeBSD.org
To:        acm@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][games/chanta] Failed for chanta-0.15_12 in build
Message-ID:  <201804280834.w3S8YhRs088905@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:     acm@FreeBSD.org
Last committer: amdmi3@FreeBSD.org
Ident:          $FreeBSD: head/games/chanta/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-amd64-default/p468512_s333079/logs/chanta-0.15_12.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p468512_s333079
Log:

=>> Building games/chanta
build started at Sat Apr 28 08:34:34 UTC 2018
port directory: /usr/ports/games/chanta
package name: chanta-0.15_12
building for: FreeBSD head-amd64-default-job-11 12.0-CURRENT FreeBSD 12.0-CURRENT 1200062 amd64
maintained by: acm@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/chanta/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $
Poudriere version: 3.2.6-3-g832b198d
Host OSVERSION: 1200060
Jail OSVERSION: 1200062
Job Id: 11




!!! 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
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
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.6-3-g832b198d
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for chanta-0.15_12:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
acm@FreeBSD.org
--End MAINTAINER--

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

--CONFIGURE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/chanta/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/chanta/work  HOME=/wrkdirs/usr/ports/games/chanta/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/chanta/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/chanta/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/chanta/work  HOME=/wrkdirs/usr/ports/games/chanta/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/chanta/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="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib  -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/chanta"  EXAMPLESDIR="share/examples/chanta"  DATADIR="share/chanta"  WWWDIR="www/chanta"  ETCDIR="etc/chanta"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/chanta DOCSDIR=/usr/local/share/doc/chanta EXAMPLESDIR=/usr/local/share/examples/chanta  WWWDIR=/usr/local/www/chanta ETCDIR=/usr/local/etc/chanta
--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 ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-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" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.0-CURRENT
OSREL=12.0
OSVERSION=1200062
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  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    >============================
===>   chanta-0.15_12 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5.txz
[head-amd64-default-job-11] Installing pkg-1.10.5...
[head-amd64-default-job-11] Extracting pkg-1.10.5: .......... done
===>   chanta-0.15_12 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of chanta-0.15_12
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by chanta-0.15_12 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by chanta-0.15_12 for building
=> SHA256 Checksum OK for chanta-0.15.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by chanta-0.15_12 for building
===>  Extracting for chanta-0.15_12
=> SHA256 Checksum OK for chanta-0.15.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for chanta-0.15_12
===>  Applying FreeBSD patches for chanta-0.15_12
===========================================================================
=======================<phase: build-depends  >============================
===>   chanta-0.15_12 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-11] Installing sdl-1.2.15_10,2...
[head-amd64-default-job-11] `-- Installing aalib-1.4.r5_11...
[head-amd64-default-job-11] |   `-- Installing indexinfo-0.3.1...
[head-amd64-default-job-11] |   `-- Extracting indexinfo-0.3.1: .... done
[head-amd64-default-job-11] `-- Extracting aalib-1.4.r5_11: .......... done
[head-amd64-default-job-11] `-- Installing libGLU-9.0.0_3...
[head-amd64-default-job-11] |   `-- Installing mesa-libs-18.0.1...
<snip>
[head-amd64-default-job-11] |   |   `-- Installing libpciaccess-0.13.5...
[head-amd64-default-job-11] |   |   | `-- Installing pciids-20180406...
[head-amd64-default-job-11] |   |   | `-- Extracting pciids-20180406: ..... done
[head-amd64-default-job-11] |   |   `-- Extracting libpciaccess-0.13.5: ...... done
[head-amd64-default-job-11] |   | `-- Extracting libdrm-2.4.89,1: .......... done
[head-amd64-default-job-11] |   | `-- Installing libunwind-20170615...
[head-amd64-default-job-11] |   | `-- Extracting libunwind-20170615: .......... done
[head-amd64-default-job-11] |   | `-- Installing libxshmfence-1.2_2...
[head-amd64-default-job-11] |   | `-- Extracting libxshmfence-1.2_2: ......... done
[head-amd64-default-job-11] |   `-- Extracting mesa-libs-18.0.1: .......... done
[head-amd64-default-job-11] `-- Extracting libGLU-9.0.0_3: ...... done
[head-amd64-default-job-11] `-- Installing libXrandr-1.5.1...
[head-amd64-default-job-11] |   `-- Installing libXrender-0.9.10...
[head-amd64-default-job-11] |   | `-- Installing renderproto-0.11.1...
[head-amd64-default-job-11] |   | `-- Extracting renderproto-0.11.1: .... done
[head-amd64-default-job-11] |   `-- Extracting libXrender-0.9.10: .......... done
[head-amd64-default-job-11] |   `-- Installing randrproto-1.5.0...
[head-amd64-default-job-11] |   `-- Extracting randrproto-1.5.0: ....... done
[head-amd64-default-job-11] `-- Extracting libXrandr-1.5.1: .......... done
[head-amd64-default-job-11] 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".
------------------------------------------------------------------------------
===>   chanta-0.15_12 depends on file: /usr/local/bin/sdl-config - found
===>   Returning to build of chanta-0.15_12
===>   chanta-0.15_12 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_2.txz
[head-amd64-default-job-11] Installing gmake-4.2.1_2...
[head-amd64-default-job-11] `-- Installing gettext-runtime-0.19.8.1_1...
[head-amd64-default-job-11] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[head-amd64-default-job-11] Extracting gmake-4.2.1_2: .......... done
===>   chanta-0.15_12 depends on executable: gmake - found
===>   Returning to build of chanta-0.15_12
===========================================================================
=======================<phase: lib-depends    >============================
===>   chanta-0.15_12 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so)
===>   chanta-0.15_12 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-11] Installing sdl_image-1.2.12_11...
[head-amd64-default-job-11] `-- Installing jpeg-turbo-1.5.3...
[head-amd64-default-job-11] `-- Extracting jpeg-turbo-1.5.3: .......... done
[head-amd64-default-job-11] `-- Installing png-1.6.34...
[head-amd64-default-job-11] `-- Extracting png-1.6.34: .......... done
[head-amd64-default-job-11] `-- Installing tiff-4.0.9_1...
[head-amd64-default-job-11] |   `-- Installing jbigkit-2.1_1...
[head-amd64-default-job-11] |   `-- Extracting jbigkit-2.1_1: .......... done
[head-amd64-default-job-11] `-- Extracting tiff-4.0.9_1: .......... done
[head-amd64-default-job-11] `-- Installing webp-1.0.0...
[head-amd64-default-job-11] |   `-- Installing giflib-5.1.4...
[head-amd64-default-job-11] |   `-- Extracting giflib-5.1.4: .......... done
[head-amd64-default-job-11] `-- Extracting webp-1.0.0: .......... done
[head-amd64-default-job-11] Extracting sdl_image-1.2.12_11: .......... done
===>   chanta-0.15_12 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so)
===>   Returning to build of chanta-0.15_12
===>   chanta-0.15_12 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-11] Installing sdl_mixer-1.2.12_12...
[head-amd64-default-job-11] `-- Installing flac-1.3.2...
[head-amd64-default-job-11] |   `-- Installing libogg-1.3.3,4...
[head-amd64-default-job-11] |   `-- Extracting libogg-1.3.3,4: .......... done
[head-amd64-default-job-11] `-- Extracting flac-1.3.2: .......... done
[head-amd64-default-job-11] `-- Installing libmikmod-3.3.11.1...
[head-amd64-default-job-11] `-- Extracting libmikmod-3.3.11.1: .......... done
[head-amd64-default-job-11] `-- Installing libvorbis-1.3.6,3...
[head-amd64-default-job-11] `-- Extracting libvorbis-1.3.6,3: .......... done
[head-amd64-default-job-11] `-- Installing smpeg-0.4.4_14...
[head-amd64-default-job-11] `-- Extracting smpeg-0.4.4_14: .......... done
[head-amd64-default-job-11] `-- Installing timidity-0.2i_1...
[head-amd64-default-job-11] `-- Extracting timidity-0.2i_1: .......... done
[head-amd64-default-job-11] 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
===>   chanta-0.15_12 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so)
===>   Returning to build of chanta-0.15_12
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for chanta-0.15_12
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 whether gmake sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 gcc... cc
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cpp
checking for egrep... grep -E
checking for ANSI C header files... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for SDL_Init in -lSDL... yes
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for IMG_Load_RW in -lSDL_image... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/ima/Makefile
config.status: creating src/data/Makefile
===========================================================================
=======================<phase: build          >============================
===>  Building for chanta-0.15_12
gmake[1]: Entering directory '/wrkdirs/usr/ports/games/chanta/work/chanta-0.15'
Making all in src
gmake[2]: Entering directory '/wrkdirs/usr/ports/games/chanta/work/chanta-0.15/src'
Making all in ima
gmake[3]: Entering directory '/wrkdirs/usr/ports/games/chanta/work/chanta-0.15/src/ima'
gmake[3]: Nothing to be done for 'all'.
gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/chanta/work/chanta-0.15/src/ima'
Making all in data
gmake[3]: Entering directory '/wrkdirs/usr/ports/games/chanta/work/chanta-0.15/src/data'
gmake[3]: Nothing to be done for 'all'.
gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/chanta/work/chanta-0.15/src/data'
gmake[3]: Entering directory '/wrkdirs/usr/ports/games/chanta/work/chanta-0.15/src'
c++ -DDATADIR=\"/usr/local/share/chanta/\" -DLOCALEDIR=\"/usr/local/share/locale/\" -DVERSION=\"0.15\"   -I/usr/local/include  -O2 -pipe -fstack-protector -fno-strict-aliasing  -c main.cpp
c++ -DDATADIR=\"/usr/local/share/chanta/\" -DLOCALEDIR=\"/usr/local/share/locale/\" -DVERSION=\"0.15\"   -I/usr/local/include  -O2 -pipe -fstack-protector -fno-strict-aliasing  -c Mundo.cpp
Mundo.cpp:249:27: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
                printf("ERROR, se intent<F3> cambiar a la misma escena");
                                        ^~~~
Mundo.cpp:262:19: 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, w, h};
                         ^
Mundo.cpp:262:19: note: insert an explicit cast to silence this issue
        SDL_Rect rect = {x, y, w, h};
                         ^
                         static_cast<Sint16>( )
Mundo.cpp:262:22: 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, w, h};
                            ^
Mundo.cpp:262:22: note: insert an explicit cast to silence this issue
        SDL_Rect rect = {x, y, w, h};
                            ^
                            static_cast<Sint16>( )
Mundo.cpp:262:25: 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, w, h};
                               ^
Mundo.cpp:262:25: note: insert an explicit cast to silence this issue
        SDL_Rect rect = {x, y, w, h};
                               ^
                               static_cast<Uint16>( )
Mundo.cpp:262:28: 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, w, h};
                                  ^
Mundo.cpp:262:28: note: insert an explicit cast to silence this issue
        SDL_Rect rect = {x, y, w, h};
                                  ^
                                  static_cast<Uint16>( )
1 warning and 4 errors generated.
gmake[3]: *** [Makefile:176: Mundo.o] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/chanta/work/chanta-0.15/src'
gmake[2]: *** [Makefile:190: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/chanta/work/chanta-0.15/src'
gmake[1]: *** [Makefile:119: all-recursive] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/chanta/work/chanta-0.15'
*** Error code 1

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



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