Package: subvertpy
Version: 0.7.1-1
Severity: serious
Justification: FTBFS
Tags: patch

Hello,
Your package FTBFS if $HOME exists but is not readable:

| PYTHONPATH=. python /usr/bin/nosetests subvertpy
| 
EE...................................................................EEEEEEEEEEEEEEEEEEEEEE....EEEEEEEEEEE.....
| ======================================================================
| ERROR: test_add (subvertpy.tests.test_client.TestClient)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/buildd/subvertpy-0.7.1/subvertpy/tests/test_client.py", line 
29, in setUp
|     self.repos_url = self.make_client("d", "dc")
|   File "/build/buildd/subvertpy-0.7.1/subvertpy/tests/__init__.py", line 335, 
in make_client
|     allow_revprop_changes=allow_revprop_changes)
| OSError: [Errno 13] Can't open file '/nonexistent/.subversion/servers': 
Permission denied

The full build log is available here:
https://buildd.debian.org/fetch.cgi?pkg=subvertpy;ver=0.7.1-1;arch=mips;stamp=1260736556

I believe that the attached patch fixes this problem.

--
Jakub Wilk
diff --git a/debian/rules b/debian/rules
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+export HOME=$(CURDIR)/nonexistent
+
 DEB_PYTHON_SYSTEM=pycentral
 DEB_INSTALL_EXAMPLES_python-subvertpy = $(wildcard examples/*.py)
 

Attachment: signature.asc
Description: Digital signature

Reply via email to