Vinson Lee created MESOS-1121:
---------------------------------

             Summary: /usr/include/c++/4.7/type_traits:1834:9: error: no match 
for call to '(std::_Bind<process::Future<process::http::Response> 
(*(std::_Placeholder<1>))(const std::basic_string<char>&)>) ()'
                 Key: MESOS-1121
                 URL: https://issues.apache.org/jira/browse/MESOS-1121
             Project: Mesos
          Issue Type: Bug
          Components: build
         Environment: Ubuntu 12.10
gcc 4.7.2
            Reporter: Vinson Lee


{noformat}
libtool: compile:  g++ -DPACKAGE_NAME=\"libprocess\" 
-DPACKAGE_TARNAME=\"libprocess\" -DPACKAGE_VERSION=\"0.0.1\" 
"-DPACKAGE_STRING=\"libprocess 0.0.1\"" -DPACKAGE_BUGREPORT=\"\" 
-DPACKAGE_URL=\"\" -DPACKAGE=\"libprocess\" -DVERSION=\"0.0.1\" 
-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 -DHAVE_LIBZ=1 -I. -I./include -I./3rdparty/stout/include 
-I3rdparty/boost-1.53.0 -I3rdparty/glog-0.3.3/src 
-I3rdparty/ry-http-parser-1c3624a -I3rdparty/libev-4.15 
-I3rdparty/picojson-4f93734 -g -g2 -O2 -std=c++11 -MT libprocess_la-http.lo -MD 
-MP -MF .deps/libprocess_la-http.Tpo -c src/http.cpp  -fPIC -DPIC -o 
libprocess_la-http.o
In file included from /usr/include/c++/4.7/bits/move.h:57:0,
                 from /usr/include/c++/4.7/bits/stl_pair.h:61,
                 from /usr/include/c++/4.7/bits/stl_algobase.h:65,
                 from /usr/include/c++/4.7/deque:61,
                 from src/http.cpp:6:
/usr/include/c++/4.7/type_traits: In instantiation of 'struct 
std::_Result_of_impl<false, false, 
std::_Bind<process::Future<process::http::Response> 
(*(std::_Placeholder<1>))(const std::basic_string<char>&)> >':
/usr/include/c++/4.7/type_traits:1857:12:   required from 'class 
std::result_of<std::_Bind<process::Future<process::http::Response> 
(*(std::_Placeholder<1>))(const std::basic_string<char>&)>()>'
./include/process/future.hpp:343:25:   required by substitution of 
'template<class F> decltype (this->.then(forward<F>(f), 
process::Future<T>::Prefer())) process::Future::then(F&&) const [with F = F; T 
= std::basic_string<char>] [with F = 
std::_Bind<process::Future<process::http::Response> 
(*(std::_Placeholder<1>))(const std::basic_string<char>&)>]'
src/http.cpp:141:54:   required from here
/usr/include/c++/4.7/type_traits:1834:9: error: no match for call to 
'(std::_Bind<process::Future<process::http::Response> 
(*(std::_Placeholder<1>))(const std::basic_string<char>&)>) ()'
{noformat}

The build regression is introduced by one of these commits.

{noformat}
commit ffda972f7bc3c118a24becb3a8edcadfe08a851d
Author: Dominic Hamon <[email protected]>
Date:   Wed Mar 12 10:18:37 2014 -0700

    Switched to cxx11 by default for mesos.
    
    Review: https://reviews.apache.org/r/18576

commit 5aa7073e101cc63be58c26929d98ec83c42d769d
Author: Dominic Hamon <[email protected]>
Date:   Wed Mar 12 10:18:26 2014 -0700

    Switched to cxx11 by default for libprocess.
    
    Review: https://reviews.apache.org/r/18577

commit 0acca8c092371a1255fd89430ae228d6e1a84b85
Author: Dominic Hamon <[email protected]>
Date:   Wed Mar 12 10:17:32 2014 -0700

    Only darwin/clang needs GTEST to supply its own tr1 tuple.
    
    Review: https://reviews.apache.org/r/19077
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to