Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2018 11:27:42 GMT
From:      pkg-fallout@FreeBSD.org
To:        johan@stromnet.se
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][comms/telldus-core] Failed for telldus-core-2.1.2_5 in build
Message-ID:  <201808011127.w71BRgAk041558@beefy11.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:     johan@stromnet.se
Last committer: gerald@FreeBSD.org
Ident:          $FreeBSD: head/comms/telldus-core/Makefile 475857 2018-07-29 22:18:44Z gerald $
Log URL:        http://beefy11.nyi.freebsd.org/data/head-i386-default/p475964_s336959/logs/telldus-core-2.1.2_5.log
Build URL:      http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p475964_s336959
Log:

=>> Building comms/telldus-core
build started at Wed Aug  1 11:27:12 UTC 2018
port directory: /usr/ports/comms/telldus-core
package name: telldus-core-2.1.2_5
building for: FreeBSD head-i386-default-job-20 12.0-CURRENT FreeBSD 12.0-CURRENT 1200076 i386
maintained by: johan@stromnet.se
Makefile ident:      $FreeBSD: head/comms/telldus-core/Makefile 475857 2018-07-29 22:18:44Z gerald $
Poudriere version: 3.2.7-2-g1cf194be
Host OSVERSION: 1200069
Jail OSVERSION: 1200076
Job Id: 20




!!! Jail is newer than host. (Jail: 1200076, Host: 1200069) !!!
!!! 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=1200076
UNAME_v=FreeBSD 12.0-CURRENT 1200076
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-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-i386-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---
---End OPTIONS List---

--MAINTAINER--
johan@stromnet.se
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

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

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

# 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: i386-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: i386-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" "-m" "elf_i386_fbsd" "-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: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=12.0-CURRENT
OSREL=12.0
OSVERSION=1200076
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)  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 LGPL21 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   telldus-core-2.1.2_5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_1.txz
[head-i386-default-job-20] Installing pkg-1.10.5_1...
[head-i386-default-job-20] Extracting pkg-1.10.5_1: .......... done
===>   telldus-core-2.1.2_5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of telldus-core-2.1.2_5
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License LGPL21 accepted by the user
===> Fetching all distfiles required by telldus-core-2.1.2_5 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License LGPL21 accepted by the user
===> Fetching all distfiles required by telldus-core-2.1.2_5 for building
=> SHA256 Checksum OK for telldus-core-2.1.2.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License LGPL21 accepted by the user
===> Fetching all distfiles required by telldus-core-2.1.2_5 for building
===>  Extracting for telldus-core-2.1.2_5
=> SHA256 Checksum OK for telldus-core-2.1.2.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for telldus-core-2.1.2_5
===>  Applying FreeBSD patches for telldus-core-2.1.2_5
===========================================================================
<snip>
[head-i386-default-job-20] `-- Installing rhash-1.3.5...
[head-i386-default-job-20] `-- Extracting rhash-1.3.5: .......... done
[head-i386-default-job-20] Extracting cmake-3.12.0_1: .......... done
Message from ca_root_nss-3.38:

********************************* WARNING *********************************

FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.

*********************************** NOTE **********************************

This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem

***************************************************************************
===>   telldus-core-2.1.2_5 depends on file: /usr/local/bin/cmake - found
===>   Returning to build of telldus-core-2.1.2_5
===>   telldus-core-2.1.2_5 depends on executable: ninja - not found
===>   Installing existing package /packages/All/ninja-1.8.2,2.txz
[head-i386-default-job-20] Installing ninja-1.8.2,2...
[head-i386-default-job-20] `-- Installing python27-2.7.15...
[head-i386-default-job-20] |   `-- Installing libffi-3.2.1_2...
[head-i386-default-job-20] |   `-- Extracting libffi-3.2.1_2: .......... done
indexinfo: Impossible to open directory: Not permitted in capability mode
pkg-static: POST-INSTALL script failed
[head-i386-default-job-20] |   `-- Installing readline-7.0.3_1...
[head-i386-default-job-20] |   `-- Extracting readline-7.0.3_1: .......... done
indexinfo: Impossible to open directory: Not permitted in capability mode
indexinfo: Impossible to open directory: Not permitted in capability mode
indexinfo: Impossible to open directory: Not permitted in capability mode
pkg-static: POST-INSTALL script failed
[head-i386-default-job-20] `-- Extracting python27-2.7.15: .......... done
[head-i386-default-job-20] Extracting ninja-1.8.2,2: ....... done
Message from python27-2.7.15:

