[Debian-med-packaging] Bug#814210: python-pbh5tools: FTBFS: TypeError: 'float' object cannot be interpreted as an index

Chris Lamb lamby at debian.org
Tue Feb 9 08:56:54 UTC 2016


Source: python-pbh5tools
Version: 0.8.0+dfsg-3
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-pbh5tools fails to build from source in unstable/amd64:

  [..]
  
  ======================================================================
  ERROR: test_cmph5lib_CmpH5Sort.TestGetOverlappingRanges.test_get_overlapping_ranges
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
      self.test(*self.arg)
    File "/home/lamby/temp/cdt.20160209093420.uLfTkBHk0Y/python-pbh5tools-0.8.0+dfsg/tests/test_cmph5lib_CmpH5Sort.py", line 98, in test_get_overlapping_ranges
      ar = generate_positions(i, j)
    File "/home/lamby/temp/cdt.20160209093420.uLfTkBHk0Y/python-pbh5tools-0.8.0+dfsg/tests/test_cmph5lib_CmpH5Sort.py", line 18, in generate_positions
      tS = random.randint(0, size, NN)
    File "mtrand.pyx", line 1266, in mtrand.RandomState.randint (numpy/random/mtrand/mtrand.c:14344)
    File "mtrand.pyx", line 1267, in mtrand.RandomState.randint (numpy/random/mtrand/mtrand.c:14299)
    File "mtrand.pyx", line 749, in mtrand._rand_int64 (numpy/random/mtrand/mtrand.c:9900)
  TypeError: 'float' object cannot be interpreted as an index
  
  ----------------------------------------------------------------------
  Ran 10 tests in 1.770s
  
  FAILED (errors=1)
  Makefile:20: recipe for target 'test' failed
  make[2]: *** [test] Error 123
  make[2]: Leaving directory '/home/lamby/temp/cdt.20160209093420.uLfTkBHk0Y/python-pbh5tools-0.8.0+dfsg'
  E: pybuild pybuild:274: test: plugin custom failed with: exit code=2: PATH=/home/lamby/temp/cdt.20160209093420.uLfTkBHk0Y/python-pbh5tools-0.8.0+dfsg/build/scripts-2.7:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 /usr/bin/make test
  dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 --dir . returned exit code 13
  debian/rules:25: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 25
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160209093420.uLfTkBHk0Y/python-pbh5tools-0.8.0+dfsg'
  debian/rules:11: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-pbh5tools.0.8.0+dfsg-3.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2638 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20160209/f879f0f4/attachment-0001.obj>


More information about the Debian-med-packaging mailing list