Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394335 - Show genlop-like ETA with quiet-build
Summary: Show genlop-like ETA with quiet-build
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 184128
  Show dependency tree
 
Reported: 2011-12-11 13:16 UTC by Dennis Schridde
Modified: 2023-07-18 21:59 UTC (History)
5 users (show)

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 Dennis Schridde 2011-12-11 13:16:43 UTC
Currently, when quiet-build is enabled, there is no indication how far building a package has progressed.

Hence I propose to calculate an ETA when the build is started and then display the "current merge time" and the "ETA", as "genlop -c" would. While not extremely accurate, it still gives a good indication on the progress.
Comment 1 tdr 2011-12-12 18:18:54 UTC
Wouldn't doing that require python module support and thus make portage have a larger dep graph?

The non-quiet version of portage did not support an ETA either, although I think it was suggested and shot down several times.
Comment 2 Zac Medico gentoo-dev 2011-12-12 18:31:07 UTC
(In reply to comment #1)
> Wouldn't doing that require python module support and thus make portage have a
> larger dep graph?

No, it just has to read /var/log/emerge.log and create a little database of average build times.
Comment 3 Dennis Schridde 2011-12-12 23:27:14 UTC
(In reply to comment #1)
> The non-quiet version of portage did not support an ETA either
The major difference to the --quiet-build=n is that that will show e.g. make or cmake's output, which gives an indication of the build's progress.

Hence this bug is similar to bug #391323 - maybe even a partial solution for it.