[ https://issues.apache.org/jira/browse/MESOS-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13883609#comment-13883609 ]
Benjamin Hindman commented on MESOS-951: ---------------------------------------- Thanks for reporting Bernd! > Build failure: in log/catchup.cpp on Clang > ------------------------------------------ > > Key: MESOS-951 > URL: https://issues.apache.org/jira/browse/MESOS-951 > Project: Mesos > Issue Type: Bug > Components: build > Affects Versions: 0.17.0 > Environment: Mac OS X 10.9, Clang (not gcc) > Reporter: Bernd Mathiske > Assignee: Jie Yu > Priority: Minor > Fix For: 0.17.0 > > > ./bootstrap; ./conffigure; make clean; make > Build fails with this output near the end: > libtool: compile: g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" > -DPACKAGE_VERSION=\"0.17.0\" "-DPACKAGE_STRING=\"mesos 0.17.0\"" > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" > -DVERSION=\"0.17.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 > -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 > -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 > -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DMESOS_HAS_JAVA=1 > -DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -DHAVE_LIBZ=1 -DHAVE_LIBCURL=1 > -DHAVE_LIBSASL2=1 -I. -Wall -Werror -DLIBDIR=\"/usr/local/lib\" > -DPKGLIBEXECDIR=\"/usr/local/libexec/mesos\" > -DPKGDATADIR=\"/usr/local/share/mesos\" -I../include > -I../3rdparty/libprocess/include > -I../3rdparty/libprocess/3rdparty/stout/include -I../include > -I../3rdparty/libprocess/3rdparty/boost-1.53.0 > -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src > -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src > -I../3rdparty/zookeeper-3.4.5/src/c/include > -I../3rdparty/zookeeper-3.4.5/src/c/generated -D_THREAD_SAFE > -DGTEST_USE_OWN_TR1_TUPLE=1 -g -g2 -O2 -std=c++11 -stdlib=libc++ -MT > messages/libmesos_no_3rdparty_la-messages.pb.lo -MD -MP -MF > messages/.deps/libmesos_no_3rdparty_la-messages.pb.Tpo -c > messages/messages.pb.cc -o messages/libmesos_no_3rdparty_la-messages.pb.o > >/dev/null 2>&1 > log/catchup.cpp:225:28: error: no viable conversion from '__bind<bool > (process::Future<unsigned long > long>::*)(), process::Future<unsigned long long> &>' to 'const > lambda::function<void ()>' > Timer::create(timeout, lambda::bind(&Future<uint64_t>::discard, > catching)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1137:5: > note: > candidate constructor not viable: no known conversion from '__bind<bool > (process::Future<unsigned long long>::*)(), process::Future<unsigned > long long> &>' 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:1138:5: > note: > candidate constructor not viable: no known conversion from '__bind<bool > (process::Future<unsigned long long>::*)(), process::Future<unsigned > long long> &>' to 'const > std::__1::function<void ()> &' for 1st argument > function(const function&); > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1139:5: > note: > candidate constructor not viable: no known conversion from '__bind<bool > (process::Future<unsigned long long>::*)(), process::Future<unsigned > long long> &>' to > 'std::__1::function<void ()> &&' for 1st argument > function(function&&) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1142:35: > note: > candidate template ignored: disabled by 'enable_if' [with _Fp = > std::__1::__bind<bool > (process::Future<unsigned long long>::*)(), process::Future<unsigned > long long> &>] > typename enable_if<__callable<_Fp>::value>::type* = 0); > ^ > ../3rdparty/libprocess/include/process/timer.hpp:22:43: note: passing > argument to parameter 'thunk' > here > const lambda::function<void(void)>& thunk); -- This message was sent by Atlassian JIRA (v6.1.5#6160)