[debian-mysql] Bug#890966: Bug#890966: libmariadb-dev: mysql_config doesn't accept arguments

Otto Kekäläinen otto at debian.org
Sat Aug 4 17:41:41 BST 2018


Control: tags -1 moreinfo

Hello!

You have used an version from experimental that was badly packaged and
not intended for wider use.

Can you please confirm if this issue is present in the latest
libmariadb3 et al in Debian sid?

ke 21. helmik. 2018 klo 15.57 Takuro Ashie (ashie at clear-code.com) kirjoitti:
>
> Package: libmariadb-dev
> Version: 10.3.0-0+exp2
> Severity: normal
>
> /usr/bin/mysql_config doesn't accept arguments.
>
> Expected:
>
>   $ /usr/lib/x86_64-linux-gnu/mysql_config --cflags
>   -I/usr/include/mysql -I/usr/include/mysql/..
>
> Actual:
>
>   $ mysql_config --flags
>   Usage: /usr/lib/x86_64-linux-gnu/mysql_config [OPTIONS]
>   Options:
>           --cflags         [-I/usr/include/mysql -I/usr/include/mysql/.. ]
>           --include        [-I/usr/include/mysql -I/usr/include/mysql/..]
>           --libs           [-L/usr/lib/x86_64-linux-gnu  -lmariadb]
>           --libs_r         [-L/usr/lib/x86_64-linux-gnu  -lmariadb]
>           --plugindir      [/usr/lib/x86_64-linux-gnu/mariadb3/plugin]
>           --socket         [/var/run/mysqld/mysqld.sock]
>           --port           [0]
>           --version        [10.3.0]
>           --libmysqld-libs [-L/usr/lib/x86_64-linux-gnu  -lmysqld -lpthread -lz -lm -ldl -lpcre -lcrypt -laio]
>           --variable=VAR   VAR is one of:
>                   pkgincludedir [/usr/include/mysql]
>                   pkglibdir     [/usr/lib/x86_64-linux-gnu]
>                   plugindir     [/usr/lib/x86_64-linux-gnu/mariadb3/plugin]
>
> It's caused by the wrapper script for the actual mysql_config:
>
>   % cat /usr/bin/mysql_config
>   #!/bin/sh
>   exec /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/$(basename $0)
>
> "$@" should be added to the tail of the command.
>
> Probably #881073 is triggered by the same cause with it.
>
> -- System Information:
> Debian Release: buster/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 4.9.0-5-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages libmariadb-dev depends on:
> ii  libc6        2.26-6
> ii  libmariadb3  10.3.0-0+exp2
> ii  zlib1g-dev   1:1.2.8.dfsg-5
>
> libmariadb-dev recommends no packages.
>
> libmariadb-dev suggests no packages.
>
> -- no debconf information



More information about the pkg-mysql-maint mailing list