Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2019 03:16:07 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-arm64-default][misc/dvorakng] Failed for dvorakng-0.5.0_1 in build
Message-ID:  <201903170316.x2H3G74m077240@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:     ports@FreeBSD.org
Last committer: marino@FreeBSD.org
Ident:          $FreeBSD: head/misc/dvorakng/Makefile 407914 2016-02-02 23:37:39Z marino $
Log URL:        http://thunderx1.nyi.freebsd.org/data/head-arm64-default/p495404_s345044/logs/dvorakng-0.5.0_1.log
Build URL:      http://thunderx1.nyi.freebsd.org/build.html?mastername=head-arm64-default&build=p495404_s345044
Log:

=>> Building misc/dvorakng
build started at Sun Mar 17 03:15:51 UTC 2019
port directory: /usr/ports/misc/dvorakng
package name: dvorakng-0.5.0_1
building for: FreeBSD head-arm64-default-job-21 13.0-CURRENT FreeBSD 13.0-CURRENT 1300014 arm64
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/misc/dvorakng/Makefile 407914 2016-02-02 23:37:39Z marino $
Poudriere version: 3.2.8-3-g02cc9753
Host OSVERSION: 1300002
Jail OSVERSION: 1300014
Job Id: 21




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300014
UNAME_v=FreeBSD 13.0-CURRENT 1300014
UNAME_r=13.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.8-3-g02cc9753
MASTERMNT=/usr/local/poudriere/data/.m/head-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-arm64-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 dvorakng-0.5.0_1:
     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/misc/dvorakng/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/dvorakng/work  HOME=/wrkdirs/usr/ports/misc/dvorakng/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/dvorakng/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/misc/dvorakng/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/dvorakng/work  HOME=/wrkdirs/usr/ports/misc/dvorakng/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/dvorakng/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  -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" " LIBS=""  CXX="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="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/dvorakng"  EXAMPLESDIR="share/examples/dvorakng"  DATADIR="share/dvorakng"  WWWDIR="www/dvorakng"  ETCDIR="etc/dvorakng"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/dvorakng DOCSDIR=/usr/local/share/doc/dvorakng EXAMPLESDIR=/usr/local/share/examples/dvorakng  WWWDIR=/usr/local/www/dvorakng ETCDIR=/usr/local/etc/dvorakng
--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

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 8.0.0 (branches/release_80 355677) (based on LLVM 8.0.0) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 8.0.0 (branches/release_80 355677) (based on LLVM 8.0.0) Target: aarch64-unknown-freebsd13.0 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 (branches/release_80 355677) (based on LLVM 8.0.0) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300014
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   >============================
===>   NOTICE:

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

===>  License GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   dvorakng-0.5.0_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[head-arm64-default-job-21] Installing pkg-1.10.5_5...
[head-arm64-default-job-21] Extracting pkg-1.10.5_5: .......... done
===>   dvorakng-0.5.0_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of dvorakng-0.5.0_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

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

<snip>
More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by dvorakng-0.5.0_1 for building
===>  Extracting for dvorakng-0.5.0_1
=> SHA256 Checksum OK for dvorakng-0.5.0.tar.bz2.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for dvorakng-0.5.0_1
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for dvorakng-0.5.0_1
===========================================================================
=======================<phase: build          >============================
===>  Building for dvorakng-0.5.0_1
c++  -O2 -pipe -fno-strict-aliasing    -c dvorakng.cpp -o dvorakng.o
dvorakng.cpp:109:86: error: constant expression evaluates to -5 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, -5, -5, -4, -4, -3, -3, -2, -2, 2, 2, 3, 4, 5,
                                                                                            ^~
dvorakng.cpp:109:86: note: insert an explicit cast to silence this issue
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, -5, -5, -4, -4, -3, -3, -2, -2, 2, 2, 3, 4, 5,
                                                                                            ^~
                                                                                            static_cast<char>( )
dvorakng.cpp:109:90: error: constant expression evaluates to -5 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, -5, -5, -4, -4, -3, -3, -2, -2, 2, 2, 3, 4, 5,
                                                                                                ^~
dvorakng.cpp:109:90: note: insert an explicit cast to silence this issue
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, -5, -5, -4, -4, -3, -3, -2, -2, 2, 2, 3, 4, 5,
                                                                                                ^~
                                                                                                static_cast<char>( )
dvorakng.cpp:109:94: error: constant expression evaluates to -4 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, -5, -5, -4, -4, -3, -3, -2, -2, 2, 2, 3, 4, 5,
                                                                                                    ^~
dvorakng.cpp:109:94: note: insert an explicit cast to silence this issue
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, -5, -5, -4, -4, -3, -3, -2, -2, 2, 2, 3, 4, 5,
                                                                                                    ^~
                                                                                                    static_cast<char>( )
dvorakng.cpp:109:98: error: constant expression evaluates to -4 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, -5, -5, -4, -4, -3, -3, -2, -2, 2, 2, 3, 4, 5,
                                                                                                        ^~
