El jue, 08-10-2009 a las 20:17 +0200, Juan Luis Pérez Pérez escribió: > I'm trying to create some a custom stage3, I got stages 1 and 2, but > when catalyst tries to make stage3 it throws this error when emerging > openldap "/usr/portage/eclass/eutils.eclass: line 778: groupadd: > command not found". > > It tries to add group 'ldap" and fails... >
The same problem here. "groupadd" is part of sys-apps/shadow package and isn't merged when building openldap. I think it's related to this bug: http://bugs.gentoo.org/show_bug.cgi?id=166937 Last time I solved it doing a chroot and emerging shadow. But now emerging shadow was not possible (some blocking packages). I solved it adding manually ldap user and group: /etc/passwd ldap:x:439:439:added by portage for openldap:/usr/lib/openldap:/usr/sbin/nologin /etc/shadow ldap:!:14453:0:99999:7::: /etc/group ldap::439: My Specs just in case... ----> stage1.spec <---- subarch: x86 target: stage1 version_stamp: lambda-2009.0 rel_type: default profile: default/linux/x86/2008.0 snapshot: lambda-2009.0 source_subpath: default/stage3-i686-20090714 chost: i686-pc-linux-gnu ----> stage2.spec <---- subarch: pentium4 target: stage2 version_stamp: lambda-2009.0 rel_type: default profile: default/linux/x86/2008.0 snapshot: lambda-2009.0 source_subpath: default/stage1-x86-lambda-2009.0 chost: i686-pc-linux-gnu ----> stage3-desktop.spec <---- subarch: pentium4 target: stage3 version_stamp: lambda-2009.0 rel_type: default profile: default/linux/x86/2008.0/desktop snapshot: lambda-2009.0 source_subpath: default/stage2-pentium4-lambda-2009.0 > Here is my spec files: > > stage1.spec: > subarch: i486 > target: stage1 > version_stamp: 20091007 > rel_type: default > profile: default/linux/x86/2008.0 > snapshot: 20091007 > source_subpath: default/stage3-i486-20090915 > > stage2.spec: > subarch: i486 > target: stage2 > version_stamp: 20091007 > rel_type: default > profile: default/linux/x86/2008.0/desktop > snapshot: 20091007 > source_subpath: default/stage1-i486-20091007 > > stage3.spec: > subarch: i486 > target: stage3 > version_stamp: 20091007 > rel_type: default > profile: default/linux/x86/2008.0/desktop > snapshot: 20091007 > source_subpath: default/stage2-i486-20091007 > > I don't understand where is the problem, I created few stages before > and livecds, but this is my first time in stages with desktop profile, > is the problem this? > > Juan Luis Pérez Pérez > Website: http://www.juanluperez.com > Registered GNU/Linux user #408294 according to counter.li.org > -- > Por favor, no adjunte documentos en formatos "doc", "ppt", sino en > algún formato estándar como "html", "pdf", "rtf", "odt" o "txt". > Gracias. > Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html
