Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19211 - slocate 2.7-r1 install fails.
Summary: slocate 2.7-r1 install fails.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-12 14:41 UTC by Adam Hixson
Modified: 2003-04-13 00:33 UTC (History)
3 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 Adam Hixson 2003-04-12 14:41:56 UTC
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"
Comment 1 Susie Edgeworth 2003-04-12 16:30:48 UTC
I've gotten the exact same error too so I'm downgrading to the prior version of findutils til it gets fixed.
Comment 2 Susie Edgeworth 2003-04-12 16:31:07 UTC
I've gotten the exact same error too so I'm downgrading to the prior version of findutils til it gets fixed.
Comment 3 Georgios E. Kylafas 2003-04-12 18:08:24 UTC
I confirm exactly the same behavior, as well 
Comment 4 Andrea Cerrito 2003-04-12 19:45:58 UTC
Me too.
Comment 5 Brandon Low (RETIRED) gentoo-dev 2003-04-13 00:33:07 UTC
This is already fixed, rsync and try again... I did a bunch of lil' fixups on the ebuild :)