dvorakng.cpp:109:98: note: insert an explicit cast to silence this issue
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, -5, -5, -4, -4, -3, -3, -2, -2, 2, 2, 3, 4, 5,
                                                                                                        ^~
                                                                                                        static_cast<char>( )
dvorakng.cpp:109:102: error: constant expression evaluates to -3 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, -5, -5, -4, -4, -3, -3, -2, -2, 2, 2, 3, 4, 5,
                                                                                                            ^~
dvorakng.cpp:109:102: note: insert an explicit cast to silence this issue
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, -5, -5, -4, -4, -3, -3, -2, -2, 2, 2, 3, 4, 5,
                                                                                                            ^~
                                                                                                            static_cast<char>( )
dvorakng.cpp:109:106: error: constant expression evaluates to -3 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, -5, -5, -4, -4, -3, -3, -2, -2, 2, 2, 3, 4, 5,
                                                                                                                ^~
dvorakng.cpp:109:106: note: insert an explicit cast to silence this issue
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, -5, -5, -4, -4, -3, -3, -2, -2, 2, 2, 3, 4, 5,
                                                                                                                ^~
                                                                                                                static_cast<char>( )
dvorakng.cpp:109:110: error: constant expression evaluates to -2 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, -5, -5, -4, -4, -3, -3, -2, -2, 2, 2, 3, 4, 5,
                                                                                                                    ^~
dvorakng.cpp:109:110: note: insert an explicit cast to silence this issue
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, -5, -5, -4, -4, -3, -3, -2, -2, 2, 2, 3, 4, 5,
                                                                                                                    ^~
                                                                                                                    static_cast<char>( )
dvorakng.cpp:109:114: error: constant expression evaluates to -2 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, -5, -5, -4, -4, -3, -3, -2, -2, 2, 2, 3, 4, 5,
                                                                                                                        ^~
dvorakng.cpp:109:114: note: insert an explicit cast to silence this issue
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, -5, -5, -4, -4, -3, -3, -2, -2, 2, 2, 3, 4, 5,
                                                                                                                        ^~
                                                                                                                        static_cast<char>( )
dvorakng.cpp:110:21: error: constant expression evaluates to -5 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
        0, 0, 0, 0,  0, 5, -5, -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0, 0, 0, 0, 2, 0, /*0,*/ 5, /*-5,*/ -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0
                           ^~
dvorakng.cpp:110:21: note: insert an explicit cast to silence this issue
        0, 0, 0, 0,  0, 5, -5, -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0, 0, 0, 0, 2, 0, /*0,*/ 5, /*-5,*/ -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0
                           ^~
                           static_cast<char>( )
dvorakng.cpp:110:25: error: constant expression evaluates to -4 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
        0, 0, 0, 0,  0, 5, -5, -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0, 0, 0, 0, 2, 0, /*0,*/ 5, /*-5,*/ -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0
                               ^~
dvorakng.cpp:110:25: note: insert an explicit cast to silence this issue
        0, 0, 0, 0,  0, 5, -5, -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0, 0, 0, 0, 2, 0, /*0,*/ 5, /*-5,*/ -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0
                               ^~
                               static_cast<char>( )
dvorakng.cpp:110:29: error: constant expression evaluates to -3 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
        0, 0, 0, 0,  0, 5, -5, -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0, 0, 0, 0, 2, 0, /*0,*/ 5, /*-5,*/ -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0
                                   ^~
dvorakng.cpp:110:29: note: insert an explicit cast to silence this issue
        0, 0, 0, 0,  0, 5, -5, -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0, 0, 0, 0, 2, 0, /*0,*/ 5, /*-5,*/ -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0
                                   ^~
                                   static_cast<char>( )
dvorakng.cpp:110:33: error: constant expression evaluates to -2 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
        0, 0, 0, 0,  0, 5, -5, -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0, 0, 0, 0, 2, 0, /*0,*/ 5, /*-5,*/ -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0
                                       ^~
dvorakng.cpp:110:33: note: insert an explicit cast to silence this issue
        0, 0, 0, 0,  0, 5, -5, -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0, 0, 0, 0, 2, 0, /*0,*/ 5, /*-5,*/ -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0
                                       ^~
                                       static_cast<char>( )
dvorakng.cpp:110:37: error: constant expression evaluates to -2 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
        0, 0, 0, 0,  0, 5, -5, -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0, 0, 0, 0, 2, 0, /*0,*/ 5, /*-5,*/ -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0
                                           ^~
dvorakng.cpp:110:37: note: insert an explicit cast to silence this issue
        0, 0, 0, 0,  0, 5, -5, -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0, 0, 0, 0, 2, 0, /*0,*/ 5, /*-5,*/ -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0
                                           ^~
                                           static_cast<char>( )
dvorakng.cpp:110:95: error: constant expression evaluates to -4 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
        0, 0, 0, 0,  0, 5, -5, -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0, 0, 0, 0, 2, 0, /*0,*/ 5, /*-5,*/ -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0
                                                                                                     ^~
