Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 58473

Summary: genlop -c printing incorrect ETA
Product: Portage Development Reporter: CBke -Left- bye <cbatdotcom>
Component: Third-Party ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED UPSTREAM    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

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]