Package: linda Version: 0.3.17 Severity: normal Tags: patch Building linda under a non-English locale (namely Italian) will fail with the following message:
====================================================================== FAIL: Check a complex binary instance of Collector ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/linda-0.3.17/tests/base_collector.py", line 36, in test_binary_complex files) File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual raise self.failureException, \ AssertionError: Set(['/lib/libBrokenLocale.so.1', '/usr/share/doc/xringd/changelog.Debian.gz', '/bin/foo1']) != Set(['/lib/libBrokenLocale.so.1', '/usr/share/doc/xringd/changelog.Debian.gz', '/bin/foo2', '/bin/foo1']) This is caused by the "link to" string in the verbose tar output being translated to something else and not being recognized by Collector. Executing run-test.py with LC_ALL=C solves the problem.
* Makefile: - Run tests with the C locale, preventing breakage in CollectorBaseTest and possibly in other tests. diff -Nru /tmp/iA50IvZRmO/linda-0.3.17/Makefile /tmp/dTfSrN6Fu4/linda-0.3.17/Makefile --- /tmp/iA50IvZRmO/linda-0.3.17/Makefile 2005-06-09 08:09:10.000000000 +0200 +++ /tmp/dTfSrN6Fu4/linda-0.3.17/Makefile 2006-02-23 22:25:54.000000000 +0100 @@ -23,7 +23,7 @@ test: install -m 644 munge_po $(DESTDIR)/usr/lib/site-python/munge_po.py - PYTHONPATH=$(DESTDIR)/usr/lib/site-python tests/run_tests.py + LC_ALL=C PYTHONPATH=$(DESTDIR)/usr/lib/site-python tests/run_tests.py find . -name '*.py?' | xargs $(RM) $(RM) $(DESTDIR)/usr/lib/site-python/munge_po.py