[Reproducible-builds] Bug#804442: python-memory-profiler: FTBFS: NameError: name 'profile' is not defined

Chris Lamb lamby at debian.org
Sun Nov 8 14:51:21 UTC 2015


Source: python-memory-profiler
Version: 0.31+git20141019-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-memory-profiler fails to build from source in unstable/amd64:

  [..]

  
  ======================================================================
  ERROR: test.test_precision_command_line
  (unittest.loader.ModuleImportFailure)
  ----------------------------------------------------------------------
  ImportError: Failed to import test module:
  test.test_precision_command_line
  Traceback (most recent call last):
    File "/usr/lib/python2.7/unittest/loader.py", line 254, in
    _find_tests
      module = self._get_module_from_name(name)
    File "/usr/lib/python2.7/unittest/loader.py", line 232, in
    _get_module_from_name
      __import__(name)
    File "test/test_precision_command_line.py", line 11, in <module>
      @profile(precision=4)
  NameError: name 'profile' is not defined
  
  
  ----------------------------------------------------------------------
  Ran 7 tests in 0.001s
  
  FAILED (errors=7)
  E: pybuild pybuild:274: test: plugin distutils failed with: exit
  code=1: cd
  /build/python-memory-profiler-0.31+git20141019/.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:8: 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:

    https://reproducible.debian.net/logs/unstable/amd64/python-memory-profiler_0.31+git20141019-1.build1.log.gz


Regards,

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


More information about the Reproducible-builds mailing list