Package: src:python-keystoneclient
Version: 1:2.3.1-2
Severity: serious

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
pyversions: missing X(S)-Python-Version in control file, fall back to 
debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
pyversions: missing X(S)-Python-Version in control file, fall back to 
debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
dh build-indep --buildsystem=python_distutils --with python2,python3,sphinxdoc
   dh_testdir -i -O--buildsystem=python_distutils
   dh_update_autotools_config -i -O--buildsystem=python_distutils
   dh_auto_configure -i -O--buildsystem=python_distutils
   dh_auto_build -i -O--buildsystem=python_distutils
pyversions: missing X(S)-Python-Version in control file, fall back to 
debian/pyversions

[... snipped ...]

warning: no files found matching 'ChangeLog'
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere in 
distribution
writing manifest file 'python_keystoneclient.egg-info/SOURCES.txt'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
pyversions: missing X(S)-Python-Version in control file, fall back to 
debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
pyversions: missing X(S)-Python-Version in control file, fall back to 
debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
set -e ; for i in 2.7 3.5 ; do \
        PYMAJOR=`echo $i | cut -d'.' -f1` ; \
        echo "===> Testing with python$i (python$PYMAJOR)" ; \
        rm -rf .testrepository ; \
        testr-python$PYMAJOR init ; \
        TEMP_REZ=`mktemp -t` ; \
        PYTHONPATH=/<<PKGBUILDDIR>> PYTHON=python$i testr-python$PYMAJOR run 
--subunit 
'keystoneclient\.tests\.(?!.*memcache_set_expired.*|.*test_encrypt_cache_data.*|.*test_sign_cache_data.*)'
 | tee $TEMP_REZ | subunit2pyunit ; \
        cat $TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
        rm -f $TEMP_REZ ; \
        testr-python$PYMAJOR slowest ; \
done
===> Testing with python2.7 (python2)
running=${PYTHON:-python} -m subunit.run discover -t ./  
${OS_TEST_PATH:-./keystoneclient/tests/unit} --list 
--- import Non-zero exit code (2) from test listing.
errors ---
Failed to import test module: keystoneclient.tests.unit.test_hacking_checks
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in 
_find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in 
_get_module_from_name
    __import__(name)
  File "keystoneclient/tests/unit/test_hacking_checks.py", line 16, in <module>
    import pep8
ImportError: No module named pep8

----------------------------------------------------------------------
Ran 0 tests in 1.181s

OK
Total tests:       0
Passed tests:      0
Failed tests:      0
Skipped tests:     0
Seen tags: 
debian/rules:35: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 3
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 gave error exit status 2
--------------------------------------------------------------------------------

Because this source package only generates "Arch: all" packages, this
is the same as a FTBFS bug in the usual sense, and the fact that I was
doing "dpkg-buildpackage -A" does not mean anything special.

Thanks.

Reply via email to