tag 732512 patch
user ubuntu-de...@lists.ubuntu.com
usertags 732512 origin-ubuntu ubuntu-patch trusty
thanks

Christoph Berg [2013-12-18 13:29 +0100]:
> (Do you really need to B-D on -server-dev, are you building a server
> module? For client apps talking to the database, libpq-dev would be
> the correct dependency.)

Indeed. I see nothing in slurm-llnl which would use the server-side
bits, only #include <libpq-fe.h>. Also, it uses the pg_config from
$PATH which is for the client-side library only. Thus the -server-dev
build dependency is overzealous and misleading; it builds fine with
just libpq-dev.

debdiff attached (as uploaded to current Ubuntu).

Thanks for considering,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -Nru slurm-llnl-2.5.7/debian/changelog slurm-llnl-2.5.7/debian/changelog
--- slurm-llnl-2.5.7/debian/changelog   2013-10-23 10:32:58.000000000 +0200
+++ slurm-llnl-2.5.7/debian/changelog   2014-01-20 17:59:34.000000000 +0100
@@ -1,3 +1,10 @@
+slurm-llnl (2.5.7-1ubuntu1) trusty; urgency=medium
+
+  * Replace obsolete and overzealous postgresql-server-dev-9.1 build
+    dependency with libpq-dev. (Closes: #732512)
+
+ -- Martin Pitt <martin.p...@ubuntu.com>  Mon, 20 Jan 2014 17:58:54 +0100
+
 slurm-llnl (2.5.7-1build1) trusty; urgency=low
 
   * Rebuild for Perl 5.18.
diff -Nru slurm-llnl-2.5.7/debian/control slurm-llnl-2.5.7/debian/control
--- slurm-llnl-2.5.7/debian/control     2013-06-08 17:47:53.000000000 +0200
+++ slurm-llnl-2.5.7/debian/control     2014-01-20 17:58:43.000000000 +0100
@@ -2,7 +2,7 @@
 Section: admin
 Priority: extra
 Maintainer: Gennaro Oliva <oliv...@na.icar.cnr.it>
-Build-Depends: debhelper (>= 7.0.0), autotools-dev, libmunge-dev, 
libncurses5-dev, libssl-dev, po-debconf, python, libglade2-dev, libgtk2.0-dev, 
libmysqlclient-dev, postgresql-server-dev-9.1,  libpam0g-dev, libperl-dev, 
chrpath, libpam0g-dev
+Build-Depends: debhelper (>= 7.0.0), autotools-dev, libmunge-dev, 
libncurses5-dev, libssl-dev, po-debconf, python, libglade2-dev, libgtk2.0-dev, 
libmysqlclient-dev, libpq-dev, libpam0g-dev, libperl-dev, chrpath, libpam0g-dev
 Standards-Version: 3.9.4
 Homepage: http://www.schedmd.com
 

Attachment: signature.asc
Description: Digital signature

Reply via email to