[Bug 216650] devel/caf: fails to build with clang 4.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jan 31 01:28:09 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216650
Bug ID: 216650
Summary: devel/caf: fails to build with clang 4.0
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: needs-patch
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: jbeich at FreeBSD.org
CC: vallentin at icir.org
Blocks: 216008
CC: vallentin at icir.org
Flags: maintainer-feedback?(vallentin at icir.org)
In file included from libcaf_core/src/actor_config.cpp:20:
In file included from libcaf_core/caf/actor_config.hpp:23:
In file included from /usr/include/c++/v1/string:470:
In file included from /usr/include/c++/v1/string_view:171:
In file included from /usr/include/c++/v1/__string:56:
In file included from /usr/include/c++/v1/algorithm:637:
/usr/include/c++/v1/type_traits:4301:23: error: calling 'operator()' with
incomplete return type 'caf::behavior'
_LIBCPP_INVOKE_RETURN(_VSTD::forward<_Fp>(__f)(_VSTD::forward<_Args>(__args)...))
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/__config:390:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
^
/usr/include/c++/v1/type_traits:4198:23: note: expanded from macro
'_LIBCPP_INVOKE_RETURN'
noexcept(noexcept(__VA_ARGS__)) -> decltype(__VA_ARGS__) \
^~~~~~~~~~~
/usr/include/c++/v1/type_traits:4318:9: note: in instantiation of exception
specification for '__invoke<std::__1::function<caf::behavior (caf::local_actor
*)> &, caf::local_actor *>' requested here
_VSTD::__invoke(_VSTD::declval<_Fp>(), _VSTD::declval<_Args>()...));
^
/usr/include/c++/v1/__config:390:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
^
/usr/include/c++/v1/functional:1591:33: note: in instantiation of template
class 'std::__1::__invokable_r<void, std::__1::function<caf::behavior
(caf::local_actor *)> &, caf::local_actor *>' requested here
__invokable<_Fp&, _ArgTypes...>::value>
^
/usr/include/c++/v1/functional:1616:9: note: in instantiation of default
argument for '__callable<std::__1::function<caf::behavior (caf::local_actor *)>
>' required here
__callable<_Fp>::value && !is_same<_Fp, function>::value
^~~~~~~~~~~~~~~
/usr/include/c++/v1/functional:1618:5: note: in instantiation of default
argument for 'function<std::__1::function<caf::behavior (caf::local_actor *)>
>' required here
function(_Fp);
^~~~~~~~~~~~~
/usr/include/c++/v1/functional:1578:28: note: while substituting deduced
template arguments into function template 'function' [with _Fp =
std::__1::function<caf::behavior (caf::local_actor *)>, $1 = (no value)]
class _LIBCPP_TEMPLATE_VIS function<_Rp(_ArgTypes...)>
^
/usr/include/c++/v1/functional:1670:9: note: 'operator()' declared here
_Rp operator()(_ArgTypes...) const;
^
libcaf_core/caf/fwd.hpp:62:7: note: forward declaration of 'caf::behavior'
class behavior;
^
build log:
http://package18.nyi.freebsd.org/data/headamd64PR216008-default/2017-01-29_16h09m05s/logs/errors/caf-0.15.3.log
libc++ first bad: https://github.com/llvm-mirror/libcxx/commit/8d5cbd7ce2e9
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216008
[Bug 216008] [exp-run] Update llvm/clang/compiler-rt/libc++/lld/lldb in base to
4.0.0
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list