[Debian-med-packaging] Bug#813782: python-matplotlib-venn: FTBFS: [failed test] Intersection with the arc along the same circle (which means infinitely many points usually) is reported as no intersection at all.

Chris Lamb lamby at debian.org
Fri Feb 5 08:37:32 UTC 2016


Source: python-matplotlib-venn
Version: 0.11-2
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-matplotlib-venn fails to build from source in unstable/amd64:

  [..]

  running test
  running egg_info
  creating matplotlib_venn.egg-info
  writing requirements to matplotlib_venn.egg-info/requires.txt
  writing matplotlib_venn.egg-info/PKG-INFO
  writing top-level names to matplotlib_venn.egg-info/top_level.txt
  writing dependency_links to matplotlib_venn.egg-info/dependency_links.txt
  writing manifest file 'matplotlib_venn.egg-info/SOURCES.txt'
  warning: manifest_maker: standard file 'setup.py' not found
  
  reading manifest file 'matplotlib_venn.egg-info/SOURCES.txt'
  writing manifest file 'matplotlib_venn.egg-info/SOURCES.txt'
  running build_ext
  ============================= test session starts ==============================
  platform linux2 -- Python 2.7.11, pytest-2.8.5, py-1.4.31, pluggy-0.3.1 -- /usr/bin/python2.7
  cachedir: ../../../.cache
  rootdir: /home/lamby/temp/cdt.20160205085405.L1EHTA93Fx/python-matplotlib-venn-0.11, inifile: setup.cfg
  collecting ... collected 49 items
  
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.__init__ PASSED
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.angle_as_point PASSED
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.approximately_equal PASSED
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.contains_angle_degrees PASSED
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.direction_vector PASSED
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.end_point PASSED
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.fix_360_to_0 PASSED
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.intersect_arc FAILED
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.intersect_circle PASSED
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.length PASSED
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.length_degrees PASSED
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.length_radians PASSED
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.lies_on_circle PASSED
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.point_as_angle PASSED
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.reversed PASSED
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.sector_area PASSED
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.segment_area PASSED
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.start_point PASSED
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.subarc PASSED
  matplotlib_venn/_arc.py::matplotlib_venn._arc.Arc.subarc_between_points PASSED
  matplotlib_venn/_common.py::matplotlib_venn._common.mix_colors PASSED
  matplotlib_venn/_math.py::matplotlib_venn._math.box_product PASSED
  matplotlib_venn/_math.py::matplotlib_venn._math.circle_circle_intersection PASSED
  matplotlib_venn/_math.py::matplotlib_venn._math.circle_intersection_area PASSED
  matplotlib_venn/_math.py::matplotlib_venn._math.circle_line_intersection PASSED
  matplotlib_venn/_math.py::matplotlib_venn._math.find_distance_by_area PASSED
  matplotlib_venn/_math.py::matplotlib_venn._math.normalize_by_center_of_mass PASSED
  matplotlib_venn/_math.py::matplotlib_venn._math.point_in_circle PASSED
  matplotlib_venn/_math.py::matplotlib_venn._math.vector_angle_in_degrees PASSED
  matplotlib_venn/_region.py::matplotlib_venn._region.VennCircleRegion PASSED
  matplotlib_venn/_region.py::matplotlib_venn._region.VennCircleRegion.label_position PASSED
  matplotlib_venn/_region.py::matplotlib_venn._region.VennCircleRegion.make_patch PASSED
  matplotlib_venn/_region.py::matplotlib_venn._region.VennCircleRegion.size PASSED
  matplotlib_venn/_region.py::matplotlib_venn._region.VennEmptyRegion PASSED
  matplotlib_venn/_venn2.py::matplotlib_venn._venn2.compute_venn2_areas PASSED
  matplotlib_venn/_venn2.py::matplotlib_venn._venn2.compute_venn2_colors PASSED
  matplotlib_venn/_venn2.py::matplotlib_venn._venn2.compute_venn2_regions PASSED
  matplotlib_venn/_venn2.py::matplotlib_venn._venn2.compute_venn2_subsets PASSED
  matplotlib_venn/_venn2.py::matplotlib_venn._venn2.solve_venn2_circles PASSED
  matplotlib_venn/_venn2.py::matplotlib_venn._venn2.venn2 PASSED
  matplotlib_venn/_venn2.py::matplotlib_venn._venn2.venn2_circles PASSED
  matplotlib_venn/_venn3.py::matplotlib_venn._venn3.compute_venn3_areas PASSED
  matplotlib_venn/_venn3.py::matplotlib_venn._venn3.compute_venn3_colors PASSED
  matplotlib_venn/_venn3.py::matplotlib_venn._venn3.compute_venn3_regions PASSED
  matplotlib_venn/_venn3.py::matplotlib_venn._venn3.compute_venn3_subsets PASSED
  matplotlib_venn/_venn3.py::matplotlib_venn._venn3.position_venn3_circles_generic PASSED
  matplotlib_venn/_venn3.py::matplotlib_venn._venn3.solve_venn3_circles PASSED
  matplotlib_venn/_venn3.py::matplotlib_venn._venn3.venn3 PASSED
  matplotlib_venn/_venn3.py::matplotlib_venn._venn3.venn3_circles PASSED
  
  =================================== FAILURES ===================================
  _______________ [doctest] matplotlib_venn._arc.Arc.intersect_arc _______________
  339         Intersection with the arc along the same circle (which means infinitely many points usually) is reported as no intersection at all.
  340         
  341         >>> a = Arc((0, 0), 1, -90, 90, True)
  342         >>> a.intersect_arc(Arc((1, 0), 1, 90, 270, True))
  343         [array([ 0.5      , -0.866...]), array([ 0.5      ,  0.866...])]
  344         >>> a.intersect_arc(Arc((1, 0), 1, 90, 180, True))
  345         [array([ 0.5      ,  0.866...])]
  346         >>> a.intersect_arc(Arc((1, 0), 1, 121, 239, True))
  347         []
  348         >>> a.intersect_arc(Arc((1, 0), 1, 120, 240, True))
  Expected:
      [array([ 0.5      , -0.866...]), array([ 0.5      ,  0.866...])]
  Got:
      [array([ 0.5      ,  0.8660254])]
  
  /home/lamby/temp/cdt.20160205085405.L1EHTA93Fx/python-matplotlib-venn-0.11/.pybuild/pythonX.Y_2.7/build/matplotlib_venn/_arc.py:348: DocTestFailure
  ===================== 1 failed, 48 passed in 0.51 seconds ======================
  E: pybuild pybuild:274: test: plugin custom failed with: exit code=1: cp -a README.rst /home/lamby/temp/cdt.20160205085405.L1EHTA93Fx/python-matplotlib-venn-0.11/.pybuild/pythonX.Y_2.7/build && cd /home/lamby/temp/cdt.20160205085405.L1EHTA93Fx/python-matplotlib-venn-0.11/.pybuild/pythonX.Y_2.7/build && python2.7 /home/lamby/temp/cdt.20160205085405.L1EHTA93Fx/python-matplotlib-venn-0.11/setup.py test && rm README.rst
  dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 --test --system=custom --test-args=cp -a README.rst {home_dir}/build && cd {home_dir}/build && {interpreter} /home/lamby/temp/cdt.20160205085405.L1EHTA93Fx/python-matplotlib-venn-0.11/setup.py test && rm README.rst --dir . returned exit code 13
  debian/rules:10: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 25
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160205085405.L1EHTA93Fx/python-matplotlib-venn-0.11'
  debian/rules:7: 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-matplotlib-venn.0.11-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2480 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20160205/259d0b4a/attachment.obj>


More information about the Debian-med-packaging mailing list