Package: jq
Severity: important
Tags: patch

Dear Maintainer,

I'm trying to get jq building on armhf and armel as this is blocking
the entry of jq into testing.  I've created a couple of emulated
debootstrapped environments using the instructions at:

https://wiki.debian.org/EmDebian/CrossDebootstrap#QEMU.2Fdebootstrap_approach

It turns out that "uname -m" in these environments returns armv7l 
instead of the port name armhf or armel so the patch added in the
1.3-1 release to disable valgrind on certain architectures doesn't work.

The patch is simple:

--- jq-1.3.orig/tests/run
+++ jq-1.3/tests/run
@@ -1,3 +1,3 @@
 #!/bin/sh
-uname -m | egrep -q 'armel|mips|mipsel|powerpc|s390x' && exit 0
+uname -m | egrep -q 'armv7l|mips|mipsel|powerpc|s390x' && exit 0
 cat $@ | valgrind --error-exitcode=1 -q --leak-check=full ./jq --run-tests

The package now builds successfully on my armel and armhf emulated
environments.

-- System Information:
Debian Release: 7.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armhf (armv7l)

Kernel: Linux 2.6.32 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash


-- 
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