From owner-freebsd-pkg-fallout@freebsd.org Sun Apr 1 00:44:13 2018 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93812F6CF1E for ; Sun, 1 Apr 2018 00:44:13 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 048A47FCB0 for ; Sun, 1 Apr 2018 00:44:13 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id B9DC5F6CF18; Sun, 1 Apr 2018 00:44:12 +0000 (UTC) Delivered-To: pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F4CDF6CF16 for ; Sun, 1 Apr 2018 00:44:12 +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 2F9737FCAD; Sun, 1 Apr 2018 00:44:12 +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 2A5B61F57D; Sun, 1 Apr 2018 00:44:12 +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 w310iCSm020240; Sun, 1 Apr 2018 00:44:12 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy12.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w310iCaw020232; Sun, 1 Apr 2018 00:44:12 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Sun, 1 Apr 2018 00:44:12 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201804010044.w310iCaw020232@beefy12.nyi.freebsd.org> To: amdmi3@FreeBSD.org Subject: [package - head-amd64-default][games/apricots] Failed for apricots-0.2.6_6 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: Sun, 01 Apr 2018 00:44:13 -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: krion@FreeBSD.org Ident: $FreeBSD: head/games/apricots/Makefile 458385 2018-01-07 21:27:59Z krion $ Log URL: http://beefy12.nyi.freebsd.org/data/head-amd64-default/p466017_s331831/logs/apricots-0.2.6_6.log Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p466017_s331831 Log: =>> Building games/apricots build started at Sun Apr 1 00:43:37 UTC 2018 port directory: /usr/ports/games/apricots package name: apricots-0.2.6_6 building for: FreeBSD head-amd64-default-job-14 12.0-CURRENT FreeBSD 12.0-CURRENT 1200060 amd64 maintained by: amdmi3@FreeBSD.org Makefile ident: $FreeBSD: head/games/apricots/Makefile 458385 2018-01-07 21:27:59Z krion $ Poudriere version: 3.2.6 Host OSVERSION: 1200060 Jail OSVERSION: 1200060 Job Id: 14 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1200060 UNAME_v=FreeBSD 12.0-CURRENT 1200060 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 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 apricots-0.2.6_6: DOCS=on: Build and/or install documentation OPENAL=on: Audio support via OpenAL ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- amdmi3@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/apricots/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/apricots/work HOME=/wrkdirs/usr/ports/games/apricots/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/apricots/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/apricots/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/apricots/work HOME=/wrkdirs/usr/ports/games/apricots/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/apricots/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="-DAP_PATH="\"/usr/local/share/apricots/\"" -DAP_AUDIO_OPENAL" LDFLAGS=" -L/usr/local/lib -lopenal -lalut -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/apricots" EXAMPLESDIR="share/examples/apricots" DATADIR="share/apricots" WWWDIR="www/apricots" ETCDIR="etc/apricots" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/apricots DOCSDIR=/usr/local/share/doc/apricots EXAMPLESDIR=/usr/local/share/examples/apricots WWWDIR=/usr/local/www/apricots ETCDIR=/usr/local/etc/apricots --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=1200060 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-- =================================================== =========================================================================== =================================================== ===> apricots-0.2.6_6 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz [head-amd64-default-job-14] Installing pkg-1.10.5... [head-amd64-default-job-14] Extracting pkg-1.10.5: .......... done ===> apricots-0.2.6_6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of apricots-0.2.6_6 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by apricots-0.2.6_6 for building =========================================================================== =================================================== ===> Fetching all distfiles required by apricots-0.2.6_6 for building => SHA256 Checksum OK for apricots-0.2.6.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by apricots-0.2.6_6 for building ===> Extracting for apricots-0.2.6_6 => SHA256 Checksum OK for apricots-0.2.6.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for apricots-0.2.6_6 ===> Converting DOS text files to UNIX text files ===> Applying FreeBSD patches for apricots-0.2.6_6 =========================================================================== =================================================== ===> apricots-0.2.6_6 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-14] Installing sdl-1.2.15_10,2... [head-amd64-default-job-14] `-- Installing aalib-1.4.r5_11... [head-amd64-default-job-14] | `-- Installing indexinfo-0.3.1... [head-amd64-default-job-14] | `-- Extracting indexinfo-0.3.1: .... done [head-amd64-default-job-14] `-- Extracting aalib-1.4.r5_11: .......... done [head-amd64-default-job-14] `-- Installing libGLU-9.0.0_3... [head-amd64-default-job-14] | `-- Installing mesa-libs-17.3.1... [head-amd64-default-job-14] | | `-- Installing expat-2.2.5... [head-amd64-default-job-14] | | `-- Extracting expat-2.2.5: .......... done [head-amd64-default-job-14] | | `-- Installing libX11-1.6.5,1... [head-amd64-default-job-14] | | `-- Installing kbproto-1.0.7... [head-amd64-default-job-14] | | `-- Extracting kbproto-1.0.7: .......... done [head-amd64-default-job-14] | | `-- Installing libXau-1.0.8_3... [head-amd64-default-job-14] | | | `-- Installing xproto-7.0.31... [head-amd64-default-job-14] | | | `-- Extracting xproto-7.0.31: .......... done [head-amd64-default-job-14] | | `-- Extracting libXau-1.0.8_3: .......... done [head-amd64-default-job-14] | | `-- Installing libXdmcp-1.1.2... [head-amd64-default-job-14] | | `-- Extracting libXdmcp-1.1.2: ......... done [head-amd64-default-job-14] | | `-- Installing libxcb-1.12_2... [head-amd64-default-job-14] | | | `-- Installing libpthread-stubs-0.4... [head-amd64-default-job-14] | | | `-- Extracting libpthread-stubs-0.4: . done [head-amd64-default-job-14] | | | `-- Installing libxml2-2.9.7... [head-amd64-default-job-14] | | | `-- Extracting libxml2-2.9.7: .......... done [head-amd64-default-job-14] | | `-- Extracting libxcb-1.12_2: .......... done [head-amd64-default-job-14] | | `-- Extracting libX11-1.6.5,1: .......... done [head-amd64-default-job-14] | | `-- Installing libXdamage-1.1.4_3... [head-amd64-default-job-14] | | `-- Installing damageproto-1.2.1... [head-amd64-default-job-14] | | `-- Extracting damageproto-1.2.1: .... done [head-amd64-default-job-14] | | `-- Installing libXfixes-5.0.3... [head-amd64-default-job-14] | | | `-- Installing fixesproto-5.0... [head-amd64-default-job-14] | | | `-- Extracting fixesproto-5.0: .... done [head-amd64-default-job-14] | | `-- Extracting libXfixes-5.0.3: .......... done [head-amd64-default-job-14] | | `-- Extracting libXdamage-1.1.4_3: ...... done [head-amd64-default-job-14] | | `-- Installing libXext-1.3.3_1,1... [head-amd64-default-job-14] | | `-- Installing xextproto-7.3.0... [head-amd64-default-job-14] | | `-- Extracting xextproto-7.3.0: .......... done [head-amd64-default-job-14] | | `-- Extracting libXext-1.3.3_1,1: .......... done [head-amd64-default-job-14] | | `-- Installing libXxf86vm-1.1.4_1... [head-amd64-default-job-14] | | `-- Installing xf86vidmodeproto-2.3.1... [head-amd64-default-job-14] | | `-- Extracting xf86vidmodeproto-2.3.1: .... done [head-amd64-default-job-14] | | `-- Extracting libXxf86vm-1.1.4_1: .......... done [head-amd64-default-job-14] | | `-- Installing libdrm-2.4.89,1... [head-amd64-default-job-14] | | `-- Installing libpciaccess-0.13.5... [head-amd64-default-job-14] | | | `-- Installing pciids-20180219... [head-amd64-default-job-14] | | | `-- Extracting pciids-20180219: ..... done [head-amd64-default-job-14] | | `-- Extracting libpciaccess-0.13.5: ...... done [head-amd64-default-job-14] | | `-- Extracting libdrm-2.4.89,1: .......... done [head-amd64-default-job-14] | | `-- Installing libunwind-20170615... [head-amd64-default-job-14] | | `-- Extracting libunwind-20170615: .......... done [head-amd64-default-job-14] | | `-- Installing libxshmfence-1.2_2... [head-amd64-default-job-14] | | `-- Extracting libxshmfence-1.2_2: ......... done [head-amd64-default-job-14] | `-- Extracting mesa-libs-17.3.1: .......... done [head-amd64-default-job-14] `-- Extracting libGLU-9.0.0_3: ...... done [head-amd64-default-job-14] `-- Installing libXrandr-1.5.1... [head-amd64-default-job-14] | `-- Installing libXrender-0.9.10... [head-amd64-default-job-14] | | `-- Installing renderproto-0.11.1... [head-amd64-default-job-14] | | `-- Extracting renderproto-0.11.1: .... done [head-amd64-default-job-14] | `-- Extracting libXrender-0.9.10: .......... done [head-amd64-default-job-14] | `-- Installing randrproto-1.5.0... [head-amd64-default-job-14] | `-- Extracting randrproto-1.5.0: .... done [head-amd64-default-job-14] `-- Extracting libXrandr-1.5.1: .......... done [head-amd64-default-job-14] 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". ------------------------------------------------------------------------------ ===> apricots-0.2.6_6 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of apricots-0.2.6_6 =========================================================================== =================================================== ===> apricots-0.2.6_6 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> apricots-0.2.6_6 depends on shared library: libopenal.so.1 - not found ===> Installing existing package /packages/All/openal-soft-1.18.2.txz [head-amd64-default-job-14] Installing openal-soft-1.18.2... [head-amd64-default-job-14] Extracting openal-soft-1.18.2: .......... done Message from openal-soft-1.18.2: ===> NOTICE: The openal-soft 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 ===> apricots-0.2.6_6 depends on shared library: libopenal.so.1 - found (/usr/local/lib/libopenal.so.1) ===> Returning to build of apricots-0.2.6_6 ===> apricots-0.2.6_6 depends on shared library: libalut.so.0 - not found ===> Installing existing package /packages/All/freealut-1.1.0_4.txz [head-amd64-default-job-14] Installing freealut-1.1.0_4... [head-amd64-default-job-14] Extracting freealut-1.1.0_4: ....... done ===> apricots-0.2.6_6 depends on shared library: libalut.so.0 - found (/usr/local/lib/libalut.so.0) ===> Returning to build of apricots-0.2.6_6 =========================================================================== =================================================== ===> Configuring for apricots-0.2.6_6 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/games/apricots/work/apricots-0.2.6/acinclude.m4 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/games/apricots/work/apricots-0.2.6/aclocal.m4 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/games/apricots/work/apricots-0.2.6/configure =========================================================================== =================================================== ===> Building for apricots-0.2.6_6 cd /wrkdirs/usr/ports/games/apricots/work/apricots-0.2.6/apricots && c++ -O2 -pipe -fstack-protector -fno-strict-aliasing -DAP_PATH="\"/usr/local/share/apricots/\"" -DAP_AUDIO_OPENAL -L/usr/local/lib -lopenal -lalut -fstack-protector `/usr/local/bin/sdl-config --cflags --libs` *.cpp -o apricots init.cpp:91:25: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] SDL_Color col = { red * 4, green * 4, blue * 4, 0 }; ^~~~~~~ init.cpp:91:25: note: insert an explicit cast to silence this issue SDL_Color col = { red * 4, green * 4, blue * 4, 0 }; ^~~~~~~ static_cast( ) init.cpp:91:34: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] SDL_Color col = { red * 4, green * 4, blue * 4, 0 }; ^~~~~~~~~ init.cpp:91:34: note: insert an explicit cast to silence this issue SDL_Color col = { red * 4, green * 4, blue * 4, 0 }; ^~~~~~~~~ static_cast( ) init.cpp:91:45: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] SDL_Color col = { red * 4, green * 4, blue * 4, 0 }; ^~~~~~~~ init.cpp:91:45: note: insert an explicit cast to silence this issue SDL_Color col = { red * 4, green * 4, blue * 4, 0 }; ^~~~~~~~ static_cast( ) init.cpp:97:28: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] SDL_Color col = { 0, green, blue, 0 }; ^~~~~ init.cpp:97:28: note: insert an explicit cast to silence this issue SDL_Color col = { 0, green, blue, 0 }; ^~~~~ static_cast( ) init.cpp:97:35: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] SDL_Color col = { 0, green, blue, 0 }; ^~~~ init.cpp:97:35: note: insert an explicit cast to silence this issue SDL_Color col = { 0, green, blue, 0 }; ^~~~ static_cast( ) 5 errors generated. *** Error code 1 Stop. make: stopped in /usr/ports/games/apricots