nagios-core blindly chgrp's a directory to the 'apache' group (chmod nagios:apache); as nagios no longer depends on apache, this is not safe, as the apache group does not necessarily exist before this command is run. The pkg_preinst dies if this command fails. Reproducible: Always Steps to Reproduce: 1. emerge nagios-core on a computer where there is no 'apache' group Actual Results: >>> Merging net-analyzer/nagios-core-1.1-r4 to / * Sample config files installed by default will always * include cgi.cfg chown: `nagios:apache': invalid group !!! ERROR: nagios-core-1.1-r4/nagios-core-1.1-r4 failed. !!! Function pkg_preinst, Line 116, Exitcode 1 !!! Failed Chown of /var/tmp/portage/nagios-core-1.1-r4/image//var/nagios/rw !!! FAILED preinst: 1 Expected Results: Successful install, even if it is without /var/nagios/rw/. emerge info Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6-rc1) ================================================================= System uname: 2.6.6-rc1 i686 AMD Athlon(TM) XP 2500+ Gentoo Base System version 1.4.10 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc nostrip sandbox userpriv usersandbox" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X acl alsa apm arts audiofile avi berkdb canna cdr cjk composite crypt cscope cups directfb doc dvd dvdr emacs encode faad flac foomaticdb freewnn gatos gdbm gimpprint gphoto2 gpm gtk gtk2 guile imlib ipv6 java javascript jikes jpeg junit kde libg++ libwww mad mikmod mmx mng mpeg ncurses nls oggvorbis opengl pam pdflib perl pic png ppds python qt quicktime readline ruby scanner sdl slang socks5 softmmu spell sse ssl tcltk tcpd tetex theora tiff truetype usb video_cards_radeon wmf x86 xinerama xml2 xmms xv zlib"
fixed in portage.