Portmap needs to depend on "sys-apps/shadow" for groupadd command. I can see how this went unnoticed, not too many people run without shadow nowadays. Reproducible: Always Steps to Reproduce: 1. 2. 3.
when you say 'not too many' you really mean 'no one using Gentoo should be lacking shadow'