Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-1704

Mac OS X build breaks in DockerContainerizerProcess::fetch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.20.0
    • 0.20.0
    • containerization
    • None
    • Mac OS X / clang

    Description

      ...
      ../../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> &>]
      
      

      Attachments

        Activity

          People

            tnachen Timothy Chen
            nnielsen Niklas Quarfot Nielsen
            Benjamin Hindman Benjamin Hindman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: