[Debian-iot-maintainers] Bug#876714: glewlwyd: don't build-depend on default-libmysqlclient-dev + libhoel-dev

Steve Langasek steve.langasek at canonical.com
Fri Sep 22 07:28:23 UTC 2017

Package: glewlwyd
Version: 1.1-2
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu artful ubuntu-patch

Hi Thomas,

Your glewlwyd package has been FTBFS in Ubuntu because it build-depends on
both default-libmyslqclient-dev and libhoel-dev.  libhoel-dev depends on
libmariadbclient-dev; mysql-defaults in Ubuntu points at libmysqlclient-dev,
which conflicts with libmariadbclient-dev.

If you know that libhoel-dev will always pull in the appropriate set of
mysql client headers, it may be best to just drop this build-dependency
completely so that you don't have to hard-code the dependency in both
places.  Otherwise, the attached patch makes glewlwyd portable to
derivatives whose mysql-defaults does not point at mariadb.

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/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru glewlwyd-1.1/debian/control glewlwyd-1.1/debian/control
--- glewlwyd-1.1/debian/control	2017-08-16 11:39:01.000000000 -0700
+++ glewlwyd-1.1/debian/control	2017-09-22 00:23:46.000000000 -0700
@@ -8,7 +8,7 @@
 	, libcurl4-gnutls-dev
 	, uuid-dev
 	, libldap2-dev
-	, default-libmysqlclient-dev
+	, libmariadbclient-dev
 	, libsqlite3-dev
 	, libconfig-dev
 	, libgnutls28-dev

More information about the Debian-iot-maintainers mailing list