From owner-freebsd-pkg-fallout@freebsd.org Tue Jan 23 09:33:05 2018 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5FE8FEC4531 for ; Tue, 23 Jan 2018 09:33:05 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3C1AD70579 for ; Tue, 23 Jan 2018 09:33:05 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3B849EC452F; Tue, 23 Jan 2018 09:33:05 +0000 (UTC) Delivered-To: pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3B178EC452E for ; Tue, 23 Jan 2018 09:33:05 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F2E7870578; Tue, 23 Jan 2018 09:33:04 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy12.nyi.freebsd.org (beefy12.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:ef]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3C5C54BEC; Tue, 23 Jan 2018 09:33:04 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy12.nyi.freebsd.org (localhost [127.0.0.1]) by beefy12.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0N9X44E050510; Tue, 23 Jan 2018 09:33:04 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy12.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w0N9X4II050509; Tue, 23 Jan 2018 09:33:04 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Tue, 23 Jan 2018 09:33:04 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201801230933.w0N9X4II050509@beefy12.nyi.freebsd.org> To: amdmi3@FreeBSD.org Subject: [package - head-amd64-default][games/kartofel] Failed for kartofel-1.2_16 in build Cc: pkg-fallout@FreeBSD.org X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jan 2018 09:33:05 -0000 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: mat@FreeBSD.org Ident: $FreeBSD: head/games/kartofel/Makefile 412346 2016-04-01 14:00:51Z mat $ Log URL: http://beefy12.nyi.freebsd.org/data/head-amd64-default/p459717_s328266/logs/kartofel-1.2_16.log Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p459717_s328266 Log: =>> Building games/kartofel build started at Tue Jan 23 09:32:45 UTC 2018 port directory: /usr/ports/games/kartofel package name: kartofel-1.2_16 building for: FreeBSD head-amd64-default-job-19 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 amd64 maintained by: amdmi3@FreeBSD.org Makefile ident: $FreeBSD: head/games/kartofel/Makefile 412346 2016-04-01 14:00:51Z mat $ Poudriere version: 3.2.4 Host OSVERSION: 1200054 Jail OSVERSION: 1200056 Job Id: 19 !!! 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.4 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--- ---End OPTIONS List--- --MAINTAINER-- amdmi3@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/kartofel/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/kartofel/work HOME=/wrkdirs/usr/ports/games/kartofel/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/kartofel/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/kartofel/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/kartofel/work HOME=/wrkdirs/usr/ports/games/kartofel/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/kartofel/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/kartofel" EXAMPLESDIR="share/examples/kartofel" DATADIR="share/kartofel" WWWDIR="www/kartofel" ETCDIR="etc/kartofel" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/kartofel DOCSDIR=/usr/local/share/doc/kartofel EXAMPLESDIR=/usr/local/share/examples/kartofel WWWDIR=/usr/local/www/kartofel ETCDIR=/usr/local/etc/kartofel --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-- =================================================== =========================================================================== =================================================== ===> kartofel-1.2_16 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.4.txz [head-amd64-default-job-19] Installing pkg-1.10.4... [head-amd64-default-job-19] Extracting pkg-1.10.4: .......... done ===> kartofel-1.2_16 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of kartofel-1.2_16 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by kartofel-1.2_16 for building =========================================================================== =================================================== ===> Fetching all distfiles required by kartofel-1.2_16 for building => SHA256 Checksum OK for kartofel-1.2.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by kartofel-1.2_16 for building ===> Extracting for kartofel-1.2_16 => SHA256 Checksum OK for kartofel-1.2.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for kartofel-1.2_16 ===> Applying FreeBSD patches for kartofel-1.2_16 =========================================================================== =================================================== ===> kartofel-1.2_16 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-19] Installing sdl-1.2.15_10,2... [head-amd64-default-job-19] `-- Installing aalib-1.4.r5_11... [head-amd64-default-job-19] | `-- Installing indexinfo-0.3.1... [head-amd64-default-job-19] | `-- Extracting indexinfo-0.3.1: .... done [head-amd64-default-job-19] `-- Extracting aalib-1.4.r5_11: .......... done [head-amd64-default-job-19] `-- Installing libGLU-9.0.0_3... [head-amd64-default-job-19] | `-- Installing mesa-libs-17.3.1... [head-amd64-default-job-19] | | `-- Installing expat-2.2.5... [head-amd64-default-job-19] | | `-- Extracting expat-2.2.5: .......... done [head-amd64-default-job-19] | | `-- Installing libX11-1.6.5,1... [head-amd64-default-job-19] | | `-- Installing kbproto-1.0.7... [head-amd64-default-job-19] | | `-- Extracting kbproto-1.0.7: .......... done [head-amd64-default-job-19] | | `-- Installing libXau-1.0.8_3... [head-amd64-default-job-19] | | | `-- Installing xproto-7.0.31... [head-amd64-default-job-19] | | | `-- Extracting xproto-7.0.31: .......... done [head-amd64-default-job-19] | | `-- Extracting libXau-1.0.8_3: .......... done [head-amd64-default-job-19] | | `-- Installing libXdmcp-1.1.2... [head-amd64-default-job-19] | | `-- Extracting libXdmcp-1.1.2: ......... done [head-amd64-default-job-19] | | `-- Installing libxcb-1.12_2... [head-amd64-default-job-19] | | | `-- Installing libpthread-stubs-0.4... [head-amd64-default-job-19] | | | `-- Extracting libpthread-stubs-0.4: . done [head-amd64-default-job-19] | | | `-- Installing libxml2-2.9.7... [head-amd64-default-job-19] | | | `-- Extracting libxml2-2.9.7: .......... done [head-amd64-default-job-19] | | `-- Extracting libxcb-1.12_2: .......... done [head-amd64-default-job-19] | | `-- Extracting libX11-1.6.5,1: .......... done [head-amd64-default-job-19] | | `-- Installing libXdamage-1.1.4_3... [head-amd64-default-job-19] | | `-- Installing damageproto-1.2.1... [head-amd64-default-job-19] | | `-- Extracting damageproto-1.2.1: .... done [head-amd64-default-job-19] | | `-- Installing libXfixes-5.0.3... [head-amd64-default-job-19] | | | `-- Installing fixesproto-5.0... [head-amd64-default-job-19] | | | `-- Extracting fixesproto-5.0: .... done [head-amd64-default-job-19] | | `-- Extracting libXfixes-5.0.3: .......... done Assessment and verification of trust is the complete responsibility of the system administrator. *********************************** NOTE ********************************** This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem *************************************************************************** ===> kartofel-1.2_16 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) ===> Returning to build of kartofel-1.2_16 ===> kartofel-1.2_16 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> kartofel-1.2_16 depends on shared library: libSDL_gfx.so - not found ===> Installing existing package /packages/All/sdl_gfx-2.0.25_3.txz [head-amd64-default-job-19] Installing sdl_gfx-2.0.25_3... [head-amd64-default-job-19] Extracting sdl_gfx-2.0.25_3: .......... done Message from sdl_gfx-2.0.25_3: ===> NOTICE: The sdl_gfx 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 ===> kartofel-1.2_16 depends on shared library: libSDL_gfx.so - found (/usr/local/lib/libSDL_gfx.so) ===> Returning to build of kartofel-1.2_16 ===> kartofel-1.2_16 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-19] Installing sdl_mixer-1.2.12_12... [head-amd64-default-job-19] `-- Installing flac-1.3.2... [head-amd64-default-job-19] | `-- Installing libogg-1.3.3,4... [head-amd64-default-job-19] | `-- Extracting libogg-1.3.3,4: .......... done [head-amd64-default-job-19] `-- Extracting flac-1.3.2: .......... done [head-amd64-default-job-19] `-- Installing libmikmod-3.3.11.1... [head-amd64-default-job-19] `-- Extracting libmikmod-3.3.11.1: .......... done [head-amd64-default-job-19] `-- Installing libvorbis-1.3.5_1,3... [head-amd64-default-job-19] `-- Extracting libvorbis-1.3.5_1,3: .......... done [head-amd64-default-job-19] `-- Installing smpeg-0.4.4_14... [head-amd64-default-job-19] `-- Extracting smpeg-0.4.4_14: .......... done [head-amd64-default-job-19] `-- Installing timidity-0.2i_1... [head-amd64-default-job-19] `-- Extracting timidity-0.2i_1: .......... done [head-amd64-default-job-19] 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 ===> kartofel-1.2_16 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> Returning to build of kartofel-1.2_16 ===> kartofel-1.2_16 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-19] Installing sdl_image-1.2.12_11... [head-amd64-default-job-19] `-- Installing jpeg-turbo-1.5.3... [head-amd64-default-job-19] `-- Extracting jpeg-turbo-1.5.3: .......... done [head-amd64-default-job-19] `-- Installing png-1.6.34... [head-amd64-default-job-19] `-- Extracting png-1.6.34: .......... done [head-amd64-default-job-19] `-- Installing tiff-4.0.9... [head-amd64-default-job-19] | `-- Installing jbigkit-2.1_1... [head-amd64-default-job-19] | `-- Extracting jbigkit-2.1_1: .......... done [head-amd64-default-job-19] `-- Extracting tiff-4.0.9: .......... done [head-amd64-default-job-19] `-- Installing webp-0.6.1... [head-amd64-default-job-19] | `-- Installing giflib-5.1.4... [head-amd64-default-job-19] | `-- Extracting giflib-5.1.4: .......... done [head-amd64-default-job-19] `-- Extracting webp-0.6.1: .......... done [head-amd64-default-job-19] 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 ===> kartofel-1.2_16 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so) ===> Returning to build of kartofel-1.2_16 ===> kartofel-1.2_16 depends on shared library: libSDL_ttf.so - not found ===> Installing existing package /packages/All/sdl_ttf-2.0.11_7.txz [head-amd64-default-job-19] Installing sdl_ttf-2.0.11_7... [head-amd64-default-job-19] `-- Installing freetype2-2.8_1... [head-amd64-default-job-19] `-- Extracting freetype2-2.8_1: .......... done [head-amd64-default-job-19] 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). Message from sdl_ttf-2.0.11_7: ===> NOTICE: The sdl_ttf 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 ===> kartofel-1.2_16 depends on shared library: libSDL_ttf.so - found (/usr/local/lib/libSDL_ttf.so) ===> Returning to build of kartofel-1.2_16 =========================================================================== =================================================== ===> Configuring for kartofel-1.2_16 =========================================================================== =================================================== ===> Building for kartofel-1.2_16 gmake[1]: Entering directory '/wrkdirs/usr/ports/games/kartofel/work/kartofel-1.2' c++ -O2 -pipe -fstack-protector -fno-strict-aliasing util.cc -c -o util.o c++ -O2 -pipe -fstack-protector -fno-strict-aliasing util_test.cc -c -o util_test.o c++ -O2 -pipe -fstack-protector -fno-strict-aliasing util.o util_test.o -g -Wall -o util_test c++ -O2 -pipe -fstack-protector -fno-strict-aliasing saved_game.cc -c -o saved_game.o c++ -O2 -pipe -fstack-protector -fno-strict-aliasing game.cc -c -o game.o c++ -O2 -pipe -fstack-protector -fno-strict-aliasing play.cc -c -o play.o `/usr/local/bin/sdl-config --cflags` `curl-config --cflags` play.cc:406:26: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] SDL_Color retv = { rgb[i].r, rgb[i].g, rgb[i].b }; ^~~~~~~~ play.cc:406:26: note: insert an explicit cast to silence this issue SDL_Color retv = { rgb[i].r, rgb[i].g, rgb[i].b }; ^~~~~~~~ static_cast( ) play.cc:406:36: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] SDL_Color retv = { rgb[i].r, rgb[i].g, rgb[i].b }; ^~~~~~~~ play.cc:406:36: note: insert an explicit cast to silence this issue SDL_Color retv = { rgb[i].r, rgb[i].g, rgb[i].b }; ^~~~~~~~ static_cast( ) play.cc:406:46: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] SDL_Color retv = { rgb[i].r, rgb[i].g, rgb[i].b }; ^~~~~~~~ play.cc:406:46: note: insert an explicit cast to silence this issue SDL_Color retv = { rgb[i].r, rgb[i].g, rgb[i].b }; ^~~~~~~~ static_cast( ) 3 errors generated. gmake[1]: *** [Makefile:33: play.o] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/kartofel/work/kartofel-1.2' *** Error code 1 Stop. make: stopped in /usr/ports/games/kartofel