Source: redis
Version: 2.4.14-1
Severity: important
Tags: patch

Dear Maintainer,

redis-server packages are not available on kfreebsd-amd64 (and also
kfreebsd-i386 and hurd-i386) because a package listed as a dependency,
libjemalloc-dev, is not available.

It turns out that the absence of libjemalloc-dev is handled just fine
during the build of redis (by using the system malloc instead), but
the Build-Depends line was never updated to note that this was the case.

The attached patch makes libjemalloc-dev not a build dependency on
non-linux architectures, which seem to be the same ones for which jemalloc
does not build.

While it might be possible to make jemalloc work on these other kernels,
this appears to be the shortest path to a working redis package.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.0-2-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

diff -Nru redis-2.4.14/debian/changelog redis-2.4.14/debian/changelog
--- redis-2.4.14/debian/changelog       2012-06-08 11:21:51.000000000 -0500
+++ redis-2.4.14/debian/changelog       2012-12-23 18:08:34.000000000 -0600
@@ -1,3 +1,12 @@
+redis (2:2.4.14-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Enable building on kfreebsd-amd64 (and possibly kfreebsd-i386 and
+    hurd-i386) by not depending on 'jemalloc' which would not be used
+    anyway
+
+ -- Jeff Epler <jepler@localhost>  Sun, 23 Dec 2012 18:07:16 -0600
+
 redis (2:2.4.14-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru redis-2.4.14/debian/control redis-2.4.14/debian/control
--- redis-2.4.14/debian/control 2012-06-08 11:21:51.000000000 -0500
+++ redis-2.4.14/debian/control 2012-12-23 18:10:52.000000000 -0600
@@ -2,7 +2,7 @@
 Section: database
 Priority: optional
 Maintainer: Chris Lamb <la...@debian.org>
-Build-Depends: debhelper (>= 7.0.50), libjemalloc-dev
+Build-Depends: debhelper (>= 7.0.50), libjemalloc-dev [linux-any]
 Standards-Version: 3.9.2
 Homepage: http://redis.io/
 Vcs-Git: git://github.com/lamby/pkg-redis.git


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to