Mach output on Windows contains escape sequences and is hard to read
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
People
(Reporter: jorgk-bmo, Unassigned)
Details
mach support on Windows is rather poor anyway, what comes out in nice colours on Linux, comes out as funny escape sequences in the DOS/sh window:
0:11.16 [0m[0m[1m[36m Blocking[0m waiting for file lock on build directory
0:11.31 [0m[0m[1m[32m Finished[0m dev [optimized + debuginfo] target(s) in 2.13s
0:11.31 [0m[0m[1m[32m Finished[0m dev [optimized + debuginfo] target(s) in 2.13s
0:11.36 [0m[0m[1m[32m Finished[0m dev [optimized + debuginfo] target(s) in 2.18s
0:12.27 [0m[0m[1m[32m Finished[0m dev [optimized + debuginfo] target(s) in 3.07s
(you can't even see in the posted comment that there are non-printable characters in fron of each [0m, maybe a ESC.)
The rust compiler is another "beauty":
1:18.79 [0m[0m[1m[32m Compiling[0m binast v0.1.1 (C:\mozilla-source\comm-central\js\src\frontend\binast)
1:18.83 [0m[0m[1m[32m Compiling[0m geckodriver v0.24.0 (C:\mozilla-source\comm-central\testing\geckodriver)
Should that be filed separately?
Comment 1•7 years ago
|
||
See bug 1417003
Comment 2•7 years ago
|
||
In fact, this is just a dupe.
| Reporter | ||
Comment 3•7 years ago
|
||
BTW, those escape sequences already showed up incorrectly long before the arrival of rust/cargo, like when I stated in 2015. But I guess that bug will fix colours in general one day.
Comment 4•7 years ago
|
||
Comment 0 only contains lines that come from cargo. For the rest, it has always worked on my machine in the shell that mozillabuild's start-shell.bat starts by default.
| Reporter | ||
Comment 5•7 years ago
|
||
OK, I stand corrected. Let me rephrase then: Even in 2015, Linux was colourful and Windows was B/W. Linux even has/had some nice tier(?) and percentage information at the bottom. Well, I haven't compiled on Linux in years, so my memory is a little faint.
Description
•