Niklas Quarfot Nielsen created MESOS-1704:
---------------------------------------------
Summary: Mac OS X build breaks in DockerContainerizerProcess::fetch
Key: MESOS-1704
URL: https://issues.apache.org/jira/browse/MESOS-1704
Project: Mesos
Issue Type: Bug
Components: containerization
Environment: Mac OS X / clang
Reporter: Niklas Quarfot Nielsen
{code}
...
../../3rdparty/libprocess/include/process/future.hpp:180:61: note: in
instantiation of function template specialization
'process::_Deferred<std::__1::__bind<process::Future<Nothing>
(std::__1::function<process::Future<Nothing> (const mesos::ContainerID &,
const std::__1::basic_string<char> &)>::*)(const mesos::ContainerID &, const
std::__1::basic_string<char> &) const,
std::__1::function<process::Future<Nothing> (const mesos::ContainerID &,
const std::__1::basic_string<char> &)>, mesos::ContainerID &,
std::__1::placeholders::__ph<1> &> >::operator function<const
std::__1::basic_string<char> &>' requested here
return onFailed(std::function<void(const std::string&)>(deferred));
^
../../src/slave/containerizer/docker.cpp:325:6: note: in instantiation of
function template specialization 'process::Future<Option<int>
>::onFailed<std::__1::__bind<process::Future<Nothing>
(std::__1::function<process::Future<Nothing> (const mesos::ContainerID &,
const std::__1::basic_string<char> &)>::*)(const mesos::ContainerID &, const
std::__1::basic_string<char> &) const,
std::__1::function<process::Future<Nothing> (const mesos::ContainerID &,
const std::__1::basic_string<char> &)>, mesos::ContainerID &,
std::__1::placeholders::__ph<1> &> >' requested here
.onFailed(defer(self(), &Self::_fetchFailed, containerId, lambda::_1))
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1448:5:
note: candidate constructor not viable: no known conversion from 'const
std::__1::__bind<process::Future<Nothing>
(std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const
std::__1::basic_string<char> &)>::*)(const mesos::ContainerID &, const
std::__1::basic_string<char> &) const,
std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const
std::__1::basic_string<char> &)>, mesos::ContainerID &,
std::__1::placeholders::__ph<1> &>' to 'nullptr_t' for 1st argument
function(nullptr_t) _NOEXCEPT : __f_(0) {}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1449:5:
note: candidate constructor not viable: no known conversion from 'const
std::__1::__bind<process::Future<Nothing>
(std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const
std::__1::basic_string<char> &)>::*)(const mesos::ContainerID &, const
std::__1::basic_string<char> &) const,
std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const
std::__1::basic_string<char> &)>, mesos::ContainerID &,
std::__1::placeholders::__ph<1> &>' to 'const std::__1::function<void
(const std::__1::basic_string<char> &)>' for 1st argument
function(const function&);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1450:5:
note: candidate constructor not viable: no known conversion from 'const
std::__1::__bind<process::Future<Nothing>
(std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const
std::__1::basic_string<char> &)>::*)(const mesos::ContainerID &, const
std::__1::basic_string<char> &) const,
std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const
std::__1::basic_string<char> &)>, mesos::ContainerID &,
std::__1::placeholders::__ph<1> &>' to 'std::__1::function<void (const
std::__1::basic_string<char> &)>' for 1st argument
function(function&&) _NOEXCEPT;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1454:41:
note: candidate template ignored: disabled by 'enable_if' [with _Fp =
std::__1::__bind<process::Future<Nothing>
(std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const
std::__1::basic_string<char> &)>::*)(const mesos::ContainerID &, const
std::__1::basic_string<char> &) const,
std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const
std::__1::basic_string<char> &)>, mesos::ContainerID &,
std::__1::placeholders::__ph<1> &>]
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)