[Python-modules-team] Bug#902463: flask-script: FTBFS in buster/sid (failing tests)

Santiago Vila sanvila at debian.org
Tue Jun 26 23:52:44 BST 2018


Package: src:flask-script
Version: 2.0.5-2
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_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
   dh_auto_build -i -O--buildsystem=pybuild
I: pybuild base:217: /usr/bin/python setup.py build 
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_flask-script/build/flask_script
copying flask_script/commands.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_flask-script/build/flask_script
copying flask_script/_compat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_flask-script/build/flask_script
copying flask_script/cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_flask-script/build/flask_script
copying flask_script/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_flask-script/build/flask_script
I: pybuild base:217: /usr/bin/python3 setup.py build 
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_flask-script/build/flask_script
copying flask_script/commands.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_flask-script/build/flask_script
copying flask_script/_compat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_flask-script/build/flask_script
copying flask_script/cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_flask-script/build/flask_script
copying flask_script/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_flask-script/build/flask_script
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
py.test tests.py
============================= test session starts ==============================
platform linux2 -- Python 2.7.15, pytest-3.3.2, py-1.5.3, pluggy-0.6.0
rootdir: /<<PKGBUILDDIR>>, inifile:
collected 0 items / 1 errors

==================================== ERRORS ====================================
__________________________ ERROR collecting tests.py ___________________________
ImportError while importing test module '/<<PKGBUILDDIR>>/tests.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests.py:8: in <module>
    from flask.ext.script._compat import StringIO, text_type
E   ImportError: No module named ext.script._compat
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 1 error in 0.21 seconds ============================
debian/rules:13: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:10: 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/flask-script.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