The command revdep-rebuild I've discovered will run through /usr/local/ and subsequent folders. Because no ebuild should _ever_ place anything there, and files there are simply ones that ones that have been manually installed, if a package was broken, there would be no way to have revdep-rebuild re-install it. Reproducible: Always Steps to Reproduce:
Just my unsolicited two cents - while it is inefficent for revdep-rebuild to scan /usr/local, as longs as the files it finds are not in an installed ebuild, it won't actually try to rebuild the broken files. It will list them in "Checking dynamic linking consistency..." stage which I find useful since it informs me that I have something installed locally that is broken. But when it goes to match the file against and ebuild, it doesn't find anything, so it doesn't actually try to rebuild anything. As an example, I copied my OpenOffice install to /usr/local (which has known "broken" files) and here is the ouput. revdep-rebuild --pretend Checking reverse dependencies... Packages containing binaries and libraries broken by any package update, will be recompiled. Collecting system binaries and libraries... done. (/root/.revdep-rebuild.1_files) Collecting complete LD_LIBRARY_PATH... done. (/root/.revdep-rebuild.2_ldpath) Checking dynamic linking consistency... ldd: warning: you do not have execution permission for `/usr/local/OpenOffice.org/program/python-core-2.2.2/lib/lib-dynload/_tkinter.so' broken /usr/local/OpenOffice.org/program/python-core-2.2.2/lib/lib-dynload/_tkinter.so (requires libtk8.3.so libtcl8.3.so) ldd: warning: you do not have execution permission for `/usr/local/OpenOffice.org/program/python-core-2.2.2/lib/lib-dynload/bsddb.so' broken /usr/local/OpenOffice.org/program/python-core-2.2.2/lib/lib-dynload/bsddb.so (requires libdb-3.1.so) done. (/root/.revdep-rebuild.3_rebuild) Assigning files to ebuilds... done. (/root/.revdep-rebuild.4_ebuilds) Evaluating package order... done. (/root/.revdep-rebuild.5_order) Dynamic linking on your system is consistent... All done. In summary, while I find it ineffecient, I do find the output useful to me.
Fixed with gentoolkit-0.2.1 Add SEARCH_DIRS_MASK="/usr/local" to /etc/make.conf