Source: json-c
Version: 0.10-1
Severity: normal
Tags: patch

While preparing my NMU (0.10-1.1), I tried to test the result on my
development environment, which had valgrind installed. However, the
test suite currently fails when valgrind is installed, and as such, my
build failed.

This can be worked around with exporting USE_VALGRIND=0 in
debian/rules, as that will disable testing with valgrind. A patch that
does just that is attached.

However, the issue should most probably be forwarded upstream, so
whatever issue valgrind fails for can be properly fixed.

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

Kernel: Linux 3.2.0-1-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/bash
--- debian/rules.orig	2012-08-28 12:41:32.588654752 +0200
+++ debian/rules	2012-08-28 12:37:08.387344663 +0200
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
 
+export USE_VALGRIND=0
+
 override_dh_auto_clean:
 	if test -e Makefile; then \
 	    make clean; \

Reply via email to