Regardless of the existence of broken packages, the output of the new python-based is always the same: * Collecting system binaries and libraries Could not save cache: write() argument 1 must be unicode, not str * Checking dynamic linking consistency Your system is consistent I think it fails to work because of this error "Could not save cache: write() argument 1 must be unicode, not str". The old version, revdep-rebuild.sh, successfully found my 10 broken packages, but that old version does not work quite correctly either, because it tries to rebuild all the tree (1300 packages) although it is not needed. Please fix both revdep-rebuild tools as they are essential on Gentoo. Reproducible: Always Steps to Reproduce: For example, 1.Downgrade Qt 5.7 -> 5.6 2.Run revdep-rebuild, see the mentioned red error message. 3.No broken packages are found, although all Qt5 apps are now broken
Wrong, The failure to write the cache only means if you did another run in a short period of time, it would not be able to load the cache, so it would have to scan everything again from scratch. This write cache issue ( bug 589130 ) and other issues regarding the masks have been fixed in the 0.3.3 release. Please emerge the latest version of gentoolkit and re-test. Also, please try to include at a minimum, your emerge --info. But also please include the output of both the python version of revdep-rebuild and the bash version of revdep-rebuild. If neither version are able to detect your breakage, then chances are there is no breakage. But if the bash one shows the breakage, it will give us a starting point to trace how the python one is failing. So, please don't immediately rebuild if possible. Re-open when you get the above info.