Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2018 00:57:18 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv7-default][games/dungeoncrawl] Failed for dungeoncrawl-4.0.0.b26 in build
Message-ID:  <201806080057.w580vIND024978@beefy16.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:     ports@FreeBSD.org
Last committer: amdmi3@FreeBSD.org
Ident:          $FreeBSD: head/games/dungeoncrawl/Makefile 410887 2016-03-12 14:11:20Z amdmi3 $
Log URL:        http://beefy16.nyi.freebsd.org/data/head-armv7-default/p471739_s334645/logs/dungeoncrawl-4.0.0.b26.log
Build URL:      http://beefy16.nyi.freebsd.org/build.html?mastername=head-armv7-default&build=p471739_s334645
Log:

=>> Building games/dungeoncrawl
build started at Fri Jun  8 00:57:05 UTC 2018
port directory: /usr/ports/games/dungeoncrawl
package name: dungeoncrawl-4.0.0.b26
building for: FreeBSD head-armv7-default-job-18 12.0-CURRENT FreeBSD 12.0-CURRENT 1200066 arm
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/dungeoncrawl/Makefile 410887 2016-03-12 14:11:20Z amdmi3 $
Poudriere version: 3.2.7
Host OSVERSION: 1200062
Jail OSVERSION: 1200066
Job Id: 18




!!! Jail is newer than host. (Jail: 1200066, Host: 1200062) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv7
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1200066
UNAME_v=FreeBSD 12.0-CURRENT 1200066
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.7
MASTERMNT=/usr/local/poudriere/data/.m/head-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-armv7-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 dungeoncrawl-4.0.0.b26:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/games/dungeoncrawl/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/dungeoncrawl/work  HOME=/wrkdirs/usr/ports/games/dungeoncrawl/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/dungeoncrawl/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/dungeoncrawl/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/dungeoncrawl/work  HOME=/wrkdirs/usr/ports/games/dungeoncrawl/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/dungeoncrawl/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="/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="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/dungeoncrawl"  EXAMPLESDIR="share/examples/dungeoncrawl"  DATADIR="share/dungeoncrawl"  WWWDIR="www/dungeoncrawl"  ETCDIR="etc/dungeoncrawl"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/dungeoncrawl DOCSDIR=/usr/local/share/doc/dungeoncrawl EXAMPLESDIR=/usr/local/share/examples/dungeoncrawl  WWWDIR=/usr/local/www/dungeoncrawl ETCDIR=/usr/local/etc/dungeoncrawl
--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=armv7
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 ####
_CCVERSION_9d218390=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-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_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=12.0-CURRENT
OSREL=12.0
OSVERSION=1200066
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---
---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   >============================
===>   NOTICE:

The dungeoncrawl 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

===========================================================================
=======================<phase: pkg-depends    >============================
===>   dungeoncrawl-4.0.0.b26 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_1.txz
[head-armv7-default-job-18] Installing pkg-1.10.5_1...
[head-armv7-default-job-18] Extracting pkg-1.10.5_1: .......... done
===>   dungeoncrawl-4.0.0.b26 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of dungeoncrawl-4.0.0.b26
<snip>
=======================<phase: fetch          >============================
===>   NOTICE:

The dungeoncrawl 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

===> Fetching all distfiles required by dungeoncrawl-4.0.0.b26 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

The dungeoncrawl 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

===> Fetching all distfiles required by dungeoncrawl-4.0.0.b26 for building
=> SHA256 Checksum OK for dc400b26-src.tbz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>   NOTICE:

The dungeoncrawl 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

===> Fetching all distfiles required by dungeoncrawl-4.0.0.b26 for building
===>  Extracting for dungeoncrawl-4.0.0.b26
=> SHA256 Checksum OK for dc400b26-src.tbz2.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for dungeoncrawl-4.0.0.b26
===>  Applying FreeBSD patches for dungeoncrawl-4.0.0.b26
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for dungeoncrawl-4.0.0.b26
===========================================================================
=======================<phase: build          >============================
===>  Building for dungeoncrawl-4.0.0.b26
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -Wall -DBSD  -c abl-show.cc 
abl-show.cc:509:47: warning: result of comparison of constant -1 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
        else if (spell_direction(abild, beam) == -1)
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~
abl-show.cc:570:49: warning: result of comparison of constant -1 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
        else if (spell_direction( abild, beam ) == -1)
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~
abl-show.cc:722:42: warning: result of comparison of constant -1 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
        if (spell_direction(abild, beam) == -1)
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~
abl-show.cc:748:42: warning: result of comparison of constant -1 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
        if (spell_direction(abild, beam) == -1)
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~
abl-show.cc:761:42: warning: result of comparison of constant -1 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
        if (spell_direction(abild, beam) == -1)
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~
abl-show.cc:851:40: warning: result of comparison of constant -1 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
        if (spell_direction(spd, beam) == -1)
            ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~
abl-show.cc:862:40: warning: result of comparison of constant -1 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
        if (spell_direction(spd, beam) == -1)
            ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~
abl-show.cc:883:40: warning: result of comparison of constant -1 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
        if (spell_direction(spd, beam) == -1)
            ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~
abl-show.cc:956:40: warning: result of comparison of constant -1 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
        if (spell_direction(spd, beam) == -1)
            ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~
abl-show.cc:986:40: warning: result of comparison of constant -1 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
        if (spell_direction(spd, beam) == -1)
            ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~
