Package: src:python-oauth2client Version: 2.0.1-3 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 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 ...] test_true (tests.test_jwt.TestHasOpenSSLFlag) ... ok test__to_json_override (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_access_token (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_create_delegated (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_create_delegated_existing_sub (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_create_scoped (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_create_scoped_required_with_scopes (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_create_scoped_required_without_scopes (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_from_json_keyfile_name_factory (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_from_json_keyfile_name_factory_bad_type (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_from_json_keyfile_name_factory_missing_field (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_from_p12_keyfile_buffer (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_from_p12_keyfile_defaults (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_from_p12_keyfile_explicit (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_from_p12_keyfile_with_pycrypto (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_from_p12_keyfile_with_rsa (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_service_account_email (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_sign_blob (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_ClientRedirectServer (tests.test_tools.TestClientRedirectServer) ... SKIP: Skipped in Debian: doing network access test_iterables (tests.test_util.ScopeToStringTests) ... ok test_conversion (tests.test_util.StringToScopeTests) ... ok ====================================================================== ERROR: Failure: AttributeError ('module' object has no attribute 'SubfieldBase') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "tests/contrib/test_django_orm.py", line 53, in <module> from oauth2client.contrib.django_orm import CredentialsField File "/<<PKGBUILDDIR>>/oauth2client/contrib/django_orm.py", line 34, in <module> class CredentialsField(six.with_metaclass(models.SubfieldBase, models.Field)): AttributeError: 'module' object has no attribute 'SubfieldBase' ---------------------------------------------------------------------- Ran 350 tests in 1.076s FAILED (SKIP=1, errors=1) debian/rules:29: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:15: 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 using "dpkg-buildpackage -A" is quite irrelevant. For this particular package, I've also checked that it fails to build from source in the reproducible builds site: https://tests.reproducible-builds.org/ Thanks.