On Mon, Mar 04, 2013 at 10:24:30PM +0200, Otto Kekäläinen wrote: > Hello, > > 2013/3/4 Rene Engelhard <r...@debian.org>: > > [ I am not the maintainer of libdbd-mysql-perl .. ] > > > > On Mon, Mar 04, 2013 at 08:15:40PM +0200, Otto Kekäläinen wrote: > >> The attached patch would insert the dependency like: > >> libmariadbclient-dev | libmysqlclient-dev > > > > TTBOMK sbuld (at least the one used at the debian buildds) > > only consider the first alternative - and this is correct to ensure > > reliable builds. > > You are right, the resulting binary package will have only > "libmariadbclient18 (>= 5.5.1-1)" and no pipe operator and alternative > option. We can't touch the source file dependencies is this case, but
True, but this is not my point. > What is the correct way to insert "libmariadbclient18 (>= 5.5.1-1) | > libmysqlclient18 (>= 5.5.1-1)" in there? This is not a good idea I think... If libmariadbclient18 had a lib named "libmysqlclient.so.18" (which the "compat" to libmysqlclient18 suggests, it still shouldn't be called so imho). Anyway: you _completely_ missed my point. sbuild (read: debian buildds) will only take the *first alternative* of build-depends and if that doesn't work fail. Thius your suggested libmariadbclient-dev | libmysqlclient-dev will *NOT* work. Regards, Rene -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org