The openldap is missing the "shadow" dependence. If you try to install openldap without the shadow package, the install will fail: * Adding group 'ldap' to your system ... * - Groupid: 439 /usr/portage/eclass/eutils.eclass: line 749: groupadd: command not found !!! ERROR: net-nds/openldap-2.3.30-r2 failed. Call stack: ebuild.sh, line 1630: Called dyn_setup ebuild.sh, line 702: Called qa_call 'pkg_setup' ebuild.sh, line 38: Called pkg_setup openldap-2.3.30-r2.ebuild, line 169: Called enewgroup 'ldap' '439' eutils.eclass, line 749: Called die !!! enewgroup failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/net-nds/openldap-2.3.30-r2/temp/build.log'. emerging shadow before openldap solves the problem. Reproducible: Always Steps to Reproduce: 1. installing gentoo from stage1 2. emerge -e system To solve 3. emerge shadow && emerge -e --resume system
*** This bug has been marked as a duplicate of bug 142637 ***