Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
Mesosphere Sprint 21
-
2
Description
The build currently fails on OSX:
../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src/protoc -I../../mesos/include/mesos/containerizer \ -I../../mesos/include -I../../mesos/src \ --python_out=python/interface/src/mesos/interface ../../mesos/include/mesos/containerizer/containerizer.proto ../../mesos/install-sh -c -d python/interface/src/mesos/v1/interface sed -i 's/mesos\.mesos_pb2/mesos_pb2/' python/interface/src/mesos/interface/containerizer_pb2.py sed: 1: "python/interface/src/me ...": extra characters at the end of p command make[1]: *** [python/interface/src/mesos/interface/containerizer_pb2.py] Error 1
This is because the sed command uses the wrong syntax for OSX: you need
sed -i ""
to instruct sed to not use a backup file.