Hi

this build failure is caused by mismatching versions of libpq-dev
and postgresql used in the build. 

This is still problem in current sid:

postgresql is 9.5 while libpq-dev is 9.6

Possible ways to address it:

- make postgresql packaging consistent

- do not use pg_config to figure out binary path

- Build-Depend on specific version (postgresql-9.6)

As the last choice is least intrusive, I will probably NMU it  unless
there will be some objections. See attached diff.

-- 
        Michal Čihař | https://cihar.com/ | https://weblate.org/
From 81850b0fc5c6f46206aba2563b1c79f2ee2856e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= <ni...@debian.org>
Date: Tue, 20 Sep 2016 14:23:52 +0200
Subject: [PATCH 1/1] Adjust build dependency to avoid failure

* Adjust build dependency to avoid failure due to different
  version of libpg-dev and postgresql packages (Closes: #837280).
* Non-maintainer upload.
---
 debian/changelog | 8 ++++++++
 debian/control   | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c09aece..bcc0121 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+libdbi-drivers (0.9.0-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Adjust build dependency to avoid failure due to different
+    version of libpg-dev and postgresql packages (Closes: #837280).
+
+ -- Michal Čihař <ni...@debian.org>  Tue, 20 Sep 2016 14:22:30 +0200
+
 libdbi-drivers (0.9.0-4) unstable; urgency=medium
 
   * dbd_sqlite3: resolve a stack buffer overflow (closes: #824067).
diff --git a/debian/control b/debian/control
index 4d90275..4346bde 100644
--- a/debian/control
+++ b/debian/control
@@ -19,8 +19,8 @@ Build-Depends: automake,
                mysql-client (>= 5.5),
                mysql-server (>= 5.5),
                openjade,
-               postgresql,
-               postgresql-client
+               postgresql-9.6,
+               postgresql-client-9.6
 Standards-Version: 3.9.8
 Vcs-Git: git://anonscm.debian.org/collab-maint/libdbi-drivers.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/libdbi-drivers.git
-- 
2.9.3

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to