qlop does not recognize entries from /var/log/emerge.log if two emerges are interleaved. Patch from Fabian Groffen and me will be attached soon.
Created attachment 154707 [details, diff] portage-utils-0.1.29-qlop.patch patch to let qlop search for a mathing completed merge line for a started merge to cope with interleaved merges.
i don't understand what this patch is supposed to accomplish. Can you please give (before and after) examples. Thanks in advance.
/var/log/emerge.log can contain the following: >>> emerge (X of Y) cat/package1 ... *** emerge started >>> emerge (S of T) cat/package2 ::: completed emerge (S of T) cat/package2 *** emerge finished ... ::: completed emerge (X of Y) cat/package1 qlop in this case stops when it sees the "*** emerge started" in this case, because it assumes this means an aborted emerge. However, in reality it is another emerge started in parallel. What the patch does, is to look in the log for a matching "completed emerge" for the package that the time is checked for.
With the recent addition of --jobs=X to Portage, this patch (or another fix for the same problem) is more actual than ever.
thanks, added patch to cvs http://sources.gentoo.org/gentoo-projects/portage-utils/qlop.c?r1=1.42&r2=1.43
*** Bug 263113 has been marked as a duplicate of this bug. ***