Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1001843: libmariadb-dev: mariadb_config reports incorrect plugin directory

79 views
Skip to first unread message

Akira Miyakoda

unread,
Dec 17, 2021, 11:30:04 AM12/17/21
to
Package: libmariadb-dev
Version: 1:10.5.12-1+b1
Severity: normal
X-Debbugs-Cc: akira.m...@gmail.com

Dear Maintainer,

Since Debian 11 or Ubuntu 21.10, the command 'mariadb_config --plugin' returns '/usr/lib/arm-linux-gnueabihf/libmariadb3/plugin' which doesn't work. MariaDB server doesn't load the plugins installed in the directory. I
think it should be '/usr/lib/mysql/plugin/'.
The same issue occurs on x86_64 systems too.

It returned the correct directory on Debian 10 or Ubuntu 20.04 as far as I tried.

Thanks, Akira.

-- System Information:
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
Architecture: armv7l

Kernel: Linux 5.10.63-v7l+ (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=locale: Cannot set LC_ALL to default locale: No such file or directory
UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libmariadb-dev depends on:
ii libc6 2.31-13+rpt2+rpi1
ii libmariadb3 1:10.5.12-1+b1
ii libssl-dev 1.1.1k-1+deb11u1
ii zlib1g-dev 1:1.2.11.dfsg-2

libmariadb-dev recommends no packages.

libmariadb-dev suggests no packages.

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "en_AU.UTF-8",
LC_MONETARY = "en_AU.UTF-8",
LC_ADDRESS = "en_AU.UTF-8",
LC_TELEPHONE = "en_AU.UTF-8",
LC_NAME = "en_AU.UTF-8",
LC_MEASUREMENT = "en_AU.UTF-8",
LC_IDENTIFICATION = "en_AU.UTF-8",
LC_NUMERIC = "en_AU.UTF-8",
LC_PAPER = "en_AU.UTF-8",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").
locale: Cannot set LC_ALL to default locale: No such file or directory

Faustin Lammler

unread,
Jan 20, 2022, 6:40:04 AM1/20/22
to
Hi Akira!

With Debian 10, the path is /usr/lib/x86_64-linux-gnu/mariadb19/plugin,
see bellow:
| ~$ podman run -it debian:10 bash -c "apt-get update && apt-get install -y libmariadb-dev && mariadb_config --plugin"
| ...
| /usr/lib/x86_64-linux-gnu/mariadb19/plugin
|
| ~$ podman run -it debian:11 bash -c "apt-get update && apt-get install -y libmariadb-dev && mariadb_config --plugin"
| ...
| /usr/lib/x86_64-linux-gnu/libmariadb3/plugin

You may be confusing with the mysql_config script? See also
https://jira.mariadb.org/browse/MDEV-13836.

The man page is quite clear about this behavior:
| NAME
| mysql_config - get compile options for compiling clients
|
| • --plugindir
|
| The default plugin directory path name, defined when configuring MariaDB.

Also, please note that /usr/lib/mysql/plugin/ does not exist if you only
install libmariadb-dev.

| ~$ podman run -it debian:11 bash -c "apt-get update && apt-get install -y libmariadb-dev && ls /usr/lib/mysql/plugin/"
| ...
| ls: cannot access '/usr/lib/mysql/plugin/': No such file or directory

If you think this is still problematic, please report it upstream
(jira.mariadb.org).

Thanks!

--
Faustin
signature.asc

Otto Kekäläinen

unread,
May 22, 2022, 7:40:03 PM5/22/22
to
Control: tags -1 moreinfo

Hello Akira!

Was https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001843 already
solved for you?

Faustin Lammler

unread,
Sep 6, 2022, 10:00:35 AM9/6/22
to
Without more information from reporter we will have to close this bug
report.

Regards,

--
Faustin
signature.asc

Faustin Lammler

unread,
Sep 6, 2022, 10:11:36 AM9/6/22
to
tags -1 moreinfo
signature.asc

Otto Kekäläinen

unread,
Mar 7, 2023, 2:40:05 AM3/7/23
to
Hi!

Latest version of MariaDB in Debian unstable/testing/Bookworm is
10.11.2. You might want to consider testing it.

If you want to contribute in the open source way to fix this or any
other issue, see
https://salsa.debian.org/mariadb-team/mariadb-server/-/wikis/Contributing-to-MariaDB-packaging-in-Debian
on how to submit a Merge Request!


If you have time to help, please consider these (in order of importance):

1. Review current open MRs at
https://salsa.debian.org/mariadb-team/mariadb-server/-/merge_requests

2. Review items highlighted by Debian QA systems (Lintian, builds etc)
and submit a fix to improve the quality:
https://tracker.debian.org/pkg/mariadb

3. Review what testing we have at
https://salsa.debian.org/mariadb-team/mariadb-server/-/pipelines and
think about potential gaps - CI is very important as it is the only
way we can prevent regressions in a scalable way

4. Review/follow-up on existing bugs that currently need more
information: https://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&src=mariadb&src=mariadb-10.6&src=mariadb-10.5&src=mariadb-10.3&src=mariadb-10.1

MariaDB and C++ skills are useful, but not required. For example
reviewing the NEWS for 10.11 requires no coding skills:
https://salsa.debian.org/mariadb-team/mariadb-server/-/merge_requests/37


My request for help from debian-devel in
https://lists.debian.org/debian-devel/2023/02/msg00272.html did not
get many responses, so the future of this package depends on how
active the users and people who previously reported bugs are in
participating in the maintenance of the package.

- Otto
0 new messages