Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93777 - stunnel fails to install cleanly
Summary: stunnel fails to install cleanly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Lance Albertson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-24 02:22 UTC by Michael Cramer
Modified: 2005-05-24 17:12 UTC (History)
2 users (show)

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 Michael Cramer 2005-05-24 02:22:12 UTC
first emerge stunnel shows:
 * Adding group 'stunnel' to your system ...
 *  - Groupid: next available
/usr/portage/eclass/eutils.eclass: line 637: 10907 Daten
Comment 1 Michael Cramer 2005-05-24 02:22:12 UTC
first emerge stunnel shows:
 * Adding group 'stunnel' to your system ...
 *  - Groupid: next available
/usr/portage/eclass/eutils.eclass: line 637: 10907 Datenübergabe unterbrochen 
(broken pipe)                 groupadd ${opts}
${egroup}

!!! ERROR: net-misc/stunnel-4.09 failed.
!!! Function enewgroup, Line 715, Exitcode 141
!!! enewgroup failed
!!! If you need support, post the topmost build error, NOT this status message.

than i add manually the group stunnel

second emerge shows:

 * Adding user 'stunnel' to your system ...
 *  - Userid: 107
 *  - Shell: /bin/false
 *  - Home: -1
 *  - Groups: stunnel
useradd: Homeverzeichnis `-1' ungültig

!!! ERROR: net-misc/stunnel-4.09 failed.
!!! Function enewuser, Line 610, Exitcode 3
!!! enewuser failed
!!! If you need support, post the topmost build error, NOT this status message.

so i manually add the user stunnel

third emerge than completes cleanly

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
user and group are not created during build process

Expected Results:  
should install cleanly

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-
r0, 2.6.12-rc4-Gentoo-2005.0 i686)
=================================================================
System uname: 2.6.12-rc4-Gentoo-2005.0 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1
1/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks maketest sandbox sfperms strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X X509 Xaw3d aalib acl activefilter alsa aotuv apache2 apm avi bcmath 
berkdb bitmap-fonts bzip2 bzlib calendar caps cpdflib crypt ctype cups curl 
curlwrappers dba dga dio directfb djbfft doc ecc emboss encode erandom exif 
extensions extraengine fbcon flac flatfile font-server foomaticdb fortran ftp 
gcj gd gdbm geometry ggi gif gmp gpm gtk gtk2 guile iconv idea idled idn imap 
imlib inifile innodb insecure-drivers ipv6 java jce jpeg justify libcaca 
libclamav libg++ libwww mad memlimit mhash mikmod mime mmx motif mp3 mpeg mpm-
prefork mysql ncurses neXt netboot nis nls no_wxgtk1 nonfsv4 nptl nptlonly oav 
objc ogg oggvorbis opengl oss pam pam_chroot pam_timestamp pcntl pcre pdflib 
perl perlsuid php physfs png posix pwdb python quicktime quotas readline 
rrdtool samba sasl sdl sendfile session sftplogging shaper simplexml slang 
sndfile soap sockets softquota speex spell spl sqlite srp sse ssl svga symlink 
sysfs sysvipc tcltk tcpd tetex tidy tiff tokenizer truetype truetype-fonts 
type1-fonts ucs2 unicode urandom utf8 vorbis wddx wxwindows xml xml2 xmlrpc 
xmms xpm xprint xsl xv zlib video_cards_ati128 linguas_de userland_GNU 
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 2 Paul Waring 2005-05-24 04:53:42 UTC
Works fine here without problems:

 * Adding user 'stunnel' to your system ...
 *  - Userid: 101
 *  - Shell: /bin/false
 *  - Home: /dev/null
 *  - Groups: (none)
 * Adding group 'stunnel' to your system ...
 *  - Groupid: next available
 * Starting from version 4 stunnel now uses a configuration file for setting up
stunnels.
 * Stunnel can now also be run as a daemon
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
>>> net-misc/stunnel-4.05 merged.
>>> Recording net-misc/stunnel in "world" favorites file...

kryten root # grep stunnel /etc/passwd
stunnel:x:101:100:added by portage for stunnel:/dev/null:/bin/false

kryten root # grep stunnel /etc/group
stunnel:x:409:

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-05-24 07:31:02 UTC
Hmm, what
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-05-24 07:31:02 UTC
Hmm, what´s wrong with the eclass? Looks almost the same as Bug 93234.
Comment 5 Lance Albertson (RETIRED) gentoo-dev 2005-05-24 13:40:00 UTC
Actually, it looks more like bug 87429 with a coreutils issue. Try recompiling
with a newer version of coreutils and see if that fixes it
Comment 6 SpanKY gentoo-dev 2005-05-24 17:12:14 UTC
fixed in eutils.eclass in cvs