[package - head-i386-default][net/linknx] Failed for linknx-0.0.1.32 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Sun Feb 11 21:13:19 UTC 2018


You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     bkoenig at alpha-tierchen.de
Last committer: mat at FreeBSD.org
Ident:          $FreeBSD: head/net/linknx/Makefile 457367 2017-12-27 13:59:01Z mat $
Log URL:        http://beefy11.nyi.freebsd.org/data/head-i386-default/p461354_s329096/logs/linknx-0.0.1.32.log
Build URL:      http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p461354_s329096
Log:

=>> Building net/linknx
build started at Sun Feb 11 21:12:18 UTC 2018
port directory: /usr/ports/net/linknx
package name: linknx-0.0.1.32
building for: FreeBSD head-i386-default-job-02 12.0-CURRENT FreeBSD 12.0-CURRENT 1200057 i386
maintained by: bkoenig at alpha-tierchen.de
Makefile ident:      $FreeBSD: head/net/linknx/Makefile 457367 2017-12-27 13:59:01Z mat $
Poudriere version: 3.2.4-49-g17610211
Host OSVERSION: 1200054
Jail OSVERSION: 1200057
Job Id: 02




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



---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1200057
UNAME_v=FreeBSD 12.0-CURRENT 1200057
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
OLDPWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.2.4-49-g17610211
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for linknx-0.0.1.32:
     LIBCURL=off: Install libcurl for Clickatell SMS support
     LIBESMTP=on: Install libesmtp for SMTP support
     LIBLUA=off: Install liblua for scripting
     MYSQL=off: Install libmysql for logging & persist
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
bkoenig at alpha-tierchen.de
--End MAINTAINER--

--CONFIGURE_ARGS--
CFLAGS="-I/usr/local/include"  LDFLAGS="-I/usr/local/include -L//usr/local/lib" --without-libcurl --enable-smtp --without-lua --without-mysql --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/net/linknx/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/linknx/work  HOME=/wrkdirs/usr/ports/net/linknx/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/linknx/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net/linknx/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/linknx/work  HOME=/wrkdirs/usr/ports/net/linknx/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/linknx/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -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="" LIBCURL="@comment " NO_LIBCURL="" LIBESMTP="" NO_LIBESMTP="@comment " LIBLUA="@comment " NO_LIBLUA="" MYSQL="@comment " NO_MYSQL="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/linknx"  EXAMPLESDIR="share/examples/linknx"  DATADIR="share/linknx"  WWWDIR="www/linknx"  ETCDIR="etc/linknx"
--End PLIST_SUB--

--SUB_LIST--
LIBCURL="@comment " NO_LIBCURL="" LIBESMTP="" NO_LIBESMTP="@comment " LIBLUA="@comment " NO_LIBLUA="" MYSQL="@comment " NO_MYSQL="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/linknx DOCSDIR=/usr/local/share/doc/linknx EXAMPLESDIR=/usr/local/share/examples/linknx  WWWDIR=/usr/local/www/linknx ETCDIR=/usr/local/etc/linknx
--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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
ARCH=i386
CONFIGURE_MAX_CMD_LEN=262144
OPSYS=FreeBSD
OSREL=12.0
OSVERSION=1200057
PYTHONBASE=/usr/local
UID=0
_OSRELEASE=12.0-CURRENT
#### Misc Poudriere ####
GID=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)  524288
stack size              (kbytes, -s)  65536
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    >============================
===>   linknx-0.0.1.32 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[head-i386-default-job-02] Installing pkg-1.10.4...
[head-i386-default-job-02] Extracting pkg-1.10.4: .......... done
===>   linknx-0.0.1.32 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of linknx-0.0.1.32
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by linknx-0.0.1.32 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by linknx-0.0.1.32 for building
=> SHA256 Checksum OK for linknx-0.0.1.32.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by linknx-0.0.1.32 for building
===>  Extracting for linknx-0.0.1.32
=> SHA256 Checksum OK for linknx-0.0.1.32.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for linknx-0.0.1.32
===>  Applying FreeBSD patches for linknx-0.0.1.32
/usr/bin/sed -i.bak "s/LUAPC=lua/LUAPC=lua-/" /wrkdirs/usr/ports/net/linknx/work/linknx-0.0.1.32/configure.ac
cd /wrkdirs/usr/ports/net/linknx/work/linknx-0.0.1.32 && /usr/bin/touch NEWS README AUTHORS
===========================================================================
=======================<phase: build-depends  >============================
===>   linknx-0.0.1.32 depends on file: /usr/local/lib/libargp.a - not found
===>   Installing existing package /packages/All/argp-standalone-1.3_3.txz
[head-i386-default-job-02] Installing argp-standalone-1.3_3...
[head-i386-default-job-02] Extracting argp-standalone-1.3_3: ......... done
Message from argp-standalone-1.3_3:

===>   NOTICE:

The argp-standalone 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
===>   linknx-0.0.1.32 depends on file: /usr/local/lib/libargp.a - found
<snip>
config.status: creating test/Makefile
config.status: creating conf/Makefile
config.status: creating config.h
config.status: executing depfiles commands
===========================================================================
=======================<phase: build          >============================
===>  Building for linknx-0.0.1.32
gmake[1]: Entering directory '/wrkdirs/usr/ports/net/linknx/work/linknx-0.0.1.32'
gmake  all-recursive
gmake[2]: Entering directory '/wrkdirs/usr/ports/net/linknx/work/linknx-0.0.1.32'
Making all in ticpp
gmake[3]: Entering directory '/wrkdirs/usr/ports/net/linknx/work/linknx-0.0.1.32/ticpp'
c++ -DHAVE_CONFIG_H -I. -I..  -I../ticpp  -DTIXML_USE_TICPP -DTIXML_USE_STL   -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT ticpp.o -MD -MP -MF .deps/ticpp.Tpo -c -o ticpp.o ticpp.cpp
mv -f .deps/ticpp.Tpo .deps/ticpp.Po
c++ -DHAVE_CONFIG_H -I. -I..  -I../ticpp  -DTIXML_USE_TICPP -DTIXML_USE_STL   -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT tinystr.o -MD -MP -MF .deps/tinystr.Tpo -c -o tinystr.o tinystr.cpp
mv -f .deps/tinystr.Tpo .deps/tinystr.Po
c++ -DHAVE_CONFIG_H -I. -I..  -I../ticpp  -DTIXML_USE_TICPP -DTIXML_USE_STL   -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT tinyxml.o -MD -MP -MF .deps/tinyxml.Tpo -c -o tinyxml.o tinyxml.cpp
mv -f .deps/tinyxml.Tpo .deps/tinyxml.Po
c++ -DHAVE_CONFIG_H -I. -I..  -I../ticpp  -DTIXML_USE_TICPP -DTIXML_USE_STL   -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT tinyxmlerror.o -MD -MP -MF .deps/tinyxmlerror.Tpo -c -o tinyxmlerror.o tinyxmlerror.cpp
mv -f .deps/tinyxmlerror.Tpo .deps/tinyxmlerror.Po
c++ -DHAVE_CONFIG_H -I. -I..  -I../ticpp  -DTIXML_USE_TICPP -DTIXML_USE_STL   -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT tinyxmlparser.o -MD -MP -MF .deps/tinyxmlparser.Tpo -c -o tinyxmlparser.o tinyxmlparser.cpp
tinyxmlparser.cpp:364:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
                while ( *p && IsWhiteSpace( *p ) || *p == '\n' || *p =='\r' )
                        ~~~^~~~~~~~~~~~~~~~~~~~~ ~~
tinyxmlparser.cpp:364:14: note: place parentheses around the '&&' expression to silence this warning
                while ( *p && IsWhiteSpace( *p ) || *p == '\n' || *p =='\r' )
                           ^
                        (                       )
1 warning generated.
mv -f .deps/tinyxmlparser.Tpo .deps/tinyxmlparser.Po
rm -f libticpp.a
ar cru libticpp.a ticpp.o tinystr.o tinyxml.o tinyxmlerror.o tinyxmlparser.o 
ranlib libticpp.a
gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/linknx/work/linknx-0.0.1.32/ticpp'
Making all in src
gmake[3]: Entering directory '/wrkdirs/usr/ports/net/linknx/work/linknx-0.0.1.32/src'
c++ -DHAVE_CONFIG_H -I. -I..  -I../include -I../ticpp -I/usr/local/include      -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT linknx.o -MD -MP -MF .deps/linknx.Tpo -c -o linknx.o linknx.cpp
linknx.cpp:140:23: warning: data argument not used by format string [-Wformat-extra-args]
        printf ("\n", strerror (errno));
                ~~~~  ^
