[
https://issues.apache.org/jira/browse/MESOS-6213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15509208#comment-15509208
]
Jan Schlicht edited comment on MESOS-6213 at 9/21/16 8:33 AM:
--------------------------------------------------------------
Still fails here. Mesos uses protobuf generated classes that use functions that
have been marked as deprecated beginning with macOS Sierra. Normally this would
result in a warning, but Mesos is compiled with {{-Werror}}, hence the build
will fail.
was (Author: nfnt):
Still fails here. Mesos uses protobuf generated classes that use functions that
have been marked as deprecated beginning with macOS Sierra. Normally this would
result in a warning, but Mesos is compiled with {{-Werror}}, hence the build
will fail. This has been [reported for Protocol
Buffers|https://github.com/google/protobuf/issues/74].
> Build failure on macOS Sierra
> -----------------------------
>
> Key: MESOS-6213
> URL: https://issues.apache.org/jira/browse/MESOS-6213
> Project: Mesos
> Issue Type: Bug
> Components: build
> Reporter: Charles Allen
>
> Building on OSX is giving the following error.
> {code}
> In file included from
> ../3rdparty/protobuf-2.6.1/src/google/protobuf/stubs/atomicops.h:184:
> ../3rdparty/protobuf-2.6.1/src/google/protobuf/stubs/atomicops_internals_macosx.h:173:9:
> error: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first
> deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong()
> from <atomic> instead [-Werror,-Wdeprecated-declarations]
> if (OSAtomicCompareAndSwap64Barrier(
> ^
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libkern/OSAtomicDeprecated.h:645:9:
> note:
> 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated
> here
> bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t
> __newValue,
> ^
> {code}
> Protobuf is not listed as a component so I just set it as {{build}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)