[Debian-med-packaging] Bug#902516: [Help] Re: Bug#902516: python-matplotlib-venn: FTBFS in buster/sid (failing tests)

Andreas Tille andreas at fam-tille.de
Thu Jul 5 07:09:50 BST 2018


Control: tags -1 help

Hi,

I can confirm this problem in a pbuilder environment.  Unfortunately I
have no idea about the cause of the issue nor how to fix it.  Any hint
from the Debian Python team?

Kind regards

       Andreas.

On Wed, Jun 27, 2018 at 12:50:32PM +0000, Santiago Vila wrote:
> Package: src:python-matplotlib-venn
> Version: 0.11.5-4
> Severity: serious
> Tags: ftbfs
> 
> Dear maintainer:
> 
> I tried to build this package in buster with "dpkg-buildpackage -A"
> but it failed:
> 
> --------------------------------------------------------------------------------
> [...]
>  debian/rules build-indep
> dh build-indep --with python2,python3 --buildsystem=pybuild
>    dh_update_autotools_config -i -O--buildsystem=pybuild
>    dh_autoreconf -i -O--buildsystem=pybuild
>    dh_auto_configure -i -O--buildsystem=pybuild
> 	pybuild --configure --test-pytest -i python{version} -p 2.7
> I: pybuild base:217: python2.7 setup.py config 
> running config
> 	pybuild --configure --test-pytest -i python{version} -p 3.6
> I: pybuild base:217: python3.6 setup.py config 
> running config
>    dh_auto_build -i -O--buildsystem=pybuild
> 	pybuild --build --test-pytest -i python{version} -p 2.7
> 
> [... snipped ...]
> 
>     File "/usr/lib/python2.7/dist-packages/_pytest/main.py", line 719, in _perform_collect
>       self.items.extend(self.genitems(node))
>     File "/usr/lib/python2.7/dist-packages/_pytest/main.py", line 860, in genitems
>       rep = collect_one_node(node)
>     File "/usr/lib/python2.7/dist-packages/_pytest/runner.py", line 502, in collect_one_node
>       rep = ihook.pytest_make_collect_report(collector=collector)
>     File "/usr/lib/python2.7/dist-packages/pluggy/__init__.py", line 617, in __call__
>       return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
>     File "/usr/lib/python2.7/dist-packages/pluggy/__init__.py", line 222, in _hookexec
>       return self._inner_hookexec(hook, methods, kwargs)
>     File "/usr/lib/python2.7/dist-packages/pluggy/__init__.py", line 216, in <lambda>
>       firstresult=hook.spec_opts.get('firstresult'),
>     File "/usr/lib/python2.7/dist-packages/pluggy/callers.py", line 180, in _multicall
>       res = hook_impl.function(*args)
>     File "/usr/lib/python2.7/dist-packages/_pytest/runner.py", line 369, in pytest_make_collect_report
>       'collect')
>     File "/usr/lib/python2.7/dist-packages/_pytest/runner.py", line 189, in __init__
>       self.result = func()
>     File "/usr/lib/python2.7/dist-packages/_pytest/runner.py", line 368, in <lambda>
>       lambda: list(collector.collect()),
>     File "/usr/lib/python2.7/dist-packages/_pytest/doctest.py", line 217, in collect
>       module = self.fspath.pyimport()
>     File "/usr/lib/python2.7/dist-packages/py/_path/local.py", line 668, in pyimport
>       __import__(modname)
>     File "/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_matplotlib-venn/build/matplotlib_venn/__init__.py", line 55, in <module>
>       from matplotlib_venn._venn2 import venn2, venn2_circles
>     File "/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_matplotlib-venn/build/matplotlib_venn/_venn2.py", line 22, in <module>
>       from matplotlib.pyplot import gca
>     File "/usr/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 71, in <module>
>       from matplotlib.backends import pylab_setup
>     File "/usr/lib/python2.7/dist-packages/matplotlib/backends/__init__.py", line 16, in <module>
>       line for line in traceback.format_stack()
>   
>   
>     '''
> 
> -- Docs: http://doc.pytest.org/en/latest/warnings.html
> =============== 15 failed, 34 passed, 3 warnings in 0.60 seconds ===============
> E: pybuild pybuild:336: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_matplotlib-venn/build; python2.7 -m pytest 
> dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 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 '/<<PKGBUILDDIR>>'
> debian/rules:7: recipe for target 'build-indep' failed
> make: *** [build-indep] Error 2
> dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
> --------------------------------------------------------------------------------
> 
> The above is how the build ends in my autobuilder and it's not
> necessarily the relevant part.
> 
> The failure is not, however, related to using dpkg-buildpackage -A,
> as it also fails in reproducible builds:
> 
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-matplotlib-venn.html
> 
> If this is really a bug in one of the build-depends, please use reassign and affects,
> so that this is still visible in the page for this package.
> 
> Thanks.
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list