[jira] [Created] (MESOS-5523) ValueError: A 0.7-series setuptools cannot be installed with distribute. Found one at /usr/lib/python2.7/dist-packages
Vinson Lee created MESOS-5523: - Summary: ValueError: A 0.7-series setuptools cannot be installed with distribute. Found one at /usr/lib/python2.7/dist-packages Key: MESOS-5523 URL: https://issues.apache.org/jira/browse/MESOS-5523 Project: Mesos Issue Type: Bug Components: build Environment: Ubuntu 16.04 Reporter: Vinson Lee {noformat} $ make [...] Building protobuf Python egg ... cd ../3rdparty/libprocess/3rdparty/protobuf-2.5.0/python && \ CC="gcc" \ CXX="g++" \ CFLAGS="-g1 -O0 -Wno-unused-local-typedefs" \ CXXFLAGS="-g1 -O0 -Wno-unused-local-typedefs -std=c++11" \ PYTHONPATH=build/3rdparty/distribute-0.6.26 \ /usr/bin/python setup.py build bdist_egg Traceback (most recent call last): File "setup.py", line 11, in from setuptools import setup, Extension File "build/3rdparty/distribute-0.6.26/setuptools/__init__.py", line 2, in from setuptools.extension import Extension, Library File "build/3rdparty/distribute-0.6.26/setuptools/extension.py", line 5, in from setuptools.dist import _get_unpatched File "build/3rdparty/distribute-0.6.26/setuptools/dist.py", line 6, in from setuptools.command.install import install File "build/3rdparty/distribute-0.6.26/setuptools/command/__init__.py", line 8, in from setuptools.command import install_scripts File "build/3rdparty/distribute-0.6.26/setuptools/command/install_scripts.py", line 3, in from pkg_resources import Distribution, PathMetadata, ensure_directory File "build/3rdparty/distribute-0.6.26/pkg_resources.py", line 2731, in add_activation_listener(lambda dist: dist.activate()) File "build/3rdparty/distribute-0.6.26/pkg_resources.py", line 704, in subscribe callback(dist) File "build/3rdparty/distribute-0.6.26/pkg_resources.py", line 2731, in add_activation_listener(lambda dist: dist.activate()) File "build/3rdparty/distribute-0.6.26/pkg_resources.py", line 2231, in activate self.insert_on(path) File "build/3rdparty/distribute-0.6.26/pkg_resources.py", line 2332, in insert_on "with distribute. Found one at %s" % str(self.location)) ValueError: A 0.7-series setuptools cannot be installed with distribute. Found one at /usr/lib/python2.7/dist-packages Makefile:10277: recipe for target '../3rdparty/libprocess/3rdparty/protobuf-2.5.0/python/dist/protobuf-2.5.0-py2.7.egg' failed make[2]: *** [../3rdparty/libprocess/3rdparty/protobuf-2.5.0/python/dist/protobuf-2.5.0-py2.7.egg] Error 1 make[2]: Leaving directory 'build/src' Makefile:2805: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory 'build/src' Makefile:731: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (MESOS-2049) 3rdparty/boost-1.53.0/boost/circular_buffer/base.hpp:2090:21: error: destination for this 'memset' call is a pointer to class containing a dynamic class 'ExecutorInfo'; v
Vinson Lee created MESOS-2049: - Summary: 3rdparty/boost-1.53.0/boost/circular_buffer/base.hpp:2090:21: error: destination for this 'memset' call is a pointer to class containing a dynamic class 'ExecutorInfo'; vtable pointer will be overwritten [-Werror,-Wdynamic-class-memaccess] Key: MESOS-2049 URL: https://issues.apache.org/jira/browse/MESOS-2049 Project: Mesos Issue Type: Bug Components: build Environment: Ubuntu 14.10 clang 3.5 Reporter: Vinson Lee Priority: Blocker libtool: compile: clang++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"0.22.0\" "-DPACKAGE_STRING=\"mesos 0.22.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"0.22.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_LIBCURL=1 -DHAVE_LIBAPR_1=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBSASL2=1 -DMESOS_HAS_JAVA=1 -DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -I. -I../../src -Wall -Werror -DLIBDIR=\"/usr/local/lib\" -DPKGLIBEXECDIR=\"/usr/local/libexec/mesos\" -DPKGDATADIR=\"/usr/local/share/mesos\" -I../../include -I../../3rdparty/libprocess/include -I../../3rdparty/libprocess/3rdparty/stout/include -I../include -I../include/mesos -I../3rdparty/libprocess/3rdparty/boost-1.53.0 -I../3rdparty/libprocess/3rdparty/picojson-4f93734 -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src -I../3rdparty/leveldb/include -I../3rdparty/zookeeper-3.4.5/src/c/include -I../3rdparty/zookeeper-3.4.5/src/c/generated -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src -I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/apr-1.0 -pthread -g1 -O0 -std=c++11 -MT local/libmesos_no_3rdparty_la-local.lo -MD -MP -MF local/.deps/libmesos_no_3rdparty_la-local.Tpo -c ../../src/local/local.cpp -fPIC -DPIC -o local/.libs/libmesos_no_3rdparty_la-local.o In file included from ../../src/local/local.cpp:47: In file included from ../../src/master/hierarchical_allocator_process.hpp:39: In file included from ../../src/master/master.hpp:28: In file included from ../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/circular_buffer.hpp:65: ../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/circular_buffer/base.hpp:2090:21: error: destination for this 'memset' call is a pointer to class containing a dynamic class 'ExecutorInfo'; vtable pointer will be overwritten [-Werror,-Wdynamic-class-memaccess] std::memset(p, cb_details::UNINITIALIZED, sizeof(value_type) * n); ~~~ ^ ../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/circular_buffer/base.hpp:2177:18: note: in instantiation of member function 'boost::circular_buffer >::allocate' requested here m_buff = allocate(buffer_capacity); ^ ../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/circular_buffer/base.hpp:1018:9: note: in instantiation of member function 'boost::circular_buffer >::initialize_buffer' requested here initialize_buffer(buffer_capacity); ^ ../../src/slave/monitor.hpp:99:7: note: in instantiation of member function 'boost::circular_buffer >::circular_buffer' requested here archive(MONITORING_ARCHIVED_TIME_SERIES) {} ^ ../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/circular_buffer/base.hpp:2090:21: note: explicitly cast the pointer to silence this warning std::memset(p, cb_details::UNINITIALIZED, sizeof(value_type) * n); ^ (void*) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (MESOS-1772) ./include/process/future.hpp(274): error: no instance of overloaded function "process::Future::onReady
Vinson Lee created MESOS-1772: - Summary: ./include/process/future.hpp(274): error: no instance of overloaded function "process::Future::onReady Key: MESOS-1772 URL: https://issues.apache.org/jira/browse/MESOS-1772 Project: Mesos Issue Type: Bug Components: build Reporter: Vinson Lee Priority: Blocker build error with Intel C Compiler {noformat} libtool: compile: /opt/intel/bin/icpc -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/libev-4.15 -I3rdparty/picojson-4f93734 -I3rdparty/glog-0.3.3/src -I3rdparty/ry-http-parser-1c3624a -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 ./include/process/future.hpp(274): error: no instance of overloaded function "process::Future::onReady [with T=std::string]" matches the argument list argument types are: (std::_Bind::*)(const std::string &)> (process::Future, std::_Placeholder<1>)>, process::Future::Prefer) return onReady(std::forward(f), Prefer()); ^ detected during: instantiation of "const process::Future &process::Future::onReady(F &&) const [with T=std::string, F=std::_Bind::*)(const std::string &)> (process::Future, std::_Placeholder<1>)>]" at line 777 instantiation of "bool process::Promise::associate(const process::Future &) [with T=std::string]" at line 1435 instantiation of "void process::internal::thenf(const std::shared_ptr> &, const std::function (const T &)> &, const process::Future &) [with T=Nothing, X=std::basic_string, std::allocator>]" at line 1508 instantiation of "process::Future process::Future::then(const std::function (const T &)> &) const [with T=Nothing, X=std::basic_string, std::allocator>]" at line 355 instantiation of "process::Future process::Future::then(F &&, process::Future::Prefer) const [with T=Nothing, F=std::_Bind (*(int))(int)>, X=std::basic_string, std::allocator>]" at line 369 instantiation of "auto process::Future::then(F &&) const->decltype(()) [with T=Nothing, F=std::_Bind (*(int))(int)>]" at line 160 of "src/http.cpp" {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MESOS-1208) 3rdparty/libprocess/3rdparty/boost-1.53.0/boost/math/special_functions/sign.hpp:113:55: error: typedef 'fp_tag' locally defined but not used [-Werror=unused-local-typed
[ https://issues.apache.org/jira/browse/MESOS-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14064101#comment-14064101 ] Vinson Lee commented on MESOS-1208: --- Build still broken with recent commit 049aed3c9c19405dade552f762b2741935223a16 "Added a low level scheduler example using pthread.". > 3rdparty/libprocess/3rdparty/boost-1.53.0/boost/math/special_functions/sign.hpp:113:55: > error: typedef 'fp_tag' locally defined but not used > [-Werror=unused-local-typedefs] > > > Key: MESOS-1208 > URL: https://issues.apache.org/jira/browse/MESOS-1208 > Project: Mesos > Issue Type: Bug > Components: build > Environment: {noformat} > $ gcc --version > gcc (GCC) 4.9.0 20140411 (Red Hat 4.9.0-0.10) > Copyright (C) 2014 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. > {noformat} >Reporter: Vinson Lee >Priority: Blocker > > {noformat} > /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"mesos\" > -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"0.19.0\" > -DPACKAGE_STRING=\"mesos\ 0.19.0\" -DPACKAGE_BUGREPORT=\"\" > -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"0.19.0\" -DSTDC_HEADERS=1 > -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 > -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 > -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 > -DMESOS_HAS_JAVA=1 -DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -DHAVE_LIBZ=1 > -DHAVE_LIBCURL=1 -DHAVE_LIBSASL2=1 -I. -Wall -Werror > -DLIBDIR=\"/usr/local/lib\" -DPKGLIBEXECDIR=\"/usr/local/libexec/mesos\" > -DPKGDATADIR=\"/usr/local/share/mesos\" -I../include > -I../3rdparty/libprocess/include > -I../3rdparty/libprocess/3rdparty/stout/include -I../include > -I../3rdparty/libprocess/3rdparty/boost-1.53.0 > -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src > -I../3rdparty/libprocess/3rdparty/picojson-4f93734 > -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src > -I../3rdparty/leveldb/include -I../3rdparty/zookeeper-3.4.5/src/c/include > -I../3rdparty/zookeeper-3.4.5/src/c/generated -pthread -g -g2 -O2 -std=c++11 > -MT sasl/libmesos_no_3rdparty_la-auxprop.lo -MD -MP -MF > sasl/.deps/libmesos_no_3rdparty_la-auxprop.Tpo -c -o > sasl/libmesos_no_3rdparty_la-auxprop.lo `test -f 'sasl/auxprop.cpp' || echo > './'`sasl/auxprop.cpp > libtool: compile: g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" > -DPACKAGE_VERSION=\"0.19.0\" "-DPACKAGE_STRING=\"mesos 0.19.0\"" > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" > -DVERSION=\"0.19.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 > -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 > -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 > -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DMESOS_HAS_JAVA=1 > -DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -DHAVE_LIBZ=1 -DHAVE_LIBCURL=1 > -DHAVE_LIBSASL2=1 -I. -Wall -Werror -DLIBDIR=\"/usr/local/lib\" > -DPKGLIBEXECDIR=\"/usr/local/libexec/mesos\" > -DPKGDATADIR=\"/usr/local/share/mesos\" -I../include > -I../3rdparty/libprocess/include > -I../3rdparty/libprocess/3rdparty/stout/include -I../include > -I../3rdparty/libprocess/3rdparty/boost-1.53.0 > -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src > -I../3rdparty/libprocess/3rdparty/picojson-4f93734 > -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src > -I../3rdparty/leveldb/include -I../3rdparty/zookeeper-3.4.5/src/c/include > -I../3rdparty/zookeeper-3.4.5/src/c/generated -pthread -g -g2 -O2 -std=c++11 > -MT sasl/libmesos_no_3rdparty_la-auxprop.lo -MD -MP -MF > sasl/.deps/libmesos_no_3rdparty_la-auxprop.Tpo -c sasl/auxprop.cpp -fPIC > -DPIC -o sasl/.libs/libmesos_no_3rdparty_la-auxprop.o > In file included from > ../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/lexical_cast.hpp:167:0, > from > ../3rdparty/libprocess/3rdparty/stout/include/stout/numify.hpp:19, > from > ../3rdparty/libprocess/3rdparty/stout/include/stout/bytes.hpp:24, > from > ../3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp:55, > from > ../3rdparty/libprocess/3rdparty/stout/include/stout/flags/flags.hpp:30, > from > ../3rdparty/libprocess/3rdparty/stout/include/stout/flags.hpp:17, > from ./logging/flags.hpp:24, > from ./logging/logging.hpp:26, > from sasl/auxprop.cpp:1: > ../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/math/s