===========================================================================

Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

bsddb           databases/py-bsddb
gdbm            databases/py-gdbm
sqlite3         databases/py-sqlite3
tkinter         x11-toolkits/py-tkinter

===========================================================================
===>   telldus-core-2.1.2_5 depends on executable: ninja - found
===>   Returning to build of telldus-core-2.1.2_5
===========================================================================
=======================<phase: lib-depends    >============================
===>   telldus-core-2.1.2_5 depends on shared library: libftdi.so - not found
===>   Installing existing package /packages/All/libftdi-0.20_11.txz
[head-i386-default-job-20] Installing libftdi-0.20_11...
[head-i386-default-job-20] `-- Installing boost-libs-1.67.0_3...
[head-i386-default-job-20] |   `-- Installing icu-62.1_2,1...
[head-i386-default-job-20] |   `-- Extracting icu-62.1_2,1: .......... done
[head-i386-default-job-20] `-- Extracting boost-libs-1.67.0_3: .......... done
[head-i386-default-job-20] Extracting libftdi-0.20_11: .......... done
Message from boost-libs-1.67.0_3:

You have built the Boost library with thread support.

Don't forget to add -pthread to your linker options when
linking your code.
Message from libftdi-0.20_11:

===>   NOTICE:

The libftdi 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
===>   telldus-core-2.1.2_5 depends on shared library: libftdi.so - found (/usr/local/lib/libftdi.so)
===>   Returning to build of telldus-core-2.1.2_5
===>   telldus-core-2.1.2_5 depends on shared library: libconfuse.so - not found
===>   Installing existing package /packages/All/libconfuse-3.2.1_1.txz
[head-i386-default-job-20] Installing libconfuse-3.2.1_1...
[head-i386-default-job-20] Extracting libconfuse-3.2.1_1: .......... done
===>   telldus-core-2.1.2_5 depends on shared library: libconfuse.so - found (/usr/local/lib/libconfuse.so)
===>   Returning to build of telldus-core-2.1.2_5
===>   telldus-core-2.1.2_5 depends on shared library: libargp.so - not found
===>   Installing existing package /packages/All/argp-standalone-1.3_3.txz
[head-i386-default-job-20] Installing argp-standalone-1.3_3...
[head-i386-default-job-20] 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
===>   telldus-core-2.1.2_5 depends on shared library: libargp.so - found (/usr/local/lib/libargp.so)
===>   Returning to build of telldus-core-2.1.2_5
===>   telldus-core-2.1.2_5 depends on shared library: libiconv.so - not found
===>   Installing existing package /packages/All/libiconv-1.14_11.txz
[head-i386-default-job-20] Installing libiconv-1.14_11...
[head-i386-default-job-20] Extracting libiconv-1.14_11: .......... done
===>   telldus-core-2.1.2_5 depends on shared library: libiconv.so - found (/usr/local/lib/libiconv.so)
===>   Returning to build of telldus-core-2.1.2_5
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for telldus-core-2.1.2_5
===>  Performing in-source build
/bin/mkdir -p /wrkdirs/usr/ports/comms/telldus-core/work/telldus-core-2.1.2
-- The C compiler identification is Clang 6.0.1
-- The CXX compiler identification is Clang 6.0.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Found Threads: TRUE  
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Checking for one of the modules 'libftdi'
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_C_FLAGS_DEBUG
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    ICONV_INCLUDE_DIR
    ICONV_LIBRARIES
    LIBICONV_INCLUDE_DIR
    LIBICONV_LIBRARIES
    LIBICONV_LIBRARY


