While "emerge system" openssl was merged before perl and it b0rked, that the system lacked perl. Reproducible: Always Steps to Reproduce: emerge system on fresh install
see bug #39318. Temporary put "-java" in your make.conf before emerge system.
*** Bug 47729 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 39318 ***