Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347871 - app-admin/puppet fails with groupadd error
Summary: app-admin/puppet fails with groupadd error
Status: RESOLVED DUPLICATE of bug 343223
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-06 02:22 UTC by Adam Nielsen
Modified: 2010-12-09 18:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Nielsen 2010-12-06 02:22:59 UTC
>>> Emerging (1 of 1) app-admin/puppet-2.6.2
 * puppet-2.6.2.gem RMD160 SHA1 SHA256 size ;-) ...       [ ok ]
 * checking ebuild checksums ;-) ...                      [ ok ]
 * checking auxfile checksums ;-) ...                     [ ok ]
 * checking miscfile checksums ;-) ...                    [ ok ]
 * Adding group 'puppet' to your system ...
 *  - Groupid: next available
groupadd: invalid option -- 'r'
Usage: groupadd [options] GROUP

Options:
  -f, --force                   force exit with success status if the specified
                                group already exists
  -g, --gid GID                 use GID for the new group
  -h, --help                    display this help message and exit
  -K, --key KEY=VALUE           overrides /etc/login.defs defaults
  -o, --non-unique              allow create group with duplicate
                                (non-unique) GID

 * 
 * ERROR: app-admin/puppet-2.6.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called pkg_setup
 *     puppet-2.6.2.ebuild, line   40:  Called enewgroup 'puppet'
 *           eutils.eclass, line  853:  Called die
 * The specific snippet of code:
 *              groupadd -r ${opts} ${egroup} || die "enewgroup failed"
 *  The die message:
 *   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/app-admin/puppet-2.6.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/puppet-2.6.2/temp/die.env'.
 *
Comment 1 Adam Nielsen 2010-12-06 02:24:43 UTC
Running "groupadd puppet" then re-emerging reveals a similar problem with useradd:

 * Adding user 'puppet' to your system ...
 *  - Userid: 113
 *  - Shell: /sbin/nologin
 *  - Home: /var/lib/puppet
 *  - Groups: puppet
useradd: invalid option -- 'r'
Usage: useradd [options] LOGIN
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-07 01:31:52 UTC
Please post your `emerge --info' in a comment.
Comment 3 Adam Nielsen 2010-12-07 02:26:32 UTC
$ emerge --info
Portage 2.1.9.24 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r0, 2.6.33.1 x86_64)
=================================================================
System uname: Linux-2.6.33.1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 01 Dec 2010 16:00:02 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 1.3.7-r1, 2.1.10
dev-lang/python:     2.4.4-r6, 2.5.4-r3, 2.6.4, 3.1.1-r1
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc:       3.4.6-r2, 4.1.2, 4.3.4, 4.4.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news nostrip parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.iinet.net.au/linux/Gentoo"
LANG="en_AU.UTF-8"
LC_ALL="en_AU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_AU en_GB"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects /usr/i686-mingw32/usr/portage"
SYNC="rsync://rsync.teln.shikadi.net/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 berkdb bzip2 cairo cli cracklib crypt cxx dbus dri dssi dts dv dvd exif ffmpeg flac gdbm gif gnome gpm gtk hal iconv ieee1394 inotify iproute2 ipv6 jack java jpeg jpeg2k kde kipi ladcca ladspa libsamplerate lirc mad matroska mmx mng modplug modules mp3 mplayer mudflap multilib ncurses nls nonfsv4 nptl nptlonly ogg opengl openmp pam pcre perl php png pppd python qt3support readline sdl session slang smp speex spell sse sse2 ssl svg sysfs syslog tcpd theora threads tiff truetype unicode vorbis wmf x264 xcb xinerama xml xorg xscreensaver xv xvid xvmc zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev microtouch mutouch" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_AU en_GB" LIRC_DEVICES="it87 serial" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vga nv none" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-09 18:40:12 UTC
Please post the output of `which groupadd' and of `emerge -pvq sys-apps/shadow'.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-09 18:42:10 UTC
And do it on the other bug.

*** This bug has been marked as a duplicate of bug 343223 ***