Add --autounmask-only parameter that will display autounmask messages, perform autounmasking (in accordance with the other --autounmask-* parameters), and exit with success (return value 0). This will make it possible to differentiate cases where emerge exists due to compilation failure and where emerge autounmasks packages. Reproducible: Always
Patch posted for review at: https://archives.gentoo.org/gentoo-portage-dev/message/94219ffc3dbef96eb970a67bb672e6db
Fixed in git: https://gitweb.gentoo.org/proj/portage.git/commit/?id=51f100e42753d6ffd3a24dfcb2ff8af0aa34966e
Fixed in 2.2.27.