Re: [gentoo-user] Portage telling me what it's doing

2012-06-05 Thread Dale
Neil Bothwick wrote:
> On Tue, 05 Jun 2012 17:54:44 -0500, Dale wrote:
> 
>>> Last time I looked, qlop did not provide any estimate of time
>>> remaining.
> 
>> That will teach me to take a nap.  That's why I use genlop too.  I
>> rarely use any of the q commands.  It seems something is always missing
>> for one reason or the other.  I'm sure that varies over time tho.
> 
> I do like the q commands, they are fast and generally do what I want. But
> this one lets the side down a little.
> 
> 


I did try them a while back.  They are fast.  It sort of reminds me of
when I logged out of KDE and into Fluxbox.  I was waiting on Fluxbox to
come up when I realized I blinked and missed it.  LOL   Fluxbox runs
pretty quick on a 4 core machine. ;-)

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"



Re: [gentoo-user] Portage telling me what it's doing

2012-06-05 Thread Neil Bothwick
On Tue, 05 Jun 2012 17:54:44 -0500, Dale wrote:

> > Last time I looked, qlop did not provide any estimate of time
> > remaining.

> That will teach me to take a nap.  That's why I use genlop too.  I
> rarely use any of the q commands.  It seems something is always missing
> for one reason or the other.  I'm sure that varies over time tho.

I do like the q commands, they are fast and generally do what I want. But
this one lets the side down a little.


-- 
Neil Bothwick

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


signature.asc
Description: PGP signature


Re: [gentoo-user] Portage telling me what it's doing

2012-06-05 Thread Dale
Neil Bothwick wrote:
> On Tue, 5 Jun 2012 22:41:26 +0800, Kerwin Hui wrote:
> 
>>> If it is updates, I do this:
>>>
>>> emerge --resume -p | genlop -p
>>>   
>>
>> Any reason why genlop instead of qlop (app-portage/portage-utils)?
> 
> Last time I looked, qlop did not provide any estimate of time remaining.
> 
> 


That will teach me to take a nap.  That's why I use genlop too.  I
rarely use any of the q commands.  It seems something is always missing
for one reason or the other.  I'm sure that varies over time tho.

I'm just disappointed that genlop fails if it runs into a package that
has not been compiled before.  It offers a option to go to a website and
estimate the time from that but thing is, no one has my CPU so that
errors out too.  I wish they would put it back like it was and if a
person wants to use the option to check a website, fine, they can do
that.  In the meantime, I get something besides a error message and no
info at all.

Progress is sometimes no progress at all.

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"



Re: [gentoo-user] Portage telling me what it's doing

2012-06-05 Thread Neil Bothwick
On Tue, 5 Jun 2012 22:41:26 +0800, Kerwin Hui wrote:

> > If it is updates, I do this:
> > 
> > emerge --resume -p | genlop -p
> >   
> 
> Any reason why genlop instead of qlop (app-portage/portage-utils)?

Last time I looked, qlop did not provide any estimate of time remaining.


-- 
Neil Bothwick

Bug: (n.) any program feature not yet described to the marketing
department.


signature.asc
Description: PGP signature


Re: [gentoo-user] Portage telling me what it's doing

2012-06-05 Thread Bryan Gardiner
> On Tue, 05 Jun 2012 06:43:30 -0500
> Dale  wrote:
> 
> > If it is updates, I do this:
> > 
> > emerge --resume -p | genlop -p
> > 

Fantastic, thanks, --resume has always seemed like black magic to me
(to the point where I do big installs by editing
/var/lib/portage/world and emerging world in case something breaks),
but it seems simpler than I had thought.

> > That tells what is left time wise and is faster to since it is working
> > off the list already made.  Then again, it seems genlop wasn't working
> > right the other day.  I meant to check into that but forgot about it.
> > It seems, if I recall correctly, that if a package has not been compiled
> > before, it just spits out a error message.  It used to spit out that
> > there was 'no info available for package foo' then just show the rest.
> > Now, it just pukes on the keyboard and dies.
> > 
> > Progress.  It always breaks things.  < sighs >

Hmm, the behaviour for me has always seemed to be: don't count
packages that haven't been emerged previously, and if the last package
emerge spits out is unknown to genlop, then abort and don't print an
estimate.  Really annoying.


