You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jan Schlicht (JIRA)" <ji...@apache.org> on 2016/06/16 11:39:05 UTC
[jira] [Created] (MESOS-5624) In-place builds fail with CMake
Jan Schlicht created MESOS-5624:
-----------------------------------
Summary: In-place builds fail with CMake
Key: MESOS-5624
URL: https://issues.apache.org/jira/browse/MESOS-5624
Project: Mesos
Issue Type: Bug
Components: cmake
Reporter: Jan Schlicht
Assignee: Jan Schlicht
In a cloned mesos repository, running
{noformat}
./bootstrap && mkdir build && cd build && cmake .. && make
{noformat}
works, while
{noformat}
./boostrap && cmake . && make
{noformat}
will fail to compile with the following error:
{noformat}
Building CXX object src/CMakeFiles/mesos-1.0.0.dir/slave/containerizer/mesos/provisioner/appc/store.cpp.o
cd /mnt/mesos/mesos/src && /usr/bin/c++ -DBUILD_DATE="\"2016-3-3 10:20\"" -DBUILD_FLAGS=\"\" -DBUILD_JAVA_JVM_LIBRARY=\"\" -DBUILD_TIME=\"1111100\" -DBUILD_USER=\"frank\" -DHAS_AUTHENTICATION=1 -DLIBDIR=\"/usr/local/libmesos\" -DPICOJSON_USE_INT64 -DPKGDATADIR=\"/usr/local/share/mesos\" -DPKGLIBEXECDIR=\"/usr/local/libexec/mesos\" -DUSE_STATIC_LIB -DVERSION=\"1.0.0\" -D__STDC_FORMAT_MACROS -std=c++11 -g -I/mnt/mesos/mesos/include -I/mnt/mesos/mesos/include/mesos -I/mnt/mesos/mesos/src -I/mnt/mesos/mesos/3rdparty/stout/include -I/usr/include/apr-1.0 -I/mnt/mesos/mesos/3rdparty/boost-1.53.0/src/boost-1.53.0 -I/mnt/mesos/mesos/3rdparty/glog-0.3.3/src/glog-0.3.3-lib/lib/include -I/mnt/mesos/mesos/3rdparty/picojson-1.3.0/src/picojson-1.3.0 -I/mnt/mesos/mesos/3rdparty/protobuf-2.6.1/src/protobuf-2.6.1-lib/lib/include -I/usr/include/subversion-1 -I/mnt/mesos/mesos/src/src -I/mnt/mesos/mesos/3rdparty/libprocess/include -I/mnt/mesos/mesos/3rdparty/http_parser-2.6.2/src/http_parser-2.6.2 -I/mnt/mesos/mesos/3rdparty/libev-4.22/src/libev-4.22 -I/mnt/mesos/mesos/3rdparty/zookeeper-3.4.8/src/zookeeper-3.4.8/src/c/include -I/mnt/mesos/mesos/3rdparty/zookeeper-3.4.8/src/zookeeper-3.4.8/src/c/generated -I/mnt/mesos/mesos/3rdparty/leveldb-1.4/src/leveldb-1.4/include -o CMakeFiles/mesos-1.0.0.dir/slave/containerizer/mesos/provisioner/appc/store.cpp.o -c /mnt/mesos/mesos/src/slave/containerizer/mesos/provisioner/appc/store.cpp
/mnt/mesos/mesos/src/slave/containerizer/mesos/provisioner/appc/store.cpp: In static member function 'static Try<process::Owned<mesos::internal::slave::Store> > mesos::internal::slave::appc::Store::create(const mesos::internal::slave::Flags&)':
/mnt/mesos/mesos/src/slave/containerizer/mesos/provisioner/appc/store.cpp:119:46: error: 'mesos::uri::fetcher' has not been declared
Try<Owned<uri::Fetcher>> uriFetcher = uri::fetcher::create();
^
make[2]: *** [src/CMakeFiles/mesos-1.0.0.dir/slave/containerizer/mesos/provisioner/appc/store.cpp.o] Error 1
make[2]: Leaving directory `/mnt/mesos/mesos'
make[1]: *** [src/CMakeFiles/mesos-1.0.0.dir/all] Error 2
make[1]: Leaving directory `/mnt/mesos/mesos'
make: *** [all] Error 2
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)