1 warning generated.
mv -f .deps/linknx.Tpo .deps/linknx.Po
c++ -DHAVE_CONFIG_H -I. -I..  -I../include -I../ticpp -I/usr/local/include      -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT logger.o -MD -MP -MF .deps/logger.Tpo -c -o logger.o logger.cpp
mv -f .deps/logger.Tpo .deps/logger.Po
c++ -DHAVE_CONFIG_H -I. -I..  -I../include -I../ticpp -I/usr/local/include      -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT ruleserver.o -MD -MP -MF .deps/ruleserver.Tpo -c -o ruleserver.o ruleserver.cpp
ruleserver.cpp:2293:47: warning: '&&' within '||' [-Wlogical-op-parentheses]
    if ((lastVal_m == false && lastTime_m > 0 && (now-lastTime_m) > resetDelay_m || lastTime_m == 0))
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
ruleserver.cpp:2293:47: note: place parentheses around the '&&' expression to silence this warning
    if ((lastVal_m == false && lastTime_m > 0 && (now-lastTime_m) > resetDelay_m || lastTime_m == 0))
                                              ^
         (                                                                      )
1 warning generated.
mv -f .deps/ruleserver.Tpo .deps/ruleserver.Po
c++ -DHAVE_CONFIG_H -I. -I..  -I../include -I../ticpp -I/usr/local/include      -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT objectcontroller.o -MD -MP -MF .deps/objectcontroller.Tpo -c -o objectcontroller.o objectcontroller.cpp
objectcontroller.cpp:659:27: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    uint8_t buf[2] = { 0, (isWrite ? 0x80 : 0x40) | (getBoolObjectValue() ? 1 : 0) };
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objectcontroller.cpp:659:27: note: insert an explicit cast to silence this issue
    uint8_t buf[2] = { 0, (isWrite ? 0x80 : 0x40) | (getBoolObjectValue() ? 1 : 0) };
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          static_cast<uint8_t>(                                   )
objectcontroller.cpp:867:27: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    uint8_t buf[2] = { 0, (isWrite ? 0x80 : 0x40) | (getDirection() ? 8 : 0) | (getStepCode() & 0x07) };
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objectcontroller.cpp:867:27: note: insert an explicit cast to silence this issue
    uint8_t buf[2] = { 0, (isWrite ? 0x80 : 0x40) | (getDirection() ? 8 : 0) | (getStepCode() & 0x07) };
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          static_cast<uint8_t>(                                                      )
objectcontroller.cpp:1234:27: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    uint8_t buf[5] = { 0, (isWrite ? 0x80 : 0x40), ((wday_m<<5) & 0xE0) | (hour_m & 0x1F), min_m, sec_m };
                          ^~~~~~~~~~~~~~~~~~~~~~~
objectcontroller.cpp:1234:27: note: insert an explicit cast to silence this issue
    uint8_t buf[5] = { 0, (isWrite ? 0x80 : 0x40), ((wday_m<<5) & 0xE0) | (hour_m & 0x1F), min_m, sec_m };
                          ^~~~~~~~~~~~~~~~~~~~~~~
                          static_cast<uint8_t>(  )
objectcontroller.cpp:1234:52: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    uint8_t buf[5] = { 0, (isWrite ? 0x80 : 0x40), ((wday_m<<5) & 0xE0) | (hour_m & 0x1F), min_m, sec_m };
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objectcontroller.cpp:1234:52: note: insert an explicit cast to silence this issue
    uint8_t buf[5] = { 0, (isWrite ? 0x80 : 0x40), ((wday_m<<5) & 0xE0) | (hour_m & 0x1F), min_m, sec_m };
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                   static_cast<uint8_t>(                 )
objectcontroller.cpp:1234:92: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    uint8_t buf[5] = { 0, (isWrite ? 0x80 : 0x40), ((wday_m<<5) & 0xE0) | (hour_m & 0x1F), min_m, sec_m };
                                                                                           ^~~~~
