[Python-modules-team] Bug#865939: django-recurrence FTBFS: babel.core.UnknownLocaleError: unknown locale u'german'
Adrian Bunk
bunk at debian.org
Sun Jun 25 23:58:14 UTC 2017
Source: django-recurrence
Version: 1.4.1-1
Severity: serious
Tags: buster sid
django-recurrence FTBFS with the new python-babel:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/django-recurrence.html
...
debian/rules override_dh_auto_build
make[1]: Entering directory '/build/1st/django-recurrence-1.4.1'
set -e; \
for loc in recurrence/locale/*; do \
python setup.py compile_catalog --directory recurrence/locale/ --locale $(basename $loc) --domain django; \
python setup.py compile_catalog --directory recurrence/locale/ --locale $(basename $loc) --domain djangojs; \
done
running compile_catalog
Traceback (most recent call last):
File "setup.py", line 92, in <module>
**setup_options
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/dist-packages/babel/messages/frontend.py", line 182, in run
self._run_domain(domain)
File "/usr/lib/python2.7/dist-packages/babel/messages/frontend.py", line 221, in _run_domain
catalog = read_po(infile, locale)
File "/usr/lib/python2.7/dist-packages/babel/messages/pofile.py", line 331, in read_po
parser.parse(fileobj)
File "/usr/lib/python2.7/dist-packages/babel/messages/pofile.py", line 265, in parse
self._process_comment(line)
File "/usr/lib/python2.7/dist-packages/babel/messages/pofile.py", line 224, in _process_comment
self._finish_current_message()
File "/usr/lib/python2.7/dist-packages/babel/messages/pofile.py", line 164, in _finish_current_message
self._add_message()
File "/usr/lib/python2.7/dist-packages/babel/messages/pofile.py", line 158, in _add_message
self.catalog[msgid] = message
File "/usr/lib/python2.7/dist-packages/babel/messages/catalog.py", line 603, in __setitem__
self.mime_headers = _parse_header(message.string).items()
File "/usr/lib/python2.7/dist-packages/babel/messages/catalog.py", line 406, in _set_mime_headers
self.locale = Locale.parse(value)
File "/usr/lib/python2.7/dist-packages/babel/core.py", line 330, in parse
raise UnknownLocaleError(input_id)
babel.core.UnknownLocaleError: unknown locale u'german'
debian/rules:12: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 1
More information about the Python-modules-team
mailing list