Package: tracker Version: 1.10.3-1 Severity: normal Tags: patch Severity is only normal, because build-time test failures are ignored anyway.
https://buildd.debian.org/status/fetch.php?pkg=tracker&arch=amd64&ver=1.10.3-1&stamp=1481904109 ERROR: tracker-file-utils ========================= (/«PKGBUILDDIR»/tests/libtracker-common/.libs/tracker-file-utils:24952): Tracker-WARNING **: Locale '0' is not set, defaulting to C locale Trace/breakpoint trap # random seed: R02Sa200f27dace845437f8756e1936d2a7c # Tracker-FATAL-WARNING: Locale '0' is not set, defaulting to C locale ERROR: tracker-file-utils - missing test plan ERROR: tracker-file-utils - exited with status 133 (terminated by signal 5?) ERROR: tracker-utils ==================== (/«PKGBUILDDIR»/tests/libtracker-common/.libs/tracker-utils:24976): Tracker-WARNING **: Locale '0' is not set, defaulting to C locale Trace/breakpoint trap # random seed: R02S364c1082a24c4a4014f52f4a3407ecad # Tracker-FATAL-WARNING: Locale '0' is not set, defaulting to C locale ERROR: tracker-utils - missing test plan ERROR: tracker-utils - exited with status 133 (terminated by signal 5?) The attached patch is not enough to make the build-time tests *pass*, but they at least get a bit further before failing. S
>From 3af40b00567ef58b3c4cc98533d9302edc0410b7 Mon Sep 17 00:00:00 2001 From: Simon McVittie <s...@debian.org> Date: Thu, 12 Jan 2017 12:58:46 +0000 Subject: [PATCH 4/4] d/rules: ensure that a valid locale is set for the unit tests --- debian/changelog | 1 + debian/rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 5dc1f9047..93690bfe2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ tracker (1.10.3-1.1) UNRELEASED; urgency=medium * Add patches from upstream to make the sandbox allow more harmless syscalls (Closes: #848842, #849936, LP: #1649035, LP: #1649004) * Don't immediately restart tracker-extract on SIGSYS. Mitigates: #851148 + * d/rules: ensure that a valid locale is set for the unit tests -- Simon McVittie <s...@debian.org> Thu, 12 Jan 2017 12:11:44 +0000 diff --git a/debian/rules b/debian/rules index bfc6ea239..6daa5ca7d 100755 --- a/debian/rules +++ b/debian/rules @@ -75,5 +75,5 @@ override_dh_strip: override_dh_auto_test: ifeq (, $(filter nocheck, $(DEB_BUILD_OPTIONS))) - dbus-run-session -- $(MAKE) check -k VERBOSE=1 || true + LANG=C.UTF-8 LC_ALL=C.UTF-8 dbus-run-session -- $(MAKE) check -k VERBOSE=1 || true endif -- 2.11.0