I was emerging net-misc/stunnel-4.44 package and it failed with unability to execute the groupadd command. It was caused by having an old sys-aps/shadow version emerged (sys-apps/shadow-4.0.18.1). Reproducible: Always Steps to Reproduce: 1. USE="kerberos" emerge stunnel Actual Results: emerge failed when it was trying to execute groupadd command to create the 'stunnel' group. Unfortunately I no longer have the console output. After I upgraded shadow to shadow-4.1.4.3 the issue was fixed. Expected Results: emerge stunnel checks for version dependency of the shadow package and emerges its newer version if necessary. The fix is simple - add dependency on sys-apps/shadow version.
Created attachment 299641 [details] emerge --info output
Please keep your system up to date. sys-apps-shadow was removed from the tree in 2007.