In the install part of the slocate ebuild, it tries to add the slocate group to /etc/groups using the groupadd command. This causes a sandbox violation on my machine. Reproducible: Always Steps to Reproduce: 1.emerge --update slocate Actual Results: make install-exec-hook make[2]: Entering directory `/var/tmp/portage/slocate-2.7-r1/work/slocate-2.7' /usr/sbin/groupadd slocate ACCESS DENIED open_wr: /etc/group.16822 groupadd: unable to lock group file make[2]: [install-exec-hook] Error 10 (ignored) install -c -d /var/tmp/portage/slocate-2.7-r1/image//var/lib//slocate chown root.slocate /var/tmp/portage/slocate-2.7-r1/image//usr/bin/slocate chown: `root.slocate': invalid group make[2]: *** [install-exec-hook] Error 1 make[2]: Leaving directory `/var/tmp/portage/slocate-2.7-r1/work/slocate-2.7' make[1]: *** [install-exec-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/slocate-2.7-r1/work/slocate-2.7' make: *** [install-am] Error 2 + diefunc src_install 20 2 + local funcname=src_install lineno=20 exitcode=2 + shift 3 + echo + echo '!!! ERROR: sys-apps/slocate-2.7-r1 failed.' !!! ERROR: sys-apps/slocate-2.7-r1 failed. + echo '!!! Function src_install, Line 20, Exitcode 2' !!! Function src_install, Line 20, Exitcode 2 + echo '!!! (no error message)' !!! (no error message) + echo + exit 1 --------------------------- ACCESS VIOLATION SUMMARY--------------------------- LOG FILE = "/tmp/sandbox-slocate-2.7-r1-16780.log" open_wr: /etc/group.16822 -------------------------------------------------------------------------------- Expected Results: Emerged sucessfully. Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1) ================================================================= System uname: 2.4.19-openmosix-7 i686 Pentium II (Deschutes) GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss avi crypt cups gif jpeg kde libg++ mikmod ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts tetex bonobo svga java guile gpm tcpd pam libwww perl python esd oggvorbis gtk qt motif opengl mozilla X gtk2 gnome -alsa mbox -maildir mmx ssl -3dnow -apm tcltk encode imap imlib mpeg sdl" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -mcpu=pentium2 -O3 -pipe" CXXFLAGS="-march=pentium2 -mcpu=pentium2 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j3" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
I've gotten the exact same error too so I'm downgrading to the prior version of findutils til it gets fixed.
I confirm exactly the same behavior, as well
Me too.
This is already fixed, rsync and try again... I did a bunch of lil' fixups on the ebuild :)