Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2017 01:28:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216650] devel/caf: fails to build with clang 4.0
Message-ID:  <bug-216650-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216650

            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@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: vallentin@icir.org
            Blocks: 216008
                CC: vallentin@icir.org
             Flags: maintainer-feedback?(vallentin@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_ac=
tor
*)> &, 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 =3D
std::__1::function<caf::behavior (caf::local_actor *)>, $1 =3D (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=3D216008
[Bug 216008] [exp-run] Update llvm/clang/compiler-rt/libc++/lld/lldb in bas=
e to
4.0.0
--=20
You are receiving this mail because:
You are the assignee for the bug.=



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