Gentoo Archives: gentoo-user

From: Harry Putnam <reader@×××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Need coaching with emerge failure logs (Understanting the problem)
Date: Wed, 01 Mar 2017 01:07:51
Message-Id: 86zih5ajoy.fsf@reader.local.lan
In Reply to: Re: [gentoo-user] Re: Need coaching with emerge failure logs (Understanting the problem) by Miroslav Rovis
1 Miroslav Rovis <miro.rovis@××××××××××××××.hr> writes:
2
3 > On 170226-09:42-0500, Harry Putnam wrote:
4 >> Stroller <stroller@××××××××××××××××××.uk> writes:
5 > ...
6 >>
7 >> > Example at the beginning: [32;01m *
8 >> > Example from the end: *
9 >> >
10 >> > Output to the terminal these would show the text in different colours,
11 >> > but the output was redirected to a textfile or mishandled in a
12 >> > copy-paste operation (not sure if screen or tmux does this?).
13 >> >
14 >> > Running emerge with `--color n` would have made this log much more
15 >> > readable. Its size already makes it hard to search.
16 >>
17 >> Yes, and I am sorry about that, its just that I could not discern what
18 >> parts were important. Still I should have posted only the last
19 >> 400-500 lines.
20 >>
21 >> Just so you know... I did try that. [--color n] The resulting log
22 >> looked exactly the same. ...
23 >
24 > This is hard to believe. I just tried, and either:
25 >
26 > --color n
27 >
28 > or:
29 >
30 > --color=n
31 >
32 > added to the emerge line, worked.
33 >
34
35 Are you looking at the Terminal output? If so that is not what I
36 posted.
37
38 I did mention that yes `--color n' kills the color in terminal output.
39
40 Read the whole paragraph you quote 1 sentence from above.
41
42 This is the end of that para:
43
44 ". . . . . . . . . . . . . . . . . . . . . . . . I don't expect
45 anyone would have noticed the comment... but it does seem a bit off
46 that I see no differernce here. That is, no difference in the actual
47 log emerge creates. I do see the difference in the terminal output."
48
49 But as I mentioned what I posted was not the terminal output but the
50 actual log that emerge creates for you.. and points you to when a
51 failure occurs.
52
53 I just checked it again and I know that is what happens. That is,
54 setting `--color n' kills the color ouput at the terminal however the
55 `build.log' still contains all the color sequences.
56
57 I'm already viewed dimly for posting so much junk so rather than post
58 samples of both ... I'll leave it for you to try yourself.

Replies

Subject Author
Re: [gentoo-user] Re: Need coaching with emerge failure logs (Understanting the problem) Miroslav Rovis <miro.rovis@××××××××××××××.hr>
[gentoo-user] emerge option "--color=n" not working WAS: Need coaching with emerge failure logs Miroslav Rovis <miro.rovis@××××××××××××××.hr>