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

Filename Description Type Creator Created Size Actions
revdep-rebuild_0.2.4_pre7--fix_SEARCH_DIRS_MASK.patch revdep-rebuild_0.2.4_pre7--fix_SEARCH_DIRS_MASK.patch patch TGL 2007-10-07 13:50 0000 889 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 194993 depends on: Show dependency tree
Bug 194993 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: 2007-10-07 13:50 0000
I have defined SEARCH_DIRS_MASK="/opt/sun-*" in my make.conf, and seen that
revdep-rebuild was still reporting some broken
"/opt/sun-jdk-1.4.2.15/jre/lib/..." files.

This behavior comes from the fact that some /opt/sun-jdk-1.4.2.15/jre/lib/
subdirs are in my "ld.so.conf", and thus end in the SEARCH_DIRS variable. 
Then, the binaries collecting "find" command is like that:
  find ... /opt/sun-jdk-1.4.2.15/jre/lib/i386 ... \( -path
/opt/sun-jdk-1.4.2.15 -o ... \) -prune -o ...
Here, /opt/sun-jdk-1.4.2.15/jre/lib/i386 won't be pruned ("-path" is not a
prefix check, but an exact path check).

I will attach a possible fix, which consists of filtering the SEARCH_DIRS
variable to remove all paths prefixed by some masked paths.

------- Comment #1 From TGL 2007-10-07 13:50:34 0000 -------
Created an attachment (id=132826) [details]
revdep-rebuild_0.2.4_pre7--fix_SEARCH_DIRS_MASK.patch

------- Comment #2 From jieryn 2007-10-08 22:26:42 0000 -------
Please commit the patch or fix the tool directly, it is annoying to scan
through tons of programs I already know to be (harmlessly) broken.

Thanks!

------- Comment #3 From Vlastimil Babka (Caster) 2008-01-17 18:10:11 0000 -------
*** Bug 202588 has been marked as a duplicate of this bug. ***

------- Comment #4 From Paul Varner 2008-02-16 20:51:50 0000 -------
$ svn commit -m "Filter SEARCH_DIRS_MASK paths from SEARCH_DIRS. (Bug 194993)"
Sending        revdep-rebuild/revdep-rebuild
Transmitting file data .
Committed revision 461.

------- Comment #5 From Paul Varner 2008-02-21 01:52:12 0000 -------
Released in gentoolkit-0.2.4_rc2

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