[package - head-armv6-default][games/scid] Failed for scid-4.6.4_1 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Tue Feb 6 20:45:28 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: bsd at volki.at
Last committer: gahr at FreeBSD.org
Ident: $FreeBSD: head/games/scid/Makefile 449393 2017-09-07 11:01:02Z gahr $
Log URL: http://beefy8.nyi.freebsd.org/data/head-armv6-default/p461032_s328914/logs/scid-4.6.4_1.log
Build URL: http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p461032_s328914
Log:
=>> Building games/scid
build started at Tue Feb 6 20:44:55 UTC 2018
port directory: /usr/ports/games/scid
package name: scid-4.6.4_1
building for: FreeBSD head-armv6-default-job-09 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 arm
maintained by: bsd at volki.at
Makefile ident: $FreeBSD: head/games/scid/Makefile 449393 2017-09-07 11:01:02Z gahr $
Poudriere version: 3.2.4-42-g98f2e28b
Host OSVERSION: 1200054
Jail OSVERSION: 1200056
Job Id: 09
!!! 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
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
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-armv6-default/ref
QEMU_EMULATING=1
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-armv6-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p/pool
MASTERNAME=head-armv6-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.2.4-42-g98f2e28b
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
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--
bsd at volki.at
--End MAINTAINER--
--CONFIGURE_ARGS--
BINDIR="/usr/local/bin" SHAREDIR="/usr/local/share/scid" THREADS="-pthread" TCL_VERSION="8.6" TCL_INCLUDE="-I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -I/usr/local/include" TCL_LIBRARY="-L/usr/local/lib -ltcl86" TK_LIBRARY="-L/usr/local/lib -ltcl86 -ltk86 -lX11" OPTIMIZE="-O2 -pipe -fno-strict-aliasing -fno-rtti -fno-exceptions" WARNINGS=""
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
MAKE=gmake PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/wrkdirs/usr/ports/games/scid/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/scid/work HOME=/wrkdirs/usr/ports/games/scid/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/scid/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--
XDG_DATA_HOME=/wrkdirs/usr/ports/games/scid/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/scid/work HOME=/wrkdirs/usr/ports/games/scid/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/scid/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="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -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="" PYTHON_INCLUDEDIR=include/python2.7 PYTHON_LIBDIR=lib/python2.7 PYTHON_PLATFORM=freebsd12 PYTHON_PYOEXTENSION=pyo PYTHON_SITELIBDIR=lib/python2.7/site-packages PYTHON_SUFFIX=27 PYTHON_VER=2.7 PYTHON_VERSION=python2.7 PYTHON2="" PYTHON3="@comment " OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/scid" EXAMPLESDIR="share/examples/scid" DATADIR="share/scid" WWWDIR="www/scid" ETCDIR="etc/scid"
--End PLIST_SUB--
--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/scid DOCSDIR=/usr/local/share/doc/scid EXAMPLESDIR=/usr/local/share/examples/scid WWWDIR=/usr/local/www/scid ETCDIR=/usr/local/etc/scid
--End SUB_LIST--
---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
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 ####
ARCH=armv6
CONFIGURE_MAX_CMD_LEN=262144
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---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.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 >============================
===========================================================================
=======================<phase: pkg-depends >============================
===> scid-4.6.4_1 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.10.4.txz
[head-armv6-default-job-09] Installing pkg-1.10.4...
[head-armv6-default-job-09] Extracting pkg-1.10.4: .......... done
===> scid-4.6.4_1 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of scid-4.6.4_1
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> Fetching all distfiles required by scid-4.6.4_1 for building
===========================================================================
=======================<phase: checksum >============================
===> Fetching all distfiles required by scid-4.6.4_1 for building
=> SHA256 Checksum OK for scid-4.6.4.zip.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> Fetching all distfiles required by scid-4.6.4_1 for building
===> Extracting for scid-4.6.4_1
=> SHA256 Checksum OK for scid-4.6.4.zip.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for scid-4.6.4_1
===> Applying FreeBSD patches for scid-4.6.4_1
===========================================================================
=======================<phase: build-depends >============================
===> scid-4.6.4_1 depends on executable: gmake - not found
===> Installing existing package /packages/All/gmake-4.2.1_1.txz
[head-armv6-default-job-09] Installing gmake-4.2.1_1...
[head-armv6-default-job-09] `-- Installing gettext-runtime-0.19.8.1_1...
[head-armv6-default-job-09] | `-- Installing indexinfo-0.3.1...
[head-armv6-default-job-09] | `-- Extracting indexinfo-0.3.1: .... done
[head-armv6-default-job-09] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[head-armv6-default-job-09] Extracting gmake-4.2.1_1: .......... done
===> scid-4.6.4_1 depends on executable: gmake - found
<snip>
[head-armv6-default-job-09] Installing python27-2.7.14_1...
[head-armv6-default-job-09] `-- Installing libffi-3.2.1_2...
[head-armv6-default-job-09] `-- Extracting libffi-3.2.1_2: .......... done
[head-armv6-default-job-09] `-- Installing readline-7.0.3_1...
[head-armv6-default-job-09] `-- Extracting readline-7.0.3_1: .......... done
[head-armv6-default-job-09] Extracting python27-2.7.14_1: .......... done
Message from python27-2.7.14_1:
===========================================================================
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:
bsddb databases/py-bsddb
gdbm databases/py-gdbm
sqlite3 databases/py-sqlite3
tkinter x11-toolkits/py-tkinter
===========================================================================
===> scid-4.6.4_1 depends on file: /usr/local/bin/python2.7 - found
===> Returning to build of scid-4.6.4_1
===========================================================================
=======================<phase: lib-depends >============================
===> scid-4.6.4_1 depends on shared library: libtk86.so - not found
===> Installing existing package /packages/All/tk86-8.6.8_2.txz
[head-armv6-default-job-09] Installing tk86-8.6.8_2...
[head-armv6-default-job-09] `-- Installing fontconfig-2.12.1,1...
[head-armv6-default-job-09] | `-- Installing expat-2.2.5...
[head-armv6-default-job-09] | `-- Extracting expat-2.2.5: .......... done
[head-armv6-default-job-09] | `-- Installing freetype2-2.8_1...
[head-armv6-default-job-09] | `-- Extracting freetype2-2.8_1: .......... done
[head-armv6-default-job-09] `-- Extracting fontconfig-2.12.1,1: .......... done
Running fc-cache to build fontconfig cache...
/usr/local/share/fonts: skipping, no such directory
/usr/local/lib/X11/fonts: skipping, no such directory
/var/db/fontconfig: cleaning cache directory
fc-cache: succeeded
[head-armv6-default-job-09] `-- Installing libX11-1.6.5,1...
[head-armv6-default-job-09] | `-- Installing kbproto-1.0.7...
[head-armv6-default-job-09] | `-- Extracting kbproto-1.0.7: .......... done
[head-armv6-default-job-09] | `-- Installing libXau-1.0.8_3...
[head-armv6-default-job-09] | | `-- Installing xproto-7.0.31...
[head-armv6-default-job-09] | | `-- Extracting xproto-7.0.31: .......... done
[head-armv6-default-job-09] | `-- Extracting libXau-1.0.8_3: .......... done
[head-armv6-default-job-09] | `-- Installing libXdmcp-1.1.2...
[head-armv6-default-job-09] | `-- Extracting libXdmcp-1.1.2: ......... done
[head-armv6-default-job-09] | `-- Installing libxcb-1.12_2...
[head-armv6-default-job-09] | | `-- Installing libpthread-stubs-0.4...
[head-armv6-default-job-09] | | `-- Extracting libpthread-stubs-0.4: . done
[head-armv6-default-job-09] | | `-- Installing libxml2-2.9.7...
[head-armv6-default-job-09] | | `-- Extracting libxml2-2.9.7: .......... done
[head-armv6-default-job-09] | `-- Extracting libxcb-1.12_2: .......... done
[head-armv6-default-job-09] `-- Extracting libX11-1.6.5,1: .......... done
[head-armv6-default-job-09] `-- Installing libXScrnSaver-1.2.2_3...
[head-armv6-default-job-09] | `-- Installing libXext-1.3.3_1,1...
[head-armv6-default-job-09] | | `-- Installing xextproto-7.3.0...
[head-armv6-default-job-09] | | `-- Extracting xextproto-7.3.0: .......... done
[head-armv6-default-job-09] | `-- Extracting libXext-1.3.3_1,1: .......... done
[head-armv6-default-job-09] | `-- Installing scrnsaverproto-1.2.2...
[head-armv6-default-job-09] | `-- Extracting scrnsaverproto-1.2.2: ... done
[head-armv6-default-job-09] `-- Extracting libXScrnSaver-1.2.2_3: .......... done
[head-armv6-default-job-09] `-- Installing libXft-2.3.2_1...
[head-armv6-default-job-09] | `-- Installing libXrender-0.9.10...
[head-armv6-default-job-09] | | `-- Installing renderproto-0.11.1...
[head-armv6-default-job-09] | | `-- Extracting renderproto-0.11.1: .... done
[head-armv6-default-job-09] | `-- Extracting libXrender-0.9.10: .......... done
[head-armv6-default-job-09] `-- Extracting libXft-2.3.2_1: .......... done
[head-armv6-default-job-09] `-- Installing tcl86-8.6.8...
[head-armv6-default-job-09] `-- Extracting tcl86-8.6.8: .......... done
[head-armv6-default-job-09] Extracting tk86-8.6.8_2: .......... 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).
===> scid-4.6.4_1 depends on shared library: libtk86.so - found (/usr/local/lib/libtk86.so)
===> Returning to build of scid-4.6.4_1
===> scid-4.6.4_1 depends on shared library: libtcl86.so - found (/usr/local/lib/libtcl86.so)
===========================================================================
=======================<phase: configure >============================
===> Configuring for scid-4.6.4_1
configure: Makefile configuration program for Scid
Tcl/Tk version: 8.6
Your operating system is: FreeBSD 12.0-CURRENT
Checking if your system already has zlib installed: no.
Using Makefile.conf.
The Makefile configured for your system was written.
Now just type "make" to compile Scid.
===========================================================================
=======================<phase: build >============================
===> Building for scid-4.6.4_1
gmake[1]: Entering directory '/wrkdirs/usr/ports/games/scid/work/scid-4.6.4'
rm -f ./scid
cat tcl/start.tcl > ./scid
chmod +x scid
cp scripts/sc_epgn.tcl ./sc_epgn
chmod +x sc_epgn
cp scripts/sc_spell.tcl ./sc_spell
chmod +x sc_spell
cp scripts/sc_eco.tcl ./sc_eco
chmod +x sc_eco
cp scripts/sc_import.tcl ./sc_import
chmod +x sc_import
cp scripts/sc_remote.tk ./sc_remote
chmod +x sc_remote
cp scripts/scidpgn.tcl ./scidpgn
chmod +x scidpgn
cp scripts/pgnfix.py ./pgnfix
chmod +x pgnfix
cp scripts/spliteco.tcl ./spliteco
chmod +x spliteco
cp scripts/spf2spi.tcl ./spf2spi
chmod +x spf2spi
/nxb-bin/usr/bin/c++ -MMD -O2 -pipe -fno-strict-aliasing -fno-rtti -fno-exceptions -pthread -DSCID_USE_TB -DT41_INCLUDE -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -I/usr/local/include -o src/mfile.o -c src/mfile.cpp
/nxb-bin/usr/bin/c++ -MMD -O2 -pipe -fno-strict-aliasing -fno-rtti -fno-exceptions -pthread -DSCID_USE_TB -DT41_INCLUDE -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -I/usr/local/include -o src/textbuf.o -c src/textbuf.cpp
/nxb-bin/usr/bin/c++ -MMD -O2 -pipe -fno-strict-aliasing -fno-rtti -fno-exceptions -pthread -DSCID_USE_TB -DT41_INCLUDE -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -I/usr/local/include -o src/filter.o -c src/filter.cpp
/nxb-bin/usr/bin/c++ -MMD -O2 -pipe -fno-strict-aliasing -fno-rtti -fno-exceptions -pthread -DSCID_USE_TB -DT41_INCLUDE -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -I/usr/local/include -o src/date.o -c src/date.cpp
/nxb-bin/usr/bin/c++ -MMD -O2 -pipe -fno-strict-aliasing -fno-rtti -fno-exceptions -pthread -DSCID_USE_TB -DT41_INCLUDE -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -I/usr/local/include -o src/optable.o -c src/optable.cpp
/nxb-bin/usr/bin/c++ -MMD -O2 -pipe -fno-strict-aliasing -fno-rtti -fno-exceptions -pthread -DSCID_USE_TB -DT41_INCLUDE -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -I/usr/local/include -o src/gfile.o -c src/gfile.cpp
In file included from src/gfile.cpp:20:
In file included from src/gfile.h:26:
src/fastgame.h:436:37: error: constant expression evaluates to -9 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
static const char sqdiff[] = { 0, -9, -8, -7, -1, 1, 7, 8, 9};
^~
src/fastgame.h:436:37: note: insert an explicit cast to silence this issue
static const char sqdiff[] = { 0, -9, -8, -7, -1, 1, 7, 8, 9};
^~
static_cast<char>( )
src/fastgame.h:436:41: error: constant expression evaluates to -8 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
static const char sqdiff[] = { 0, -9, -8, -7, -1, 1, 7, 8, 9};
^~
src/fastgame.h:436:41: note: insert an explicit cast to silence this issue
static const char sqdiff[] = { 0, -9, -8, -7, -1, 1, 7, 8, 9};
^~
static_cast<char>( )
src/fastgame.h:436:45: error: constant expression evaluates to -7 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
static const char sqdiff[] = { 0, -9, -8, -7, -1, 1, 7, 8, 9};
^~
src/fastgame.h:436:45: note: insert an explicit cast to silence this issue
static const char sqdiff[] = { 0, -9, -8, -7, -1, 1, 7, 8, 9};
^~
static_cast<char>( )
src/fastgame.h:436:49: error: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
static const char sqdiff[] = { 0, -9, -8, -7, -1, 1, 7, 8, 9};
^~
src/fastgame.h:436:49: note: insert an explicit cast to silence this issue
static const char sqdiff[] = { 0, -9, -8, -7, -1, 1, 7, 8, 9};
^~
static_cast<char>( )
src/fastgame.h:450:37: error: constant expression evaluates to -17 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
static const char sqdiff[] = { 0, -17, -15, -10, -6, 6, 10, 15, 17, 0, 0, 0, 0, 0, 0, 0 };
^~~
src/fastgame.h:450:37: note: insert an explicit cast to silence this issue
static const char sqdiff[] = { 0, -17, -15, -10, -6, 6, 10, 15, 17, 0, 0, 0, 0, 0, 0, 0 };
^~~
static_cast<char>( )
src/fastgame.h:450:42: error: constant expression evaluates to -15 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
static const char sqdiff[] = { 0, -17, -15, -10, -6, 6, 10, 15, 17, 0, 0, 0, 0, 0, 0, 0 };
^~~
src/fastgame.h:450:42: note: insert an explicit cast to silence this issue
static const char sqdiff[] = { 0, -17, -15, -10, -6, 6, 10, 15, 17, 0, 0, 0, 0, 0, 0, 0 };
^~~
static_cast<char>( )
src/fastgame.h:450:47: error: constant expression evaluates to -10 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
static const char sqdiff[] = { 0, -17, -15, -10, -6, 6, 10, 15, 17, 0, 0, 0, 0, 0, 0, 0 };
^~~
src/fastgame.h:450:47: note: insert an explicit cast to silence this issue
static const char sqdiff[] = { 0, -17, -15, -10, -6, 6, 10, 15, 17, 0, 0, 0, 0, 0, 0, 0 };
^~~
static_cast<char>( )
src/fastgame.h:450:52: error: constant expression evaluates to -6 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
static const char sqdiff[] = { 0, -17, -15, -10, -6, 6, 10, 15, 17, 0, 0, 0, 0, 0, 0, 0 };
^~
src/fastgame.h:450:52: note: insert an explicit cast to silence this issue
static const char sqdiff[] = { 0, -17, -15, -10, -6, 6, 10, 15, 17, 0, 0, 0, 0, 0, 0, 0 };
^~
static_cast<char>( )
8 errors generated.
gmake[1]: *** [Makefile:333: src/gfile.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/scid/work/scid-4.6.4'
*** Error code 1
Stop.
make: stopped in /usr/ports/games/scid
More information about the freebsd-pkg-fallout
mailing list