[
https://issues.apache.org/jira/browse/MESOS-6310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15576290#comment-15576290
]
Marc Villacorta commented on MESOS-6310:
----------------------------------------
I think {{stout/os/wait.hpp}} should be included in
{{src/slave/containerizer/mesos/launch.cpp}} too.
{code:none}
CXX slave/containerizer/mesos/libmesos_no_3rdparty_la-launch.lo
../../src/slave/containerizer/mesos/launch.cpp: In function 'void
mesos::internal::slave::exitWithSignal(int)':
../../src/slave/containerizer/mesos/launch.cpp:224:44: error: 'W_EXITCODE' was
not declared in this scope
signalSafeWriteStatus(W_EXITCODE(0, sig));
^
../../src/slave/containerizer/mesos/launch.cpp: In function 'void
mesos::internal::slave::exitWithStatus(int)':
../../src/slave/containerizer/mesos/launch.cpp:236:47: error: 'W_EXITCODE' was
not declared in this scope
signalSafeWriteStatus(W_EXITCODE(status, 0));
^
{code}
> Remove or define non-POSIX function
> -----------------------------------
>
> Key: MESOS-6310
> URL: https://issues.apache.org/jira/browse/MESOS-6310
> Project: Mesos
> Issue Type: Improvement
> Components: containerization
> Affects Versions: 1.0.2
> Reporter: Marc Villacorta
> Assignee: Kevin Klues
> Priority: Minor
> Fix For: 1.1.0
>
>
> I was trying to compile Mesos using _musl_ inside Alpine Linux 3.4.
> But this [commit|
> https://github.com/apache/mesos/commit/498d14e934233e4501597b43da3924bfe8b2de20]
> introduced the {{W_EXITCODE()}} macro which is not defined in _musl_ and
> seems to be non-POSIX.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)