[Python-modules-team] Bug#975788: python-babel: FTBFS: AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getiterator'

Lucas Nussbaum lucas at debian.org
Wed Nov 25 20:04:26 GMT 2020


Source: python-babel
Version: 2.8.0+dfsg.1-4
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201125 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
> I: pybuild base:232: /usr/bin/python3.8 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel
> copying babel/units.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel
> copying babel/core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel
> copying babel/languages.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel
> copying babel/support.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel
> copying babel/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel
> copying babel/_compat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel
> copying babel/dates.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel
> copying babel/lists.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel
> copying babel/numbers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel
> copying babel/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel
> copying babel/localedata.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel
> copying babel/plural.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel/messages
> copying babel/messages/pofile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel/messages
> copying babel/messages/checkers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel/messages
> copying babel/messages/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel/messages
> copying babel/messages/mofile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel/messages
> copying babel/messages/plurals.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel/messages
> copying babel/messages/jslexer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel/messages
> copying babel/messages/catalog.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel/messages
> copying babel/messages/frontend.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel/messages
> copying babel/messages/extract.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel/messages
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel/localtime
> copying babel/localtime/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel/localtime
> copying babel/localtime/_unix.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel/localtime
> copying babel/localtime/_win32.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/babel/localtime
> running egg_info
> creating Babel.egg-info
> writing Babel.egg-info/PKG-INFO
> writing dependency_links to Babel.egg-info/dependency_links.txt
> writing entry points to Babel.egg-info/entry_points.txt
> writing requirements to Babel.egg-info/requires.txt
> writing top-level names to Babel.egg-info/top_level.txt
> writing manifest file 'Babel.egg-info/SOURCES.txt'
> reading manifest file 'Babel.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'babel/global.dat'
> warning: no files found matching 'babel/locale-data/*.dat'
> warning: no previously-included files matching '*' found under directory 'docs/_build'
> warning: no previously-included files matching '*.pyc' found under directory 'tests'
> warning: no previously-included files matching '*.pyo' found under directory 'tests'
> writing manifest file 'Babel.egg-info/SOURCES.txt'
> I: pybuild base:232: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel
> copying babel/units.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel
> copying babel/core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel
> copying babel/languages.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel
> copying babel/support.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel
> copying babel/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel
> copying babel/_compat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel
> copying babel/dates.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel
> copying babel/lists.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel
> copying babel/numbers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel
> copying babel/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel
> copying babel/localedata.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel
> copying babel/plural.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel/messages
> copying babel/messages/pofile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel/messages
> copying babel/messages/checkers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel/messages
> copying babel/messages/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel/messages
> copying babel/messages/mofile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel/messages
> copying babel/messages/plurals.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel/messages
> copying babel/messages/jslexer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel/messages
> copying babel/messages/catalog.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel/messages
> copying babel/messages/frontend.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel/messages
> copying babel/messages/extract.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel/messages
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel/localtime
> copying babel/localtime/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel/localtime
> copying babel/localtime/_unix.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel/localtime
> copying babel/localtime/_win32.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/babel/localtime
> running egg_info
> writing Babel.egg-info/PKG-INFO
> writing dependency_links to Babel.egg-info/dependency_links.txt
> writing entry points to Babel.egg-info/entry_points.txt
> writing requirements to Babel.egg-info/requires.txt
> writing top-level names to Babel.egg-info/top_level.txt
> reading manifest file 'Babel.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'babel/global.dat'
> warning: no files found matching 'babel/locale-data/*.dat'
> warning: no previously-included files matching '*' found under directory 'docs/_build'
> warning: no previously-included files matching '*.pyc' found under directory 'tests'
> warning: no previously-included files matching '*.pyo' found under directory 'tests'
> writing manifest file 'Babel.egg-info/SOURCES.txt'
> # Generate the localedata folder data out of the xml files
> # downloaded in debian/repack
> mkdir -pv babel/locale-data/
> python3 scripts/import_cldr.py common
> Processing root.xml (Language = root; Territory = 001)
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/scripts/import_cldr.py", line 968, in <module>
>     main()
>   File "/<<PKGBUILDDIR>>/scripts/import_cldr.py", line 189, in main
>     return process_data(
>   File "/<<PKGBUILDDIR>>/scripts/import_cldr.py", line 207, in process_data
>     _process_local_datas(sup, srcdir, destdir, force=force, dump_json=dump_json)
>   File "/<<PKGBUILDDIR>>/scripts/import_cldr.py", line 412, in _process_local_datas
>     parse_calendar_months(data, calendar)
>   File "/<<PKGBUILDDIR>>/scripts/import_cldr.py", line 601, in parse_calendar_months
>     for elem in width.getiterator():
> AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getiterator'
> make[1]: *** [debian/rules:16: override_dh_auto_build] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/11/25/python-babel_2.8.0+dfsg.1-4_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Python-modules-team mailing list