← Back to team overview

maria-developers team mailing list archive

Building from source failing on Mac OS X complaining of librarymariadb

 

Hello all,

I’m a newbie, trying to familiarize myself with the source code, however, once I followed the steps outlined here https://mariadb.org/get-involved/getting-started-for-developers/get-code-build-test/ <https://mariadb.org/get-involved/getting-started-for-developers/get-code-build-test/> to build the server on Mac OS X, currently the MAKE fails on me complaining about a deprecated GSSAPI.h as follows:

/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)))

My Mac OS X is Catalina 10.15.6 and XCode Tools 11.6.

Have you guys ever had this kind of issue trying to build on Mac OS?


Thank you,
Rodrigo Souza