Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2019 12:26:04 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv7-default][misc/dvorakng] Failed for dvorakng-0.5.0_1 in build
Message-ID:  <201901151226.x0FCQ4YB092903@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: marino@FreeBSD.org
Ident:          $FreeBSD: head/misc/dvorakng/Makefile 407914 2016-02-02 23:37:39Z marino $
Log URL:        http://beefy16.nyi.freebsd.org/data/head-armv7-default/p490022_s342952/logs/dvorakng-0.5.0_1.log
Build URL:      http://beefy16.nyi.freebsd.org/build.html?mastername=head-armv7-default&build=p490022_s342952
Log:

=>> Building misc/dvorakng
build started at Tue Jan 15 12:26:01 UTC 2019
port directory: /usr/ports/misc/dvorakng
package name: dvorakng-0.5.0_1
building for: FreeBSD head-armv7-default-job-03 13.0-CURRENT FreeBSD 13.0-CURRENT 1300008 arm
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
Host OSVERSION: 1300002
Jail OSVERSION: 1300008
Job Id: 03




!!! Jail is newer than host. (Jail: 1300008, Host: 1300002) !!!
!!! 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=1300008
UNAME_v=FreeBSD 13.0-CURRENT 1300008
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8
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 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="/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="" 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---
.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

# 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_9d218390=FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) Target: armv7-unknown-freebsd13.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_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300008
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 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
/nxb-bin/usr/bin/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?201901151226.x0FCQ4YB092903>