[Python-modules-team] Bug#963317: python-urwidtrees: FTBFS: locale.Error: unsupported locale setting

Lucas Nussbaum lucas at debian.org
Sun Jun 21 21:06:01 BST 2020


Source: python-urwidtrees
Version: 1.0.1.1-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200620 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
>  fakeroot debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
> dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
>    dh_auto_clean -O--buildsystem=pybuild
> dh_auto_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> I: pybuild base:217: python3.8 setup.py clean 
> Traceback (most recent call last):
>   File "setup.py", line 4, in <module>
>     import urwidtrees.version as v
>   File "/<<PKGBUILDDIR>>/urwidtrees/__init__.py", line 6, in <module>
>     from .decoration import DecoratedTree, CollapsibleTree
>   File "/<<PKGBUILDDIR>>/urwidtrees/decoration.py", line 4, in <module>
>     import urwid
>   File "/usr/lib/python3/dist-packages/urwid/__init__.py", line 26, in <module>
>     from urwid.widget import (FLOW, BOX, FIXED, LEFT, RIGHT, CENTER, TOP, MIDDLE,
>   File "/usr/lib/python3/dist-packages/urwid/widget.py", line 27, in <module>
>     from urwid.util import (MetaSuper, decompose_tagmarkup, calc_width,
>   File "/usr/lib/python3/dist-packages/urwid/util.py", line 61, in <module>
>     detected_encoding = detect_encoding()
>   File "/usr/lib/python3/dist-packages/urwid/util.py", line 58, in detect_encoding
>     locale.setlocale(locale.LC_ALL, initial)
>   File "/usr/lib/python3.8/locale.py", line 608, in setlocale
>     return _setlocale(category, locale)
> locale.Error: unsupported locale setting
> E: pybuild pybuild:352: clean: plugin distutils failed with: exit code=1: python3.8 setup.py clean 
> dh_auto_clean: error: pybuild --clean -i python{version} -p 3.8 returned exit code 13
> make: *** [debian/rules:7: clean] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/06/20/python-urwidtrees_1.0.1.1-2_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