Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 220761
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Portage Utilities Team <tools-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Hanno Boeck <hanno@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
revdep-rebuild-speedup.diff speedup revdep-rebuild by doing sort|uniq between step 3 and 4 patch Hanno Boeck 2008-05-07 14:22 0000 677 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 220761 depends on: Show dependency tree
Bug 220761 blocks: 170220
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-05-07 14:21 0000
If several breakages occur on one file (e.g. on .la files), revdep-rebuild
wants to assign it to a package several times, which heavily slows it down.
Looks like this:

 * Assigning files to packages
 *   /usr/kde/3.5/lib/kde3/ark.la -> kde-base/ark
 *   /usr/kde/3.5/lib/kde3/ark.la -> kde-base/ark
 *   /usr/kde/3.5/lib/kde3/ark.la -> kde-base/ark
[...]

Between step 3 and 4, one could just insert a sort|uniq to avoid this. I've
written a fast and ugly patch for it.

------- Comment #1 From Hanno Boeck 2008-05-07 14:22:06 0000 -------
Created an attachment (id=152281) [details]
speedup revdep-rebuild by doing sort|uniq between step 3 and 4

------- Comment #2 From Paul Varner 2008-07-09 19:01:24 0000 -------
$ svn commit -m "Fix revdep-rebuild to not evaluate broken objects multiple
times. (Bug 220761)" ChangeLog src/revdep-rebuild/revdep-rebuild
Sending        ChangeLog
Sending        src/revdep-rebuild/revdep-rebuild
Transmitting file data ..
Committed revision 493.

------- Comment #3 From Paul Varner 2008-07-10 16:47:41 0000 -------
Released in gentoolkit-0.2.4_rc5.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug