Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 130473

Summary: net-www/apache-2.0.55-r1 fails with enewgroup function error
Product: Gentoo Linux Reporter: Michael Wayburne <mike>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Wayburne 2006-04-19 06:28:48 UTC
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r1, 2.4.22 i686)
=================================================================
System uname: 2.4.22 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.13
dev-lang/python:     2.2.3-r5, 2.3.5
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.4.3-r4, 1.5.18-r1
virtual/os-headers:  2.4.19-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo http://www.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa apm arts avi berkdb bitmap-fonts bzip2 crypt cups curl debug doc dri eds emboss encode expat foomaticdb fortran gd gdbm gif gmp gpm gstreamer gtk2 idn imlib ipv6 isdnlog java jpeg lcms libg++ libwww mad mhash mikmod mng motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt quicktime readline samba sdl snmp spell ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

=================================================================

When installing/upgrading net-www/apache-2.0.55-r1 I get the following error:
ys -funroll-loops -pipe -DUSE_SSL -lcrypto -lssl -I/usr/include/openssl -L/usr/lib  -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_DEBUG -DAP_HAVE_DESIGNATED_INITIALIZER   -I/usr/include/apr-0 -I/usr/include/db4.2 -I. -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/os/unix -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/server/mpm/worker -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/http -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/filters -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/proxy -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/generators -I/usr/include/openssl -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/dav/main -export-dynamic -L/usr/lib   -o ab  ab.lo   -lz -lssl -lcrypto -ldl /var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/srclib/pcre/libpcre.la /usr/lib/libaprutil-0.la -lgdbm -ldb-4.2 -lexpat /usr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl
/usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc  -pthread  -O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe  -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_DEBUG -DAP_HAVE_DESIGNATED_INITIALIZER   -I/usr/include/apr-0 -I/usr/include/db4.2 -I. -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/os/unix -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/server/mpm/worker -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/http -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/filters -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/proxy -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/generators -I/usr/include/openssl -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/dav/main -prefer-non-pic -static -c ab.c && touch ab.lo
/usr/share/apr-0/build/libtool --silent --mode=link i686-pc-linux-gnu-gcc  -pthread  -O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe  -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_DEBUG -DAP_HAVE_DESIGNATED_INITIALIZER   -I/usr/include/apr-0 -I/usr/include/db4.2 -I. -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/os/unix -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/server/mpm/worker -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/http -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/filters -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/proxy -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/generators -I/usr/include/openssl -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/dav/main -export-dynamic -L/usr/lib   -o ab  ab.lo   -lz -lssl -lcrypto -ldl /var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/srclib/pcre/libpcre.la /usr/lib/libaprutil-0.la -lgdbm -ldb-4.2 -lexpat /usr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl
>>> Test phase [not enabled]: net-www/apache-2.0.55-r1

>>> Install apache-2.0.55-r1 into /var/tmp/portage/apache-2.0.55-r1/image/ category net-www
 * 'enewgroup()' called from 'install()' which is not a pkg_* function.
 * Package fails at QA and at life.  Please file a bug.

!!! ERROR: net-www/apache-2.0.55-r1 failed.
!!! Function enewgroup, Line 648, Exitcode 0
!!! Bad package!  enewgroup is only for use in pkg_* functions!
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-19 06:30:36 UTC

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