[Python-modules-team] Bug#906372: kitchen: FTBFS in buster/sid (AttributeError: module 'itertools' has no attribute 'imap')
Santiago Vila
sanvila at debian.org
Fri Aug 17 12:20:13 BST 2018
Package: src:kitchen
Version: 1.2.5-2
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,sphinxdoc --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.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
running build
[... snipped ...]
copying kitchen3/kitchen/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_kitchen/build/kitchen
copying kitchen3/kitchen/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_kitchen/build/kitchen
copying kitchen3/kitchen/release.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_kitchen/build/kitchen
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_kitchen/build/kitchen/versioning
copying kitchen3/kitchen/versioning/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_kitchen/build/kitchen/versioning
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_kitchen/build/kitchen/i18n
copying kitchen3/kitchen/i18n/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_kitchen/build/kitchen/i18n
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_kitchen/build/kitchen/iterutils
copying kitchen3/kitchen/iterutils/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_kitchen/build/kitchen/iterutils
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_kitchen/build/kitchen/collections
copying kitchen3/kitchen/collections/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_kitchen/build/kitchen/collections
copying kitchen3/kitchen/collections/strictdict.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_kitchen/build/kitchen/collections
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_kitchen/build/kitchen/text
copying kitchen3/kitchen/text/display.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_kitchen/build/kitchen/text
copying kitchen3/kitchen/text/utf8.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_kitchen/build/kitchen/text
copying kitchen3/kitchen/text/misc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_kitchen/build/kitchen/text
copying kitchen3/kitchen/text/converters.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_kitchen/build/kitchen/text
copying kitchen3/kitchen/text/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_kitchen/build/kitchen/text
copying kitchen3/kitchen/text/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_kitchen/build/kitchen/text
PYTHONPATH=/<<PKGBUILDDIR>>/kitchen2/ http_proxy='127.0.0.1:9' \
sphinx-build -N -bhtml kitchen2/docs/ kitchen2/docs/_build/html
Running Sphinx v1.7.6
Configuration error:
There is a programable error in your configuration file:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/config.py", line 161, in __init__
execfile_(filename, config)
File "/usr/lib/python3/dist-packages/sphinx/util/pycompat.py", line 150, in execfile_
exec_(code, _globals)
File "conf.py", line 17, in <module>
import kitchen.release
File "/<<PKGBUILDDIR>>/kitchen2/docs/../kitchen/__init__.py", line 30, in <module>
from kitchen import i18n
File "/<<PKGBUILDDIR>>/kitchen2/docs/../kitchen/i18n/__init__.py", line 90, in <module>
from kitchen.versioning import version_tuple_to_string
File "/<<PKGBUILDDIR>>/kitchen2/docs/../kitchen/versioning/__init__.py", line 105, in <module>
__version__ = version_tuple_to_string(__version_info__)
File "/<<PKGBUILDDIR>>/kitchen2/docs/../kitchen/versioning/__init__.py", line 90, in version_tuple_to_string
ver_components.append('.'.join(itertools.imap(str, values)))
AttributeError: module 'itertools' has no attribute 'imap'
make[1]: *** [debian/rules:19: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:15: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/kitchen.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