Note to self: run this once in a while…
revdep-rebuild -X -i -a
Should clean things up. I needed to do this to fix a nasty change to the libexpat library that wasn’t handled cleanly by portage.
I’ve seen this suggested as a simpler alternative. Take the packages from the output and re-emerge them.
equery depends dev-libs/expat
Move on.