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

Bug 46813

Summary: cp -pr failure in sandbox
Product: Portage Development Reporter: Jeremy Huddleston (RETIRED) <eradicator>
Component: SandboxAssignee: Portage team <dev-portage>
Status: RESOLVED WORKSFORME    
Severity: major CC: azarah, scox
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: showing it work out of sandbox but bork inside.

Description Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-04 18:21:10 UTC
there seems to be some weird problem when doing 'cp -pr' in sandbox.  It works out of sandbox, but not in the sandbox.  This is seen in media-sound/pd-0.37.1.  There is a sed line in src_unpack() which removes the installation of some documentation as a quick way to circumvent this bug.  Comment this line out to see this problem exhibit itself.

Both the failed items were symlinks.
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-04 18:21:48 UTC
Created attachment 28710 [details]
showing it work out of sandbox but bork inside.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-04 23:09:38 UTC
forgot this...

Portage 2.0.50-r2 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo)
=================================================================
System uname: 2.4.25-gentoo i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mcpu=pentium3 -O2 -pipe -fomit-frame-pointer"
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/lib/mozilla/defaults/pref /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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -mcpu=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/local/download/portage/distfiles"
FEATURES="autoaddcvs ccache digest sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/local/download/portage/packages-pentium3"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/download/portage"
SYNC="rsync://localhost/gentoo-portage"
USE="3ds S3TC X X509 Xaw3d aac aalib acl alsa altivec amd apache2 apm ardour-ksi arts artswrappersuid asterisk atlas audiofile autofs avantgo avi berkdb bidi bindist bonobo caps cdr cgi clamav clisp cmucl crypt cscope cups curl dedicated dga directfb dnd doc dv dvd dvdr emacs emacs-w3 encode esd ethereal evo expat faad fam fax fbcon fbdev ffmpeg flac flash foomaticdb freetype fs gb gcl gd gd-external gdbm ggi gif glut gmtfull gmthigh gmtsuppl gmttria gnome gnomedb gpg gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile hardened hbci icc imagemagick imap imlib imlib2 innodb ipalias ipv6 jack java javascript jbig jikes joystick jpeg js junit justify kde kerberos krb4 ladcca lcd lcms ldam leim libdsk libg libg++ libgda libwww lids lirc lmtp ltsp lua lucid mad maildir matroska mcal md5sum menu mikmod milter mmx mng motif mozcalendar mozctl mozilla mozinterfaceinfo mozp3p mozsvg mozxmlterm mpeg mpi msn mule music mysql nas ncurses neXt nls nvidia nviz oav objc oci8 odbc offensive ofx oggvorbis oldworld openal opengl openssh oscar oss pam parse-clocks passfile pcap pcmcia pda pdflib perl php pic plotutils png pnp portaudio postgres ppds prelude psyco python qhull qt quicktime readline rplay ruby samba sasl scanner sdk sdl skey slang slp snmp socks5 sox speex spell sqlite src sse ssl svga tcltk tcpd tetex tiff transcode transparent-proxy truetype trusted type1 usb videos vim-with-x virus-scan wmf wxwin wxwindows x86 xchattext xine xinerama xml xml2 xmms xosd xv xvid yahoo zeo zlib"
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2004-04-05 00:01:08 UTC
Scox was doing something related to symlinks and sandbox... He might
know something... Azarah probably would have some idea as well.
Comment 4 Brian Harring (RETIRED) gentoo-dev 2005-02-28 00:33:16 UTC
Still an issue?
/me thinks not...
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2005-04-28 00:44:05 UTC
Can't reproduce this with the new sandbox.