mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Conway (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-3734) Incorrect sed syntax for Mac OSX
Date Wed, 14 Oct 2015 18:15:06 GMT

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

Neil Conway commented on MESOS-3734:
------------------------------------

https://reviews.apache.org/r/39323/

> Incorrect sed syntax for Mac OSX
> --------------------------------
>
>                 Key: MESOS-3734
>                 URL: https://issues.apache.org/jira/browse/MESOS-3734
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Neil Conway
>            Priority: Blocker
>
> The build currently fails on OSX:
> {noformat}
> ../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
> {noformat}
> This is because the sed command uses the wrong syntax for OSX: you need {code}sed -i
""{code} to instruct sed to not use a backup file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message