You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2014/08/17 07:13:18 UTC
[jira] [Resolved] (MESOS-1704) Mac OS X build breaks in
DockerContainerizerProcess::fetch
[ https://issues.apache.org/jira/browse/MESOS-1704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jie Yu resolved MESOS-1704.
---------------------------
Resolution: Fixed
Fix Version/s: 0.20.0
> 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
> Affects Versions: 0.20.0
> Environment: Mac OS X / clang
> Reporter: Niklas Quarfot Nielsen
> Assignee: Timothy Chen
> Fix For: 0.20.0
>
>
> {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)