Gentoo Archives: gentoo-alt

From: velociraptor <velociraptor@×××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] gcc-4.41 fails on Solaris 10 x86
Date: Sun, 18 Oct 2009 14:09:12
Message-Id: b9ce685f0910180709h4ab21427ubae89b4227c0c069@mail.gmail.com
1 I'm trying to bootstrap on Solaris 10 x86. I successfully got through
2 the one-shots, but when trying to do the emerge -u system, I ran into
3 two problems.
4
5 1) useradd in the sys-apps/man-1.6f-r3 fails:
6
7 * Adding group 'man' to your system ...
8 * - Groupid: 15
9 UX: groupadd: WARNING: gid 15 is reserved.
10 * Adding user 'man' to your system ...
11 * - Userid: 13
12 * - Shell: /bin/false
13 * - Home: /opt/gentoo/usr/share/man
14 * - Groups: man
15 UX: useradd: ERROR: invalid syntax.
16 usage: useradd [-u uid [-o] | -g group | -G group[[,group]...] |-d dir |
17 -s shell | -c comment | -m [-k skel_dir] | -f inactive |
18 -e expire | -A authorization [, authorization ...] |
19 -P profile [, profile ...] | -R role [, role ...] |
20 -K key=value | -p project [, project ...]] login
21 useradd -D [-g group | -b base_dir | -f inactive | -e expire
22 -A authorization [, authorization ...] |
23 -P profile [, profile ...] | -R role [, role ...] |
24 -K key=value ... -p project]
25 * ERROR: sys-apps/man-1.6f-r3 failed:
26 * enewuser failed
27 *
28 * Call stack:
29 * ebuild.sh, line 51: Called call-ebuildshell 'pkg_setup
30 '
31 * ebuild.sh, line 63: Called pkg_setup
32 * man-1.6f-r3.ebuild, line 25: Called enewuser 'man' '13' '-1' '/
33 opt/gentoo/usr/share/man' 'man'
34 * eutils.eclass, line 660: Called die
35 * The specific snippet of code:
36 * useradd ${opts} ${euser} \
37 * -c "added by portage for ${PN}" \
38 * || die "enewuser failed"
39
40 I worked around this by running "useradd" manually and running the
41 emerge again. I later ran into this same issue with openssh and
42 worked around it the same way. It's bug ID#:
43 <http://bugs.gentoo.org/show_bug.cgi?id=271081>
44
45 The second issue seems out of my league. I found a bug dated 9/26:
46 <http://bugs.gentoo.org/show_bug.cgi?id=286494> Anyone else seeing
47 this? I voted it up and added my info.
48
49 I masked gcc-4.4.1 and was able to manually emerge 4.2.4 (since it
50 worked in the bootstrap). 'emerge -u system' completed. After
51 changing my USE, CFLAGS, etc., 'emerge -e system' completed
52 successfully as well (all as root, too).
53
54 I appreciate everyone's hard work on alt prefix. Blastwave has been
55 having a lot of issues of late, and both it and Sunfreeware are far
56 behind the curve with most software. For a home system, prefix seems
57 like a good alternative to trying to hand build everything.
58
59 Best regards--
60 =Nadine=

Replies

Subject Author
Re: [gentoo-alt] gcc-4.41 fails on Solaris 10 x86 Fabian Groffen <grobian@g.o>