[Reproducible-builds] Bug#804426: gitinspector: FTBFS: ImportError: No module named unittest2

Chris Lamb lamby at debian.org
Sun Nov 8 11:51:29 UTC 2015

Source: gitinspector
Version: 0.4.2+dfsg-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,

gitinspector fails to build from source in unstable/amd64:


     dh_auto_test -O--buildsystem=pybuild
  	pybuild --test -i python{version} -p 2.7 --dir .
  I: pybuild base:184: cd
  /build/gitinspector-0.4.2+dfsg/.pybuild/pythonX.Y_2.7/build; python2.7
  -m unittest discover -v 
  tests.test_comment (unittest.loader.ModuleImportFailure) ... ERROR
  ERROR: tests.test_comment (unittest.loader.ModuleImportFailure)
  ImportError: Failed to import test module: tests.test_comment
  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_comment.py", line 23, in <module>
      import unittest2
  ImportError: No module named unittest2
  Ran 1 test in 0.000s
  FAILED (errors=1)
  E: pybuild pybuild:274: test: plugin distutils failed with: exit
  code=1: cd
  /build/gitinspector-0.4.2+dfsg/.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:13: 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: gitinspector.0.4.2+dfsg-1.unstable.amd64.log.txt.gz
Type: application/gzip
Size: 6212 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20151108/a126cadb/attachment.bin>

More information about the Reproducible-builds mailing list