Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589388 - thunderbird ebuild crashes equery
Summary: thunderbird ebuild crashes equery
Status: RESOLVED DUPLICATE of bug 587606
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-22 19:32 UTC by Martin Unzner
Modified: 2016-07-22 19:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Unzner 2016-07-22 19:32:39 UTC
equery crashes when analyzing thunderbird ebuild:

$ equery uses thunderbird
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for mail-client/thunderbird-45.2.0:
 U I
 - - bindist              : Disable official Thunderbird branding (icons, name) which are not binary-redistributable
                            according to upstream.
...
 - - l10n_ko              : Korean
 - - l10n_lt              : Lithuanian
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/equery", line 38, in <module>
    equery.main(sys.argv)
  File "/usr/lib64/python2.7/site-packages/gentoolkit/equery/__init__.py", line 357, in main
    loaded_module.main(module_args)
  File "/usr/lib64/python2.7/site-packages/gentoolkit/equery/uses.py", line 309, in main
    display_useflags(output)
  File "/usr/lib64/python2.7/site-packages/gentoolkit/equery/uses.py", line 117, in display_useflags
    desc = twrap.fill(desc)
  File "/usr/lib64/python2.7/textwrap.py", line 338, in fill
    return "\n".join(self.wrap(text))
  File "/usr/lib64/python2.7/textwrap.py", line 329, in wrap
    return self._wrap_chunks(chunks)
  File "/usr/lib64/python2.7/site-packages/gentoolkit/textwrap_.py", line 95, in _wrap_chunks
    lines.append(indent + ''.join(cur_line))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 14: ordinal not in range(128)

I suppose there are illegal characters in the locale descriptions of the thunderbird ebuild, but I could not tell at first glance.

Thanks for looking into this!
Comment 1 Alex Xu (Hello71) 2016-07-22 19:40:22 UTC

*** This bug has been marked as a duplicate of bug 587606 ***