Date: Sat, 21 Dec 2019 02:07:43 GMT From: pkg-fallout@FreeBSD.org To: pkg-fallout@FreeBSD.org Subject: [package - 113arm64-quarterly][games/scid] Failed for scid-4.6.4_1 in build Message-ID: <201912210207.xBL27hEt038284@thunderx1.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: bsd@volki.at Last committer: gahr@FreeBSD.org Ident: $FreeBSD: branches/2019Q4/games/scid/Makefile 504096 2019-06-13 15:02:39Z gahr $ Log URL: http://thunderx1.nyi.freebsd.org/data/113arm64-quarterly/520500/logs/scid-4.6.4_1.log Build URL: http://thunderx1.nyi.freebsd.org/build.html?mastername=113arm64-quarterly&build=520500 Log: =>> Building games/scid build started at Sat Dec 21 02:06:38 UTC 2019 port directory: /usr/ports/games/scid package name: scid-4.6.4_1 building for: FreeBSD 113arm64-quarterly-job-14 11.3-RELEASE-p5 FreeBSD 11.3-RELEASE-p5 1103000 arm64 maintained by: bsd@volki.at Makefile ident: $FreeBSD: branches/2019Q4/games/scid/Makefile 504096 2019-06-13 15:02:39Z gahr $ Poudriere version: 3.2.8-5-gc81843e5 Host OSVERSION: 1300002 Jail OSVERSION: 1103000 Job Id: 14 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1103000 UNAME_v=FreeBSD 11.3-RELEASE-p5 1103000 UNAME_r=11.3-RELEASE-p5 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.8-5-gc81843e5 MASTERMNT=/usr/local/poudriere/data/.m/113arm64-quarterly/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/113arm64-quarterly/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=113arm64-quarterly SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/113arm64-quarterly/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-- bsd@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 -fstack-protector-strong -fno-strict-aliasing -fno-rtti -fno-exceptions" WARNINGS="" --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake PYTHON="/usr/local/bin/python3.6" 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 CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -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-- PYTHON_INCLUDEDIR=include/python3.6m PYTHON_LIBDIR=lib/python3.6 PYTHON_PLATFORM=freebsd11 PYTHON_SITELIBDIR=lib/python3.6/site-packages PYTHON_SUFFIX=36 PYTHON_VER=3.6 PYTHON_VERSION=python3.6 PYTHON2="@comment " PYTHON3="" OSREL=11.3 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--- 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 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: aarch64-unknown-freebsd11.3 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: aarch64-unknown-freebsd11.3 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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_f2776b26=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: aarch64-unknown-freebsd11.3 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=aarch64 OPSYS=FreeBSD _OSRELEASE=11.3-RELEASE-p5 OSREL=11.3 OSVERSION=1103000 PYTHONBASE=/usr/local 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) 1048576 stack size (kbytes, -s) 1048576 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 >============================ ===> scid-4.6.4_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.12.0.txz [113arm64-quarterly-job-14] Installing pkg-1.12.0... [113arm64-quarterly-job-14] Extracting pkg-1.12.0: .......... 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 >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by scid-4.6.4_1 for building =========================================================================== =======================<phase: checksum >============================ ===> License GPLv2 accepted by the user ===> 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 >============================ ===> License GPLv2 accepted by the user ===> 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_3.txz [113arm64-quarterly-job-14] Installing gmake-4.2.1_3... [113arm64-quarterly-job-14] `-- Installing gettext-runtime-0.20.1... [113arm64-quarterly-job-14] | `-- Installing indexinfo-0.3.1... [113arm64-quarterly-job-14] | `-- Extracting indexinfo-0.3.1: .... done [113arm64-quarterly-job-14] `-- Extracting gettext-runtime-0.20.1: .......... done [113arm64-quarterly-job-14] Extracting gmake-4.2.1_3: .......... done ===> scid-4.6.4_1 depends on executable: gmake - found ===> Returning to build of scid-4.6.4_1 ===> scid-4.6.4_1 depends on file: /usr/local/bin/python3.6 - not found ===> Installing existing package /packages/All/python36-3.6.9_1.txz [113arm64-quarterly-job-14] Installing python36-3.6.9_1... [113arm64-quarterly-job-14] `-- Installing libffi-3.2.1_3... [113arm64-quarterly-job-14] `-- Extracting libffi-3.2.1_3: .......... done [113arm64-quarterly-job-14] `-- Installing readline-8.0.0... [113arm64-quarterly-job-14] `-- Extracting readline-8.0.0: .......... done [113arm64-quarterly-job-14] Extracting python36-3.6.9_1: .......... done ===== Message from python36-3.6.9_1: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py36-gdbm databases/py-gdbm@py36 py36-sqlite3 databases/py-sqlite3@py36 py36-tkinter x11-toolkits/py-tkinter@py36 ===> scid-4.6.4_1 depends on file: /usr/local/bin/python3.6 - 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.9_1.txz [113arm64-quarterly-job-14] Installing tk86-8.6.9_1... [113arm64-quarterly-job-14] `-- Installing fontconfig-2.12.6,1... [113arm64-quarterly-job-14] | `-- Installing expat-2.2.8... [113arm64-quarterly-job-14] | `-- Extracting expat-2.2.8: .......... done [113arm64-quarterly-job-14] | `-- Installing freetype2-2.10.1... [113arm64-quarterly-job-14] | `-- Extracting freetype2-2.10.1: .......... done [113arm64-quarterly-job-14] `-- Extracting fontconfig-2.12.6,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 [113arm64-quarterly-job-14] `-- Installing libX11-1.6.8,1... [113arm64-quarterly-job-14] | `-- Installing libXau-1.0.9... [113arm64-quarterly-job-14] | `-- Extracting libXau-1.0.9: .......... done [113arm64-quarterly-job-14] | `-- Installing libXdmcp-1.1.3... [113arm64-quarterly-job-14] | | `-- Installing xorgproto-2019.1... [113arm64-quarterly-job-14] | | `-- Extracting xorgproto-2019.1: .......... done [113arm64-quarterly-job-14] | `-- Extracting libXdmcp-1.1.3: ......... done [113arm64-quarterly-job-14] | `-- Installing libxcb-1.13.1... [113arm64-quarterly-job-14] | | `-- Installing libpthread-stubs-0.4... [113arm64-quarterly-job-14] | | `-- Extracting libpthread-stubs-0.4: .... done [113arm64-quarterly-job-14] | | `-- Installing libxml2-2.9.9... [113arm64-quarterly-job-14] | | `-- Extracting libxml2-2.9.9: .......... done [113arm64-quarterly-job-14] | `-- Extracting libxcb-1.13.1: .......... done [113arm64-quarterly-job-14] `-- Extracting libX11-1.6.8,1: .......... done [113arm64-quarterly-job-14] `-- Installing libXScrnSaver-1.2.3_2... [113arm64-quarterly-job-14] | `-- Installing libXext-1.3.4,1... [113arm64-quarterly-job-14] | `-- Extracting libXext-1.3.4,1: .......... done [113arm64-quarterly-job-14] `-- Extracting libXScrnSaver-1.2.3_2: .......... done [113arm64-quarterly-job-14] `-- Installing libXft-2.3.2_3... [113arm64-quarterly-job-14] | `-- Installing libXrender-0.9.10_2... [113arm64-quarterly-job-14] | `-- Extracting libXrender-0.9.10_2: .......... done [113arm64-quarterly-job-14] `-- Extracting libXft-2.3.2_3: .......... done [113arm64-quarterly-job-14] `-- Installing tcl86-8.6.9_1... [113arm64-quarterly-job-14] `-- Extracting tcl86-8.6.9_1: .......... done [113arm64-quarterly-job-14] Extracting tk86-8.6.9_1: .......... done ===== Message from freetype2-2.10.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. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/site/index.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 11.3-RELEASE-p5 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 c++ -MMD -O2 -pipe -fstack-protector-strong -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 c++ -MMD -O2 -pipe -fstack-protector-strong -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 c++ -MMD -O2 -pipe -fstack-protector-strong -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 c++ -MMD -O2 -pipe -fstack-protector-strong -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 c++ -MMD -O2 -pipe -fstack-protector-strong -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 c++ -MMD -O2 -pipe -fstack-protector-strong -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912210207.xBL27hEt038284>