Package: poco
Version: 1.8.0.1-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu bionic ubuntu-patch

Dear maintainers,

The latest version of poco is failing to build in Ubuntu, because it
build-depends on default-libmysqlclient-dev but is incompatible with the
current libmysqlclient-dev package, and Ubuntu's "default mysql" is MySQL
rather than MariaDB.

The attached patch has been uploaded to Ubuntu to fix the build by using
mariadb directly, since that is the implementation that poco is compatible
with.

The purpose of mysql-defaults is precisely to support derivatives making a
different choice for "default" mysql implementation, so if a package is not
compatible with both, it should depend directly on the one that it supports.

Please consider applying this patch in Debian.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru poco-1.8.0.1/debian/control poco-1.8.0.1/debian/control
--- poco-1.8.0.1/debian/control 2017-11-11 10:58:56.000000000 -0800
+++ poco-1.8.0.1/debian/control 2018-02-04 22:09:19.000000000 -0800
@@ -5,7 +5,7 @@
 Build-Depends: debhelper (>= 10),
                cmake,
                libexpat1-dev,
-               default-libmysqlclient-dev,
+               libmariadbclient-dev-compat,
                libpcre3-dev,
                libsqlite3-dev,
                libssl-dev,
@@ -20,7 +20,7 @@
 Package: libpoco-dev
 Section: libdevel
 Architecture: any
-Depends: ${misc:Depends}, libpococrypto50 (= ${binary:Version}), libpocodata50 
(= ${binary:Version}), libpocofoundation50 (= ${binary:Version}), libpocojson50 
(= ${binary:Version}), libpocodatamysql50 (= ${binary:Version}), 
libpocomongodb50 (= ${binary:Version}), libpoconet50 (= ${binary:Version}), 
libpoconetssl50 (= ${binary:Version}), libpocodataodbc50 (= ${binary:Version}), 
libpocodatasqlite50 (= ${binary:Version}), libpocoredis50 (= 
${binary:Version}), libpocoutil50 (= ${binary:Version}), libpocoxml50 (= 
${binary:Version}), libpocozip50 (= ${binary:Version}), libexpat1-dev, 
default-libmysqlclient-dev, libpcre3-dev, libsqlite3-dev, libssl-dev, zlib1g-dev
+Depends: ${misc:Depends}, libpococrypto50 (= ${binary:Version}), libpocodata50 
(= ${binary:Version}), libpocofoundation50 (= ${binary:Version}), libpocojson50 
(= ${binary:Version}), libpocodatamysql50 (= ${binary:Version}), 
libpocomongodb50 (= ${binary:Version}), libpoconet50 (= ${binary:Version}), 
libpoconetssl50 (= ${binary:Version}), libpocodataodbc50 (= ${binary:Version}), 
libpocodatasqlite50 (= ${binary:Version}), libpocoredis50 (= 
${binary:Version}), libpocoutil50 (= ${binary:Version}), libpocoxml50 (= 
${binary:Version}), libpocozip50 (= ${binary:Version}), libexpat1-dev, 
libmariadbclient-dev-compat, libpcre3-dev, libsqlite3-dev, libssl-dev, 
zlib1g-dev
 Description: C++ Portable Components (POCO) Development files
  The POCO C++ Libraries are a collection of open source C++ class libraries
  that simplify and accelerate the development of network-centric, portable

Reply via email to