[debian-mysql] Bug#917266: Bug#917266: Bug#917266: default-libmysqlclient-dev: Uninstallable - depends on no longer built libmariadbclient-dev-compat
Otto Kekäläinen
otto at debian.org
Wed Jan 23 19:45:47 GMT 2019
Hello!
ke 23. tammik. 2019 klo 19.49 Scott Kitterman (debian at kitterman.com) kirjoitti:
>
> On Wednesday, January 23, 2019 05:32:49 PM Otto Kekäläinen wrote:
> > > Can't you just use dh_link to add a symlink?
> >
> > I am re-evaluating this fix and considering to revert it. The problem
> > with Postfix was that it did not find /usr/include/mysql/mysql.h and
> > we added a symlink in libmariadb-dev to fix it.
> >
> > However, this symlink already existed in libmariadb-dev-compat, and
> > default-mysqlclient-dev depends on libmariadb-dev-compat, so Postfix
> > should have found it. I wonder why that package was not correctly
> > installed at Postfix's build time.
>
> Maybe I fixed it in the wrong place. According to p.d.o [1], it doesn't have
> that (and I don't recall finding it anywhere).
>
> I'm not wedded to any particular solution, I just wanted to be able to get
> postfix to build.
>
> Scott K
>
>
> [1] https://packages.debian.org/sid/amd64/libmariadb-dev-compat/filelist
The link above lists:
/usr/include/mysql
Which is a symbolic link to directory /usr/include/mariadb/, which in
turn includes mysql.h and all the other build time files.
I am just puzzled why the Postfix build did not pull in
libmariadb-dev-compat, since it does have as a build dependency
default-libmysqlclient-dev, which points to libmariadb-dev-compat...
>From https://bugs.debian.org/cgi-bin/bugreport.cgi?att=3;bug=917266;filename=mariadb-connector-c.txt;msg=15
:
------------------------------------------------
libmariadb-dev
drwxr-xr-x ./
drwxr-xr-x ./usr/
drwxr-xr-x ./usr/bin/
-rwxr-xr-x ./usr/bin/mariadb_config
drwxr-xr-x ./usr/include/
drwxr-xr-x ./usr/include/mariadb/
-rw-r--r-- ./usr/include/mariadb/errmsg.h
-rw-r--r-- ./usr/include/mariadb/ma_list.h
-rw-r--r-- ./usr/include/mariadb/ma_pvio.h
-rw-r--r-- ./usr/include/mariadb/ma_tls.h
drwxr-xr-x ./usr/include/mariadb/mariadb/
-rw-r--r-- ./usr/include/mariadb/mariadb/ma_io.h
-rw-r--r-- ./usr/include/mariadb/mariadb_com.h
-rw-r--r-- ./usr/include/mariadb/mariadb_ctype.h
-rw-r--r-- ./usr/include/mariadb/mariadb_dyncol.h
-rw-r--r-- ./usr/include/mariadb/mariadb_stmt.h
-rw-r--r-- ./usr/include/mariadb/mariadb_version.h
drwxr-xr-x ./usr/include/mariadb/mysql/
-rw-r--r-- ./usr/include/mariadb/mysql/client_plugin.h
-rw-r--r-- ./usr/include/mariadb/mysql/plugin_auth.h
-rw-r--r-- ./usr/include/mariadb/mysql/plugin_auth_common.h
-rw-r--r-- ./usr/include/mariadb/mysql.h
-rw-r--r-- ./usr/include/mariadb/mysqld_error.h
drwxr-xr-x ./usr/lib/
drwxr-xr-x ./usr/lib/x86_64-linux-gnu/
-rw-r--r-- ./usr/lib/x86_64-linux-gnu/libmariadb.a
drwxr-xr-x ./usr/lib/x86_64-linux-gnu/pkgconfig/
-rw-r--r-- ./usr/lib/x86_64-linux-gnu/pkgconfig/libmariadb.pc
drwxr-xr-x ./usr/share/
drwxr-xr-x ./usr/share/doc/
drwxr-xr-x ./usr/share/doc/libmariadb-dev/
-rw-r--r-- ./usr/share/doc/libmariadb-dev/changelog.Debian.gz
-rw-r--r-- ./usr/share/doc/libmariadb-dev/copyright
drwxr-xr-x ./usr/share/man/
drwxr-xr-x ./usr/share/man/man1/
-rw-r--r-- ./usr/share/man/man1/mariadb_config.1.gz
lrwxrwxrwx ./usr/lib/x86_64-linux-gnu/libmariadb.so
------------------------------------------------
libmariadb-dev-compat
drwxr-xr-x ./
drwxr-xr-x ./usr/
drwxr-xr-x ./usr/bin/
drwxr-xr-x ./usr/include/
drwxr-xr-x ./usr/lib/
drwxr-xr-x ./usr/lib/x86_64-linux-gnu/
drwxr-xr-x ./usr/share/
drwxr-xr-x ./usr/share/doc/
drwxr-xr-x ./usr/share/doc/libmariadb-dev-compat/
-rw-r--r-- ./usr/share/doc/libmariadb-dev-compat/changelog.Debian.gz
-rw-r--r-- ./usr/share/doc/libmariadb-dev-compat/copyright
drwxr-xr-x ./usr/share/man/
drwxr-xr-x ./usr/share/man/man1/
lrwxrwxrwx ./usr/bin/mysql_config
lrwxrwxrwx ./usr/include/mysql
lrwxrwxrwx ./usr/lib/x86_64-linux-gnu/libmysqlclient.a
lrwxrwxrwx ./usr/lib/x86_64-linux-gnu/libmysqlclient.so
lrwxrwxrwx ./usr/lib/x86_64-linux-gnu/libmysqlclient_r.a
lrwxrwxrwx ./usr/lib/x86_64-linux-gnu/libmysqlclient_r.so
lrwxrwxrwx ./usr/share/man/man1/mysql_config.1.gz
More information about the pkg-mysql-maint
mailing list