[Reproducible-builds] Bug#804430: python-rsa: FTBFS: ImportError: No module named unittest2

Chris Lamb lamby at debian.org
Sun Nov 8 11:53:07 UTC 2015

Source: python-rsa
Version: 3.1.4-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

python-rsa fails to build from source in unstable/amd64:

  ERROR: tests.test_compat (unittest.loader.ModuleImportFailure)
  ImportError: Failed to import test module: tests.test_compat
  Traceback (most recent call last):
    File "/usr/lib/python2.7/unittest/loader.py", line 254, in
      module = self._get_module_from_name(name)
    File "/usr/lib/python2.7/unittest/loader.py", line 232, in
    File "tests/test_compat.py", line 3, in <module>
      import unittest2
  ImportError: No module named unittest2
  Ran 15 tests in 0.002s
  FAILED (errors=9)
  E: pybuild pybuild:274: test: plugin distutils failed with: exit
  code=1: cd /build/python-rsa-3.1.4/.pybuild/pythonX.Y_2.7/build;
  python2.7 -m unittest discover -v 
  dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir .
  returned exit code 13
  debian/rules:12: recipe for target 'build' failed
  make: *** [build] Error 25
  dpkg-buildpackage: error: debian/rules build gave error exit status 2


The full build log is attached or can be viewed here:



     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-rsa.3.1.4-1.unstable.amd64.log.txt.gz
Type: application/gzip
Size: 5770 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20151108/c66b5054/attachment.bin>

More information about the Reproducible-builds mailing list