10 warnings generated.
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -Wall -DBSD  -c abyss.cc 
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -Wall -DBSD  -c acr.cc 
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -Wall -DBSD  -c beam.cc 
beam.cc:2393:19: warning: use of unary operator that may be intended as compound assignment (-=)
            step1 =- step1;
                  ^~
beam.cc:2394:19: warning: use of unary operator that may be intended as compound assignment (-=)
            step2 =- step2;
                  ^~
beam.cc:2863:29: warning: result of comparison of constant -1 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare]
        if (objs_vulnerable != -1 &&
            ~~~~~~~~~~~~~~~ ^  ~~
beam.cc:2980:42: warning: result of comparison of constant -1 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare]
                if (you.equip[EQ_SHIELD] != -1 
                    ~~~~~~~~~~~~~~~~~~~~ ^  ~~
beam.cc:3194:35: warning: result of comparison of constant -1 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare]
    if (you.equip[EQ_BODY_ARMOUR] != -1)
        ~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~
5 warnings generated.
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -Wall -DBSD  -c chardump.cc 
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -Wall -DBSD  -c cloud.cc 
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -Wall -DBSD  -c command.cc 
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -Wall -DBSD  -c debug.cc 
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -Wall -DBSD  -c delay.cc 
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -Wall -DBSD  -c decks.cc 
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -Wall -DBSD  -c describe.cc 
describe.cc:216:28: warning: result of comparison of constant -2 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
    if (proprt[ RAP_FIRE ] < -2)
        ~~~~~~~~~~~~~~~~~~ ^ ~~
describe.cc:218:33: warning: result of comparison of constant -2 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
    else if (proprt[ RAP_FIRE ] == -2)
             ~~~~~~~~~~~~~~~~~~ ^  ~~
describe.cc:220:33: warning: result of comparison of constant -1 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
    else if (proprt[ RAP_FIRE ] == -1)
             ~~~~~~~~~~~~~~~~~~ ^  ~~
describe.cc:229:28: warning: result of comparison of constant -2 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
    if (proprt[ RAP_COLD ] < -2)
        ~~~~~~~~~~~~~~~~~~ ^ ~~
describe.cc:231:33: warning: result of comparison of constant -2 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
    else if (proprt[ RAP_COLD ] == -2)
             ~~~~~~~~~~~~~~~~~~ ^  ~~
describe.cc:233:33: warning: result of comparison of constant -1 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
    else if (proprt[ RAP_COLD ] == -1)
             ~~~~~~~~~~~~~~~~~~ ^  ~~
describe.cc:260:35: warning: result of comparison of constant -20 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
        if (proprt[ RAP_STEALTH ] < -20)
            ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~
7 warnings generated.
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -Wall -DBSD  -c direct.cc 
direct.cc:47:32: error: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
static const char xcomp[9] = { -1, 0, 1, -1, 0, 1, -1, 0, 1 };
                               ^~
direct.cc:47:32: note: insert an explicit cast to silence this issue
static const char xcomp[9] = { -1, 0, 1, -1, 0, 1, -1, 0, 1 };
                               ^~
                               static_cast<char>( )
direct.cc:47:42: error: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
static const char xcomp[9] = { -1, 0, 1, -1, 0, 1, -1, 0, 1 };
                                         ^~
direct.cc:47:42: note: insert an explicit cast to silence this issue
static const char xcomp[9] = { -1, 0, 1, -1, 0, 1, -1, 0, 1 };
                                         ^~
                                         static_cast<char>( )
direct.cc:47:52: error: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
static const char xcomp[9] = { -1, 0, 1, -1, 0, 1, -1, 0, 1 };
                                                   ^~
direct.cc:47:52: note: insert an explicit cast to silence this issue
static const char xcomp[9] = { -1, 0, 1, -1, 0, 1, -1, 0, 1 };
                                                   ^~
                                                   static_cast<char>( )
direct.cc:48:50: error: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
static const char ycomp[9] = { 1, 1, 1, 0, 0, 0, -1, -1, -1 };
                                                 ^~
direct.cc:48:50: note: insert an explicit cast to silence this issue
static const char ycomp[9] = { 1, 1, 1, 0, 0, 0, -1, -1, -1 };
                                                 ^~
                                                 static_cast<char>( )
direct.cc:48:54: error: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
static const char ycomp[9] = { 1, 1, 1, 0, 0, 0, -1, -1, -1 };
                                                     ^~
direct.cc:48:54: note: insert an explicit cast to silence this issue
static const char ycomp[9] = { 1, 1, 1, 0, 0, 0, -1, -1, -1 };
                                                     ^~
                                                     static_cast<char>( )
direct.cc:48:58: error: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
static const char ycomp[9] = { 1, 1, 1, 0, 0, 0, -1, -1, -1 };
                                                         ^~
direct.cc:48:58: note: insert an explicit cast to silence this issue
static const char ycomp[9] = { 1, 1, 1, 0, 0, 0, -1, -1, -1 };
                                                         ^~
                                                         static_cast<char>( )
direct.cc:537:23: warning: result of comparison of constant -1 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
        if (direction == -1 && temp_xps == 17 && temp_yps == 9)
            ~~~~~~~~~ ^  ~~
1 warning and 6 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/games/dungeoncrawl/work/dc400b26-src/source
*** Error code 1

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



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