Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3030

Build failure on OS 10.11 using Xcode 7.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.24.2, 0.25.1, 0.26.0
    • None
    • None
    • OS 10.11 Beta (15A215h), Apple LLVM version 7.0.0 (clang-700.0.57.2)

    Description

      When trying to build Mesos (recent master) on OS X El Capitan (public beta 1) with apple's clang distribution via Xcode 7 (beta 3) the following warnings trigger build failures;

      Boost: unused-local-typedef
      ../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/tuple/detail/tuple_basic.hpp:228:31: error: unused typedef 'cons_element' [-Werror,-Wunused-local-typedef]
        typedef typename impl::type cons_element;
      
      CyrusSASL2: deprecated-declarations
      distcc[57619] ERROR: compile /Users/till/.ccache/tmp/authentica.stdout.lobomacpro2.fritz.box.48363.0QJikQ.ii on localhost failed
      ../../src/authentication/cram_md5/authenticatee.cpp:75:7: error: 'sasl_dispose' is deprecated: first deprecated in OS X 10.11 [-Werror,-Wdeprecated-declarations]
            sasl_dispose(&connection);
            ^
      /usr/include/sasl/sasl.h:746:13: note: 'sasl_dispose' has been explicitly marked deprecated here
      extern void sasl_dispose(sasl_conn_t **pconn) __attribute__((availability(macosx,introduced=10.0,deprecated=10.11)));
                  ^
      

      A simple workaround is disabling those warnings for now;

      export CXXFLAGS="-Wno-unused-local-typedef -Wno-deprecated-declarations"
      export CCFLAGS="-Wno-unused-local-typedef -Wno-deprecated-declarations"
      

      Attachments

        Activity

          People

            tillt Till Toenshoff
            tillt Till Toenshoff
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: