Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58473 - genlop -c printing incorrect ETA
Summary: genlop -c printing incorrect ETA
Status: RESOLVED UPSTREAM
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-26 15:32 UTC by CBke -Left- bye
Modified: 2004-08-02 20:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CBke -Left- bye 2004-07-26 15:32:50 UTC
There seems to be a problem printing the eta when the current merge takes longer then before. 
My PS1 looks like this:

 echo $PS1
\[\033[01;33m\] $(date +%k:%M:%S) \[\033[01;32m\]\u@\h \[\033[01;34m\]\w \$ \[\033[00m\]


resulting in th following output :

<block>
  0:18:53 cb@CBke ~ $ genlop -c

 * net-www/mozilla-1.7-r1 

       current merge time: 1 hour, 2 minutes and 48 seconds.
       ETA: less than a minute.
  0:19:02 cb@CBke ~ $ genlop -c

 * net-www/mozilla-1.7-r1 

       current merge time: 1 hour, 3 minutes and 18 seconds.
       ETA: 6 days, 23 hours, 59 minutes and 50 seconds.
</end block>
Comment 1 CBke -Left- bye 2004-07-28 08:37:23 UTC
another example

 17:35:37 cb@CBke ~ $ genlop -c

 * dev-util/eclipse-sdk-2.1.3-r5 

       current merge time: 17 minutes and 5 seconds.
       ETA: less than a minute.
 17:35:47 cb@CBke ~ $ genlop -c

 * dev-util/eclipse-sdk-2.1.3-r5 

       current merge time: 17 minutes and 14 seconds.
       ETA: .
 17:35:56 cb@CBke ~ $ genlop -c

 * dev-util/eclipse-sdk-2.1.3-r5 

       current merge time: 17 minutes and 19 seconds.
       ETA: 6 days, 23 hours, 59 minutes and 55 seconds.
Comment 2 SpanKY gentoo-dev 2004-08-02 20:42:02 UTC
try e-mailing upstream, we dont maintain this package [giorgio@mysite@org]