Build fail in mariadb on fedora 40

Julien Nabet serval2412 at yahoo.fr
Fri May 17 20:32:10 UTC 2024


On 17/05/2024 15:47, Dr. David Alan Gilbert wrote:
> 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.

Hello David,

Sorry, I don't  know why you encounter this :-(

If it can help, here's the content of my autogen.input:

CC=clang
CXX=clang++
--enable-ld=lld
--enable-online-update
--enable-dbgutil
--enable-evolution2
--enable-gtk4
--enable-qt5
--enable-kf5
--enable-gtk3-kde5
--enable-skia=debug
--enable-ext-nlpsolver
--enable-ext-numbertext
--enable-ext-wiki-publisher
--enable-dbus
--enable-werror
--enable-dependency-tracking
--enable-python=fully-internal
--without-system-mariadb
--enable-bundle-mariadb
--enable-symbols
--enable-avahi
--enable-eot
--enable-odk
--with-lang=en-US de es fr hu it ja nl pt pt-BR ru nb nn
--with-myspell-dicts

Julien



More information about the LibreOffice mailing list