Open
Bug 1561113
Opened 6 years ago
Updated 3 years ago
mach doesn't show progress with C locale
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox-esr60 unaffected, firefox67 unaffected, firefox68 affected, firefox69 affected)
NEW
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox67 | --- | unaffected |
firefox68 | --- | affected |
firefox69 | --- | affected |
People
(Reporter: jbeich, Unassigned)
References
(Regression)
Details
(Keywords: regression)
$ locale
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_TIME="C"
LC_NUMERIC="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=
$ python2.7
Python 2.7.16 (default, Jun 9 2019, 01:27:57)
[GCC 4.2.1 Compatible FreeBSD Clang 6.0.0 (tags/RELEASE_600/final 326565)] on freebsd11
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.getdefaultlocale()
(None, None)
>>> locale.getpreferredencoding()
'US-ASCII'
$ ./mach build
[...]
1:00.57 Compiling lazy_static v1.2.0
Exception in thread ProcessReader:compile misc libs tools
Traceback (most recent call last):
File "/usr/local/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/path/to/mozilla-central/testing/mozbase/mozprocess/mozprocess/processhandler.py", line 1085, in _read
callback(line.rstrip())
File "/path/to/mozilla-central/testing/mozbase/mozprocess/mozprocess/processhandler.py", line 995, in __call__
e(*args, **kwargs)
File "/path/to/mozilla-central/python/mach/mach/mixin/process.py", line 87, in handleLine
line_handler(line)
File "/path/to/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 689, in on_line
self.log(logging.INFO, 'build_output', {'line': message}, '{line}')
File "/path/to/mozilla-central/python/mach/mach/mixin/logging.py", line 54, in log
extra={'action': action, 'params': params})
File "/usr/local/lib/python2.7/logging/__init__.py", line 1238, in log
self._log(level, msg, args, **kwargs)
File "/usr/local/lib/python2.7/logging/__init__.py", line 1293, in _log
self.handle(record)
File "/usr/local/lib/python2.7/logging/__init__.py", line 1303, in handle
self.callHandlers(record)
File "/usr/local/lib/python2.7/logging/__init__.py", line 1343, in callHandlers
hdlr.handle(record)
File "/usr/local/lib/python2.7/logging/__init__.py", line 766, in handle
self.emit(record)
File "/path/to/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 573, in emit
self.fh.write(msg)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 556-557: ordinal not in range(128)
status-firefox67:
--- → unaffected
status-firefox68:
--- → affected
status-firefox69:
--- → affected
status-firefox-esr60:
--- → unaffected
Updated•3 years ago
|
Has Regression Range: --- → yes
Updated•3 years ago
|
Keywords: regression
Updated•3 years ago
|
Severity: normal → S3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•