On Tue, 01 Apr 2014 15:37:09 +0300, Otto Kekäläinen wrote: > > 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. > Yes, your right, it isn't possible. Actually what would be needed is > to have two separate source packages which are almost identical, > except for the client library soname. Would you by any chance feel > like you would like to maintain an extra libdbd-mariadb-perl package?
This doesn't sounds very attractive, for various reasons, as others have pointed out already. And I think it doesn't scale for Debian as a whole; DBD::mysql is just one of the reverse build dependencies: % reverse-depends -b libmysqlclient-dev|grep -c \* 125 Are there experiences with the other 124 packages or plans for them? Duplicating all of them is probably not the best way forward. I don't know enough about MySQL and MariaDB and I don't pretend to have a solution; but from my naïve point of view either of (1) picking on them, or (2) making them coexist in peace would sound better than the current situation, as far as I understand it. > > (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 ...) > Both packages should probably co-exist for a long time. They should > probably break/replace each other. The filenames are the same inside > the -perl package, so they cannot be co-installable. The libs > libmysqlclient18 and libmariadbclient18 are co-installable, as the > filenames are different, but at the moment the equivalent -dev > packages conflict, as those share same paths and filenames. This is > actually getting more and more complex as I think about it. :) Would it be possible for libmariadbclient-dev to install its files into /usr/include/mariadb/ etc. instead of /usr/include/mysql/ ? > Anyway, > MariaDB is now in Debian side-by-side with MySQL. Feel free to design > a way to use it, you might have a better take on this challenge than > what I do, at least for the moment. While we can find a solution for our nice little perl package(s), I think this needs to be clarified at a higher level first. Otherwise we end up with tons of home-grown ad hoc solutions ... Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Van Morrison: Bright Side Of The Road
signature.asc
Description: Digital Signature