1 |
On Tuesday 28 October 2008 23:19:22 Holger Hoffstaette wrote: |
2 |
> > It seems like perhaps FETCHCOMMAND is no longer the applicable setting in |
3 |
> > make.conf... |
4 |
> |
5 |
> It is, but with a twist. Read the wget manpage again, and you'll find: |
6 |
> |
7 |
> [..] when the output is not a TTY, the "dot" progress will be favored |
8 |
> over "bar". [..] |
9 |
|
10 |
When I read the other poster's reply, my first thought was that this is the |
11 |
underlying reason - portage traditionally made extensive use of tee in |
12 |
dealing with it's output and who knows what that output get connected to. |
13 |
|
14 |
But this seems to not be the case: |
15 |
|
16 |
ps axf of the running emerge, which is a regular pts: |
17 |
|
18 |
13744 pts/1 SN+ 0:12 | | |
19 |
\_ /usr/bin/python /usr/bin/emerge -f mozilla-sunbird |
20 |
13793 pts/1 SN+ 0:02 | | |
21 |
\_ /usr/bin/python -O /usr/lib64/portage/bin/ebuild /var/portage/app-office/mozilla-sunbird/mozilla-sunbird-0.9.ebuild |
22 |
fetch |
23 |
13806 pts/1 SN+ 0:00 | | \_ wget -t |
24 |
5 --passive-ftp --progress=bar |
25 |
ftp://ftp.is.co.za/mirror/gentoo.org/distfiles/lightning-sunbird-0.9-source.tar.bz2 -P /var/distfiles |
26 |
|
27 |
|
28 |
ps ax of the same wget run from a konsole: |
29 |
|
30 |
13869 pts/1 S+ 0:00 wget -t 5 --passive-ftp --progress=bar |
31 |
ftp://ftp.is.co.za/mirror/gentoo.org/distfiles/lightning-sunbird-0.9-source.tar.bz2 -P /var/distfiles |
32 |
|
33 |
Looks the same to me |
34 |
|
35 |
> So putting --progress=bar:force into FETCHCOMMAND/RESUMECOMMAND does the |
36 |
> trick. Maybe this was done for the --jobs option or a change in background |
37 |
> process logging to a file? No idea but the trick works for me. |
38 |
|
39 |
Sounds plausible. I can't quite see how it was implemented though |
40 |
|
41 |
-- |
42 |
alan dot mckinnon at gmail dot com |