Details

    Description

      clang --version
      Apple LLVM version 10.0.0 (clang-1000.10.44.4)
      Target: x86_64-apple-darwin18.5.0
      Thread model: posix
      InstalledDir: /Library/Developer/CommandLineTools/usr/bin
      

      There are lots of errors when i build on OSX 10.14.4

      /Users/varun/MariaDB/10.2/libmariadb/plugins/auth/gssapi_errmsg.c:55:20: error: 'gss_display_status' is deprecated: use GSS.framework
            [-Werror,-Wdeprecated-declarations]
            maj_status = gss_display_status(
                         ^
      /usr/include/gssapi/gssapi.h:560:19: note: 'gss_display_status' has been explicitly marked deprecated here
          gss_buffer_t) GSSKRB_APPLE_DEPRECATED("use GSS.framework");      /* status_string */
                        ^
      /usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
      #define GSSKRB_APPLE_DEPRECATED(x) __attribute__((deprecated(x)))
                                                        ^
      /Users/varun/MariaDB/10.2/libmariadb/plugins/auth/gssapi_errmsg.c:74:7: error: 'gss_release_buffer' is deprecated: use GSS.framework
            [-Werror,-Wdeprecated-declarations]
      

      /Users/varun/MariaDB/10.2/mysys/stacktrace.c:160:21: error: 'sbrk' is deprecated [-Werror,-Wdeprecated-declarations]
        heap_end= (char*) sbrk(0);
                          ^
      /usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here
      __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
      ^
      /usr/include/sys/cdefs.h:176:37: note: expanded from macro '__deprecated'
      #define __deprecated    __attribute__((deprecated))
      

      /Users/varun/MariaDB/10.2/mysys/my_sync.c:136:19: error: unused variable 'cur_dir_name' [-Werror,-Wunused-const-variable]
      static const char cur_dir_name[]= {FN_CURLIB, 0};
                        ^
      

      /Users/varun/MariaDB/10.2/mysys/my_lock.c:184:7: error: incompatible function pointer types assigning to 'sig_return' (aka 'void (*)(void)')
            from 'void (*)(int)' [-Werror,-Wincompatible-function-pointer-types]
            ALARM_INIT;
            ^~~~~~~~~~
      /Users/varun/MariaDB/10.2/include/my_alarm.h:36:16: note: expanded from macro 'ALARM_INIT'
                              alarm_signal=signal(SIGALRM,my_set_alarm_variable);
                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/varun/MariaDB/10.2/mysys/my_lock.c:190:7: error: incompatible function pointer types passing 'sig_return' (aka 'void (*)(void)') to
            parameter of type 'void (*)(int)' [-Werror,-Wincompatible-function-pointer-types]
            ALARM_END;
            ^~~~~~~~~
      /Users/varun/MariaDB/10.2/include/my_alarm.h:37:41: note: expanded from macro 'ALARM_END'
      #define ALARM_END       (void) signal(SIGALRM,alarm_signal); \
                                                    ^~~~~~~~~~~~
      /usr/include/sys/signal.h:390:27: note: passing argument to parameter here
      void    (*signal(int, void (*)(int)))(int);
                                   ^
      

      Attachments

        Issue Links

          Activity

            sergei.krivonos Sergei Krivonos (Inactive) added a comment - https://github.com/MariaDB/server/commit/122736e5ba2a394e463f4ebacda6e0b971eef34c
            sergei.krivonos Sergei Krivonos (Inactive) added a comment - https://github.com/MariaDB/server/commit/7d6617e966c02a08c36d86ac5ae4be70fe0f93e9

            After it been fixed, some commits made it broken again. In order to stick this result we need to add Mac mini to buildbot.
            dbart, whom from Helpdesk team could we add to this thread?
            Thanks.

            sergei.krivonos Sergei Krivonos (Inactive) added a comment - After it been fixed, some commits made it broken again. In order to stick this result we need to add Mac mini to buildbot. dbart , whom from Helpdesk team could we add to this thread? Thanks.

            ralf.gebhardt@mariadb.com and serg: What are your thoughts on acquiring a new Mac Mini for buildbot? I could host it at my location or we could put one into the Sofia datacenter.

            dbart Daniel Bartholomew added a comment - ralf.gebhardt@mariadb.com and serg : What are your thoughts on acquiring a new Mac Mini for buildbot? I could host it at my location or we could put one into the Sofia datacenter.
            sergei.krivonos Sergei Krivonos (Inactive) added a comment - It only should take to add cmake option https://cmake.org/cmake/help/latest/cpack_gen/dmg.html

            People

              sergei.krivonos Sergei Krivonos (Inactive)
              varun Varun Gupta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.