[Python-modules-team] Bug#909992: python-distutils-extra: FTBFS (AssertionError: 0 != 3)

Santiago Vila sanvila at debian.org
Mon Oct 1 00:03:56 BST 2018


Package: src:python-distutils-extra
Version: 2.41
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster 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
I: pybuild base:217: python2.7 setup.py config 
running config
I: pybuild base:217: python3.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

[... snipped ...]

Python packages ... ok
test_po (__main__.T)
gettext *.po files ... ok
test_policykit (__main__.T)
*.policy.in PolicyKit files ... ok
test_pot_auto (__main__.T)
PO template creation with automatic POTFILES.in ... ok
test_pot_auto_explicit (__main__.T)
PO template creation with automatic POTFILES.in and explicit scripts ... ok
test_pot_manual (__main__.T)
PO template creation with manual POTFILES.in ... ok
test_requires_provides (__main__.T)
automatic requires/provides ... /usr/lib/python3/dist-packages/pkg_resources/_vendor/pyparsing.py:943: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  collections.MutableMapping.register(ParseResults)
/usr/lib/python3/dist-packages/pkg_resources/_vendor/pyparsing.py:3245: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  elif isinstance( exprs, collections.Iterable ):
ok
test_scripts (__main__.T)
scripts ... ok
test_sdist (__main__.T)
default MANIFEST ... ok
test_standard_files (__main__.T)
Standard files (MANIFEST.in, COPYING, etc.) ... ok
test_ui (__main__.T)
GtkBuilder/Qt *.ui ... ok
test_utf8_filenames (__main__.T)
UTF-8 file names ... ok
test_vcs (__main__.T)
Ignores revision control files ... ok

======================================================================
FAIL: test_apport_hook (__main__.T)
Apport hooks
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/auto.py", line 198, in test_apport_hook
    self.assertEqual(len(f), 3, f) # 2 hook files plus .egg-info
AssertionError: 0 != 3 : []

----------------------------------------------------------------------
Ran 26 tests in 6.143s

FAILED (failures=1)
make[1]: *** [debian/rules:9: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -A"
but it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-distutils-extra.html

where you can get a full build log if you need it.

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 BTS web page for this package.

Thanks.



More information about the Python-modules-team mailing list