See comment #3 in bug #333125 et seq.
BTW, this kind of app probably belongs in app-portage since it can block an emerge.
Reproducible: Didn't try
*** Bug 427500 has been marked as a duplicate of this bug. ***
Can't do much here. If you do not upgrade your system for longish time, bad things happen and may require manual intervention.