You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Till Toenshoff (JIRA)" <ji...@apache.org> on 2014/05/21 11:00:50 UTC
[jira] [Created] (MESOS-1402) Compilation failure on head due to
missing open argument
Till Toenshoff created MESOS-1402:
-------------------------------------
Summary: Compilation failure on head due to missing open argument
Key: MESOS-1402
URL: https://issues.apache.org/jira/browse/MESOS-1402
Project: Mesos
Issue Type: Bug
Components: build, master
Affects Versions: 0.19.0
Reporter: Till Toenshoff
{noformat}In function ‘int open(const char*, int, ...)’,
inlined from ‘int mesos::internal::slave::execute(const mesos::CommandInfo&, const string&, const os::ExecEnv&, uid_t, gid_t, bool, int, int, const std::list<Option<mesos::CommandInfo> >&)’ at ../../src/slave/containerizer/mesos_containerizer.cpp:446:71:{noformat}
{noformat}In function ‘int open(const char*, int, ...)’,
inlined from ‘int mesos::internal::slave::execute(const mesos::CommandInfo&, const string&, const os::ExecEnv&, uid_t, gid_t, bool, int, int, const std::list<Option<mesos::CommandInfo> >&)’ at ../../src/slave/containerizer/mesos_containerizer.cpp:430:71:
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:50:26: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
__open_missing_mode ();{noformat}
GIT blame identifies commit b669ee97 at fault.
A fix would add e.g.
{noformat}, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)