Exit status of revdep-rebuild is always 0 regardless of success of emerge. From revdep-rebuild's code: if (( $(<"$STATUS_FILE") != 0 )); then ... exit $EMERGE_STATUS where EMERGE_STATUS is never set. Should be exit $(<"$STATUS_FILE") to work. Reproducible: Always Steps to Reproduce:
This bug was in first, but there is a lot more detail on the other... *** This bug has been marked as a duplicate of bug 326923 ***