Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2018 23:13:03 GMT
From:      pkg-fallout@FreeBSD.org
To:        johan@stromnet.se
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][comms/telldus-core] Failed for telldus-core-2.1.2_4 in build
Message-ID:  <201801232313.w0NND34Z004189@beefy12.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: olgeni@FreeBSD.org
Ident:          $FreeBSD: head/comms/telldus-core/Makefile 453284 2017-11-01 13:10:35Z olgeni $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-amd64-default/p459797_s328300/logs/telldus-core-2.1.2_4.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p459797_s328300
Log:

=>> Building comms/telldus-core
build started at Tue Jan 23 23:12:28 UTC 2018
port directory: /usr/ports/comms/telldus-core
package name: telldus-core-2.1.2_4
building for: FreeBSD head-amd64-default-job-06 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 amd64
maintained by: johan@stromnet.se
Makefile ident:      $FreeBSD: head/comms/telldus-core/Makefile 453284 2017-11-01 13:10:35Z olgeni $
Poudriere version: 3.2.4
Host OSVERSION: 1200054
Jail OSVERSION: 1200056
Job Id: 06




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200056
UNAME_v=FreeBSD 12.0-CURRENT 1200056
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-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-amd64-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
P_PYTHON_MAJOR_VER=2
POUDRIERE_VERSION=3.2.4
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
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  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="" 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
#### /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=amd64
CONFIGURE_MAX_CMD_LEN=262144
HAVE_COMPAT_IA32_KERN=YES
OPSYS=FreeBSD
OSREL=12.0
OSVERSION=1200056
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)  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   >============================
===>  License LGPL21 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   telldus-core-2.1.2_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[head-amd64-default-job-06] Installing pkg-1.10.4...
[head-amd64-default-job-06] Extracting pkg-1.10.4: .......... done
===>   telldus-core-2.1.2_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of telldus-core-2.1.2_4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License LGPL21 accepted by the user
===> Fetching all distfiles required by telldus-core-2.1.2_4 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License LGPL21 accepted by the user
===> Fetching all distfiles required by telldus-core-2.1.2_4 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_4 for building
===>  Extracting for telldus-core-2.1.2_4
=> SHA256 Checksum OK for telldus-core-2.1.2.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for telldus-core-2.1.2_4
===>  Applying FreeBSD patches for telldus-core-2.1.2_4
===========================================================================
=======================<phase: build-depends  >============================
===>   telldus-core-2.1.2_4 depends on executable: help2man - not found
===>   Installing existing package /packages/All/help2man-1.47.5.txz
[head-amd64-default-job-06] Installing help2man-1.47.5...
[head-amd64-default-job-06] `-- Installing gettext-runtime-0.19.8.1_1...
[head-amd64-default-job-06] |   `-- Installing indexinfo-0.3.1...
[head-amd64-default-job-06] |   `-- Extracting indexinfo-0.3.1: .... done
[head-amd64-default-job-06] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[head-amd64-default-job-06] `-- Installing p5-Locale-gettext-1.07...
[head-amd64-default-job-06] |   `-- Installing perl5-5.24.3...
[head-amd64-default-job-06] |   `-- Extracting perl5-5.24.3: .......... done
[head-amd64-default-job-06] `-- Extracting p5-Locale-gettext-1.07: ........ done
[head-amd64-default-job-06] Extracting help2man-1.47.5: .......... done
Message from perl5-5.24.3:

The /usr/bin/perl symlink has been removed starting with Perl 5.20.
For shebangs, you should either use:

#!/usr/local/bin/perl

or

#!/usr/bin/env perl

The first one will only work if you have a /usr/local/bin/perl,
the second will work as long as perl is in PATH.
===>   telldus-core-2.1.2_4 depends on executable: help2man - found
===>   Returning to build of telldus-core-2.1.2_4
===>   telldus-core-2.1.2_4 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.10.1_2.txz
[head-amd64-default-job-06] Installing cmake-3.10.1_2...
<snip>
[head-amd64-default-job-06] |   `-- Extracting liblz4-1.8.1.2,1: .......... done
[head-amd64-default-job-06] |   `-- Installing lzo2-2.10_1...
[head-amd64-default-job-06] |   `-- Extracting lzo2-2.10_1: .......... done
[head-amd64-default-job-06] `-- Extracting libarchive-3.3.2,1: .......... done
[head-amd64-default-job-06] `-- Installing libuv-1.19.1...
[head-amd64-default-job-06] `-- Extracting libuv-1.19.1: .......... done
[head-amd64-default-job-06] `-- Installing rhash-1.3.5...
[head-amd64-default-job-06] `-- Extracting rhash-1.3.5: .......... done
[head-amd64-default-job-06] Extracting cmake-3.10.1_2: .......... done
Message from ca_root_nss-3.35:

********************************* 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_4 depends on file: /usr/local/bin/cmake - found
===>   Returning to build of telldus-core-2.1.2_4
===>   telldus-core-2.1.2_4 depends on executable: ninja - not found
===>   Installing existing package /packages/All/ninja-1.8.2,2.txz
[head-amd64-default-job-06] Installing ninja-1.8.2,2...
[head-amd64-default-job-06] `-- Installing python27-2.7.14_1...
[head-amd64-default-job-06] |   `-- Installing libffi-3.2.1_2...
[head-amd64-default-job-06] |   `-- Extracting libffi-3.2.1_2: .......... done
[head-amd64-default-job-06] |   `-- Installing readline-7.0.3_1...
[head-amd64-default-job-06] |   `-- Extracting readline-7.0.3_1: .......... done
[head-amd64-default-job-06] `-- Extracting python27-2.7.14_1: .......... done
[head-amd64-default-job-06] Extracting ninja-1.8.2,2: ....... done
Message from python27-2.7.14_1:

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

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_4 depends on executable: ninja - found
===>   Returning to build of telldus-core-2.1.2_4
===========================================================================
=======================<phase: lib-depends    >============================
===>   telldus-core-2.1.2_4 depends on shared library: libftdi.so - not found
===>   Installing existing package /packages/All/libftdi-0.20_10.txz
[head-amd64-default-job-06] Installing libftdi-0.20_10...
[head-amd64-default-job-06] `-- Installing boost-libs-1.66.0...
[head-amd64-default-job-06] |   `-- Installing icu-60.2_1,1...
[head-amd64-default-job-06] |   `-- Extracting icu-60.2_1,1: .......... done
[head-amd64-default-job-06] `-- Extracting boost-libs-1.66.0: .......... done
[head-amd64-default-job-06] Extracting libftdi-0.20_10: .......... done
Message from boost-libs-1.66.0:

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_10:

===>   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_4 depends on shared library: libftdi.so - found (/usr/local/lib/libftdi.so)
===>   Returning to build of telldus-core-2.1.2_4
===>   telldus-core-2.1.2_4 depends on shared library: libconfuse.so - not found
===>   Installing existing package /packages/All/libconfuse-2.7_2.txz
[head-amd64-default-job-06] Installing libconfuse-2.7_2...
[head-amd64-default-job-06] Extracting libconfuse-2.7_2: ......... done
===>   telldus-core-2.1.2_4 depends on shared library: libconfuse.so - found (/usr/local/lib/libconfuse.so)
===>   Returning to build of telldus-core-2.1.2_4
===>   telldus-core-2.1.2_4 depends on shared library: libargp.so - not found
===>   Installing existing package /packages/All/argp-standalone-1.3_3.txz
[head-amd64-default-job-06] Installing argp-standalone-1.3_3...
[head-amd64-default-job-06] 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_4 depends on shared library: libargp.so - found (/usr/local/lib/libargp.so)
===>   Returning to build of telldus-core-2.1.2_4
===>   telldus-core-2.1.2_4 depends on shared library: libiconv.so - not found
===>   Installing existing package /packages/All/libiconv-1.14_11.txz
[head-amd64-default-job-06] Installing libiconv-1.14_11...
[head-amd64-default-job-06] Extracting libiconv-1.14_11: .......... done
===>   telldus-core-2.1.2_4 depends on shared library: libiconv.so - found (/usr/local/lib/libiconv.so)
===>   Returning to build of telldus-core-2.1.2_4
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for telldus-core-2.1.2_4
===>  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.0
-- The CXX compiler identification is Clang 6.0.0
-- 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_4
[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' to 'time_t' (aka '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: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' 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?201801232313.w0NND34Z004189>