On Tue, 5 Jun 2012 22:41:26 +0800
Kerwin Hui  wrote:

> Any reason why genlop instead of qlop (app-portage/portage-utils)?
> 
> IIRC once upon a time there was a change of portage log output and
> genlop failed me but qlop didn't.  I changed to qlop and never looked
> back.
> 
> Kerwin.

qlop's great too, and much faster.  I've seen slight (tens of seconds)
discrepancies between the build times given by genlop and qlop during
a build, and on occasion have seen qlop reset its counter weirdly,
though maybe this happened in the install phase:

$ qlop -c
 * mail-client/evolution-2.30.2-r1
 started: Sat Sep 25 15:38:23 2010
 elapsed: 15 minutes, 54 seconds
 chroot:  /
$ genlop -c

 Currently merging 59 out of 76

 * mail-client/evolution-2.30.2-r1

   current merge time: 1 hour, 21 minutes and 36 seconds.
   ETA: unknown.

In any case, that was a while ago :).

Cheers,
Bryan



Re: [gentoo-user] Portage telling me what it's doing

2012-06-05 Thread Kerwin Hui
On Tue, 05 Jun 2012 06:43:30 -0500
Dale  wrote:

> Bryan Gardiner wrote:
> > On Sat, 02 Jun 2012 02:06:44 -0500
> > Dale  wrote:
> > 
> >> I use the command:
> >>
> >> genlop -c
> >>
> >> That tells what is compiling and some general time info too.
> > 
> > +1 for genlop.  Also, if you're upgrading a number of large
> > packages, it can help to have an estimate of how long you'll be
> > compiling:
> > 
> > $ emerge -pNuD world | genlop -p
> > 
> 
> 
> If it is updates, I do this:
> 
> emerge --resume -p | genlop -p
> 

Any reason why genlop instead of qlop (app-portage/portage-utils)?

IIRC once upon a time there was a change of portage log output and
genlop failed me but qlop didn't.  I changed to qlop and never looked
back.

Kerwin.


signature.asc
Description: PGP signature


Re: [gentoo-user] Portage telling me what it's doing

2012-06-05 Thread Dale
Bryan Gardiner wrote:
> On Sat, 02 Jun 2012 02:06:44 -0500
> Dale  wrote:
> 
>> I use the command:
>>
>> genlop -c
>>
>> That tells what is compiling and some general time info too.
> 
> +1 for genlop.  Also, if you're upgrading a number of large packages,
> it can help to have an estimate of how long you'll be compiling:
> 
> $ emerge -pNuD world | genlop -p
> 
> Or you can use "emerge --quiet-build=y" if you'd like to hide all the
> build output and only have Portage display what the currently
> compiling package(s) are.  You can still tail the build logs in
> /var/tmp/portage/*/*/build.log to watch what's going on.
> 
> Cheers,
> Bryan
> 
> 


If it is updates, I do this:

emerge --resume -p | genlop -p

That tells what is left time wise and is faster to since it is working
off the list already made.  Then again, it seems genlop wasn't working
right the other day.  I meant to check into that but forgot about it.
It seems, if I recall correctly, that if a package has not been compiled
before, it just spits out a error message.  It used to spit out that
there was 'no info available for package foo' then just show the rest.
Now, it just pukes on the keyboard and dies.

Progress.  It always breaks things.  < sighs >

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"



Re: [gentoo-user] Portage telling me what it's doing

2012-06-05 Thread Bryan Gardiner
On Sat, 02 Jun 2012 02:06:44 -0500
Dale  wrote:

> I use the command:
> 
> genlop -c
> 
> That tells what is compiling and some general time info too.

+1 for genlop.  Also, if you're upgrading a number of large packages,
it can help to have an estimate of how long you'll be compiling:

$ emerge -pNuD world | genlop -p

Or you can use "emerge --quiet-build=y" if you'd like to hide all the
build output and only have Portage display what the currently
compiling package(s) are.  You can still tail the build logs in
/var/tmp/portage/*/*/build.log to watch what's going on.

Cheers,
Bryan



Re: [gentoo-user] Portage telling me what it's doing

2012-06-03 Thread Andrew Lowe

On 3/06/2012 10:54 PM, YoYo Siska wrote:

