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.
Created attachment 132826 [details, diff] revdep-rebuild_0.2.4_pre7--fix_SEARCH_DIRS_MASK.patch
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!
*** Bug 202588 has been marked as a duplicate of this bug. ***
$ svn commit -m "Filter SEARCH_DIRS_MASK paths from SEARCH_DIRS. (Bug 194993)" Sending revdep-rebuild/revdep-rebuild Transmitting file data . Committed revision 461.
Released in gentoolkit-0.2.4_rc2