Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jun 2018 16:25:08 GMT
From:      pkg-fallout@FreeBSD.org
To:        kiwi@oav.net
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][www/domoticz] Failed for domoticz-3.8153_4 in build
Message-ID:  <201806031625.w53GP8Am022219@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:     kiwi@oav.net
Last committer: jbeich@FreeBSD.org
Ident:          $FreeBSD: head/www/domoticz/Makefile 467711 2018-04-18 13:57:42Z jbeich $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-amd64-default/p471337_s334511/logs/domoticz-3.8153_4.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p471337_s334511
Log:

=>> Building www/domoticz
build started at Sun Jun  3 16:23:56 UTC 2018
port directory: /usr/ports/www/domoticz
package name: domoticz-3.8153_4
building for: FreeBSD head-amd64-default-job-08 12.0-CURRENT FreeBSD 12.0-CURRENT 1200066 amd64
maintained by: kiwi@oav.net
Makefile ident:      $FreeBSD: head/www/domoticz/Makefile 467711 2018-04-18 13:57:42Z jbeich $
Poudriere version: 3.2.7
Host OSVERSION: 1200062
Jail OSVERSION: 1200066
Job Id: 08




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200066
UNAME_v=FreeBSD 12.0-CURRENT 1200066
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
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 domoticz-3.8153_4:
     PYTHON=off: Enable support for Python Plugins
     SBOOST=off: Use static Boost instead of dynamic linking
     SLUA=off: Use domoticz provided LUA instead of ports one
     SMQTT=off: Use domoticz mosquitto instead of ports one
     SSQLITE=off: Use domoticz SQLLite instead of ports one
     TELLDUS=off: Enable support for Telldus
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
kiwi@oav.net
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/www/domoticz/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/domoticz/work  HOME=/wrkdirs/usr/ports/www/domoticz/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/domoticz/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--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib LUA_MODLIBDIR=/usr/local/lib/lua/5.2  LUA_MODSHAREDIR=/usr/local/share/lua/5.2  LUA_VER=5.2  LUA_INCDIR=/usr/local/include/lua52  LUA_LIBDIR=/usr/local/lib XDG_DATA_HOME=/wrkdirs/usr/ports/www/domoticz/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/domoticz/work  HOME=/wrkdirs/usr/ports/www/domoticz/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/domoticz/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/www/domoticz/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG"  LDFLAGS="  -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="inst
 all  -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="" PYTHON="@comment " NO_PYTHON="" SBOOST="@comment " NO_SBOOST="" SLUA="@comment " NO_SLUA="" SMQTT="@comment " NO_SMQTT="" SSQLITE="@comment " NO_SSQLITE="" TELLDUS="@comment " NO_TELLDUS="" CMAKE_BUILD_TYPE="release" LUA_MODLIBDIR=lib/lua/5.2  LUA_MODSHAREDIR=share/lua/5.2  LUA_VER=5.2  LUA_INCDIR=include/lua52  LUA_LIBDIR=lib  LUA_VER_STR=52 OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/domoticz"  EXAMPLESDIR="share/examples/domoticz"  DATADIR="share/domoticz"  WWWDIR="www/domoticz"  ETCDIR="etc/domoticz"
--End PLIST_SUB--