On Sat, Jun 02, 2012 at 02:44:31AM -0400, Walter Dnes wrote:

On Sat, Jun 02, 2012 at 02:08:39PM +0800, Andrew Lowe wrote


Is there a way so that the terminal that the emerge is happening in can
display additional info? At the moment, I get:

/home/agl: emerge

can I get, say:

/home/agl: emerge www-client/firefox


Are you using konsole ? As walter said, emerge sets the title of the
shell/terminal window to include the current package, however konsole
does not (by default) show the titles set by programs, but is configured
to only show the working dir and command name...

Just go to Settings ->  Edit current profile ->  Tabs  (tab ;) and
you will see two things: Tab title format and Remote tab title format
(the defautl for the first is '%d: %n' == 'current dir: current
command', which is exactly what you wrote), just change them to '%w' and
you will get what every other decent terminal app shows ;) (you can
click the "Insert" dropdown to see other options)

yoyo



Yoyo,
	You've hit the nail on the head here. I am indeed using konsole, not 
xterm, and this will give me exactly what I want.


	Thanks to everyone else for their suggestions as well, some of which 
I'll have to look into, in particular the logging.


Andrew



Re: [gentoo-user] Portage telling me what it's doing

2012-06-03 Thread YoYo Siska
On Sat, Jun 02, 2012 at 02:44:31AM -0400, Walter Dnes wrote:
> On Sat, Jun 02, 2012 at 02:08:39PM +0800, Andrew Lowe wrote
> > 
> > Is there a way so that the terminal that the emerge is happening in can 
> > display additional info? At the moment, I get:
> > 
> > /home/agl: emerge
> > 
> > can I get, say:
> > 
> > /home/agl: emerge www-client/firefox

Are you using konsole ? As walter said, emerge sets the title of the
shell/terminal window to include the current package, however konsole
does not (by default) show the titles set by programs, but is configured
to only show the working dir and command name...

Just go to Settings -> Edit current profile -> Tabs  (tab ;) and 
you will see two things: Tab title format and Remote tab title format
(the defautl for the first is '%d: %n' == 'current dir: current
command', which is exactly what you wrote), just change them to '%w' and
you will get what every other decent terminal app shows ;) (you can
click the "Insert" dropdown to see other options)

yoyo


> 
>   I use xterm under ICEWM (a simple WM). The title bar at the top of the
> xterm lists how far in the list you are, and the current ebuild...
> 
> emerge:(1 of 2) www-client/midori-0.4.3 Compile
> 
> see attached top few lines of a screen shot.  Note that even if you
> minimize the xterm, you can still see the info by doing either of...
> 
> * holding down {ALT-TAB} to bring up the programs menu
> * hovering the mouse pointer over the location on the program bar list
>   of running programs.
> 
>   Both of these simply duplicate what shows up on the title bar.
> 
> -- 
> Walter Dnes 





Re: [gentoo-user] Portage telling me what it's doing

2012-06-02 Thread David Relson
On Sat, 02 Jun 2012 14:08:39 +0800
Andrew Lowe wrote:

> Hi all,
>   I've just kicked off an "emerge -NuD world" and will now head
> out for a while. My emerge has to do, amongst others, gcc,
> libreoffice, Firefox & Thunderbird. Now when I get back I'll want to
> know where the emerge is up to so, in my ignorance of portage/emerge
> in great depth and with only compiler output spewing up the screen,
> I'll fire up another terminal, and now don't laugh, I'll do "emerge
> --pretend -NuD world". That will tell me what's currently being
> compiled as it will be the top thingy on the list. There has to be a
> better way
> 
>   Is there a way so that the terminal that the emerge is
> happening in can display additional info? At the moment, I get:
> 
> /home/agl: emerge
> 
> can I get, say:
> 
> /home/agl: emerge www-client/firefox
> 
> by setting some config variable? Failing that is there a log file
> that lists just what's been emerged, not a whole lot of "checking
> this, checking that, compiling this file, linking that library,
> whoops, error here..." sort of thing.
> 
>   Any thoughts, greatly appreciated,
> 
>   Andrew

I use "emerge -auDtqv world" to update.  

