[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#769984: unblock: serf/1.3.7-3



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package serf

As per an Ubuntu bug[0] libserf-dev's serf-1.pc has incorrect paths for
includedir/libdir and therefore reports bad information out of
pkg-config.  This didn't happen to have a direct effect in Debian since
the subversion build (its only reverse dependency) gets proper paths by
other means, but as it can break user builds I'd like to get the fix
unblocked.

[0]: https://bugs.launchpad.net/ubuntu/+source/serf/+bug/1388271

$ debdiff serf_1.3.7-2.dsc serf_1.3.7-3.dsc
diffstat for serf_1.3.7-2 serf_1.3.7-3

 changelog |    7 +++++++
 rules     |    2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff -u serf-1.3.7/debian/changelog serf-1.3.7/debian/changelog
--- serf-1.3.7/debian/changelog
+++ serf-1.3.7/debian/changelog
@@ -1,3 +1,10 @@
+serf (1.3.7-3) unstable; urgency=medium
+
+  * Specify the proper prefix/libdir when building libserf-1.pc.
+    (Closes: LP: #1388271)
+
+ -- James McCoy <jamessan@debian.org>  Mon, 17 Nov 2014 21:12:38 -0500
+
 serf (1.3.7-2) unstable; urgency=medium
 
   * debian/control:
diff -u serf-1.3.7/debian/rules serf-1.3.7/debian/rules
--- serf-1.3.7/debian/rules
+++ serf-1.3.7/debian/rules
@@ -25,7 +25,7 @@
 debian/stamp-build: patch
 	dh_testdir
 
-	scons $(parallel) GSSAPI=/usr CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LINKFLAGS="$(LDFLAGS)"
+	scons $(parallel) GSSAPI=/usr CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LINKFLAGS="$(LDFLAGS)" PREFIX=/usr LIBDIR=$(libdir)
 ifeq (, $(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	scons check
 endif

$ diff -u libserf-dev_1.3.7-{2,3}/usr/lib/x86_64-linux-gnu/pkgconfig/serf-1.pc
--- libserf-dev_1.3.7-2/usr/lib/x86_64-linux-gnu/pkgconfig/serf-1.pc	2014-11-09 14:13:12.000000000 -0500
+++ libserf-dev_1.3.7-3/usr/lib/x86_64-linux-gnu/pkgconfig/serf-1.pc	2014-11-17 20:18:46.000000000 -0500
@@ -1,7 +1,7 @@
 SERF_MAJOR_VERSION=1
-prefix=/usr/local
+prefix=/usr
 exec_prefix=${prefix}
-libdir=/usr/local/lib
+libdir=/usr/lib/x86_64-linux-gnu
 includedir=${prefix}/include/serf-1
 
 Name: serf

unblock serf/1.3.7-3

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


Reply to: