From owner-freebsd-pkg-fallout@freebsd.org Sat Jul 28 19:31:50 2018 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6011E105B7D2 for ; Sat, 28 Jul 2018 19:31:50 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E4B5D7C368 for ; Sat, 28 Jul 2018 19:31:49 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id A98A2105B6D9; Sat, 28 Jul 2018 19:31:49 +0000 (UTC) Delivered-To: pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4DE7B105B6D8 for ; Sat, 28 Jul 2018 19:31:49 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 05E237C364; Sat, 28 Jul 2018 19:31:49 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy12.nyi.freebsd.org (beefy12.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:ef]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DB331308A; Sat, 28 Jul 2018 19:31:48 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy12.nyi.freebsd.org (localhost [127.0.0.1]) by beefy12.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6SJVm2O059309; Sat, 28 Jul 2018 19:31:48 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy12.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w6SJVmp4059302; Sat, 28 Jul 2018 19:31:48 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Sat, 28 Jul 2018 19:31:48 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201807281931.w6SJVmp4059302@beefy12.nyi.freebsd.org> To: bkoenig@alpha-tierchen.de Subject: [package - head-amd64-default][net/linknx] Failed for linknx-0.0.1.32 in build Cc: pkg-fallout@FreeBSD.org X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2018 19:31:50 -0000 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@alpha-tierchen.de Last committer: mat@FreeBSD.org Ident: $FreeBSD: head/net/linknx/Makefile 457367 2017-12-27 13:59:01Z mat $ Log URL: http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475478_s336801/logs/linknx-0.0.1.32.log Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p475478_s336801 Log: =>> Building net/linknx build started at Sat Jul 28 19:30:51 UTC 2018 port directory: /usr/ports/net/linknx package name: linknx-0.0.1.32 building for: FreeBSD head-amd64-default-job-04 12.0-CURRENT FreeBSD 12.0-CURRENT 1200075 amd64 maintained by: bkoenig@alpha-tierchen.de Makefile ident: $FreeBSD: head/net/linknx/Makefile 457367 2017-12-27 13:59:01Z mat $ Poudriere version: 3.2.7-2-g1cf194be Host OSVERSION: 1200069 Jail OSVERSION: 1200075 Job Id: 04 !!! Jail is newer than host. (Jail: 1200075, Host: 1200069) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh OSVERSION=1200075 UNAME_v=FreeBSD 12.0-CURRENT 1200075 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 USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.7-2-g1cf194be MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-amd64-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-amd64-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 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@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 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 #### /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 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/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_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 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=amd64 OPSYS=FreeBSD _OSRELEASE=12.0-CURRENT OSREL=12.0 OSVERSION=1200075 PYTHONBASE=/usr/local HAVE_COMPAT_IA32_KERN=YES 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) 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-- =================================================== ===> License GPLv2 accepted by the user =========================================================================== =================================================== ===> linknx-0.0.1.32 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz [head-amd64-default-job-04] Installing pkg-1.10.5_1... [head-amd64-default-job-04] Extracting pkg-1.10.5_1: .......... done ===> linknx-0.0.1.32 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of linknx-0.0.1.32 =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by linknx-0.0.1.32 for building =========================================================================== =================================================== ===> 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. =========================================================================== =================================================== =========================================================================== =================================================== ===> 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. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for linknx-0.0.1.32 config.status: creating test/Makefile config.status: creating conf/Makefile config.status: creating config.h config.status: executing depfiles commands =========================================================================== =================================================== ===> 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( ) 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( ) 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( ) 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( ) 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( ) 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( ) 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( ) 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( ) 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( ) 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( ) 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( ) 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( ) 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( ) 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( ) 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( ) 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( ) 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( ) 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( ) 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( ) fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. gmake[3]: *** [Makefile:427: 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