The "uD" identifies all the updates (from world) and the packages used
in lower levels.  The "t" uses indented names to show levels of
dependency.  Lastly "qv" suppresses (from my console) all the
configuration and build details while that information is written
to /var/lib/portage.

In short, I can see what's being emerged without being overwhelmed by
details.

HTH,

David



Re: [gentoo-user] Portage telling me what it's doing

2012-06-02 Thread Alex Schuster
Andrew Lowe writes:

>   I've just kicked off an "emerge -NuD world" and will now head
> out for a while. My emerge has to do, amongst others, gcc, libreoffice,
> Firefox & Thunderbird. Now when I get back I'll want to know where the
> emerge is up to so, in my ignorance of portage/emerge in great depth
> and with only compiler output spewing up the screen, I'll fire up
> another terminal, and now don't laugh, I'll do "emerge --pretend -NuD
> world". That will tell me what's currently being compiled as it will be
> the top thingy on the list. There has to be a better way

Using the --jobs / -j option to emerge will give a nice output, omitting
all the compiler output. It can also speed up emerging, because it will
build packages in parallel. I really really like this feature.

>   Is there a way so that the terminal that the emerge is
> happening in can display additional info? At the moment, I get:
> 
> /home/agl: emerge
> 
> can I get, say:
> 
> /home/agl: emerge www-client/firefox
> 
> by setting some config variable?

Yes, but I do not know how.

> Failing that is there a log file that 
> lists just what's been emerged, not a whole lot of "checking this, 
> checking that, compiling this file, linking that library, whoops, error 
> here..." sort of thing.

tail -f /var/log/emerge.log, or better emerge app-portage/genlop, then
use genlop -l | tail.

Wonko



Re: [gentoo-user] Portage telling me what it's doing

2012-06-02 Thread Dale
Andrew Lowe wrote:
> Hi all,
> I've just kicked off an "emerge -NuD world" and will now head out
> for a while. My emerge has to do, amongst others, gcc, libreoffice,
> Firefox & Thunderbird. Now when I get back I'll want to know where the
> emerge is up to so, in my ignorance of portage/emerge in great depth and
> with only compiler output spewing up the screen, I'll fire up another
> terminal, and now don't laugh, I'll do "emerge --pretend -NuD world".
> That will tell me what's currently being compiled as it will be the top
> thingy on the list. There has to be a better way
> 
> Is there a way so that the terminal that the emerge is happening in
> can display additional info? At the moment, I get:
> 
> /home/agl: emerge
> 
> can I get, say:
> 
> /home/agl: emerge www-client/firefox
> 
> by setting some config variable? Failing that is there a log file that
> lists just what's been emerged, not a whole lot of "checking this,
> checking that, compiling this file, linking that library, whoops, error
> here..." sort of thing.
> 
> Any thoughts, greatly appreciated,
> 
> Andrew
> 
> 


I use the command:

genlop -c

That tells what is compiling and some general time info too.

Hope that helps.

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"



Re: [gentoo-user] Portage telling me what it's doing

2012-06-01 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02.06.2012 08:08, Andrew Lowe wrote:
> Hi all, I've just kicked off an "emerge -NuD world" and will now
> head out for a while. My emerge has to do, amongst others, gcc,
> libreoffice, Firefox & Thunderbird. Now when I get back I'll want
> to know where the emerge is up to so, in my ignorance of
> portage/emerge in great depth and with only compiler output spewing
> up the screen, I'll fire up another terminal, and now don't laugh,
> I'll do "emerge --pretend -NuD world". That will tell me what's
> currently being compiled as it will be the top thingy on the list.
> There has to be a better way
> 
> Is there a way so that the terminal that the emerge is happening
> in can display additional info? At the moment, I get:

> here..." sort of thing.
> 
> Any thoughts, greatly appreciated,
> 
> Andrew
> 

I normally issue something like

cat /var/log/emerge.log | grep -i compiling | tail -n 1