dvorakng.cpp:110:95: note: insert an explicit cast to silence this issue
        0, 0, 0, 0,  0, 5, -5, -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0, 0, 0, 0, 2, 0, /*0,*/ 5, /*-5,*/ -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0
                                                                                                     ^~
                                                                                                     static_cast<char>( )
dvorakng.cpp:110:99: error: constant expression evaluates to -3 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
        0, 0, 0, 0,  0, 5, -5, -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0, 0, 0, 0, 2, 0, /*0,*/ 5, /*-5,*/ -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0
                                                                                                         ^~
dvorakng.cpp:110:99: note: insert an explicit cast to silence this issue
        0, 0, 0, 0,  0, 5, -5, -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0, 0, 0, 0, 2, 0, /*0,*/ 5, /*-5,*/ -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0
                                                                                                         ^~
                                                                                                         static_cast<char>( )
dvorakng.cpp:110:103: error: constant expression evaluates to -2 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
        0, 0, 0, 0,  0, 5, -5, -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0, 0, 0, 0, 2, 0, /*0,*/ 5, /*-5,*/ -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0
                                                                                                             ^~
dvorakng.cpp:110:103: note: insert an explicit cast to silence this issue
        0, 0, 0, 0,  0, 5, -5, -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0, 0, 0, 0, 2, 0, /*0,*/ 5, /*-5,*/ -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0
                                                                                                             ^~
                                                                                                             static_cast<char>( )
dvorakng.cpp:110:107: error: constant expression evaluates to -2 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
        0, 0, 0, 0,  0, 5, -5, -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0, 0, 0, 0, 2, 0, /*0,*/ 5, /*-5,*/ -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0
                                                                                                                 ^~
dvorakng.cpp:110:107: note: insert an explicit cast to silence this issue
        0, 0, 0, 0,  0, 5, -5, -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0, 0, 0, 0, 2, 0, /*0,*/ 5, /*-5,*/ -4, -3, -2, -2, 2, 2, 3, 4, 5, 0, 0
                                                                                                                 ^~
                                                                                                                 static_cast<char>( )
dvorakng.cpp:209:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        char    *res = "";
                       ^
dvorakng.cpp:213:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                res = "on";
                      ^
dvorakng.cpp:217:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                res = "off";
                      ^
dvorakng.cpp:869:27: warning: taking the absolute value of unsigned type 'char' has no effect [-Wabsolute-value]
                attron( COLOR_PAIR( 7 - abs( colormap[ key ] ) ) );
                                        ^
dvorakng.cpp:869:27: note: remove the call to 'abs' since unsigned values cannot be negative
                attron( COLOR_PAIR( 7 - abs( colormap[ key ] ) ) );
                                        ^~~
/usr/include/curses.h:1189:37: note: expanded from macro 'COLOR_PAIR'
#define COLOR_PAIR(n)   NCURSES_BITS((n), 0)
                                      ^
/usr/include/curses.h:1053:56: note: expanded from macro 'NCURSES_BITS'
#define NCURSES_BITS(mask,shift) (NCURSES_CAST(chtype,(mask)) << ((shift) + NCURSES_ATTR_SHIFT))
                                                       ^
/usr/include/curses.h:229:52: note: expanded from macro 'NCURSES_CAST'
#define NCURSES_CAST(type,value) static_cast<type>(value)
                                                   ^
/usr/include/curses.h:1202:37: note: expanded from macro 'attron'
#define attron(at)              wattron(stdscr,(at))
                                                ^
/usr/include/curses.h:1146:61: note: expanded from macro 'wattron'
#define wattron(win,at)         wattr_on(win, NCURSES_CAST(attr_t, at), NULL)
                                                                   ^
/usr/include/curses.h:229:52: note: expanded from macro 'NCURSES_CAST'
#define NCURSES_CAST(type,value) static_cast<type>(value)
                                                   ^
dvorakng.cpp:1584:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                FEntries.back().Print( 0, 0, 3, "Last entry:" );
                                                ^
dvorakng.cpp:1588:67: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                        GetBestEntry( true, THSEntry::GetFasterEntry ).Print( 7, 0, 2, "Fastest entry (session):" );
                                                                                       ^
dvorakng.cpp:1589:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                        GetBestEntry( true, THSEntry::GetPerfectEntry ).Print( 14, 0, 6, "Most accurate entry (session):" );
                                                                                         ^
dvorakng.cpp:1592:68: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                GetBestEntry( false, THSEntry::GetFasterEntry ).Print( 7, 40, 2, "Fastest entry (ever):" );
                                                                                 ^
dvorakng.cpp:1593:70: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                GetBestEntry( false, THSEntry::GetPerfectEntry ).Print( 14, 40, 6, "Most accurate entry(ever):" );
                                                                                   ^
9 warnings and 17 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/misc/dvorakng/work/dvorakng
*** Error code 1

Stop.
make: stopped in /usr/ports/misc/dvorakng



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