Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2018 17:10:42 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [exp - 104amd64-default-build-as-user][net/liblinphone] Failed for liblinphone-3.12.0 in build
Message-ID:  <201810221710.w9MHAghZ030010@package19.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:     ports@FreeBSD.org
Last committer: tijl@FreeBSD.org
Ident:          $FreeBSD: head/net/liblinphone/Makefile 482343 2018-10-18 13:31:00Z tijl $
Log URL:        http://package19.nyi.freebsd.org/data/104amd64-default-build-as-user/482727/logs/liblinphone-3.12.0.log
Build URL:      http://package19.nyi.freebsd.org/build.html?mastername=104amd64-default-build-as-user&build=482727
Log:

=>> Building net/liblinphone
build started at Mon Oct 22 17:07:46 UTC 2018
port directory: /usr/ports/net/liblinphone
package name: liblinphone-3.12.0
building for: FreeBSD 104amd64-default-build-as-user-job-06 10.4-RELEASE-p13 FreeBSD 10.4-RELEASE-p13 amd64
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/net/liblinphone/Makefile 482343 2018-10-18 13:31:00Z tijl $
Poudriere version: 3.2.7-7-gb715fabe
Host OSVERSION: 1200085
Jail OSVERSION: 1004000
Job Id: 06

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1004000
UNAME_v=FreeBSD 10.4-RELEASE-p13
UNAME_r=10.4-RELEASE-p13
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.7-7-gb715fabe
MASTERMNT=/poudriere/data/.m/104amd64-default-build-as-user/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
GID=0
UID=0
PWD=/poudriere/data/.m/104amd64-default-build-as-user/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=104amd64-default-build-as-user
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/poudriere/data/.m/104amd64-default-build-as-user/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 liblinphone-3.12.0:
     LDAP=on: LDAP protocol support
     VIDEO=on: Video support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/wrkdirs/usr/ports/net/liblinphone/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/liblinphone/work  HOME=/wrkdirs/usr/ports/net/liblinphone/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/liblinphone/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net/liblinphone/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/liblinphone/work  HOME=/wrkdirs/usr/ports/net/liblinphone/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/liblinphone/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/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/net/liblinphone/work/stage LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector -DLDAP_DEPRECATED -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG"  LDFLAGS=" -fstack-protector " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector -DLDAP_DEPRECATED -fno-strict-aliasing  -DLIBICONV_PLUG "  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_IN
 STALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
LDAP="" NO_LDAP="@comment " VIDEO="" NO_VIDEO="@comment " CMAKE_BUILD_TYPE="release" GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0" PYTHON_INCLUDEDIR=include/python2.7  PYTHON_LIBDIR=lib/python2.7  PYTHON_PLATFORM=freebsd10  PYTHON_PYOEXTENSION=pyo  PYTHON_SITELIBDIR=lib/python2.7/site-packages  PYTHON_SUFFIX=27  PYTHON_VER=2.7  PYTHON_VERSION=python2.7 PYTHON2="" PYTHON3="@comment " OSREL=10.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/linphone"  EXAMPLESDIR="share/examples/linphone"  DATADIR="share/linphone"  WWWDIR="www/linphone"  ETCDIR="etc/linphone"
--End PLIST_SUB--