from another terminal. It shows the last package for which compiling
started. if you change the -n 1 to -n 2 it'll show the last 2 packages
(if you leave it out, you'll get the last 10).
You could also replace compiling with i.e. merge (then it'll look for
another part of the build process.

Otherwise (like Walter stated) most terminals within X (that I've
tried) add this info to the titlebar.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPybnNAAoJEJwwOFaNFkYcBkYH/35c9bgkWUyFORyPfcqsYvPA
qAgKTBpS9i4FdA+TJYKBP+DpkNvlQlCtyb3I3YrrADSZKrQIopX9He55FDrxDh+6
/iySLA7/0DgKlJgxTofrXbJHpvZHsCjRF21UQJdk57RYD6JBGarCywJF52vNkNVz
c2C9FfeZHXM1CdqWHApIE0UPa+mq6mnk81XrzbQ39PT6ObLuxVpsD8hVPO5puMLD
+yYD3thNWyXx3WkDq1ZaR+sT+ZfYKjezByLS+N4Nj+BAAa5yC8I3A8b1HzCylo6d
sfbltqbLSHdTtQhZJQq7EHqbqjJ3xs0HUkhzNqRHNJIoMFVkyQs3VnuHjjvNMBE=
=WvQg
-END PGP SIGNATURE-



Re: [gentoo-user] Portage telling me what it's doing

2012-06-01 Thread Walter Dnes
On Sat, Jun 02, 2012 at 02:08:39PM +0800, Andrew Lowe wrote
> 
>   Is there a way so that the terminal that the emerge is happening in can 
> display additional info? At the moment, I get:
> 
> /home/agl: emerge
> 
> can I get, say:
> 
> /home/agl: emerge www-client/firefox

  I use xterm under ICEWM (a simple WM). The title bar at the top of the
xterm lists how far in the list you are, and the current ebuild...

emerge:(1 of 2) www-client/midori-0.4.3 Compile

see attached top few lines of a screen shot.  Note that even if you
minimize the xterm, you can still see the info by doing either of...

* holding down {ALT-TAB} to bring up the programs menu
* hovering the mouse pointer over the location on the program bar list
  of running programs.

  Both of these simply duplicate what shows up on the title bar.

-- 
Walter Dnes 
<>

Re: [gentoo-user] Portage telling me what it's doing

2012-06-01 Thread Pandu Poluan
On Jun 2, 2012 1:13 PM, "Andrew Lowe"  wrote:
>
> Hi all,
>I've just kicked off an "emerge -NuD world" and will now head out
for a while. My emerge has to do, amongst others, gcc, libreoffice, Firefox
& Thunderbird. Now when I get back I'll want to know where the emerge is up
to so, in my ignorance of portage/emerge in great depth and with only
compiler output spewing up the screen, I'll fire up another terminal, and
now don't laugh, I'll do "emerge --pretend -NuD world". That will tell me
what's currently being compiled as it will be the top thingy on the list.
There has to be a better way
>
>Is there a way so that the terminal that the emerge is happening
in can display additional info? At the moment, I get:
>
> /home/agl: emerge
>
> can I get, say:
>
> /home/agl: emerge www-client/firefox
>
> by setting some config variable? Failing that is there a log file that
lists just what's been emerged, not a whole lot of "checking this, checking
that, compiling this file, linking that library, whoops, error here..."
sort of thing.
>
>Any thoughts, greatly appreciated,
>

I never tried it while an emerge @world us running, but elogv/elogviewer
sorts by last emerge time.

Thus, the last package emerged -- successfully or not -- is topmost.

Rgds,


[gentoo-user] Portage telling me what it's doing

2012-06-01 Thread Andrew Lowe

Hi all,
	I've just kicked off an "emerge -NuD world" and will now head out for a 
while. My emerge has to do, amongst others, gcc, libreoffice, Firefox & 
Thunderbird. Now when I get back I'll want to know where the emerge is 
up to so, in my ignorance of portage/emerge in great depth and with only 
compiler output spewing up the screen, I'll fire up another terminal, 
and now don't laugh, I'll do "emerge --pretend -NuD world". That will 
tell me what's currently being compiled as it will be the top thingy on 
the list. There has to be a better way


	Is there a way so that the terminal that the emerge is happening in can 
display additional info? At the moment, I get:


/home/agl: emerge

can I get, say:

/home/agl: emerge www-client/firefox

by setting some config variable? Failing that is there a log file that 
lists just what's been emerged, not a whole lot of "checking this, 
checking that, compiling this file, linking that library, whoops, error 
here..." sort of thing.


Any thoughts, greatly appreciated,

Andrew