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

Bug 126999

Summary: sandbox violation on ruby-termios
Product: Gentoo Linux Reporter: Antti Tuominen <hhaamu>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Antti Tuominen 2006-03-20 12:35:52 UTC
[ebuild   R   ] dev-ruby/ruby-termios-0.9.4  USE="examples%" 8 kB 


>>> Install ruby-termios-0.9.4 into /data/tmp/portage-tmpdir/portage/ruby-termios-0.9.4/image/ category dev-ruby
/bin/install -c -m 0755 termios.so /usr/lib/ruby/site_ruby/1.8/i686-linux
ACCESS DENIED  unlink:    /usr/lib/ruby/site_ruby/1.8/i686-linux/termios.so
/bin/install: cannot remove `/usr/lib/ruby/site_ruby/1.8/i686-linux/termios.so': Permission denied
make: *** [/usr/lib/ruby/site_ruby/1.8/i686-linux/termios.so] Error 1

!!! ERROR: dev-ruby/ruby-termios-0.9.4 failed.
Call stack:
  ebuild.sh, line 1565:   Called dyn_install
  ebuild.sh, line 1047:   Called src_install
  ruby-termios-0.9.4.ebuild, line 23:   Called einstall

!!! einstall failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-dev-ruby_-_ruby-termios-0.9.4-11964.log"

unlink:    /usr/lib/ruby/site_ruby/1.8/i686-linux/termios.so
--------------------------------------------------------------------------------


Portage 2.1_pre6-r5 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1total2 i686)
=================================================================
System uname: 2.6.15-gentoo-r1total2 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mtune=athlon-tbird -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -mtune=athlon-tbird -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en fi"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/data/tmp/portage-tmpdir"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.fi.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac alsa apache2 apm avi berkdb bitmap-fonts bzip2 cairo cjk crypt curl dri dts dvd dvdr eds emboss encode examples fam ffmpeg flac font-server foomaticdb gdbm geoip gif gstreamer gtk gtk2 idn imlib ithreads jack jpeg libg++ libwww mad matroska matrox mbox mhash mikmod mmx mmxext mng motif mozsvg mp3 mpeg mpm-worker ncurses nethack nls nptl ogg oggvorbis opengl pam pcre pdflib perl pic png postgres quicktime readline real recode rtc ruby sox speex ssl svg tcpd threads tiff truetype truetype-fonts type1-fonts unicode userlocales vorbis win32codecs wxwindows xml xml2 xv xvid zlib elibc_glibc kernel_linux linguas_en linguas_fi userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, MAKEOPTS



FWIW, I have ruby-1.8 and ruby-1.9 both installed
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-20 12:38:56 UTC

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