objectcontroller.cpp:1234:92: note: insert an explicit cast to silence this issue
    uint8_t buf[5] = { 0, (isWrite ? 0x80 : 0x40), ((wday_m<<5) & 0xE0) | (hour_m & 0x1F), min_m, sec_m };
                                                                                           ^~~~~
                                                                                           static_cast<uint8_t>( )
objectcontroller.cpp:1234:99: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    uint8_t buf[5] = { 0, (isWrite ? 0x80 : 0x40), ((wday_m<<5) & 0xE0) | (hour_m & 0x1F), min_m, sec_m };
                                                                                                  ^~~~~
objectcontroller.cpp:1234:99: note: insert an explicit cast to silence this issue
    uint8_t buf[5] = { 0, (isWrite ? 0x80 : 0x40), ((wday_m<<5) & 0xE0) | (hour_m & 0x1F), min_m, sec_m };
                                                                                                  ^~~~~
                                                                                                  static_cast<uint8_t>( )
objectcontroller.cpp:1448:24: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                       (isWrite ? 0x80 : 0x40),
                       ^~~~~~~~~~~~~~~~~~~~~~~
objectcontroller.cpp:1448:24: note: insert an explicit cast to silence this issue
                       (isWrite ? 0x80 : 0x40),
                       ^~~~~~~~~~~~~~~~~~~~~~~
                       static_cast<uint8_t>(  )
objectcontroller.cpp:1449:24: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                       day_m, month_m,
                       ^~~~~
objectcontroller.cpp:1449:24: note: insert an explicit cast to silence this issue
                       day_m, month_m,
                       ^~~~~
                       static_cast<uint8_t>( )
objectcontroller.cpp:1449:31: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                       day_m, month_m,
                              ^~~~~~~
objectcontroller.cpp:1449:31: note: insert an explicit cast to silence this issue
                       day_m, month_m,
                              ^~~~~~~
                              static_cast<uint8_t>( )
objectcontroller.cpp:1450:24: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                       (year_m >= 100 && year_m < 190) ? year_m-100 : year_m };
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objectcontroller.cpp:1450:24: note: insert an explicit cast to silence this issue
                       (year_m >= 100 && year_m < 190) ? year_m-100 : year_m };
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       static_cast<uint8_t>(                                )
objectcontroller.cpp:1657:27: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    uint8_t buf[4] = { 0, (isWrite ? 0x80 : 0x40), 0, 0 };
                          ^~~~~~~~~~~~~~~~~~~~~~~
objectcontroller.cpp:1657:27: note: insert an explicit cast to silence this issue
    uint8_t buf[4] = { 0, (isWrite ? 0x80 : 0x40), 0, 0 };
                          ^~~~~~~~~~~~~~~~~~~~~~~
                          static_cast<uint8_t>(  )
objectcontroller.cpp:1747:27: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    uint8_t buf[6] = { 0, (isWrite ? 0x80 : 0x40), 0, 0, 0, 0 };
                          ^~~~~~~~~~~~~~~~~~~~~~~
objectcontroller.cpp:1747:27: note: insert an explicit cast to silence this issue
    uint8_t buf[6] = { 0, (isWrite ? 0x80 : 0x40), 0, 0, 0, 0 };
                          ^~~~~~~~~~~~~~~~~~~~~~~
                          static_cast<uint8_t>(  )
objectcontroller.cpp:1875:27: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    uint8_t buf[3] = { 0, (isWrite ? 0x80 : 0x40), (getInt() & 0xff) };
                          ^~~~~~~~~~~~~~~~~~~~~~~
objectcontroller.cpp:1875:27: note: insert an explicit cast to silence this issue
    uint8_t buf[3] = { 0, (isWrite ? 0x80 : 0x40), (getInt() & 0xff) };
                          ^~~~~~~~~~~~~~~~~~~~~~~
                          static_cast<uint8_t>(  )
