You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Klaus Ma (JIRA)" <ji...@apache.org> on 2016/10/07 06:43:20 UTC

[jira] [Created] (MESOS-6326) Build failed on Mac

Klaus Ma created MESOS-6326:
-------------------------------

             Summary: Build failed on Mac
                 Key: MESOS-6326
                 URL: https://issues.apache.org/jira/browse/MESOS-6326
             Project: Mesos
          Issue Type: Bug
    Affects Versions: 1.0.1
            Reporter: Klaus Ma
            Priority: Minor


Built Mesos 1.0.1 failed on Mac:

{{uname -a}}: Darwin Klauss-MacBook-Pro.local 16.0.0 Darwin Kernel Version 16.0.0: Mon Aug 29 17:56:20 PDT 2016; root:xnu-3789.1.32~3/RELEASE_X86_64 x86_64

{code}
In file included from ../../src/appc/spec.cpp:19:
In file included from ../../3rdparty/stout/include/stout/protobuf.hpp:31:
In file included from ../3rdparty/protobuf-2.6.1/src/google/protobuf/repeated_field.h:58:
In file included from ../3rdparty/protobuf-2.6.1/src/google/protobuf/generated_message_util.h:44:
In file included from ../3rdparty/protobuf-2.6.1/src/google/protobuf/stubs/once.h:81:
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:164:10: error: 'OSAtomicAdd64Barrier' is deprecated:
      first deprecated in macOS 10.12 - Use std::atomic_fetch_add() from <atomic> instead [-Werror,-Wdeprecated-declarations]
  return OSAtomicAdd64Barrier(increment,
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libkern/OSAtomicDeprecated.h:247:9: note:
      'OSAtomicAdd64Barrier' has been explicitly marked deprecated here
int64_t OSAtomicAdd64Barrier( int64_t __theAmount,
        ^
In file included from ../../src/appc/spec.cpp:19:
In file included from ../../3rdparty/stout/include/stout/protobuf.hpp:31:
In file included from ../3rdparty/protobuf-2.6.1/src/google/protobuf/repeated_field.h:58:
In file included from ../3rdparty/protobuf-2.6.1/src/google/protobuf/generated_message_util.h:44:
In file included from ../3rdparty/protobuf-2.6.1/src/google/protobuf/stubs/once.h:81:
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,
        ^
12 errors generated.
make[2]: *** [appc/libmesos_no_3rdparty_la-spec.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
{code}



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