Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-23564

CMAKE failing due to deprecated Apple GSS method

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.1, 10.2, 10.3, 10.4, 10.5
    • Fix Version/s: 10.2.35, 10.3.26, 10.4.16, 10.5.7
    • Component/s: libmariadb
    • Labels:
      None
    • Environment:
      Mac OS X is Catalina 10.15.6 and XCode Tools 11.6.
      GDB 9.2, GCC (Apple CLang) 11.0.3

      Description

      I followed the steps outlined here:
      https://mariadb.org/get-involved/getting-started-for-developers/get-code-build-test/

      /mariadb/server/libmariadb/plugins/auth/gssapi_client.c:72:12: error: 'gss_import_name' is deprecated: use GSS.framework [-Werror,-Wdeprecated-declarations]
         major= gss_import_name(&minor, &principal_name_buf, GSS_C_NT_USER_NAME, &service_name);
                ^
      /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/gssapi/gssapi.h:591:19: note: 'gss_import_name' has been explicitly marked deprecated here
         gss_name_t *) GSSKRB_APPLE_DEPRECATED("use GSS.framework") __API_DEPRECATED("Use GSS.framework", macos(10.0, 10.8)) __API_UNAVAILABLE(macCatalyst); /* output_name */
                       ^
      /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/gssapi/gssapi.h:57:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
      #define GSSKRB_APPLE_DEPRECATED(x) __attribute__((deprecated(x)))
      

        Attachments

          Activity

            People

            Assignee:
            shulga Dmitry Shulga
            Reporter:
            rodfsouza Rodrigo Souza
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: