[debian-mysql] Bug#909181: libmariadb-dev: does not depend on zlib1g-dev, while mariadb_config reports `-lz`

Michael Prokop mika at debian.org
Wed Sep 19 10:50:57 BST 2018


Package: libmariadb-dev
Version: 1:3.0.6-1
Severity: serious

Hi,

libmariadb-dev on Debian/stretch behaved like that:

  % mariadb_config --libs
  -L/usr/lib/x86_64-linux-gnu -lmariadb

while libmariadb-dev on (current, as of 2018-09-19)
Debian/buster behaves like that:

  % mariadb_config --libs
  -L/usr/lib/x86_64-linux-gnu/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto

But libmariadb-dev does NOT depend on zlib1g-dev:

  % apt-cache show libmariadb-dev | grep Depends
  Depends: libmariadb3 (= 1:3.0.6-1), libc6 (>= 2.3.4)

That means projects depending on libmariadb-dev will stop building,
if they don't have zlib1g-dev in their Build-Depends already.

Possible solutions:

1) hide those new depends (-lz ...) again
2) add relevant library/libraries to Depends

The first option is probably preferable, because it looks like those
are implementation details, and they should not leak into transitive
dependers.

regards,
-mika-



More information about the pkg-mysql-maint mailing list