Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
3.1.7
-
None
-
None
-
cmake
Description
I maintain the R bindings for mariadb-connector-c. I need to build a version of libmariadbclient for MacOS with only static plugins. This does not work (at least not as documented).
Accoring to the documentation it should be possible to:
cmake .. -DCLIENT_PLUGIN_{PLUGIN_NAME}=[STATIC|DYNAMIC|OFF]
|
However when I try this cmake says the following:
CMake Warning:
|
Manually-specified variables were not used by the project:
|
|
CLIENT_PLUGIN_AUTH_GSSAPI
|
And it still builds the following plugins as shared libraries:
auth_gssapi_client.so client_ed25519.so remote_io.so
|
caching_sha2_password.so mysql_clear_password.so
|
I also noticed that the documentation says that the CMAKE parameter AUTH_GSSAPI_PLUGIN_TYPE was recently renamed to CLIENT_PLUGIN_AUTH_GSSAPI, however the top level CMakeLists.txt still contains some reference to AUTH_GSSAPI_PLUGIN_TYPE, so perhaps that is the problem?
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
I maintain the R bindings for mariadb-connector-c. I need to build a version of libmariadbclient for MacOS with only static plugins. This does not work (at least not as documented).
Accoring to the [documentation|https://mariadb.com/kb/en/configuration-settings-for-building-connectorc/#client-plugins] it should be possible to: {{ cmake .. -DCLIENT_PLUGIN_{PLUGIN_NAME}=[STATIC|DYNAMIC|OFF] }} However when I try this cmake says the following: {{ CMake Warning: Manually-specified variables were not used by the project: CLIENT_PLUGIN_AUTH_GSSAPI }} And it still builds the following plugins as shared libraries: {{ auth_gssapi_client.so client_ed25519.so remote_io.so caching_sha2_password.so mysql_clear_password.so }} I also noticed that the documentation says that the CMAKE parameter AUTH_GSSAPI_PLUGIN_TYPE was recently renamed to CLIENT_PLUGIN_AUTH_GSSAPI, however the top level CMakeLists.txt still contains some reference to AUTH_GSSAPI_PLUGIN_TYPE, so perhaps that is the problem? |
I maintain the R bindings for mariadb-connector-c. I need to build a version of libmariadbclient for MacOS with only static plugins. This does not work (at least not as documented).
Accoring to the [documentation|https://mariadb.com/kb/en/configuration-settings-for-building-connectorc/#client-plugins] it should be possible to: {{cmake .. -DCLIENT_PLUGIN_{PLUGIN_NAME}=[STATIC|DYNAMIC|OFF] }} However when I try this cmake says the following: {{ CMake Warning: Manually-specified variables were not used by the project: CLIENT_PLUGIN_AUTH_GSSAPI}} And it still builds the following plugins as shared libraries: {{auth_gssapi_client.so client_ed25519.so remote_io.so caching_sha2_password.so mysql_clear_password.so}} I also noticed that the documentation says that the CMAKE parameter AUTH_GSSAPI_PLUGIN_TYPE was recently renamed to CLIENT_PLUGIN_AUTH_GSSAPI, however the top level CMakeLists.txt still contains some reference to AUTH_GSSAPI_PLUGIN_TYPE, so perhaps that is the problem? |
Description |
I maintain the R bindings for mariadb-connector-c. I need to build a version of libmariadbclient for MacOS with only static plugins. This does not work (at least not as documented).
Accoring to the [documentation|https://mariadb.com/kb/en/configuration-settings-for-building-connectorc/#client-plugins] it should be possible to: {{cmake .. -DCLIENT_PLUGIN_{PLUGIN_NAME}=[STATIC|DYNAMIC|OFF] }} However when I try this cmake says the following: {{ CMake Warning: Manually-specified variables were not used by the project: CLIENT_PLUGIN_AUTH_GSSAPI}} And it still builds the following plugins as shared libraries: {{auth_gssapi_client.so client_ed25519.so remote_io.so caching_sha2_password.so mysql_clear_password.so}} I also noticed that the documentation says that the CMAKE parameter AUTH_GSSAPI_PLUGIN_TYPE was recently renamed to CLIENT_PLUGIN_AUTH_GSSAPI, however the top level CMakeLists.txt still contains some reference to AUTH_GSSAPI_PLUGIN_TYPE, so perhaps that is the problem? |
I maintain the R bindings for mariadb-connector-c. I need to build a version of libmariadbclient for MacOS with only static plugins. This does not work (at least not as documented).
Accoring to the [documentation|https://mariadb.com/kb/en/configuration-settings-for-building-connectorc/#client-plugins] it should be possible to: {noformat} cmake .. -DCLIENT_PLUGIN_{PLUGIN_NAME}=[STATIC|DYNAMIC|OFF] {noformat} However when I try this cmake says the following: {noformat} CMake Warning: Manually-specified variables were not used by the project: CLIENT_PLUGIN_AUTH_GSSAPI}} {noformat} And it still builds the following plugins as shared libraries: {noformat} auth_gssapi_client.so client_ed25519.so remote_io.so caching_sha2_password.so mysql_clear_password.so {noformat} I also noticed that the documentation says that the CMAKE parameter AUTH_GSSAPI_PLUGIN_TYPE was recently renamed to CLIENT_PLUGIN_AUTH_GSSAPI, however the top level CMakeLists.txt still contains some reference to AUTH_GSSAPI_PLUGIN_TYPE, so perhaps that is the problem? |
Description |
I maintain the R bindings for mariadb-connector-c. I need to build a version of libmariadbclient for MacOS with only static plugins. This does not work (at least not as documented).
Accoring to the [documentation|https://mariadb.com/kb/en/configuration-settings-for-building-connectorc/#client-plugins] it should be possible to: {noformat} cmake .. -DCLIENT_PLUGIN_{PLUGIN_NAME}=[STATIC|DYNAMIC|OFF] {noformat} However when I try this cmake says the following: {noformat} CMake Warning: Manually-specified variables were not used by the project: CLIENT_PLUGIN_AUTH_GSSAPI}} {noformat} And it still builds the following plugins as shared libraries: {noformat} auth_gssapi_client.so client_ed25519.so remote_io.so caching_sha2_password.so mysql_clear_password.so {noformat} I also noticed that the documentation says that the CMAKE parameter AUTH_GSSAPI_PLUGIN_TYPE was recently renamed to CLIENT_PLUGIN_AUTH_GSSAPI, however the top level CMakeLists.txt still contains some reference to AUTH_GSSAPI_PLUGIN_TYPE, so perhaps that is the problem? |
I maintain the R bindings for mariadb-connector-c. I need to build a version of libmariadbclient for MacOS with only static plugins. This does not work (at least not as documented).
Accoring to the [documentation|https://mariadb.com/kb/en/configuration-settings-for-building-connectorc/#client-plugins] it should be possible to: {noformat} cmake .. -DCLIENT_PLUGIN_{PLUGIN_NAME}=[STATIC|DYNAMIC|OFF] {noformat} However when I try this cmake says the following: {noformat} CMake Warning: Manually-specified variables were not used by the project: CLIENT_PLUGIN_AUTH_GSSAPI {noformat} And it still builds the following plugins as shared libraries: {noformat} auth_gssapi_client.so client_ed25519.so remote_io.so caching_sha2_password.so mysql_clear_password.so {noformat} I also noticed that the documentation says that the CMAKE parameter AUTH_GSSAPI_PLUGIN_TYPE was recently renamed to CLIENT_PLUGIN_AUTH_GSSAPI, however the top level CMakeLists.txt still contains some reference to AUTH_GSSAPI_PLUGIN_TYPE, so perhaps that is the problem? |
Summary | Plugin for AUTH_GSSAPI cannot be built statically as documented | AUTH plugins cannot be built statically as documented |
Status | Open [ 1 ] | In Progress [ 3 ] |
issue.field.resolutiondate | 2020-03-15 15:12:45.0 | 2020-03-15 15:12:45.622 |
Fix Version/s | 3.1.8 [ 24230 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Comment | [ Hmm that doesn't seem to work on MacOS. Here is the full build log: https://pastebin.com/raw/YPwCzaqz ] |
Workflow | MariaDB connectors [ 104861 ] | MariaDB v4 [ 161204 ] |
Fixed in rev fbf1db627030b49e2c2f30d3c21baebd3b68ffc3