gentoo-alt  

[gentoo-alt] gcc-4.41 fails on Solaris 10 x86

velociraptor
Sun, 18 Oct 2009 07:09:16 -0700

I'm trying to bootstrap on Solaris 10 x86.  I successfully got through
the one-shots, but when trying to do the emerge -u system, I ran into
two problems.

1) useradd in the sys-apps/man-1.6f-r3 fails:

 * Adding group 'man' to your system ...
 *  - Groupid: 15
UX: groupadd: WARNING: gid 15 is reserved.
 * Adding user 'man' to your system ...
 *  - Userid: 13
 *  - Shell: /bin/false
 *  - Home: /opt/gentoo/usr/share/man
 *  - Groups: man
UX: useradd: ERROR: invalid syntax.
usage:  useradd [-u uid [-o] | -g group | -G group[[,group]...] |-d dir |
                -s shell | -c comment | -m [-k skel_dir] | -f inactive |
                -e expire | -A authorization [, authorization ...] |
                -P profile [, profile ...] | -R role [, role ...] |
                -K key=value | -p project [, project ...]] login
        useradd -D [-g group | -b base_dir | -f inactive | -e expire
                -A authorization [, authorization ...] |
                -P profile [, profile ...] | -R role [, role ...] |
                -K key=value ... -p project]
 * ERROR: sys-apps/man-1.6f-r3 failed:
 *   enewuser failed
 *
 * Call stack:
 *            ebuild.sh, line  51:  Called call-ebuildshell 'pkg_setup
'
 *            ebuild.sh, line  63:  Called pkg_setup
 *   man-1.6f-r3.ebuild, line  25:  Called enewuser 'man' '13' '-1' '/
opt/gentoo/usr/share/man' 'man'
 *        eutils.eclass, line 660:  Called die
 * The specific snippet of code:
 *                      useradd ${opts} ${euser} \
 *                              -c "added by portage for ${PN}" \
 *                              || die "enewuser failed"

I worked around this by running "useradd" manually and running the
emerge again.  I later ran into this same issue with openssh and
worked around it the same way.  It's bug ID#:
<http://bugs.gentoo.org/show_bug.cgi?id=271081>

The second issue seems out of my league.  I found a bug dated 9/26:
<http://bugs.gentoo.org/show_bug.cgi?id=286494>  Anyone else seeing
this?  I voted it up and added my info.

I masked gcc-4.4.1 and was able to manually emerge 4.2.4 (since it
worked in the bootstrap).  'emerge -u system' completed. After
changing my USE, CFLAGS, etc., 'emerge -e system' completed
successfully as well (all as root, too).

I appreciate everyone's hard work on alt prefix.  Blastwave has been
having a lot of issues of late, and both it and Sunfreeware are far
behind the curve with most software.  For a home system, prefix seems
like a good alternative to trying to hand build everything.

Best regards--
=Nadine=