Build fail in mariadb on fedora 40
Dr. David Alan Gilbert
dave at treblig.org
Fri May 17 13:47:47 UTC 2024
Hi,
I'm getting:
workdir/UnpackedTarball/mariadb-connector-c/libmariadb/ma_client_plugin.c:87:207: error: initialization of ‘struct st_mysql_client_plugin *’ from incompatible pointer type ‘struct st_mysql_client_plugin_AUTHENTICATION *’ [-Wincompatible-pointer-types]
87 | (struct st_mysql_client_plugin *)&pvio_socket_client_plugin, (struct st_mysql_client_plugin *)&caching_sha2_password_client_plugin, (struct st_mysql_client_plugin *)&mysql_native_password_client_plugin, (struct st_mysql_client_plugin_AUTHENTICATION *)&auth_gssapi_client_client_plugin,
| ^
/discs/fast/core/workdir/UnpackedTarball/mariadb-connector-c/libmariadb/ma_client_plugin.c:87:207: note: (near initialization for ‘mysql_client_builtins[3]’)
make[1]: *** [/discs/fast/core/solenv/gbuild/LinkTarget.mk:366: /discs/fast/core/workdir/GenCObject/UnpackedTarball/mariadb-connector-c/libmariadb/ma_client_plugin.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:294: build] Error 2
Host: Fedora 40, x86-64
configured with:
./configure --srcdir=/discs/fast/core --enable-option-checking=fatal --enable-debug
using --with-system-mariadb fixed it.
I originally filed this as:
https://bugs.documentfoundation.org/show_bug.cgi?id=161141
However Ilmari pointed out that being a build bug it should be
here.
See the bug for my config.log.
(cc'ing Julien since I see they did some stuff around there.)
Dave
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
More information about the LibreOffice
mailing list