--SUB_LIST--
LDAP="" NO_LDAP="@comment " VIDEO="" NO_VIDEO="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/linphone DOCSDIR=/usr/local/share/doc/linphone EXAMPLESDIR=/usr/local/share/examples/linphone  WWWDIR=/usr/local/www/linphone ETCDIR=/usr/local/etc/linphone
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# 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 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.4 Thread model: posix
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.4 Thread model: posix "/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=error: invalid value 'c++14' in '-std=c++14'
CC_OUTPUT_921dbbb2_f2776b26=error: invalid value 'c++17' in '-std=c++17'
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=error: invalid value 'gnu++14' in '-std=gnu++14'
CC_OUTPUT_921dbbb2_fb62803b=error: invalid value 'gnu++17' in '-std=gnu++17'
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.4 Thread model: posix
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=10.4-RELEASE-p13
OSREL=10.4
OSVERSION=1004000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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
sbsize                   (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>   NOTICE:

The linphone 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

===>  License GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   liblinphone-3.12.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[104amd64-default-build-as-user-job-06] Installing pkg-1.10.5_5...
[104amd64-default-build-as-user-job-06] Extracting pkg-1.10.5_5: .......... done
===>   liblinphone-3.12.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of liblinphone-3.12.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The linphone 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

===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by liblinphone-3.12.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

The linphone 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:

<snip>
    weak_ptr& operator=(weak_ptr const& __r) _NOEXCEPT;
              ^
/usr/include/c++/v1/memory:4967:15: note: candidate function not viable: no known conversion from 'std::__1::shared_ptr<const linphone::Address>' to 'std::__1::weak_ptr<linphone::Object>' for 1st argument
    weak_ptr& operator=(weak_ptr&& __r) _NOEXCEPT;
              ^
/usr/include/c++/v1/memory:4963:9: note: candidate template ignored: could not match 'weak_ptr' against 'shared_ptr'
        operator=(weak_ptr<_Yp> const& __r) _NOEXCEPT;
        ^
/usr/include/c++/v1/memory:4974:9: note: candidate template ignored: could not match 'weak_ptr' against 'shared_ptr'
        operator=(weak_ptr<_Yp>&& __r) _NOEXCEPT;
        ^
/usr/include/c++/v1/memory:4981:13: note: candidate template ignored: disabled by 'enable_if' [with _Yp = const linphone::Address]
            is_convertible<_Yp*, element_type*>::value,
            ^
/usr/include/c++/v1/memory:4004:35: error: no viable overloaded '='
                __e->__weak_this_ = *this;
                ~~~~~~~~~~~~~~~~~ ^ ~~~~~
/usr/include/c++/v1/memory:4284:9: note: in instantiation of function template specialization 'std::__1::shared_ptr<const linphone::CallParams>::__enable_weak_this<linphone::Object>' requested here
    __r.__enable_weak_this(__r.__ptr_);
        ^
/usr/include/c++/v1/memory:4644:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<const linphone::CallParams>::make_shared<void *, bool &>' requested here
    return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                            ^
/wrkdirs/usr/ports/net/liblinphone/work/linphone-3.12.0/wrappers/cpp/object.hh:95:18: note: in instantiation of function template specialization 'std::__1::make_shared<const linphone::CallParams, void *, bool &>' requested here
                                        return std::make_shared<const T>((void *)ptr, takeRef);
                                                    ^
wrappers/cpp/src/linphone++.cc:444:17: note: in instantiation of function template specialization 'linphone::Object::cPtrToSharedPtr<const linphone::CallParams>' requested here
        return Object::cPtrToSharedPtr<const CallParams>(linphone_call_get_remote_params((::LinphoneCall *)mPrivPtr));
                       ^
/usr/include/c++/v1/memory:4956:15: note: candidate function not viable: no known conversion from 'std::__1::shared_ptr<const linphone::CallParams>' to 'const std::__1::weak_ptr<linphone::Object>' for 1st argument
    weak_ptr& operator=(weak_ptr const& __r) _NOEXCEPT;
              ^
/usr/include/c++/v1/memory:4967:15: note: candidate function not viable: no known conversion from 'std::__1::shared_ptr<const linphone::CallParams>' to 'std::__1::weak_ptr<linphone::Object>' for 1st argument
    weak_ptr& operator=(weak_ptr&& __r) _NOEXCEPT;
              ^
/usr/include/c++/v1/memory:4963:9: note: candidate template ignored: could not match 'weak_ptr' against 'shared_ptr'
        operator=(weak_ptr<_Yp> const& __r) _NOEXCEPT;
        ^
/usr/include/c++/v1/memory:4974:9: note: candidate template ignored: could not match 'weak_ptr' against 'shared_ptr'
        operator=(weak_ptr<_Yp>&& __r) _NOEXCEPT;
        ^
/usr/include/c++/v1/memory:4981:13: note: candidate template ignored: disabled by 'enable_if' [with _Yp = const linphone::CallParams]
            is_convertible<_Yp*, element_type*>::value,
            ^
/usr/include/c++/v1/memory:4004:35: error: no viable overloaded '='
                __e->__weak_this_ = *this;
                ~~~~~~~~~~~~~~~~~ ^ ~~~~~
/usr/include/c++/v1/memory:4284:9: note: in instantiation of function template specialization 'std::__1::shared_ptr<const linphone::ErrorInfo>::__enable_weak_this<linphone::Object>' requested here
    __r.__enable_weak_this(__r.__ptr_);
        ^
/usr/include/c++/v1/memory:4644:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<const linphone::ErrorInfo>::make_shared<void *, bool &>' requested here
    return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                            ^
/wrkdirs/usr/ports/net/liblinphone/work/linphone-3.12.0/wrappers/cpp/object.hh:95:18: note: in instantiation of function template specialization 'std::__1::make_shared<const linphone::ErrorInfo, void *, bool &>' requested here
                                        return std::make_shared<const T>((void *)ptr, takeRef);
                                                    ^
wrappers/cpp/src/linphone++.cc:504:17: note: in instantiation of function template specialization 'linphone::Object::cPtrToSharedPtr<const linphone::ErrorInfo>' requested here
        return Object::cPtrToSharedPtr<const ErrorInfo>(linphone_call_get_error_info((::LinphoneCall *)mPrivPtr));
                       ^
/usr/include/c++/v1/memory:4956:15: note: candidate function not viable: no known conversion from 'std::__1::shared_ptr<const linphone::ErrorInfo>' to 'const std::__1::weak_ptr<linphone::Object>' for 1st argument
    weak_ptr& operator=(weak_ptr const& __r) _NOEXCEPT;
              ^
/usr/include/c++/v1/memory:4967:15: note: candidate function not viable: no known conversion from 'std::__1::shared_ptr<const linphone::ErrorInfo>' to 'std::__1::weak_ptr<linphone::Object>' for 1st argument
    weak_ptr& operator=(weak_ptr&& __r) _NOEXCEPT;
              ^
/usr/include/c++/v1/memory:4963:9: note: candidate template ignored: could not match 'weak_ptr' against 'shared_ptr'
        operator=(weak_ptr<_Yp> const& __r) _NOEXCEPT;
        ^
/usr/include/c++/v1/memory:4974:9: note: candidate template ignored: could not match 'weak_ptr' against 'shared_ptr'
        operator=(weak_ptr<_Yp>&& __r) _NOEXCEPT;
        ^
/usr/include/c++/v1/memory:4981:13: note: candidate template ignored: disabled by 'enable_if' [with _Yp = const linphone::ErrorInfo]
            is_convertible<_Yp*, element_type*>::value,
            ^
/usr/include/c++/v1/memory:4004:35: error: no viable overloaded '='
                __e->__weak_this_ = *this;
                ~~~~~~~~~~~~~~~~~ ^ ~~~~~
/usr/include/c++/v1/memory:4284:9: note: in instantiation of function template specialization 'std::__1::shared_ptr<const linphone::PresenceModel>::__enable_weak_this<linphone::Object>' requested here
    __r.__enable_weak_this(__r.__ptr_);
        ^
/usr/include/c++/v1/memory:4644:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<const linphone::PresenceModel>::make_shared<void *, bool &>' requested here
    return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                            ^
/wrkdirs/usr/ports/net/liblinphone/work/linphone-3.12.0/wrappers/cpp/object.hh:95:18: note: in instantiation of function template specialization 'std::__1::make_shared<const linphone::PresenceModel, void *, bool &>' requested here
                                        return std::make_shared<const T>((void *)ptr, takeRef);
                                                    ^
wrappers/cpp/src/linphone++.cc:974:172: note: in instantiation of function template specialization 'linphone::Object::cPtrToSharedPtr<const linphone::PresenceModel>' requested here
                listener->onNotifyPresenceReceivedForUriOrTel(Object::cPtrToSharedPtr<Core>(lc), Object::cPtrToSharedPtr<Friend>(lf), StringUtilities::cStringToCpp(uri_or_tel), Object::cPtrToSharedPtr<const PresenceModel>(presence_model));
                                                                                                                                                                                         ^
/usr/include/c++/v1/memory:4956:15: note: candidate function not viable: no known conversion from 'std::__1::shared_ptr<const linphone::PresenceModel>' to 'const std::__1::weak_ptr<linphone::Object>' for 1st argument
    weak_ptr& operator=(weak_ptr const& __r) _NOEXCEPT;
              ^
/usr/include/c++/v1/memory:4967:15: note: candidate function not viable: no known conversion from 'std::__1::shared_ptr<const linphone::PresenceModel>' to 'std::__1::weak_ptr<linphone::Object>' for 1st argument
    weak_ptr& operator=(weak_ptr&& __r) _NOEXCEPT;
              ^
/usr/include/c++/v1/memory:4963:9: note: candidate template ignored: could not match 'weak_ptr' against 'shared_ptr'
        operator=(weak_ptr<_Yp> const& __r) _NOEXCEPT;
        ^
/usr/include/c++/v1/memory:4974:9: note: candidate template ignored: could not match 'weak_ptr' against 'shared_ptr'
        operator=(weak_ptr<_Yp>&& __r) _NOEXCEPT;
        ^
/usr/include/c++/v1/memory:4981:13: note: candidate template ignored: disabled by 'enable_if' [with _Yp = const linphone::PresenceModel]
            is_convertible<_Yp*, element_type*>::value,
            ^
/usr/include/c++/v1/memory:4004:35: error: no viable overloaded '='
                __e->__weak_this_ = *this;
                ~~~~~~~~~~~~~~~~~ ^ ~~~~~
/usr/include/c++/v1/memory:4284:9: note: in instantiation of function template specialization 'std::__1::shared_ptr<const linphone::VideoDefinition>::__enable_weak_this<linphone::Object>' requested here
    __r.__enable_weak_this(__r.__ptr_);
        ^
/usr/include/c++/v1/memory:4644:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<const linphone::VideoDefinition>::make_shared<void *, bool &>' requested here
    return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                            ^
/wrkdirs/usr/ports/net/liblinphone/work/linphone-3.12.0/wrappers/cpp/object.hh:95:18: note: in instantiation of function template specialization 'std::__1::make_shared<const linphone::VideoDefinition, void *, bool &>' requested here
                                        return std::make_shared<const T>((void *)ptr, takeRef);
                                                    ^
wrappers/cpp/src/linphone++.cc:1311:17: note: in instantiation of function template specialization 'linphone::Object::cPtrToSharedPtr<const linphone::VideoDefinition>' requested here
        return Object::cPtrToSharedPtr<const VideoDefinition>(linphone_core_get_preview_video_definition((::LinphoneCore *)mPrivPtr));
                       ^
/usr/include/c++/v1/memory:4956:15: note: candidate function not viable: no known conversion from 'std::__1::shared_ptr<const linphone::VideoDefinition>' to 'const std::__1::weak_ptr<linphone::Object>' for 1st argument
    weak_ptr& operator=(weak_ptr const& __r) _NOEXCEPT;
              ^
/usr/include/c++/v1/memory:4967:15: note: candidate function not viable: no known conversion from 'std::__1::shared_ptr<const linphone::VideoDefinition>' to 'std::__1::weak_ptr<linphone::Object>' for 1st argument
    weak_ptr& operator=(weak_ptr&& __r) _NOEXCEPT;
              ^
/usr/include/c++/v1/memory:4963:9: note: candidate template ignored: could not match 'weak_ptr' against 'shared_ptr'
        operator=(weak_ptr<_Yp> const& __r) _NOEXCEPT;
        ^
/usr/include/c++/v1/memory:4974:9: note: candidate template ignored: could not match 'weak_ptr' against 'shared_ptr'
        operator=(weak_ptr<_Yp>&& __r) _NOEXCEPT;
        ^
/usr/include/c++/v1/memory:4981:13: note: candidate template ignored: disabled by 'enable_if' [with _Yp = const linphone::VideoDefinition]
            is_convertible<_Yp*, element_type*>::value,
            ^
/usr/include/c++/v1/memory:4004:35: error: no viable overloaded '='
                __e->__weak_this_ = *this;
                ~~~~~~~~~~~~~~~~~ ^ ~~~~~
/usr/include/c++/v1/memory:4284:9: note: in instantiation of function template specialization 'std::__1::shared_ptr<const linphone::AuthInfo>::__enable_weak_this<linphone::Object>' requested here
    __r.__enable_weak_this(__r.__ptr_);
        ^
/usr/include/c++/v1/memory:4644:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<const linphone::AuthInfo>::make_shared<void *, bool &>' requested here
    return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                            ^
/wrkdirs/usr/ports/net/liblinphone/work/linphone-3.12.0/wrappers/cpp/object.hh:95:18: note: in instantiation of function template specialization 'std::__1::make_shared<const linphone::AuthInfo, void *, bool &>' requested here
                                        return std::make_shared<const T>((void *)ptr, takeRef);
                                                    ^
wrappers/cpp/src/linphone++.cc:2277:17: note: in instantiation of function template specialization 'linphone::Object::cPtrToSharedPtr<const linphone::AuthInfo>' requested here
        return Object::cPtrToSharedPtr<const AuthInfo>(linphone_core_find_auth_info((::LinphoneCore *)mPrivPtr, StringUtilities::cppStringToC(realm), StringUtilities::cppStringToC(username), StringUtilities::cppStringToC(sipDomain)));
                       ^
/usr/include/c++/v1/memory:4956:15: note: candidate function not viable: no known conversion from 'std::__1::shared_ptr<const linphone::AuthInfo>' to 'const std::__1::weak_ptr<linphone::Object>' for 1st argument
    weak_ptr& operator=(weak_ptr const& __r) _NOEXCEPT;
              ^
/usr/include/c++/v1/memory:4967:15: note: candidate function not viable: no known conversion from 'std::__1::shared_ptr<const linphone::AuthInfo>' to 'std::__1::weak_ptr<linphone::Object>' for 1st argument
    weak_ptr& operator=(weak_ptr&& __r) _NOEXCEPT;
              ^
/usr/include/c++/v1/memory:4963:9: note: candidate template ignored: could not match 'weak_ptr' against 'shared_ptr'
        operator=(weak_ptr<_Yp> const& __r) _NOEXCEPT;
        ^
/usr/include/c++/v1/memory:4974:9: note: candidate template ignored: could not match 'weak_ptr' against 'shared_ptr'
        operator=(weak_ptr<_Yp>&& __r) _NOEXCEPT;
        ^
/usr/include/c++/v1/memory:4981:13: note: candidate template ignored: disabled by 'enable_if' [with _Yp = const linphone::AuthInfo]
            is_convertible<_Yp*, element_type*>::value,
            ^
/usr/include/c++/v1/memory:4004:35: error: no viable overloaded '='
                __e->__weak_this_ = *this;
                ~~~~~~~~~~~~~~~~~ ^ ~~~~~
/usr/include/c++/v1/memory:4284:9: note: in instantiation of function template specialization 'std::__1::shared_ptr<const linphone::Buffer>::__enable_weak_this<linphone::Object>' requested here
    __r.__enable_weak_this(__r.__ptr_);
        ^
/usr/include/c++/v1/memory:4644:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<const linphone::Buffer>::make_shared<void *, bool &>' requested here
    return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                            ^
/wrkdirs/usr/ports/net/liblinphone/work/linphone-3.12.0/wrappers/cpp/object.hh:95:18: note: in instantiation of function template specialization 'std::__1::make_shared<const linphone::Buffer, void *, bool &>' requested here
                                        return std::make_shared<const T>((void *)ptr, takeRef);
                                                    ^
wrappers/cpp/src/linphone++.cc:3598:135: note: in instantiation of function template specialization 'linphone::Object::cPtrToSharedPtr<const linphone::Buffer>' requested here
        listener->onFileTransferRecv(Object::cPtrToSharedPtr<ChatMessage>(message), Object::cPtrToSharedPtr<const Content>(content), Object::cPtrToSharedPtr<const Buffer>(buffer));
                                                                                                                                             ^
/usr/include/c++/v1/memory:4956:15: note: candidate function not viable: no known conversion from 'std::__1::shared_ptr<const linphone::Buffer>' to 'const std::__1::weak_ptr<linphone::Object>' for 1st argument
    weak_ptr& operator=(weak_ptr const& __r) _NOEXCEPT;
              ^
/usr/include/c++/v1/memory:4967:15: note: candidate function not viable: no known conversion from 'std::__1::shared_ptr<const linphone::Buffer>' to 'std::__1::weak_ptr<linphone::Object>' for 1st argument
    weak_ptr& operator=(weak_ptr&& __r) _NOEXCEPT;
              ^
/usr/include/c++/v1/memory:4963:9: note: candidate template ignored: could not match 'weak_ptr' against 'shared_ptr'
        operator=(weak_ptr<_Yp> const& __r) _NOEXCEPT;
        ^
/usr/include/c++/v1/memory:4974:9: note: candidate template ignored: could not match 'weak_ptr' against 'shared_ptr'
        operator=(weak_ptr<_Yp>&& __r) _NOEXCEPT;
        ^
/usr/include/c++/v1/memory:4981:13: note: candidate template ignored: disabled by 'enable_if' [with _Yp = const linphone::Buffer]
            is_convertible<_Yp*, element_type*>::value,
            ^
3 warnings and 10 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

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



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