[ https://issues.apache.org/jira/browse/MESOS-7717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles Allen updated MESOS-7717: --------------------------------- Description: I have a portage ebuild that is supposed to compile mesos for coreos, but with the recent coreos stable I'm getting the following error at compile time. It looks like a boost problem, but mesos is supposed to ship with its own version of boost, so I don't quite understand why the template problems are happening. {code} make[5]: Entering directory '/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty/libprocess' /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"1.2.0\" -DPACKAGE_STRING=\"mesos\ 1.2.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"1.2.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_CXX11=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_FTS_H=1 -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_LIBCURL=1 -DHAVE_LIBSASL2=1 -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBZ=1 -I. -DBUILD_DIR=\"/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty/libprocess\" -I./include -isystem ../boost-1.53.0 -I../elfio-3.2 -I../glog-0.3.3/src -I../http-parser-2.6.2 -I../libev-4.22 -DPICOJSON_USE_INT64 -D__STDC_FORMAT_MACROS -I../picojson-1.3.0 -I./../stout/include -I/build/amd64-usr//usr/include/subversion-1 -I/build/amd64-usr//usr/include -I/build/amd64-usr//usr/include -I/build/amd64-usr//usr/include/apr-1 -I/build/amd64-usr//usr/include/apr-1.0 -Wall -Wsign-compare -Wformat-security -fstack-protector-strong -fPIC -fPIE -O2 -pipe -mtune=generic -g -Wno-unused-local-typedefs -Wno-maybe-uninitialized -std=c++11 -c -o libprocess_la-process.lo `test -f 'src/process.cpp' || echo './'`src/process.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"1.2.0\" "-DPACKAGE_STRING=\"mesos 1.2.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"1.2.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_CXX11=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_FTS_H=1 -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_LIBCURL=1 -DHAVE_LIBSASL2=1 -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBZ=1 -I. -DBUILD_DIR=\"/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty/libprocess\" -I./include -isystem ../boost-1.53.0 -I../elfio-3.2 -I../glog-0.3.3/src -I../http-parser-2.6.2 -I../libev-4.22 -DPICOJSON_USE_INT64 -D__STDC_FORMAT_MACROS -I../picojson-1.3.0 -I./../stout/include -I/build/amd64-usr//usr/include/subversion-1 -I/build/amd64-usr//usr/include -I/build/amd64-usr//usr/include -I/build/amd64-usr//usr/include/apr-1 -I/build/amd64-usr//usr/include/apr-1.0 -Wall -Wsign-compare -Wformat-security -fstack-protector-strong -fPIC -O2 -pipe -mtune=generic -g -Wno-unused-local-typedefs -Wno-maybe-uninitialized -std=c++11 -c src/process.cpp -fPIC -DPIC -o .libs/libprocess_la-process.o In file included from ./include/process/http.hpp:38:0, from ./include/process/event.hpp:19, from ./include/process/process.hpp:24, from ./include/process/dispatch.hpp:20, from ./include/process/deferred.hpp:18, from ./include/process/defer.hpp:19, from src/process.cpp:66: ./../stout/include/stout/json.hpp: In instantiation of 'JSON::Value::Value(const T&, typename boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = std::basic_string<char>; typename boost::disable_if<boost::is_arithmetic<From>, int>::type = int]': src/process.cpp:3525:27: required from here ./../stout/include/stout/json.hpp:261:30: error: no matching function for call to 'boost::variant<boost::recursive_wrapper<JSON::Null>, boost::recursive_wrapper<JSON::String>, boost::recursive_wrapper<JSON::Number>, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, boost::recursive_wrapper<JSON::Boolean> >::variant(const std::basic_string<char>&)' : internal::Variant(value) {} ^ ./../stout/include/stout/json.hpp:261:30: note: candidates are: In file included from /build/amd64-usr//usr/include/boost/variant.hpp:17:0, from ./../stout/include/stout/json.hpp:35, from ./include/process/http.hpp:38, from ./include/process/event.hpp:19, from ./include/process/process.hpp:24, from ./include/process/dispatch.hpp:20, from ./include/process/deferred.hpp:18, from ./include/process/defer.hpp:19, from src/process.cpp:66: /build/amd64-usr//usr/include/boost/variant/variant.hpp:1808:5: note: boost::variant<T0, TN>::variant(boost::variant<T0, TN>&&) [with T0_ = boost::recursive_wrapper<JSON::Null>; TN = {boost::recursive_wrapper<JSON::String>, boost::recursive_wrapper<JSON::Number>, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, boost::recursive_wrapper<JSON::Boolean>}] variant(variant&& operand) BOOST_NOEXCEPT_IF(variant_move_noexcept_constructible::type::value) ^ /build/amd64-usr//usr/include/boost/variant/variant.hpp:1808:5: note: no known conversion for argument 1 from 'const std::basic_string<char>' to 'boost::variant<boost::recursive_wrapper<JSON::Null>, boost::recursive_wrapper<JSON::String>, boost::recursive_wrapper<JSON::Number>, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, boost::recursive_wrapper<JSON::Boolean> >&&' /build/amd64-usr//usr/include/boost/variant/variant.hpp:1797:5: note: boost::variant<T0, TN>::variant(const boost::variant<T0, TN>&) [with T0_ = boost::recursive_wrapper<JSON::Null>; TN = {boost::recursive_wrapper<JSON::String>, boost::recursive_wrapper<JSON::Number>, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, boost::recursive_wrapper<JSON::Boolean>}] variant(const variant& operand) ^ /build/amd64-usr//usr/include/boost/variant/variant.hpp:1797:5: note: no known conversion for argument 1 from 'const std::basic_string<char>' to 'const boost::variant<boost::recursive_wrapper<JSON::Null>, boost::recursive_wrapper<JSON::String>, boost::recursive_wrapper<JSON::Number>, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, boost::recursive_wrapper<JSON::Boolean> >&' /build/amd64-usr//usr/include/boost/variant/variant.hpp:1782:5: note: template<class T> boost::variant<T0, TN>::variant(T&&, typename boost::enable_if<boost::mpl::and_<boost::is_rvalue_reference<T&&>, boost::mpl::not_<boost::is_const<C> >, boost::mpl::not_<boost::is_same<T, boost::variant<T0, TN> > >, boost::detail::variant::is_variant_constructible_from<T&&, typename boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type, boost::mpl::protect<boost::detail::variant::quoted_enable_recursive<boost::variant<T0, TN> > > >, boost::mpl::identity<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type> >::type, boost::mpl::protect<boost::detail::make_reference_content<mpl_::void_> > >::type> > >::type*) variant(T&& operand, ^ /build/amd64-usr//usr/include/boost/variant/variant.hpp:1782:5: note: template argument deduction/substitution failed: /build/amd64-usr//usr/include/boost/variant/variant.hpp: In substitution of 'template<class T> boost::variant<T0, TN>::variant(T&&, typename boost::enable_if<boost::mpl::and_<boost::is_rvalue_reference<T&&>, boost::mpl::not_<boost::is_const<C> >, boost::mpl::not_<boost::is_same<T, boost::variant<T0, TN> > >, boost::detail::variant::is_variant_constructible_from<T&&, typename boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type, boost::mpl::protect<boost::detail::variant::quoted_enable_recursive<boost::variant<T0, TN> > > >, boost::mpl::identity<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type> >::type, boost::mpl::protect<boost::detail::make_reference_content<mpl_::void_> > >::type> > >::type*) [with T = const std::basic_string<char>&]': ./../stout/include/stout/json.hpp:261:30: required from 'JSON::Value::Value(const T&, typename boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = std::basic_string<char>; typename boost::disable_if<boost::is_arithmetic<From>, int>::type = int]' src/process.cpp:3525:27: required from here /build/amd64-usr//usr/include/boost/variant/variant.hpp:1782:5: error: no type named 'type' in 'struct boost::enable_if<boost::mpl::and_<boost::is_rvalue_reference<const std::basic_string<char>&>, boost::mpl::not_<boost::is_const<const std::basic_string<char>&> >, boost::mpl::not_<boost::is_same<const std::basic_string<char>&, boost::variant<boost::recursive_wrapper<JSON::Null>, boost::recursive_wrapper<JSON::String>, boost::recursive_wrapper<JSON::Number>, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, boost::recursive_wrapper<JSON::Boolean> > > >, boost::detail::variant::is_variant_constructible_from<const std::basic_string<char>&, boost::mpl::l_item<mpl_::long_<6l>, boost::recursive_wrapper<JSON::Null>, boost::mpl::l_item<mpl_::long_<5l>, boost::recursive_wrapper<JSON::String>, boost::mpl::l_item<mpl_::long_<4l>, boost::recursive_wrapper<JSON::Number>, boost::mpl::l_item<mpl_::long_<3l>, boost::recursive_wrapper<JSON::Object>, boost::mpl::l_item<mpl_::long_<2l>, boost::recursive_wrapper<JSON::Array>, boost::mpl::l_item<mpl_::long_<1l>, boost::recursive_wrapper<JSON::Boolean>, boost::mpl::l_end> > > > > > >, mpl_::bool_<true> >, void>' ./../stout/include/stout/json.hpp: In instantiation of 'JSON::Value::Value(const T&, typename boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = std::basic_string<char>; typename boost::disable_if<boost::is_arithmetic<From>, int>::type = int]': src/process.cpp:3525:27: required from here /build/amd64-usr//usr/include/boost/variant/variant.hpp:1768:5: note: template<class T> boost::variant<T0, TN>::variant(T&, typename boost::enable_if<boost::mpl::and_<boost::mpl::not_<boost::is_const<C> >, boost::mpl::not_<boost::is_same<T, boost::variant<T0, TN> > >, boost::detail::variant::is_variant_constructible_from<T&, typename boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type, boost::mpl::protect<boost::detail::variant::quoted_enable_recursive<boost::variant<T0, TN> > > >, boost::mpl::identity<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type> >::type, boost::mpl::protect<boost::detail::make_reference_content<mpl_::void_> > >::type> > >::type*) variant( ^ /build/amd64-usr//usr/include/boost/variant/variant.hpp:1768:5: note: template argument deduction/substitution failed: /build/amd64-usr//usr/include/boost/variant/variant.hpp: In substitution of 'template<class T> boost::variant<T0, TN>::variant(T&, typename boost::enable_if<boost::mpl::and_<boost::mpl::not_<boost::is_const<C> >, boost::mpl::not_<boost::is_same<T, boost::variant<T0, TN> > >, boost::detail::variant::is_variant_constructible_from<T&, typename boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type, boost::mpl::protect<boost::detail::variant::quoted_enable_recursive<boost::variant<T0, TN> > > >, boost::mpl::identity<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type> >::type, boost::mpl::protect<boost::detail::make_reference_content<mpl_::void_> > >::type> > >::type*) [with T = const std::basic_string<char>]': ./../stout/include/stout/json.hpp:261:30: required from 'JSON::Value::Value(const T&, typename boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = std::basic_string<char>; typename boost::disable_if<boost::is_arithmetic<From>, int>::type = int]' src/process.cpp:3525:27: required from here /build/amd64-usr//usr/include/boost/variant/variant.hpp:1768:5: error: no type named 'type' in 'struct boost::enable_if<boost::mpl::and_<boost::mpl::not_<boost::is_const<const std::basic_string<char> > >, boost::mpl::not_<boost::is_same<const std::basic_string<char>, boost::variant<boost::recursive_wrapper<JSON::Null>, boost::recursive_wrapper<JSON::String>, boost::recursive_wrapper<JSON::Number>, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, boost::recursive_wrapper<JSON::Boolean> > > >, boost::detail::variant::is_variant_constructible_from<const std::basic_string<char>&, boost::mpl::l_item<mpl_::long_<6l>, boost::recursive_wrapper<JSON::Null>, boost::mpl::l_item<mpl_::long_<5l>, boost::recursive_wrapper<JSON::String>, boost::mpl::l_item<mpl_::long_<4l>, boost::recursive_wrapper<JSON::Number>, boost::mpl::l_item<mpl_::long_<3l>, boost::recursive_wrapper<JSON::Object>, boost::mpl::l_item<mpl_::long_<2l>, boost::recursive_wrapper<JSON::Array>, boost::mpl::l_item<mpl_::long_<1l>, boost::recursive_wrapper<JSON::Boolean>, boost::mpl::l_end> > > > > > >, mpl_::bool_<true>, mpl_::bool_<true> >, void>' ./../stout/include/stout/json.hpp: In instantiation of 'JSON::Value::Value(const T&, typename boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = std::basic_string<char>; typename boost::disable_if<boost::is_arithmetic<From>, int>::type = int]': src/process.cpp:3525:27: required from here /build/amd64-usr//usr/include/boost/variant/variant.hpp:1758:5: note: template<class T> boost::variant<T0, TN>::variant(const T&, typename boost::enable_if<boost::mpl::and_<boost::mpl::not_<boost::is_same<T, boost::variant<T0, TN> > >, boost::detail::variant::is_variant_constructible_from<const T&, typename boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type, boost::mpl::protect<boost::detail::variant::quoted_enable_recursive<boost::variant<T0, TN> > > >, boost::mpl::identity<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type> >::type, boost::mpl::protect<boost::detail::make_reference_content<mpl_::void_> > >::type> > >::type*) variant(const T& operand, ^ /build/amd64-usr//usr/include/boost/variant/variant.hpp:1758:5: note: template argument deduction/substitution failed: /build/amd64-usr//usr/include/boost/variant/variant.hpp: In substitution of 'template<class T> boost::variant<T0, TN>::variant(const T&, typename boost::enable_if<boost::mpl::and_<boost::mpl::not_<boost::is_same<T, boost::variant<T0, TN> > >, boost::detail::variant::is_variant_constructible_from<const T&, typename boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type, boost::mpl::protect<boost::detail::variant::quoted_enable_recursive<boost::variant<T0, TN> > > >, boost::mpl::identity<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type> >::type, boost::mpl::protect<boost::detail::make_reference_content<mpl_::void_> > >::type> > >::type*) [with T = std::basic_string<char>]': ./../stout/include/stout/json.hpp:261:30: required from 'JSON::Value::Value(const T&, typename boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = std::basic_string<char>; typename boost::disable_if<boost::is_arithmetic<From>, int>::type = int]' src/process.cpp:3525:27: required from here /build/amd64-usr//usr/include/boost/variant/variant.hpp:1758:5: error: no type named 'type' in 'struct boost::enable_if<boost::mpl::and_<boost::mpl::not_<boost::is_same<std::basic_string<char>, boost::variant<boost::recursive_wrapper<JSON::Null>, boost::recursive_wrapper<JSON::String>, boost::recursive_wrapper<JSON::Number>, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, boost::recursive_wrapper<JSON::Boolean> > > >, boost::detail::variant::is_variant_constructible_from<const std::basic_string<char>&, boost::mpl::l_item<mpl_::long_<6l>, boost::recursive_wrapper<JSON::Null>, boost::mpl::l_item<mpl_::long_<5l>, boost::recursive_wrapper<JSON::String>, boost::mpl::l_item<mpl_::long_<4l>, boost::recursive_wrapper<JSON::Number>, boost::mpl::l_item<mpl_::long_<3l>, boost::recursive_wrapper<JSON::Object>, boost::mpl::l_item<mpl_::long_<2l>, boost::recursive_wrapper<JSON::Array>, boost::mpl::l_item<mpl_::long_<1l>, boost::recursive_wrapper<JSON::Boolean>, boost::mpl::l_end> > > > > > >, mpl_::bool_<true>, mpl_::bool_<true>, mpl_::bool_<true> >, void>' In file included from /build/amd64-usr//usr/include/boost/variant.hpp:17:0, from ./../stout/include/stout/json.hpp:35, from ./include/process/http.hpp:38, from ./include/process/event.hpp:19, from ./include/process/process.hpp:24, from ./include/process/dispatch.hpp:20, from ./include/process/deferred.hpp:18, from ./include/process/defer.hpp:19, from src/process.cpp:66: ./../stout/include/stout/json.hpp: In instantiation of 'JSON::Value::Value(const T&, typename boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = std::basic_string<char>; typename boost::disable_if<boost::is_arithmetic<From>, int>::type = int]': src/process.cpp:3525:27: required from here /build/amd64-usr//usr/include/boost/variant/variant.hpp:1422:5: note: boost::variant<T0, TN>::variant() [with T0_ = boost::recursive_wrapper<JSON::Null>; TN = {boost::recursive_wrapper<JSON::String>, boost::recursive_wrapper<JSON::Number>, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, boost::recursive_wrapper<JSON::Boolean>}] variant() ^ /build/amd64-usr//usr/include/boost/variant/variant.hpp:1422:5: note: candidate expects 0 arguments, 1 provided Makefile:1032: recipe for target 'libprocess_la-process.lo' failed make[5]: *** [libprocess_la-process.lo] Error 1 make[5]: Leaving directory '/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty/libprocess' Makefile:1544: recipe for target 'all-recursive' failed make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory '/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty/libprocess' Makefile:770: recipe for target 'all' failed make[3]: *** [all] Error 2 make[3]: Leaving directory '/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty/libprocess' Makefile:834: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty' Makefile:649: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty' Makefile:764: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 {code} More info: {code} configure: Build option summary: CXX: x86_64-pc-linux-gnu-g++ CXXFLAGS: -O2 -pipe -mtune=generic -g -Wno-unused-local-typedefs -Wno-maybe-uninitialized -std=c++11 CPPFLAGS: -I/build/amd64-usr//usr/include/subversion-1 -I/build/amd64-usr//usr/include -I/build/amd64-usr//usr/include -I/build/amd64-usr//usr/include/apr-1 -I/build/am d64-usr//usr/include/apr-1.0 LDFLAGS: -L/build/amd64-usr//usr/lib -L/build/amd64-usr//usr/lib -L/build/amd64-usr//usr/lib -L/build/amd64-usr//usr/lib -Wl,-O1 -Wl,--as-needed LIBS: -lz -lsvn_delta-1 -lsvn_subr-1 -lsasl2 -lcurl -lapr-1 -lz -lrt {code} {code} crallen@coreos-dev ~/trunk/src/scripts $ x86_64-pc-linux-gnu-g++ --version x86_64-pc-linux-gnu-g++ (Gentoo Hardened 4.9.4 p1.0, pie-0.6.4) 4.9.4 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. {code} {code} Portage 2.3.3 (python 2.7.12-final-0, !../../../../mnt/host/source/src/third_party/coreos-overlay/profiles/coreos/amd64/generic, gcc-4.9.4-vanilla, glibc-2.23-r5, 4.8.0-56-generic x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.8.0-56-generic-x86_64-AMD_FX-tm-4170_Quad-Core_Processor-with-glibc2.2.5 KiB Mem: 8155700 total, 1568204 free KiB Swap: 4191228 total, 4191224 free sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 ccache version 3.2.4 [enabled] app-shells/bash: 4.3_p48-r1::coreos dev-lang/perl: 5.22.3::portage-stable dev-lang/python: 2.7.12::portage-stable dev-util/pkgconfig: 0.28-r1::portage-stable sys-apps/baselayout: 3.4.0::coreos sys-apps/sandbox: 2.6-r1::portage-stable sys-devel/autoconf: 2.13::portage-stable, 2.69::portage-stable sys-devel/automake: 1.14.1::portage-stable, 1.15::portage-stable sys-devel/binutils: 2.25.1-r1::portage-stable sys-devel/gcc: 4.9.4::portage-stable sys-devel/gcc-config: 1.7.3::portage-stable sys-devel/libtool: 2.4.6::portage-stable sys-devel/make: 4.1-r1::portage-stable sys-kernel/linux-headers: 4.4::portage-stable (virtual/os-headers) sys-libs/glibc: 2.23-r5::coreos Repositories: portage-stable location: /mnt/host/source/src/third_party/portage-stable priority: -1000 coreos location: /mnt/host/source/src/third_party/metamx masters: portage-stable priority: 0 x-crossdev location: /usr/local/portage/crossdev masters: portage-stable coreos ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA -@CHROMEOS" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -mtune=generic -g" CHOST="x86_64-cros-linux-gnu" CONFIG_PROTECT="/etc/hosts /etc/locale.gen /etc/localtime /etc/make.conf" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -mtune=generic -g" DISTDIR="/mnt/host/source/.cache/distfiles" EMERGE_DEFAULT_OPTS="--oneshot" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg ccache clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox network-sandbox news nodoc noinfo noman parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS=" https://storage.core-os.net/mirror/portage-stable/ https://storage.core-os.net/mirror/coreos/ http://distfiles.gentoo.org/ " INSTALL_MASK=" /usr/lib*/*.la /etc/init.d /etc/conf.d /usr/share/bash-completion /usr/share/gtk-doc /usr/share/locale /usr/share/zsh /var/db/Makefile /etc/bash_completion.d /etc/dmtab /etc/e2fsck.conf /etc/lvm/* /etc/logrotate.conf /etc/logrotate.d /etc/mdadm.conf /etc/rsyncd.conf /etc/sudoers /etc/wgetrc /etc/xinetd.d /usr/sbin/selinuxenabled /usr/sbin/i2c-stub-from-dump /usr/lib/modules/*-coreos/source/scripts/*.pl /usr/share/rsync/* /usr/bin/glib-mkenums /usr/bin/afmtodit /usr/bin/decode-edid /usr/bin/gtkdoc-rebase /usr/bin/ddcmon /usr/bin/mtrace /usr/bin/import-tars /usr/bin/help2man /usr/bin/gropdf /usr/bin/mmroff /usr/bin/decode-dimms /usr/bin/pdfmom /usr/bin/decode-vaio /etc/ssl/misc/CA.pl /etc/ssl/misc/tsget " LANG="en_US.UTF-8" LC_ALL="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="--jobs=1 --load-average=2" PKGDIR="/build/amd64-usr/var/lib/portage/pkgs" PORTAGE_BUNZIP2_COMMAND="lbunzip2" PORTAGE_BZIP2_COMMAND="lbzip2" PORTAGE_CONFIGROOT="/build/amd64-usr/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/build/amd64-usr/var/tmp" USE="acpi amd64 bindist bzip2 cli cros-debug crypt cryptsetup cxx dri gdbm hardened iconv ipv6 justify modules ncurses nptl pam pcre pie policykit readline seccomp session ssl ssp symlink-usr systemd udev unicode usb xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" BOARD_USE="amd64-usr" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc xen" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON {code} was: I have a portage ebuild that is supposed to compile mesos for coreos, but with the recent stable I'm getting the following error at compile time. It looks like a boost problem, but mesos is supposed to ship with its own version of boost, so I don't quite understand why the template problems are happening. {code} make[5]: Entering directory '/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty/libprocess' /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"1.2.0\" -DPACKAGE_STRING=\"mesos\ 1.2.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"1.2.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_CXX11=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_FTS_H=1 -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_LIBCURL=1 -DHAVE_LIBSASL2=1 -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBZ=1 -I. -DBUILD_DIR=\"/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty/libprocess\" -I./include -isystem ../boost-1.53.0 -I../elfio-3.2 -I../glog-0.3.3/src -I../http-parser-2.6.2 -I../libev-4.22 -DPICOJSON_USE_INT64 -D__STDC_FORMAT_MACROS -I../picojson-1.3.0 -I./../stout/include -I/build/amd64-usr//usr/include/subversion-1 -I/build/amd64-usr//usr/include -I/build/amd64-usr//usr/include -I/build/amd64-usr//usr/include/apr-1 -I/build/amd64-usr//usr/include/apr-1.0 -Wall -Wsign-compare -Wformat-security -fstack-protector-strong -fPIC -fPIE -O2 -pipe -mtune=generic -g -Wno-unused-local-typedefs -Wno-maybe-uninitialized -std=c++11 -c -o libprocess_la-process.lo `test -f 'src/process.cpp' || echo './'`src/process.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"1.2.0\" "-DPACKAGE_STRING=\"mesos 1.2.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"1.2.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_CXX11=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_FTS_H=1 -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_LIBCURL=1 -DHAVE_LIBSASL2=1 -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBZ=1 -I. -DBUILD_DIR=\"/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty/libprocess\" -I./include -isystem ../boost-1.53.0 -I../elfio-3.2 -I../glog-0.3.3/src -I../http-parser-2.6.2 -I../libev-4.22 -DPICOJSON_USE_INT64 -D__STDC_FORMAT_MACROS -I../picojson-1.3.0 -I./../stout/include -I/build/amd64-usr//usr/include/subversion-1 -I/build/amd64-usr//usr/include -I/build/amd64-usr//usr/include -I/build/amd64-usr//usr/include/apr-1 -I/build/amd64-usr//usr/include/apr-1.0 -Wall -Wsign-compare -Wformat-security -fstack-protector-strong -fPIC -O2 -pipe -mtune=generic -g -Wno-unused-local-typedefs -Wno-maybe-uninitialized -std=c++11 -c src/process.cpp -fPIC -DPIC -o .libs/libprocess_la-process.o In file included from ./include/process/http.hpp:38:0, from ./include/process/event.hpp:19, from ./include/process/process.hpp:24, from ./include/process/dispatch.hpp:20, from ./include/process/deferred.hpp:18, from ./include/process/defer.hpp:19, from src/process.cpp:66: ./../stout/include/stout/json.hpp: In instantiation of 'JSON::Value::Value(const T&, typename boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = std::basic_string<char>; typename boost::disable_if<boost::is_arithmetic<From>, int>::type = int]': src/process.cpp:3525:27: required from here ./../stout/include/stout/json.hpp:261:30: error: no matching function for call to 'boost::variant<boost::recursive_wrapper<JSON::Null>, boost::recursive_wrapper<JSON::String>, boost::recursive_wrapper<JSON::Number>, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, boost::recursive_wrapper<JSON::Boolean> >::variant(const std::basic_string<char>&)' : internal::Variant(value) {} ^ ./../stout/include/stout/json.hpp:261:30: note: candidates are: In file included from /build/amd64-usr//usr/include/boost/variant.hpp:17:0, from ./../stout/include/stout/json.hpp:35, from ./include/process/http.hpp:38, from ./include/process/event.hpp:19, from ./include/process/process.hpp:24, from ./include/process/dispatch.hpp:20, from ./include/process/deferred.hpp:18, from ./include/process/defer.hpp:19, from src/process.cpp:66: /build/amd64-usr//usr/include/boost/variant/variant.hpp:1808:5: note: boost::variant<T0, TN>::variant(boost::variant<T0, TN>&&) [with T0_ = boost::recursive_wrapper<JSON::Null>; TN = {boost::recursive_wrapper<JSON::String>, boost::recursive_wrapper<JSON::Number>, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, boost::recursive_wrapper<JSON::Boolean>}] variant(variant&& operand) BOOST_NOEXCEPT_IF(variant_move_noexcept_constructible::type::value) ^ /build/amd64-usr//usr/include/boost/variant/variant.hpp:1808:5: note: no known conversion for argument 1 from 'const std::basic_string<char>' to 'boost::variant<boost::recursive_wrapper<JSON::Null>, boost::recursive_wrapper<JSON::String>, boost::recursive_wrapper<JSON::Number>, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, boost::recursive_wrapper<JSON::Boolean> >&&' /build/amd64-usr//usr/include/boost/variant/variant.hpp:1797:5: note: boost::variant<T0, TN>::variant(const boost::variant<T0, TN>&) [with T0_ = boost::recursive_wrapper<JSON::Null>; TN = {boost::recursive_wrapper<JSON::String>, boost::recursive_wrapper<JSON::Number>, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, boost::recursive_wrapper<JSON::Boolean>}] variant(const variant& operand) ^ /build/amd64-usr//usr/include/boost/variant/variant.hpp:1797:5: note: no known conversion for argument 1 from 'const std::basic_string<char>' to 'const boost::variant<boost::recursive_wrapper<JSON::Null>, boost::recursive_wrapper<JSON::String>, boost::recursive_wrapper<JSON::Number>, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, boost::recursive_wrapper<JSON::Boolean> >&' /build/amd64-usr//usr/include/boost/variant/variant.hpp:1782:5: note: template<class T> boost::variant<T0, TN>::variant(T&&, typename boost::enable_if<boost::mpl::and_<boost::is_rvalue_reference<T&&>, boost::mpl::not_<boost::is_const<C> >, boost::mpl::not_<boost::is_same<T, boost::variant<T0, TN> > >, boost::detail::variant::is_variant_constructible_from<T&&, typename boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type, boost::mpl::protect<boost::detail::variant::quoted_enable_recursive<boost::variant<T0, TN> > > >, boost::mpl::identity<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type> >::type, boost::mpl::protect<boost::detail::make_reference_content<mpl_::void_> > >::type> > >::type*) variant(T&& operand, ^ /build/amd64-usr//usr/include/boost/variant/variant.hpp:1782:5: note: template argument deduction/substitution failed: /build/amd64-usr//usr/include/boost/variant/variant.hpp: In substitution of 'template<class T> boost::variant<T0, TN>::variant(T&&, typename boost::enable_if<boost::mpl::and_<boost::is_rvalue_reference<T&&>, boost::mpl::not_<boost::is_const<C> >, boost::mpl::not_<boost::is_same<T, boost::variant<T0, TN> > >, boost::detail::variant::is_variant_constructible_from<T&&, typename boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type, boost::mpl::protect<boost::detail::variant::quoted_enable_recursive<boost::variant<T0, TN> > > >, boost::mpl::identity<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type> >::type, boost::mpl::protect<boost::detail::make_reference_content<mpl_::void_> > >::type> > >::type*) [with T = const std::basic_string<char>&]': ./../stout/include/stout/json.hpp:261:30: required from 'JSON::Value::Value(const T&, typename boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = std::basic_string<char>; typename boost::disable_if<boost::is_arithmetic<From>, int>::type = int]' src/process.cpp:3525:27: required from here /build/amd64-usr//usr/include/boost/variant/variant.hpp:1782:5: error: no type named 'type' in 'struct boost::enable_if<boost::mpl::and_<boost::is_rvalue_reference<const std::basic_string<char>&>, boost::mpl::not_<boost::is_const<const std::basic_string<char>&> >, boost::mpl::not_<boost::is_same<const std::basic_string<char>&, boost::variant<boost::recursive_wrapper<JSON::Null>, boost::recursive_wrapper<JSON::String>, boost::recursive_wrapper<JSON::Number>, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, boost::recursive_wrapper<JSON::Boolean> > > >, boost::detail::variant::is_variant_constructible_from<const std::basic_string<char>&, boost::mpl::l_item<mpl_::long_<6l>, boost::recursive_wrapper<JSON::Null>, boost::mpl::l_item<mpl_::long_<5l>, boost::recursive_wrapper<JSON::String>, boost::mpl::l_item<mpl_::long_<4l>, boost::recursive_wrapper<JSON::Number>, boost::mpl::l_item<mpl_::long_<3l>, boost::recursive_wrapper<JSON::Object>, boost::mpl::l_item<mpl_::long_<2l>, boost::recursive_wrapper<JSON::Array>, boost::mpl::l_item<mpl_::long_<1l>, boost::recursive_wrapper<JSON::Boolean>, boost::mpl::l_end> > > > > > >, mpl_::bool_<true> >, void>' ./../stout/include/stout/json.hpp: In instantiation of 'JSON::Value::Value(const T&, typename boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = std::basic_string<char>; typename boost::disable_if<boost::is_arithmetic<From>, int>::type = int]': src/process.cpp:3525:27: required from here /build/amd64-usr//usr/include/boost/variant/variant.hpp:1768:5: note: template<class T> boost::variant<T0, TN>::variant(T&, typename boost::enable_if<boost::mpl::and_<boost::mpl::not_<boost::is_const<C> >, boost::mpl::not_<boost::is_same<T, boost::variant<T0, TN> > >, boost::detail::variant::is_variant_constructible_from<T&, typename boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type, boost::mpl::protect<boost::detail::variant::quoted_enable_recursive<boost::variant<T0, TN> > > >, boost::mpl::identity<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type> >::type, boost::mpl::protect<boost::detail::make_reference_content<mpl_::void_> > >::type> > >::type*) variant( ^ /build/amd64-usr//usr/include/boost/variant/variant.hpp:1768:5: note: template argument deduction/substitution failed: /build/amd64-usr//usr/include/boost/variant/variant.hpp: In substitution of 'template<class T> boost::variant<T0, TN>::variant(T&, typename boost::enable_if<boost::mpl::and_<boost::mpl::not_<boost::is_const<C> >, boost::mpl::not_<boost::is_same<T, boost::variant<T0, TN> > >, boost::detail::variant::is_variant_constructible_from<T&, typename boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type, boost::mpl::protect<boost::detail::variant::quoted_enable_recursive<boost::variant<T0, TN> > > >, boost::mpl::identity<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type> >::type, boost::mpl::protect<boost::detail::make_reference_content<mpl_::void_> > >::type> > >::type*) [with T = const std::basic_string<char>]': ./../stout/include/stout/json.hpp:261:30: required from 'JSON::Value::Value(const T&, typename boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = std::basic_string<char>; typename boost::disable_if<boost::is_arithmetic<From>, int>::type = int]' src/process.cpp:3525:27: required from here /build/amd64-usr//usr/include/boost/variant/variant.hpp:1768:5: error: no type named 'type' in 'struct boost::enable_if<boost::mpl::and_<boost::mpl::not_<boost::is_const<const std::basic_string<char> > >, boost::mpl::not_<boost::is_same<const std::basic_string<char>, boost::variant<boost::recursive_wrapper<JSON::Null>, boost::recursive_wrapper<JSON::String>, boost::recursive_wrapper<JSON::Number>, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, boost::recursive_wrapper<JSON::Boolean> > > >, boost::detail::variant::is_variant_constructible_from<const std::basic_string<char>&, boost::mpl::l_item<mpl_::long_<6l>, boost::recursive_wrapper<JSON::Null>, boost::mpl::l_item<mpl_::long_<5l>, boost::recursive_wrapper<JSON::String>, boost::mpl::l_item<mpl_::long_<4l>, boost::recursive_wrapper<JSON::Number>, boost::mpl::l_item<mpl_::long_<3l>, boost::recursive_wrapper<JSON::Object>, boost::mpl::l_item<mpl_::long_<2l>, boost::recursive_wrapper<JSON::Array>, boost::mpl::l_item<mpl_::long_<1l>, boost::recursive_wrapper<JSON::Boolean>, boost::mpl::l_end> > > > > > >, mpl_::bool_<true>, mpl_::bool_<true> >, void>' ./../stout/include/stout/json.hpp: In instantiation of 'JSON::Value::Value(const T&, typename boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = std::basic_string<char>; typename boost::disable_if<boost::is_arithmetic<From>, int>::type = int]': src/process.cpp:3525:27: required from here /build/amd64-usr//usr/include/boost/variant/variant.hpp:1758:5: note: template<class T> boost::variant<T0, TN>::variant(const T&, typename boost::enable_if<boost::mpl::and_<boost::mpl::not_<boost::is_same<T, boost::variant<T0, TN> > >, boost::detail::variant::is_variant_constructible_from<const T&, typename boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type, boost::mpl::protect<boost::detail::variant::quoted_enable_recursive<boost::variant<T0, TN> > > >, boost::mpl::identity<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type> >::type, boost::mpl::protect<boost::detail::make_reference_content<mpl_::void_> > >::type> > >::type*) variant(const T& operand, ^ /build/amd64-usr//usr/include/boost/variant/variant.hpp:1758:5: note: template argument deduction/substitution failed: /build/amd64-usr//usr/include/boost/variant/variant.hpp: In substitution of 'template<class T> boost::variant<T0, TN>::variant(const T&, typename boost::enable_if<boost::mpl::and_<boost::mpl::not_<boost::is_same<T, boost::variant<T0, TN> > >, boost::detail::variant::is_variant_constructible_from<const T&, typename boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type, boost::mpl::protect<boost::detail::variant::quoted_enable_recursive<boost::variant<T0, TN> > > >, boost::mpl::identity<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, boost::detail::variant::make_variant_list<typename boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, boost::mpl::identity<T> >::type, TN ...> >::type> >::type, boost::mpl::protect<boost::detail::make_reference_content<mpl_::void_> > >::type> > >::type*) [with T = std::basic_string<char>]': ./../stout/include/stout/json.hpp:261:30: required from 'JSON::Value::Value(const T&, typename boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = std::basic_string<char>; typename boost::disable_if<boost::is_arithmetic<From>, int>::type = int]' src/process.cpp:3525:27: required from here /build/amd64-usr//usr/include/boost/variant/variant.hpp:1758:5: error: no type named 'type' in 'struct boost::enable_if<boost::mpl::and_<boost::mpl::not_<boost::is_same<std::basic_string<char>, boost::variant<boost::recursive_wrapper<JSON::Null>, boost::recursive_wrapper<JSON::String>, boost::recursive_wrapper<JSON::Number>, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, boost::recursive_wrapper<JSON::Boolean> > > >, boost::detail::variant::is_variant_constructible_from<const std::basic_string<char>&, boost::mpl::l_item<mpl_::long_<6l>, boost::recursive_wrapper<JSON::Null>, boost::mpl::l_item<mpl_::long_<5l>, boost::recursive_wrapper<JSON::String>, boost::mpl::l_item<mpl_::long_<4l>, boost::recursive_wrapper<JSON::Number>, boost::mpl::l_item<mpl_::long_<3l>, boost::recursive_wrapper<JSON::Object>, boost::mpl::l_item<mpl_::long_<2l>, boost::recursive_wrapper<JSON::Array>, boost::mpl::l_item<mpl_::long_<1l>, boost::recursive_wrapper<JSON::Boolean>, boost::mpl::l_end> > > > > > >, mpl_::bool_<true>, mpl_::bool_<true>, mpl_::bool_<true> >, void>' In file included from /build/amd64-usr//usr/include/boost/variant.hpp:17:0, from ./../stout/include/stout/json.hpp:35, from ./include/process/http.hpp:38, from ./include/process/event.hpp:19, from ./include/process/process.hpp:24, from ./include/process/dispatch.hpp:20, from ./include/process/deferred.hpp:18, from ./include/process/defer.hpp:19, from src/process.cpp:66: ./../stout/include/stout/json.hpp: In instantiation of 'JSON::Value::Value(const T&, typename boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = std::basic_string<char>; typename boost::disable_if<boost::is_arithmetic<From>, int>::type = int]': src/process.cpp:3525:27: required from here /build/amd64-usr//usr/include/boost/variant/variant.hpp:1422:5: note: boost::variant<T0, TN>::variant() [with T0_ = boost::recursive_wrapper<JSON::Null>; TN = {boost::recursive_wrapper<JSON::String>, boost::recursive_wrapper<JSON::Number>, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, boost::recursive_wrapper<JSON::Boolean>}] variant() ^ /build/amd64-usr//usr/include/boost/variant/variant.hpp:1422:5: note: candidate expects 0 arguments, 1 provided Makefile:1032: recipe for target 'libprocess_la-process.lo' failed make[5]: *** [libprocess_la-process.lo] Error 1 make[5]: Leaving directory '/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty/libprocess' Makefile:1544: recipe for target 'all-recursive' failed make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory '/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty/libprocess' Makefile:770: recipe for target 'all' failed make[3]: *** [all] Error 2 make[3]: Leaving directory '/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty/libprocess' Makefile:834: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty' Makefile:649: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty' Makefile:764: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 {code} More info: {code} configure: Build option summary: CXX: x86_64-pc-linux-gnu-g++ CXXFLAGS: -O2 -pipe -mtune=generic -g -Wno-unused-local-typedefs -Wno-maybe-uninitialized -std=c++11 CPPFLAGS: -I/build/amd64-usr//usr/include/subversion-1 -I/build/amd64-usr//usr/include -I/build/amd64-usr//usr/include -I/build/amd64-usr//usr/include/apr-1 -I/build/am d64-usr//usr/include/apr-1.0 LDFLAGS: -L/build/amd64-usr//usr/lib -L/build/amd64-usr//usr/lib -L/build/amd64-usr//usr/lib -L/build/amd64-usr//usr/lib -Wl,-O1 -Wl,--as-needed LIBS: -lz -lsvn_delta-1 -lsvn_subr-1 -lsasl2 -lcurl -lapr-1 -lz -lrt {code} {code} crallen@coreos-dev ~/trunk/src/scripts $ x86_64-pc-linux-gnu-g++ --version x86_64-pc-linux-gnu-g++ (Gentoo Hardened 4.9.4 p1.0, pie-0.6.4) 4.9.4 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. {code} {code} Portage 2.3.3 (python 2.7.12-final-0, !../../../../mnt/host/source/src/third_party/coreos-overlay/profiles/coreos/amd64/generic, gcc-4.9.4-vanilla, glibc-2.23-r5, 4.8.0-56-generic x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.8.0-56-generic-x86_64-AMD_FX-tm-4170_Quad-Core_Processor-with-glibc2.2.5 KiB Mem: 8155700 total, 1568204 free KiB Swap: 4191228 total, 4191224 free sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 ccache version 3.2.4 [enabled] app-shells/bash: 4.3_p48-r1::coreos dev-lang/perl: 5.22.3::portage-stable dev-lang/python: 2.7.12::portage-stable dev-util/pkgconfig: 0.28-r1::portage-stable sys-apps/baselayout: 3.4.0::coreos sys-apps/sandbox: 2.6-r1::portage-stable sys-devel/autoconf: 2.13::portage-stable, 2.69::portage-stable sys-devel/automake: 1.14.1::portage-stable, 1.15::portage-stable sys-devel/binutils: 2.25.1-r1::portage-stable sys-devel/gcc: 4.9.4::portage-stable sys-devel/gcc-config: 1.7.3::portage-stable sys-devel/libtool: 2.4.6::portage-stable sys-devel/make: 4.1-r1::portage-stable sys-kernel/linux-headers: 4.4::portage-stable (virtual/os-headers) sys-libs/glibc: 2.23-r5::coreos Repositories: portage-stable location: /mnt/host/source/src/third_party/portage-stable priority: -1000 coreos location: /mnt/host/source/src/third_party/metamx masters: portage-stable priority: 0 x-crossdev location: /usr/local/portage/crossdev masters: portage-stable coreos ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA -@CHROMEOS" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -mtune=generic -g" CHOST="x86_64-cros-linux-gnu" CONFIG_PROTECT="/etc/hosts /etc/locale.gen /etc/localtime /etc/make.conf" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -mtune=generic -g" DISTDIR="/mnt/host/source/.cache/distfiles" EMERGE_DEFAULT_OPTS="--oneshot" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg ccache clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox network-sandbox news nodoc noinfo noman parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS=" https://storage.core-os.net/mirror/portage-stable/ https://storage.core-os.net/mirror/coreos/ http://distfiles.gentoo.org/ " INSTALL_MASK=" /usr/lib*/*.la /etc/init.d /etc/conf.d /usr/share/bash-completion /usr/share/gtk-doc /usr/share/locale /usr/share/zsh /var/db/Makefile /etc/bash_completion.d /etc/dmtab /etc/e2fsck.conf /etc/lvm/* /etc/logrotate.conf /etc/logrotate.d /etc/mdadm.conf /etc/rsyncd.conf /etc/sudoers /etc/wgetrc /etc/xinetd.d /usr/sbin/selinuxenabled /usr/sbin/i2c-stub-from-dump /usr/lib/modules/*-coreos/source/scripts/*.pl /usr/share/rsync/* /usr/bin/glib-mkenums /usr/bin/afmtodit /usr/bin/decode-edid /usr/bin/gtkdoc-rebase /usr/bin/ddcmon /usr/bin/mtrace /usr/bin/import-tars /usr/bin/help2man /usr/bin/gropdf /usr/bin/mmroff /usr/bin/decode-dimms /usr/bin/pdfmom /usr/bin/decode-vaio /etc/ssl/misc/CA.pl /etc/ssl/misc/tsget " LANG="en_US.UTF-8" LC_ALL="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="--jobs=1 --load-average=2" PKGDIR="/build/amd64-usr/var/lib/portage/pkgs" PORTAGE_BUNZIP2_COMMAND="lbunzip2" PORTAGE_BZIP2_COMMAND="lbzip2" PORTAGE_CONFIGROOT="/build/amd64-usr/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/build/amd64-usr/var/tmp" USE="acpi amd64 bindist bzip2 cli cros-debug crypt cryptsetup cxx dri gdbm hardened iconv ipv6 justify modules ncurses nptl pam pcre pie policykit readline seccomp session ssl ssp symlink-usr systemd udev unicode usb xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" BOARD_USE="amd64-usr" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc xen" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON {code} > Compile Problem on coreos build in libprocess > --------------------------------------------- > > Key: MESOS-7717 > URL: https://issues.apache.org/jira/browse/MESOS-7717 > Project: Mesos > Issue Type: Bug > Components: build, libprocess > Affects Versions: 1.2.0 > Reporter: Charles Allen > > I have a portage ebuild that is supposed to compile mesos for coreos, but > with the recent coreos stable I'm getting the following error at compile > time. It looks like a boost problem, but mesos is supposed to ship with its > own version of boost, so I don't quite understand why the template problems > are happening. > {code} > make[5]: Entering directory > '/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty/libprocess' > /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ > -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" > -DPACKAGE_VERSION=\"1.2.0\" -DPACKAGE_STRING=\"mesos\ 1.2.0\" > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" > -DVERSION=\"1.2.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_CXX11=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 > -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_FTS_H=1 -DHAVE_APR_POOLS_H=1 > -DHAVE_LIBAPR_1=1 -DHAVE_LIBCURL=1 -DHAVE_LIBSASL2=1 -DHAVE_SVN_VERSION_H=1 > -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 > -DHAVE_LIBZ=1 -I. > -DBUILD_DIR=\"/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty/libprocess\" > -I./include -isystem ../boost-1.53.0 -I../elfio-3.2 -I../glog-0.3.3/src > -I../http-parser-2.6.2 -I../libev-4.22 -DPICOJSON_USE_INT64 > -D__STDC_FORMAT_MACROS -I../picojson-1.3.0 -I./../stout/include > -I/build/amd64-usr//usr/include/subversion-1 -I/build/amd64-usr//usr/include > -I/build/amd64-usr//usr/include -I/build/amd64-usr//usr/include/apr-1 > -I/build/amd64-usr//usr/include/apr-1.0 -Wall -Wsign-compare > -Wformat-security -fstack-protector-strong -fPIC -fPIE -O2 -pipe > -mtune=generic -g -Wno-unused-local-typedefs -Wno-maybe-uninitialized > -std=c++11 -c -o libprocess_la-process.lo `test -f 'src/process.cpp' || echo > './'`src/process.cpp > libtool: compile: x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"mesos\" > -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"1.2.0\" > "-DPACKAGE_STRING=\"mesos 1.2.0\"" -DPACKAGE_BUGREPORT=\"\" > -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"1.2.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_CXX11=1 > -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_FTS_H=1 > -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_LIBCURL=1 -DHAVE_LIBSASL2=1 > -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 > -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBZ=1 -I. > -DBUILD_DIR=\"/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty/libprocess\" > -I./include -isystem ../boost-1.53.0 -I../elfio-3.2 -I../glog-0.3.3/src > -I../http-parser-2.6.2 -I../libev-4.22 -DPICOJSON_USE_INT64 > -D__STDC_FORMAT_MACROS -I../picojson-1.3.0 -I./../stout/include > -I/build/amd64-usr//usr/include/subversion-1 -I/build/amd64-usr//usr/include > -I/build/amd64-usr//usr/include -I/build/amd64-usr//usr/include/apr-1 > -I/build/amd64-usr//usr/include/apr-1.0 -Wall -Wsign-compare > -Wformat-security -fstack-protector-strong -fPIC -O2 -pipe -mtune=generic -g > -Wno-unused-local-typedefs -Wno-maybe-uninitialized -std=c++11 -c > src/process.cpp -fPIC -DPIC -o .libs/libprocess_la-process.o > In file included from ./include/process/http.hpp:38:0, > from ./include/process/event.hpp:19, > from ./include/process/process.hpp:24, > from ./include/process/dispatch.hpp:20, > from ./include/process/deferred.hpp:18, > from ./include/process/defer.hpp:19, > from src/process.cpp:66: > ./../stout/include/stout/json.hpp: In instantiation of > 'JSON::Value::Value(const T&, typename > boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = > std::basic_string<char>; typename > boost::disable_if<boost::is_arithmetic<From>, int>::type = int]': > src/process.cpp:3525:27: required from here > ./../stout/include/stout/json.hpp:261:30: error: no matching function for > call to 'boost::variant<boost::recursive_wrapper<JSON::Null>, > boost::recursive_wrapper<JSON::String>, > boost::recursive_wrapper<JSON::Number>, > boost::recursive_wrapper<JSON::Object>, > boost::recursive_wrapper<JSON::Array>, > boost::recursive_wrapper<JSON::Boolean> >::variant(const > std::basic_string<char>&)' > : internal::Variant(value) {} > ^ > ./../stout/include/stout/json.hpp:261:30: note: candidates are: > In file included from /build/amd64-usr//usr/include/boost/variant.hpp:17:0, > from ./../stout/include/stout/json.hpp:35, > from ./include/process/http.hpp:38, > from ./include/process/event.hpp:19, > from ./include/process/process.hpp:24, > from ./include/process/dispatch.hpp:20, > from ./include/process/deferred.hpp:18, > from ./include/process/defer.hpp:19, > from src/process.cpp:66: > /build/amd64-usr//usr/include/boost/variant/variant.hpp:1808:5: note: > boost::variant<T0, TN>::variant(boost::variant<T0, TN>&&) [with T0_ = > boost::recursive_wrapper<JSON::Null>; TN = > {boost::recursive_wrapper<JSON::String>, > boost::recursive_wrapper<JSON::Number>, > boost::recursive_wrapper<JSON::Object>, > boost::recursive_wrapper<JSON::Array>, > boost::recursive_wrapper<JSON::Boolean>}] > variant(variant&& operand) > BOOST_NOEXCEPT_IF(variant_move_noexcept_constructible::type::value) > ^ > /build/amd64-usr//usr/include/boost/variant/variant.hpp:1808:5: note: no > known conversion for argument 1 from 'const std::basic_string<char>' to > 'boost::variant<boost::recursive_wrapper<JSON::Null>, > boost::recursive_wrapper<JSON::String>, > boost::recursive_wrapper<JSON::Number>, > boost::recursive_wrapper<JSON::Object>, > boost::recursive_wrapper<JSON::Array>, > boost::recursive_wrapper<JSON::Boolean> >&&' > /build/amd64-usr//usr/include/boost/variant/variant.hpp:1797:5: note: > boost::variant<T0, TN>::variant(const boost::variant<T0, TN>&) [with T0_ = > boost::recursive_wrapper<JSON::Null>; TN = > {boost::recursive_wrapper<JSON::String>, > boost::recursive_wrapper<JSON::Number>, > boost::recursive_wrapper<JSON::Object>, > boost::recursive_wrapper<JSON::Array>, > boost::recursive_wrapper<JSON::Boolean>}] > variant(const variant& operand) > ^ > /build/amd64-usr//usr/include/boost/variant/variant.hpp:1797:5: note: no > known conversion for argument 1 from 'const std::basic_string<char>' to > 'const boost::variant<boost::recursive_wrapper<JSON::Null>, > boost::recursive_wrapper<JSON::String>, > boost::recursive_wrapper<JSON::Number>, > boost::recursive_wrapper<JSON::Object>, > boost::recursive_wrapper<JSON::Array>, > boost::recursive_wrapper<JSON::Boolean> >&' > /build/amd64-usr//usr/include/boost/variant/variant.hpp:1782:5: note: > template<class T> boost::variant<T0, TN>::variant(T&&, typename > boost::enable_if<boost::mpl::and_<boost::is_rvalue_reference<T&&>, > boost::mpl::not_<boost::is_const<C> >, boost::mpl::not_<boost::is_same<T, > boost::variant<T0, TN> > >, > boost::detail::variant::is_variant_constructible_from<T&&, typename > boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, > TN>::is_recursive_, boost::mpl::transform<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, > boost::detail::variant::make_variant_list<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, TN ...> >::type, > boost::mpl::protect<boost::detail::variant::quoted_enable_recursive<boost::variant<T0, > TN> > > >, boost::mpl::identity<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, > boost::detail::variant::make_variant_list<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, TN ...> >::type> >::type, > boost::mpl::protect<boost::detail::make_reference_content<mpl_::void_> > > >::type> > >::type*) > variant(T&& operand, > ^ > /build/amd64-usr//usr/include/boost/variant/variant.hpp:1782:5: note: > template argument deduction/substitution failed: > /build/amd64-usr//usr/include/boost/variant/variant.hpp: In substitution of > 'template<class T> boost::variant<T0, TN>::variant(T&&, typename > boost::enable_if<boost::mpl::and_<boost::is_rvalue_reference<T&&>, > boost::mpl::not_<boost::is_const<C> >, boost::mpl::not_<boost::is_same<T, > boost::variant<T0, TN> > >, > boost::detail::variant::is_variant_constructible_from<T&&, typename > boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, > TN>::is_recursive_, boost::mpl::transform<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, > boost::detail::variant::make_variant_list<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, TN ...> >::type, > boost::mpl::protect<boost::detail::variant::quoted_enable_recursive<boost::variant<T0, > TN> > > >, boost::mpl::identity<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, > boost::detail::variant::make_variant_list<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, TN ...> >::type> >::type, > boost::mpl::protect<boost::detail::make_reference_content<mpl_::void_> > > >::type> > >::type*) [with T = const std::basic_string<char>&]': > ./../stout/include/stout/json.hpp:261:30: required from > 'JSON::Value::Value(const T&, typename > boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = > std::basic_string<char>; typename > boost::disable_if<boost::is_arithmetic<From>, int>::type = int]' > src/process.cpp:3525:27: required from here > /build/amd64-usr//usr/include/boost/variant/variant.hpp:1782:5: error: no > type named 'type' in 'struct > boost::enable_if<boost::mpl::and_<boost::is_rvalue_reference<const > std::basic_string<char>&>, boost::mpl::not_<boost::is_const<const > std::basic_string<char>&> >, boost::mpl::not_<boost::is_same<const > std::basic_string<char>&, > boost::variant<boost::recursive_wrapper<JSON::Null>, > boost::recursive_wrapper<JSON::String>, > boost::recursive_wrapper<JSON::Number>, > boost::recursive_wrapper<JSON::Object>, > boost::recursive_wrapper<JSON::Array>, > boost::recursive_wrapper<JSON::Boolean> > > >, > boost::detail::variant::is_variant_constructible_from<const > std::basic_string<char>&, boost::mpl::l_item<mpl_::long_<6l>, > boost::recursive_wrapper<JSON::Null>, boost::mpl::l_item<mpl_::long_<5l>, > boost::recursive_wrapper<JSON::String>, boost::mpl::l_item<mpl_::long_<4l>, > boost::recursive_wrapper<JSON::Number>, boost::mpl::l_item<mpl_::long_<3l>, > boost::recursive_wrapper<JSON::Object>, boost::mpl::l_item<mpl_::long_<2l>, > boost::recursive_wrapper<JSON::Array>, boost::mpl::l_item<mpl_::long_<1l>, > boost::recursive_wrapper<JSON::Boolean>, boost::mpl::l_end> > > > > > >, > mpl_::bool_<true> >, void>' > ./../stout/include/stout/json.hpp: In instantiation of > 'JSON::Value::Value(const T&, typename > boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = > std::basic_string<char>; typename > boost::disable_if<boost::is_arithmetic<From>, int>::type = int]': > src/process.cpp:3525:27: required from here > /build/amd64-usr//usr/include/boost/variant/variant.hpp:1768:5: note: > template<class T> boost::variant<T0, TN>::variant(T&, typename > boost::enable_if<boost::mpl::and_<boost::mpl::not_<boost::is_const<C> >, > boost::mpl::not_<boost::is_same<T, boost::variant<T0, TN> > >, > boost::detail::variant::is_variant_constructible_from<T&, typename > boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, > TN>::is_recursive_, boost::mpl::transform<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, > boost::detail::variant::make_variant_list<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, TN ...> >::type, > boost::mpl::protect<boost::detail::variant::quoted_enable_recursive<boost::variant<T0, > TN> > > >, boost::mpl::identity<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, > boost::detail::variant::make_variant_list<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, TN ...> >::type> >::type, > boost::mpl::protect<boost::detail::make_reference_content<mpl_::void_> > > >::type> > >::type*) > variant( > ^ > /build/amd64-usr//usr/include/boost/variant/variant.hpp:1768:5: note: > template argument deduction/substitution failed: > /build/amd64-usr//usr/include/boost/variant/variant.hpp: In substitution of > 'template<class T> boost::variant<T0, TN>::variant(T&, typename > boost::enable_if<boost::mpl::and_<boost::mpl::not_<boost::is_const<C> >, > boost::mpl::not_<boost::is_same<T, boost::variant<T0, TN> > >, > boost::detail::variant::is_variant_constructible_from<T&, typename > boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, > TN>::is_recursive_, boost::mpl::transform<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, > boost::detail::variant::make_variant_list<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, TN ...> >::type, > boost::mpl::protect<boost::detail::variant::quoted_enable_recursive<boost::variant<T0, > TN> > > >, boost::mpl::identity<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, > boost::detail::variant::make_variant_list<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, TN ...> >::type> >::type, > boost::mpl::protect<boost::detail::make_reference_content<mpl_::void_> > > >::type> > >::type*) [with T = const std::basic_string<char>]': > ./../stout/include/stout/json.hpp:261:30: required from > 'JSON::Value::Value(const T&, typename > boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = > std::basic_string<char>; typename > boost::disable_if<boost::is_arithmetic<From>, int>::type = int]' > src/process.cpp:3525:27: required from here > /build/amd64-usr//usr/include/boost/variant/variant.hpp:1768:5: error: no > type named 'type' in 'struct > boost::enable_if<boost::mpl::and_<boost::mpl::not_<boost::is_const<const > std::basic_string<char> > >, boost::mpl::not_<boost::is_same<const > std::basic_string<char>, boost::variant<boost::recursive_wrapper<JSON::Null>, > boost::recursive_wrapper<JSON::String>, > boost::recursive_wrapper<JSON::Number>, > boost::recursive_wrapper<JSON::Object>, > boost::recursive_wrapper<JSON::Array>, > boost::recursive_wrapper<JSON::Boolean> > > >, > boost::detail::variant::is_variant_constructible_from<const > std::basic_string<char>&, boost::mpl::l_item<mpl_::long_<6l>, > boost::recursive_wrapper<JSON::Null>, boost::mpl::l_item<mpl_::long_<5l>, > boost::recursive_wrapper<JSON::String>, boost::mpl::l_item<mpl_::long_<4l>, > boost::recursive_wrapper<JSON::Number>, boost::mpl::l_item<mpl_::long_<3l>, > boost::recursive_wrapper<JSON::Object>, boost::mpl::l_item<mpl_::long_<2l>, > boost::recursive_wrapper<JSON::Array>, boost::mpl::l_item<mpl_::long_<1l>, > boost::recursive_wrapper<JSON::Boolean>, boost::mpl::l_end> > > > > > >, > mpl_::bool_<true>, mpl_::bool_<true> >, void>' > ./../stout/include/stout/json.hpp: In instantiation of > 'JSON::Value::Value(const T&, typename > boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = > std::basic_string<char>; typename > boost::disable_if<boost::is_arithmetic<From>, int>::type = int]': > src/process.cpp:3525:27: required from here > /build/amd64-usr//usr/include/boost/variant/variant.hpp:1758:5: note: > template<class T> boost::variant<T0, TN>::variant(const T&, typename > boost::enable_if<boost::mpl::and_<boost::mpl::not_<boost::is_same<T, > boost::variant<T0, TN> > >, > boost::detail::variant::is_variant_constructible_from<const T&, typename > boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, > TN>::is_recursive_, boost::mpl::transform<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, > boost::detail::variant::make_variant_list<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, TN ...> >::type, > boost::mpl::protect<boost::detail::variant::quoted_enable_recursive<boost::variant<T0, > TN> > > >, boost::mpl::identity<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, > boost::detail::variant::make_variant_list<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, TN ...> >::type> >::type, > boost::mpl::protect<boost::detail::make_reference_content<mpl_::void_> > > >::type> > >::type*) > variant(const T& operand, > ^ > /build/amd64-usr//usr/include/boost/variant/variant.hpp:1758:5: note: > template argument deduction/substitution failed: > /build/amd64-usr//usr/include/boost/variant/variant.hpp: In substitution of > 'template<class T> boost::variant<T0, TN>::variant(const T&, typename > boost::enable_if<boost::mpl::and_<boost::mpl::not_<boost::is_same<T, > boost::variant<T0, TN> > >, > boost::detail::variant::is_variant_constructible_from<const T&, typename > boost::mpl::transform<typename boost::mpl::eval_if<boost::variant<T0, > TN>::is_recursive_, boost::mpl::transform<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, > boost::detail::variant::make_variant_list<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, TN ...> >::type, > boost::mpl::protect<boost::detail::variant::quoted_enable_recursive<boost::variant<T0, > TN> > > >, boost::mpl::identity<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_sequence_based_, typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, > boost::detail::variant::make_variant_list<typename > boost::mpl::eval_if<boost::variant<T0, TN>::is_recursive_, T0_, > boost::mpl::identity<T> >::type, TN ...> >::type> >::type, > boost::mpl::protect<boost::detail::make_reference_content<mpl_::void_> > > >::type> > >::type*) [with T = std::basic_string<char>]': > ./../stout/include/stout/json.hpp:261:30: required from > 'JSON::Value::Value(const T&, typename > boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = > std::basic_string<char>; typename > boost::disable_if<boost::is_arithmetic<From>, int>::type = int]' > src/process.cpp:3525:27: required from here > /build/amd64-usr//usr/include/boost/variant/variant.hpp:1758:5: error: no > type named 'type' in 'struct > boost::enable_if<boost::mpl::and_<boost::mpl::not_<boost::is_same<std::basic_string<char>, > boost::variant<boost::recursive_wrapper<JSON::Null>, > boost::recursive_wrapper<JSON::String>, > boost::recursive_wrapper<JSON::Number>, > boost::recursive_wrapper<JSON::Object>, > boost::recursive_wrapper<JSON::Array>, > boost::recursive_wrapper<JSON::Boolean> > > >, > boost::detail::variant::is_variant_constructible_from<const > std::basic_string<char>&, boost::mpl::l_item<mpl_::long_<6l>, > boost::recursive_wrapper<JSON::Null>, boost::mpl::l_item<mpl_::long_<5l>, > boost::recursive_wrapper<JSON::String>, boost::mpl::l_item<mpl_::long_<4l>, > boost::recursive_wrapper<JSON::Number>, boost::mpl::l_item<mpl_::long_<3l>, > boost::recursive_wrapper<JSON::Object>, boost::mpl::l_item<mpl_::long_<2l>, > boost::recursive_wrapper<JSON::Array>, boost::mpl::l_item<mpl_::long_<1l>, > boost::recursive_wrapper<JSON::Boolean>, boost::mpl::l_end> > > > > > >, > mpl_::bool_<true>, mpl_::bool_<true>, mpl_::bool_<true> >, void>' > In file included from /build/amd64-usr//usr/include/boost/variant.hpp:17:0, > from ./../stout/include/stout/json.hpp:35, > from ./include/process/http.hpp:38, > from ./include/process/event.hpp:19, > from ./include/process/process.hpp:24, > from ./include/process/dispatch.hpp:20, > from ./include/process/deferred.hpp:18, > from ./include/process/defer.hpp:19, > from src/process.cpp:66: > ./../stout/include/stout/json.hpp: In instantiation of > 'JSON::Value::Value(const T&, typename > boost::disable_if<boost::is_arithmetic<From>, int>::type) [with T = > std::basic_string<char>; typename > boost::disable_if<boost::is_arithmetic<From>, int>::type = int]': > src/process.cpp:3525:27: required from here > /build/amd64-usr//usr/include/boost/variant/variant.hpp:1422:5: note: > boost::variant<T0, TN>::variant() [with T0_ = > boost::recursive_wrapper<JSON::Null>; TN = > {boost::recursive_wrapper<JSON::String>, > boost::recursive_wrapper<JSON::Number>, > boost::recursive_wrapper<JSON::Object>, > boost::recursive_wrapper<JSON::Array>, > boost::recursive_wrapper<JSON::Boolean>}] > variant() > ^ > /build/amd64-usr//usr/include/boost/variant/variant.hpp:1422:5: note: > candidate expects 0 arguments, 1 provided > Makefile:1032: recipe for target 'libprocess_la-process.lo' failed > make[5]: *** [libprocess_la-process.lo] Error 1 > make[5]: Leaving directory > '/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty/libprocess' > Makefile:1544: recipe for target 'all-recursive' failed > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory > '/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty/libprocess' > Makefile:770: recipe for target 'all' failed > make[3]: *** [all] Error 2 > make[3]: Leaving directory > '/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty/libprocess' > Makefile:834: recipe for target 'all-recursive' failed > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > '/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty' > Makefile:649: recipe for target 'all' failed > make[1]: *** [all] Error 2 > make[1]: Leaving directory > '/build/amd64-usr/var/tmp/portage/sys-cluster/mesos-1.2.0/work/mesos-1.2.0/3rdparty' > Makefile:764: recipe for target 'all-recursive' failed > make: *** [all-recursive] Error 1 > {code} > More info: > {code} > configure: Build option summary: > CXX: x86_64-pc-linux-gnu-g++ > CXXFLAGS: -O2 -pipe -mtune=generic -g -Wno-unused-local-typedefs > -Wno-maybe-uninitialized -std=c++11 > CPPFLAGS: -I/build/amd64-usr//usr/include/subversion-1 > -I/build/amd64-usr//usr/include -I/build/amd64-usr//usr/include > -I/build/amd64-usr//usr/include/apr-1 -I/build/am > d64-usr//usr/include/apr-1.0 > LDFLAGS: -L/build/amd64-usr//usr/lib -L/build/amd64-usr//usr/lib > -L/build/amd64-usr//usr/lib -L/build/amd64-usr//usr/lib -Wl,-O1 > -Wl,--as-needed > LIBS: -lz -lsvn_delta-1 -lsvn_subr-1 -lsasl2 -lcurl -lapr-1 -lz > -lrt > {code} > {code} > crallen@coreos-dev ~/trunk/src/scripts $ x86_64-pc-linux-gnu-g++ --version > x86_64-pc-linux-gnu-g++ (Gentoo Hardened 4.9.4 p1.0, pie-0.6.4) 4.9.4 > Copyright (C) 2015 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > {code} > {code} > Portage 2.3.3 (python 2.7.12-final-0, > !../../../../mnt/host/source/src/third_party/coreos-overlay/profiles/coreos/amd64/generic, > gcc-4.9.4-vanilla, glibc-2.23-r5, 4.8.0-56-generic x86_64) > ================================================================= > System Settings > ================================================================= > System uname: > Linux-4.8.0-56-generic-x86_64-AMD_FX-tm-4170_Quad-Core_Processor-with-glibc2.2.5 > KiB Mem: 8155700 total, 1568204 free > KiB Swap: 4191228 total, 4191224 free > sh bash 4.3_p48-r1 > ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 > ccache version 3.2.4 [enabled] > app-shells/bash: 4.3_p48-r1::coreos > dev-lang/perl: 5.22.3::portage-stable > dev-lang/python: 2.7.12::portage-stable > dev-util/pkgconfig: 0.28-r1::portage-stable > sys-apps/baselayout: 3.4.0::coreos > sys-apps/sandbox: 2.6-r1::portage-stable > sys-devel/autoconf: 2.13::portage-stable, 2.69::portage-stable > sys-devel/automake: 1.14.1::portage-stable, 1.15::portage-stable > sys-devel/binutils: 2.25.1-r1::portage-stable > sys-devel/gcc: 4.9.4::portage-stable > sys-devel/gcc-config: 1.7.3::portage-stable > sys-devel/libtool: 2.4.6::portage-stable > sys-devel/make: 4.1-r1::portage-stable > sys-kernel/linux-headers: 4.4::portage-stable (virtual/os-headers) > sys-libs/glibc: 2.23-r5::coreos > Repositories: > portage-stable > location: /mnt/host/source/src/third_party/portage-stable > priority: -1000 > coreos > location: /mnt/host/source/src/third_party/metamx > masters: portage-stable > priority: 0 > x-crossdev > location: /usr/local/portage/crossdev > masters: portage-stable coreos > ACCEPT_KEYWORDS="amd64" > ACCEPT_LICENSE="* -@EULA -@CHROMEOS" > CBUILD="x86_64-pc-linux-gnu" > CFLAGS="-O2 -pipe -mtune=generic -g" > CHOST="x86_64-cros-linux-gnu" > CONFIG_PROTECT="/etc/hosts /etc/locale.gen /etc/localtime /etc/make.conf" > CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d > /etc/terminfo" > CXXFLAGS="-O2 -pipe -mtune=generic -g" > DISTDIR="/mnt/host/source/.cache/distfiles" > EMERGE_DEFAULT_OPTS="--oneshot" > FCFLAGS="-O2 -pipe" > FEATURES="assume-digests binpkg-logs buildpkg ccache clean-logs compressdebug > config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox > network-sandbox news nodoc noinfo noman parallel-fetch parallel-install > preserve-libs protect-owned sandbox sfperms splitdebug strict > unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv > usersandbox usersync" > FFLAGS="-O2 -pipe" > GENTOO_MIRRORS=" https://storage.core-os.net/mirror/portage-stable/ > https://storage.core-os.net/mirror/coreos/ http://distfiles.gentoo.org/ " > INSTALL_MASK=" /usr/lib*/*.la /etc/init.d /etc/conf.d > /usr/share/bash-completion /usr/share/gtk-doc /usr/share/locale > /usr/share/zsh /var/db/Makefile /etc/bash_completion.d /etc/dmtab > /etc/e2fsck.conf /etc/lvm/* /etc/logrotate.conf /etc/logrotate.d > /etc/mdadm.conf /etc/rsyncd.conf /etc/sudoers /etc/wgetrc > /etc/xinetd.d /usr/sbin/selinuxenabled /usr/sbin/i2c-stub-from-dump > /usr/lib/modules/*-coreos/source/scripts/*.pl /usr/share/rsync/* > /usr/bin/glib-mkenums /usr/bin/afmtodit /usr/bin/decode-edid > /usr/bin/gtkdoc-rebase /usr/bin/ddcmon /usr/bin/mtrace > /usr/bin/import-tars /usr/bin/help2man /usr/bin/gropdf /usr/bin/mmroff > /usr/bin/decode-dimms /usr/bin/pdfmom /usr/bin/decode-vaio > /etc/ssl/misc/CA.pl /etc/ssl/misc/tsget " > LANG="en_US.UTF-8" > LC_ALL="C" > LDFLAGS="-Wl,-O1 -Wl,--as-needed" > MAKEOPTS="--jobs=1 --load-average=2" > PKGDIR="/build/amd64-usr/var/lib/portage/pkgs" > PORTAGE_BUNZIP2_COMMAND="lbunzip2" > PORTAGE_BZIP2_COMMAND="lbzip2" > PORTAGE_CONFIGROOT="/build/amd64-usr/" > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times > --omit-dir-times --compress --force --whole-file --delete --stats > --human-readable --timeout=180 --exclude=/distfiles --exclude=/local > --exclude=/packages --exclude=/.git" > PORTAGE_TMPDIR="/build/amd64-usr/var/tmp" > USE="acpi amd64 bindist bzip2 cli cros-debug crypt cryptsetup cxx dri gdbm > hardened iconv ipv6 justify modules ncurses nptl pam pcre pie policykit > readline seccomp session ssl ssp symlink-usr systemd udev unicode usb xattr > zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x > ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 > intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" > APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias > auth_basic authn_alias authn_anon authn_dbm authn_default authn_file > authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user > autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env > expires ext_filter file_cache filter headers include info log_config logio > mem_cache mime mime_magic negotiation rewrite setenvif speling status > unique_id userdir usertrack vhost_alias" BOARD_USE="amd64-usr" > CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon > braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap > syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" > GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt > gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore > rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox > ubx" GRUB_PLATFORMS="efi-64 pc xen" INPUT_DEVICES="libinput keyboard mouse" > KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 > mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console > presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" > PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" > PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby21" USERLAND="GNU" > VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" > XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface > geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac > delude chaos account" > Unset: CC, CPPFLAGS, CTARGET, CXX, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, > PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)