You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Vinod Kone (JIRA)" <ji...@apache.org> on 2013/03/13 20:18:13 UTC

[jira] [Commented] (MESOS-388) Latest update breaks building on OSX

    [ https://issues.apache.org/jira/browse/MESOS-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13601518#comment-13601518 ] 

Vinod Kone commented on MESOS-388:
----------------------------------

https://reviews.apache.org/r/9907/
                
> Latest update breaks building on OSX
> ------------------------------------
>
>                 Key: MESOS-388
>                 URL: https://issues.apache.org/jira/browse/MESOS-388
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Thomas Marshall
>            Assignee: Vinod Kone
>
> After pulling and running make check on OSX Mountain Lion, I get the following error:
> g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"0.13.0\" -DPACKAGE_STRING=\"mesos\ 0.13.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"0.13.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 -DMESOS_HAS_PYTHON=1 -DHAVE_LIBZ=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSSL=1 -DHAVE_LIBCURL=1 -I. -I../../src   -Wall -Werror -DMESOS_WEBUI_DIR=\"/usr/local/share/mesos/webui\" -DMESOS_LIBEXECDIR=\"/usr/local/libexec/mesos\" -I../../include -I../../third_party/libprocess/include -I../../third_party/libprocess/third_party/stout/include -I../include -I../third_party/libprocess/third_party/boost-1.53.0 -I../third_party/libprocess/third_party/protobuf-2.4.1/src -I../third_party/libprocess/third_party/glog-0.3.1/src -I../third_party/zookeeper-3.3.4/src/c/include -I../third_party/zookeeper-3.3.4/src/c/generated -DSOURCE_DIR=\"/Users/thomas/mesos/build/..\" -DBUILD_DIR=\"/Users/thomas/mesos/build\" -I../third_party/libprocess/third_party/gmock-1.6.0/gtest/include -I../third_party/libprocess/third_party/gmock-1.6.0/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home/include/darwin -DZOOKEEPER_VERSION=\"3.3.4\"  -D_THREAD_SAFE   -MT tests/mesos_tests-slave_recovery_tests.o -MD -MP -MF tests/.deps/mesos_tests-slave_recovery_tests.Tpo -c -o tests/mesos_tests-slave_recovery_tests.o `test -f 'tests/slave_recovery_tests.cpp' || echo '../../src/'`tests/slave_recovery_tests.cpp
> In file included from ../../src/tests/slave_recovery_tests.cpp:46:
> ../../src/slave/cgroups_isolation_module.hpp: In member function ‘std::string mesos::internal::slave::CgroupsIsolationModule::CgroupInfo::name() const’:
> ../../src/slave/cgroups_isolation_module.hpp:155: error: ‘const class mesos::internal::slave::Flags’ has no member named ‘cgroups_root’
> make[3]: *** [tests/mesos_tests-slave_recovery_tests.o] Error 1
> make[2]: *** [check-am] Error 2
> make[1]: *** [check] Error 2
> make: *** [check-recursive] Error 1
> mesos::internal::slave::Flags::cgroups_root is only present on linux, so either we need some alternative for it on non-linux systems (we were previously using "mesos" as the value here) or we need not compile CgroupsIsolationhModule on non-linux systems.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira