Bug#702280: Add alternative (build-)dependency: libmariadbclient-dev

Russ Allbery rra at debian.org
Tue Apr 1 18:21:54 UTC 2014


gregor herrmann <gregoa at debian.org> writes:
> On Tue, 01 Apr 2014 14:58:31 +0300, Otto Kekäläinen wrote:

>> MariaDB 5.5 is now in Debian testing, and there is the pacakge
>> libmariadbclient18 that includes a sofile with the same name. Could you
>> consider changing the source package so that it would build two
>> versions, libdbd-mysql-perl and libdbd-mariadb-perl, with the latter
>> one using -lmariadbclient18 (libmariadbclient18.so, from package
>> libmariadbclient18)?

> I might be missing something, but this still seems impossible. In order
> to build both flavours, we'd need to build-depend on both
> libmariadbclient-dev and libmysqlclient-dev, but libmariadbclient-dev
> still seems to have a "Breaks: libmysqlclient-dev" which makes the two
> packages not co-installable.

This is because Maria and MySQL haven't done what MIT Kerberos and Heimdal
did to allow the -dev packages to be coinstallable.  If we're going to
keep both in the archive for a while, I strongly encourage that.  See the
libkrb5-multidev and heimdal-multidev packages.

> (Besides that we'd have to think if we want to name the binary package
> libdbd-mariadb-perl and/or if we want to make some more changes to it
> and/or if it should Conflict/Break libdbd-mysql-perl etc. But that's for
> later ...)

Unfortunately, the Perl modules are going to have to conflict with each
other unless you rename the module, which you almost certainly don't want
to do.  Coinstallability is a harder problem for Perl modules.  (I'm
actually working on writing a brand new Perl module for Kerberos bindings
in part to be able to address this issue upstream.)

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>



More information about the pkg-perl-maintainers mailing list