[Python-modules-team] Bug#902462: flask-restful: FTBFS in buster/sid (failing tests)
Santiago Vila
sanvila at debian.org
Tue Jun 26 23:52:42 BST 2018
Package: src:flask-restful
Version: 0.3.6-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 --buildsystem=pybuild --with=python2,python3,sphinxdoc
dh_update_autotools_config -i -O--buildsystem=pybuild
dh_autoreconf -i -O--buildsystem=pybuild
dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:217: python2.7 setup.py config
running config
I: pybuild base:217: python3.6 setup.py config
running config
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:217: /usr/bin/python setup.py build
[... snipped ...]
checking consistency... done
preparing documents... done
writing output... [ 11%] api
writing output... [ 22%] extending
writing output... [ 33%] fields
writing output... [ 44%] index
writing output... [ 55%] installation
writing output... [ 66%] intermediate-usage
writing output... [ 77%] quickstart
writing output... [ 88%] reqparse
writing output... [100%] testing
/<<PKGBUILDDIR>>/docs/reqparse.rst:41: WARNING: undefined label: error-messages (if the link has no caption the label must precede a section header)
generating indices... genindex py-modindex
writing additional pages... search
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded, 5 warnings.
The HTML pages are in _build/html.
Build finished. The HTML pages are in _build/html.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test -i -O--buildsystem=pybuild
I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_flask-restful/build; python2.7 -m nose tests
...................................E.......................................................................................................................................................................................................................................................................................................................................................................
======================================================================
ERROR: test_fr_405 (tests.test_api.APITestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_flask-restful/build/tests/test_api.py", line 787, in test_fr_405
set(['HEAD', 'OPTIONS'] + HelloWorld.methods))
TypeError: can only concatenate list (not "set") to list
----------------------------------------------------------------------
Ran 395 tests in 0.228s
FAILED (errors=1)
E: pybuild pybuild:336: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_flask-restful/build; python2.7 -m nose tests
dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 returned exit code 13
debian/rules:6: recipe for target 'build-indep' failed
make: *** [build-indep] Error 25
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/flask-restful.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.
More information about the Python-modules-team
mailing list