-- Build files have been written to: /wrkdirs/usr/ports/comms/telldus-core/work/telldus-core-2.1.2
===========================================================================
=======================<phase: build          >============================
===>  Building for telldus-core-2.1.2_5
[1/57] /usr/bin/c++  -D_FREEBSD -I/usr/local/include -I. -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing   -fPIC -fvisibility=hidden -MD -MT common/CMakeFiles/TelldusCommon.dir/Event.cpp.o -MF common/CMakeFiles/TelldusCommon.dir/Event.cpp.o.d -o common/CMakeFiles/TelldusCommon.dir/Event.cpp.o -c common/Event.cpp
[2/57] /usr/bin/c++  -D_FREEBSD -I/usr/local/include -I. -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing   -fPIC -fvisibility=hidden -MD -MT common/CMakeFiles/TelldusCommon.dir/Message.cpp.o -MF common/CMakeFiles/TelldusCommon.dir/Message.cpp.o.d -o common/CMakeFiles/TelldusCommon.dir/Message.cpp.o -c common/Message.cpp
[3/57] /usr/bin/c++  -D_FREEBSD -I/usr/local/include -I. -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing   -fPIC -fvisibility=hidden -MD -MT common/CMakeFiles/TelldusCommon.dir/Mutex.cpp.o -MF common/CMakeFiles/TelldusCommon.dir/Mutex.cpp.o.d -o common/CMakeFiles/TelldusCommon.dir/Mutex.cpp.o -c common/Mutex.cpp
[4/57] /usr/bin/c++  -D_FREEBSD -I/usr/local/include -I. -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing   -fPIC -fvisibility=hidden -MD -MT common/CMakeFiles/TelldusCommon.dir/Strings.cpp.o -MF common/CMakeFiles/TelldusCommon.dir/Strings.cpp.o.d -o common/CMakeFiles/TelldusCommon.dir/Strings.cpp.o -c common/Strings.cpp
[5/57] /usr/bin/c++  -D_FREEBSD -I/usr/local/include -I. -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing   -fPIC -fvisibility=hidden -MD -MT common/CMakeFiles/TelldusCommon.dir/Thread.cpp.o -MF common/CMakeFiles/TelldusCommon.dir/Thread.cpp.o.d -o common/CMakeFiles/TelldusCommon.dir/Thread.cpp.o -c common/Thread.cpp
[6/57] /usr/bin/c++  -D_FREEBSD -I/usr/local/include -I. -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing   -fPIC -fvisibility=hidden -MD -MT common/CMakeFiles/TelldusCommon.dir/Event_unix.cpp.o -MF common/CMakeFiles/TelldusCommon.dir/Event_unix.cpp.o.d -o common/CMakeFiles/TelldusCommon.dir/Event_unix.cpp.o -c common/Event_unix.cpp
[7/57] /usr/bin/c++  -D_FREEBSD -I/usr/local/include -I. -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing   -fPIC -fvisibility=hidden -MD -MT common/CMakeFiles/TelldusCommon.dir/EventHandler_unix.cpp.o -MF common/CMakeFiles/TelldusCommon.dir/EventHandler_unix.cpp.o.d -o common/CMakeFiles/TelldusCommon.dir/EventHandler_unix.cpp.o -c common/EventHandler_unix.cpp
FAILED: common/CMakeFiles/TelldusCommon.dir/EventHandler_unix.cpp.o 
/usr/bin/c++  -D_FREEBSD -I/usr/local/include -I. -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing   -fPIC -fvisibility=hidden -MD -MT common/CMakeFiles/TelldusCommon.dir/EventHandler_unix.cpp.o -MF common/CMakeFiles/TelldusCommon.dir/EventHandler_unix.cpp.o.d -o common/CMakeFiles/TelldusCommon.dir/EventHandler_unix.cpp.o -c common/EventHandler_unix.cpp
common/EventHandler_unix.cpp:83:24: error: non-constant-expression cannot be narrowed from type 'unsigned long long' to 'time_t' (aka 'int') in initializer list [-Wc++11-narrowing]
                timespec abstime = { now.tv_sec + (abstime_ns_large / 1000000000), abstime_ns_large % 1000000000 };
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
common/EventHandler_unix.cpp:83:24: note: insert an explicit cast to silence this issue
                timespec abstime = { now.tv_sec + (abstime_ns_large / 1000000000), abstime_ns_large % 1000000000 };
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                     static_cast<time_t>(                        )
common/EventHandler_unix.cpp:83:70: error: non-constant-expression cannot be narrowed from type 'unsigned long long' to 'long' in initializer list [-Wc++11-narrowing]
                timespec abstime = { now.tv_sec + (abstime_ns_large / 1000000000), abstime_ns_large % 1000000000 };
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
common/EventHandler_unix.cpp:83:70: note: insert an explicit cast to silence this issue
                timespec abstime = { now.tv_sec + (abstime_ns_large / 1000000000), abstime_ns_large % 1000000000 };
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                   static_cast<long>(           )
2 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/comms/telldus-core



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