objectcontroller.cpp:1875:52: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    uint8_t buf[3] = { 0, (isWrite ? 0x80 : 0x40), (getInt() & 0xff) };
                                                   ^~~~~~~~~~~~~~~~~
objectcontroller.cpp:1875:52: note: insert an explicit cast to silence this issue
    uint8_t buf[3] = { 0, (isWrite ? 0x80 : 0x40), (getInt() & 0xff) };
                                                   ^~~~~~~~~~~~~~~~~
                                                   static_cast<uint8_t>( )
objectcontroller.cpp:2205:27: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    uint8_t buf[4] = { 0, (isWrite ? 0x80 : 0x40), ((value_m & 0xff00)>>8), (value_m & 0xff) };
                          ^~~~~~~~~~~~~~~~~~~~~~~
objectcontroller.cpp:2205:27: note: insert an explicit cast to silence this issue
    uint8_t buf[4] = { 0, (isWrite ? 0x80 : 0x40), ((value_m & 0xff00)>>8), (value_m & 0xff) };
                          ^~~~~~~~~~~~~~~~~~~~~~~
                          static_cast<uint8_t>(  )
objectcontroller.cpp:2205:52: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    uint8_t buf[4] = { 0, (isWrite ? 0x80 : 0x40), ((value_m & 0xff00)>>8), (value_m & 0xff) };
                                                   ^~~~~~~~~~~~~~~~~~~~~~~
objectcontroller.cpp:2205:52: note: insert an explicit cast to silence this issue
    uint8_t buf[4] = { 0, (isWrite ? 0x80 : 0x40), ((value_m & 0xff00)>>8), (value_m & 0xff) };
                                                   ^~~~~~~~~~~~~~~~~~~~~~~
                                                   static_cast<uint8_t>(  )
objectcontroller.cpp:2205:77: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    uint8_t buf[4] = { 0, (isWrite ? 0x80 : 0x40), ((value_m & 0xff00)>>8), (value_m & 0xff) };
                                                                            ^~~~~~~~~~~~~~~~
objectcontroller.cpp:2205:77: note: insert an explicit cast to silence this issue
    uint8_t buf[4] = { 0, (isWrite ? 0x80 : 0x40), ((value_m & 0xff00)>>8), (value_m & 0xff) };
                                                                            ^~~~~~~~~~~~~~~~
                                                                            static_cast<uint8_t>( )
objectcontroller.cpp:2262:27: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    uint8_t buf[6] = { 0, (isWrite ? 0x80 : 0x40), ((value_m & 0xff000000)>>24), ((value_m & 0xff0000)>>16), ((value_m & 0xff00)>>8), (value_m & 0xff) };
                          ^~~~~~~~~~~~~~~~~~~~~~~
objectcontroller.cpp:2262:27: note: insert an explicit cast to silence this issue
    uint8_t buf[6] = { 0, (isWrite ? 0x80 : 0x40), ((value_m & 0xff000000)>>24), ((value_m & 0xff0000)>>16), ((value_m & 0xff00)>>8), (value_m & 0xff) };
                          ^~~~~~~~~~~~~~~~~~~~~~~
                          static_cast<uint8_t>(  )
objectcontroller.cpp:2262:52: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    uint8_t buf[6] = { 0, (isWrite ? 0x80 : 0x40), ((value_m & 0xff000000)>>24), ((value_m & 0xff0000)>>16), ((value_m & 0xff00)>>8), (value_m & 0xff) };
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
objectcontroller.cpp:2262:52: note: insert an explicit cast to silence this issue
    uint8_t buf[6] = { 0, (isWrite ? 0x80 : 0x40), ((value_m & 0xff000000)>>24), ((value_m & 0xff0000)>>16), ((value_m & 0xff00)>>8), (value_m & 0xff) };
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                   static_cast<uint8_t>(       )
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[3]: *** [Makefile:412: objectcontroller.o] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/linknx/work/linknx-0.0.1.32/src'
gmake[2]: *** [Makefile:376: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/net/linknx/work/linknx-0.0.1.32'
gmake[1]: *** [Makefile:317: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/linknx/work/linknx-0.0.1.32'
*** Error code 1

Stop.
make: stopped in /usr/ports/net/linknx


More information about the freebsd-pkg-fallout mailing list