Gentoo Archives: gentoo-catalyst

From: "Juan Luis Pérez Pérez" <juanluperez@×××××.com>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] Too many problems with groupadd when creating stage3
Date: Thu, 15 Oct 2009 14:32:58
Message-Id: f200eda20910150732j78f36ea1r21276274d5658e9@mail.gmail.com
1 I'm having problems again with groupadd, this time is about dbus,
2 which needs to add a new group called messagebus. I think stage2 with
3 desktop profile at least should have sys-app/shadow installed.
4
5 Should I add a bug report in bugzilla about this?
6
7 And, any suggestion about how to install shadow in stage2? I think
8 that I could create a pkg-bin and then untar inside stage2.
9
10 Here you are my specs:
11
12 stage1.spec:
13 subarch: i486
14 target: stage1
15 version_stamp: 20091007
16 rel_type: default
17 profile: default/linux/x86/2008.0
18 snapshot: 20091007
19 source_subpath: default/stage3-i486-20090915
20
21 stage2.spec:
22 subarch: i486
23 target: stage2
24 version_stamp: 20091007
25 rel_type: default
26 profile: default/linux/x86/2008.0/desktop
27 snapshot: 20091007
28 source_subpath: default/stage1-i486-20091007
29
30 stage3.spec:
31 subarch: i486
32 target: stage3
33 version_stamp: 20091007
34 rel_type: default
35 profile: default/linux/x86/2008.0/desktop
36 snapshot: 20091007
37 source_subpath: default/stage2-i486-20091007
38
39 Here is what catalyst complains:
40
41 make[1]: Leaving directory `/var/tmp/portage/sys-apps/dbus-1.2.3-r1/work/dbus-1
42 .2.3'
43 * Adding group 'messagebus' to your system ...
44 * - Groupid: next available
45 /var/tmp/portage/sys-apps/dbus-1.2.3-r1/temp/environment: line 956: groupadd: c
46 ommand not found
47 *
48 * ERROR: sys-apps/dbus-1.2.3-r1 failed.
49 * Call stack:
50 * ebuild.sh, line 49: Called pkg_preinst
51 * environment, line 2386: Called enewgroup 'messagebus'
52 * environment, line 956: Called die
53 * The specific snippet of code:
54 * groupadd ${opts} ${egroup} || die "enewgroup failed"
55 * The die message:
56 * enewgroup failed
57 *
58 * If you need support, post the topmost build error, and the call stack if rel
59 evant.
60 * A complete build log is located at '/var/tmp/portage/sys-apps/dbus-1.2.3-r1/
61 temp/build.log'.
62 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/dbus-1.
63 2.3-r1/temp/environment'.
64 *
65 !!! FAILED preinst: 1
66
67 Juan Luis Pérez Pérez
68 Website: http://www.juanluperez.com
69 Registered GNU/Linux user #408294 according to counter.li.org
70 --
71 Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
72 algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
73 Gracias.
74 Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html

Replies

Subject Author
Re: [gentoo-catalyst] Too many problems with groupadd when creating stage3 Peter Stuge <peter@×××××.se>
[gentoo-catalyst] Re: Too many problems with groupadd when creating stage3 "Juan Luis Pérez Pérez" <juanluperez@×××××.com>