--SUB_LIST--
PYTHON="@comment " NO_PYTHON="" SBOOST="@comment " NO_SBOOST="" SLUA="@comment " NO_SLUA="" SMQTT="@comment " NO_SMQTT="" SSQLITE="@comment " NO_SSQLITE="" TELLDUS="@comment " NO_TELLDUS="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/domoticz DOCSDIR=/usr/local/share/doc/domoticz EXAMPLESDIR=/usr/local/share/examples/domoticz  WWWDIR=/usr/local/www/domoticz ETCDIR=/usr/local/etc/domoticz
--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 ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) 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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) 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=1200066
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--
=======================<phase: check-sanity   >============================
===>  License GPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   domoticz-3.8153_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_1.txz
[head-amd64-default-job-08] Installing pkg-1.10.5_1...
[head-amd64-default-job-08] Extracting pkg-1.10.5_1: .......... done
===>   domoticz-3.8153_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of domoticz-3.8153_4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by domoticz-3.8153_4 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by domoticz-3.8153_4 for building
=> SHA256 Checksum OK for domoticz-domoticz-3.8153_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by domoticz-3.8153_4 for building
===>  Extracting for domoticz-3.8153_4
=> SHA256 Checksum OK for domoticz-domoticz-3.8153_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for domoticz-3.8153_4
===>  Applying FreeBSD patches for domoticz-3.8153_4
===========================================================================
=======================<phase: build-depends  >============================
===>   domoticz-3.8153_4 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.11.2.txz
[head-amd64-default-job-08] Installing cmake-3.11.2...
[head-amd64-default-job-08] `-- Installing curl-7.60.0...
<snip>
[head-amd64-default-job-08] Extracting pkgconf-1.4.2,1: .......... done
===>   domoticz-3.8153_4 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of domoticz-3.8153_4
===========================================================================
=======================<phase: lib-depends    >============================
===>   domoticz-3.8153_4 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so)
===>   domoticz-3.8153_4 depends on shared library: libexpat.so - found (/usr/local/lib/libexpat.so)
===>   domoticz-3.8153_4 depends on shared library: libboost_system.so - not found
===>   Installing existing package /packages/All/boost-libs-1.67.0_1.txz
[head-amd64-default-job-08] Installing boost-libs-1.67.0_1...
[head-amd64-default-job-08] `-- Installing icu-61.1,1...
[head-amd64-default-job-08] `-- Extracting icu-61.1,1: .......... done
[head-amd64-default-job-08] Extracting boost-libs-1.67.0_1: .......... done
Message from boost-libs-1.67.0_1:

You have built the Boost library with thread support.

Don't forget to add -pthread to your linker options when
linking your code.
===>   domoticz-3.8153_4 depends on shared library: libboost_system.so - found (/usr/local/lib/libboost_system.so)
===>   Returning to build of domoticz-3.8153_4
===>   domoticz-3.8153_4 depends on shared library: libmosquitto.so - not found
===>   Installing existing package /packages/All/mosquitto-1.4.14_2.txz
[head-amd64-default-job-08] Installing mosquitto-1.4.14_2...
[head-amd64-default-job-08] `-- Installing c-ares-1.14.0...
[head-amd64-default-job-08] `-- Extracting c-ares-1.14.0: .......... done
[head-amd64-default-job-08] `-- Installing e2fsprogs-libuuid-1.44.2...
[head-amd64-default-job-08] `-- Extracting e2fsprogs-libuuid-1.44.2: .......... done
===> Creating users
Using existing user 'nobody'.
[head-amd64-default-job-08] Extracting mosquitto-1.4.14_2: .......... done
Message from mosquitto-1.4.14_2:

The mosquitto MQTT Python driver is now provided by net/py-paho-mqtt
===>   domoticz-3.8153_4 depends on shared library: libmosquitto.so - found (/usr/local/lib/libmosquitto.so)
===>   Returning to build of domoticz-3.8153_4
===>   domoticz-3.8153_4 depends on shared library: liblua-5.2.so - not found
===>   Installing existing package /packages/All/lua52-5.2.4.txz
[head-amd64-default-job-08] Installing lua52-5.2.4...
[head-amd64-default-job-08] `-- Installing libedit-3.1.20170329_2,1...
[head-amd64-default-job-08] `-- Extracting libedit-3.1.20170329_2,1: .......... done
[head-amd64-default-job-08] Extracting lua52-5.2.4: ......... done
Message from lua52-5.2.4:

===>   NOTICE:

The lua52 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
===>   domoticz-3.8153_4 depends on shared library: liblua-5.2.so - found (/usr/local/lib/liblua-5.2.so)
===>   Returning to build of domoticz-3.8153_4
===>   domoticz-3.8153_4 depends on shared library: libsqlite3.so - not found
===>   Installing existing package /packages/All/sqlite3-3.23.1.txz
[head-amd64-default-job-08] Installing sqlite3-3.23.1...
[head-amd64-default-job-08] Extracting sqlite3-3.23.1: .......... done
===>   domoticz-3.8153_4 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so)
===>   Returning to build of domoticz-3.8153_4
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for domoticz-3.8153_4
===>  Performing in-source build
/bin/mkdir -p /wrkdirs/usr/ports/www/domoticz/work/domoticz-3.8153
-- 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
-- Failed to get ProjectRevision from git
-- Read ProjectRevision from appversion.default
-- ###########################
-- Compiling Revision #8153
-- ###########################
-- Found PkgConfig: pkgconf (found version "1.4.2") 
-- Checking for one of the modules 'lua5.2>=5.2;lua>=5.2;lua-5.2'
-- Found mosquittopp.h at: /usr/local/include
-- Found libmosquittopp at: /usr/local/lib/libmosquittopp.so
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Looking for 3 include files sys/types.h, ..., linux/i2c.h
-- Looking for 3 include files sys/types.h, ..., linux/i2c.h - not found
CMake Warning at CMakeLists.txt:140 (message):
  I2C support disabled: headers not found!


-- Looking for include files sys/types.h, linux/spi/spidev.h
-- Looking for include files sys/types.h, linux/spi/spidev.h - not found
CMake Warning at CMakeLists.txt:151 (message):
  SPI support disabled: headers not found!


-- Looking for pthread.h
-- Looking for pthread.h - found
-- Found Threads: TRUE  
-- Boost version: 1.67.0
-- Found the following Boost libraries:
--   thread
--   date_time
--   system
--   chrono
--   atomic
-- Linking against boost dynamic libraries
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") 
-- ZLIB libraries found at: /usr/lib/libz.so
-- ZLIB includes found at: /usr/include
-- Found CURL: /usr/local/lib/libcurl.so (found version "7.60.0") 
-- Curl libraries found at: /usr/local/lib/libcurl.so
-- Curl includes found at: /usr/local/include
-- Found LIBUSB: /usr/lib/libusb.so  
-- LIBUSB found at: /usr/lib/libusb.so
-- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.0.2o") 
-- Checking for module 'libopenzwave'
--   Package 'libopenzwave', required by 'virtual:world', not found
-- ==== OpenZWave not found, support disabled!
-- GPIO is not available
-- Not found telldus-core (telldus-core.h), not adding tellstick support
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- 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_SHARED_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    ICONV_INCLUDE_DIR
    ICONV_LIBRARIES
    ICONV_LIBRARY
    LIBICONV_INCLUDE_DIR
    LIBICONV_LIBRARIES
    LIBICONV_LIBRARY


-- Build files have been written to: /wrkdirs/usr/ports/www/domoticz/work/domoticz-3.8153
===========================================================================
=======================<phase: build          >============================
===>  Building for domoticz-3.8153_4
[1/209] cd /wrkdirs/usr/ports/www/domoticz/work/domoticz-3.8153 && /usr/local/bin/cmake -DSOURCE_DIR=/wrkdirs/usr/ports/www/domoticz/work/domoticz-3.8153 -P /wrkdirs/usr/ports/www/domoticz/work/domoticz-3.8153/getgit.cmake
-- ProjectDate is 0 and appversion.default exists, copy it
[2/209] /usr/bin/c++  -DHAVE_EXECINFO_H -DWITH_EXTERNAL_LUA -DWITH_EXTERNAL_SQLITE -DWITH_LIBUSB -DWWW_ENABLE_SSL -I/usr/local/include/lua52 -I/usr/local/include -Imain -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG -MD -MT CMakeFiles/domoticz.dir/main/stdafx.cpp.o -MF CMakeFiles/domoticz.dir/main/stdafx.cpp.o.d -o CMakeFiles/domoticz.dir/main/stdafx.cpp.o -c main/stdafx.cpp
[3/209] /usr/bin/c++  -DHAVE_EXECINFO_H -DWITH_EXTERNAL_LUA -DWITH_EXTERNAL_SQLITE -DWITH_LIBUSB -DWWW_ENABLE_SSL -I/usr/local/include/lua52 -I/usr/local/include -Imain -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG -MD -MT CMakeFiles/domoticz.dir/main/CmdLine.cpp.o -MF CMakeFiles/domoticz.dir/main/CmdLine.cpp.o.d -o CMakeFiles/domoticz.dir/main/CmdLine.cpp.o -c main/CmdLine.cpp
[4/209] /usr/bin/c++  -DHAVE_EXECINFO_H -DWITH_EXTERNAL_LUA -DWITH_EXTERNAL_SQLITE -DWITH_LIBUSB -DWWW_ENABLE_SSL -I/usr/local/include/lua52 -I/usr/local/include -Imain -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG -MD -MT CMakeFiles/domoticz.dir/main/Camera.cpp.o -MF CMakeFiles/domoticz.dir/main/Camera.cpp.o.d -o CMakeFiles/domoticz.dir/main/Camera.cpp.o -c main/Camera.cpp
[5/209] /usr/bin/c++  -DHAVE_EXECINFO_H -DWITH_EXTERNAL_LUA -DWITH_EXTERNAL_SQLITE -DWITH_LIBUSB -DWWW_ENABLE_SSL -I/usr/local/include/lua52 -I/usr/local/include -Imain -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG -MD -MT CMakeFiles/domoticz.dir/main/domoticz.cpp.o -MF CMakeFiles/domoticz.dir/main/domoticz.cpp.o.d -o CMakeFiles/domoticz.dir/main/domoticz.cpp.o -c main/domoticz.cpp
[6/209] /usr/bin/c++  -DHAVE_EXECINFO_H -DWITH_EXTERNAL_LUA -DWITH_EXTERNAL_SQLITE -DWITH_LIBUSB -DWWW_ENABLE_SSL -I/usr/local/include/lua52 -I/usr/local/include -Imain -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG -MD -MT CMakeFiles/domoticz.dir/main/EventSystem.cpp.o -MF CMakeFiles/domoticz.dir/main/EventSystem.cpp.o.d -o CMakeFiles/domoticz.dir/main/EventSystem.cpp.o -c main/EventSystem.cpp
FAILED: CMakeFiles/domoticz.dir/main/EventSystem.cpp.o 
/usr/bin/c++  -DHAVE_EXECINFO_H -DWITH_EXTERNAL_LUA -DWITH_EXTERNAL_SQLITE -DWITH_LIBUSB -DWWW_ENABLE_SSL -I/usr/local/include/lua52 -I/usr/local/include -Imain -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG -MD -MT CMakeFiles/domoticz.dir/main/EventSystem.cpp.o -MF CMakeFiles/domoticz.dir/main/EventSystem.cpp.o.d -o CMakeFiles/domoticz.dir/main/EventSystem.cpp.o -c main/EventSystem.cpp
In file included from main/EventSystem.cpp:9:
main/../hardware/Kodi.h:27:58: error: dynamic_cast from rvalue to reference type 'std::ostringstream &' (aka 'basic_ostringstream<char> &')
                std::string             PlayerID() { if (m_iPlayerID >= 0) return SSTR(m_iPlayerID); else return ""; };
                                                                                  ^~~~~~~~~~~~~~~~~
main/../hardware/Kodi.h:13:19: note: expanded from macro 'SSTR'
#define SSTR( x ) dynamic_cast< std::ostringstream & >(( std::ostringstream() << std::dec << x ) ).str()
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main/../hardware/Kodi.h:38:86: error: dynamic_cast from rvalue to reference type 'std::ostringstream &' (aka 'basic_ostringstream<char> &')
                void                    Percent(float   fPercent) { m_sPercent = ""; if (fPercent > 1.0) m_sPercent = SSTR((int)round(fPercent)) + "%"; };
                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
main/../hardware/Kodi.h:13:19: note: expanded from macro 'SSTR'
#define SSTR( x ) dynamic_cast< std::ostringstream & >(( std::ostringstream() << std::dec << x ) ).str()
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main/../hardware/Kodi.h:39:38: error: dynamic_cast from rvalue to reference type 'std::ostringstream &' (aka 'basic_ostringstream<char> &')
                void                    Year(int pYear) { m_sYear = SSTR(pYear); if (m_sYear.length() > 2) m_sYear = "(" + m_sYear + ")"; else m_sYear = ""; };
                                                                    ^~~~~~~~~~~
main/../hardware/Kodi.h:13:19: note: expanded from macro 'SSTR'
#define SSTR( x ) dynamic_cast< std::ostringstream & >(( std::ostringstream() << std::dec << x ) ).str()
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/www/domoticz



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