Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
Emerging amarok, as the sync of a hour ago, results in a sandbox violaton: mkdir -p -- . /usr/include/libvisual ACCESS DENIED mkdir: /usr/include/libvisual mkdir: cannot create directory `/usr/include/libvisual': Permission denied make[2]: *** [install-exec-local] Error 1 make[2]: Leaving directory `/var/tmp/portage/libvisual-0.1.6/work/libvisual-0.1.6' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/libvisual-0.1.6/work/libvisual-0.1.6' make: *** [install-recursive] Error 1 Then I tried creating the dir manually but it resulted in another failure for sandbox violation: mkdir -p -- . /usr/include/libvisual file=/usr/include/libvisual/lvconfig.h; \ if test -r $file && cmp -s libvisual/lvconfig.h $file; then :;\ else /bin/install -c -m 644 libvisual/lvconfig.h $file; fi ACCESS DENIED open_wr: /usr/include/libvisual/lvconfig.h /bin/install: cannot create regular file `/usr/include/libvisual/lvconfig.h': Permission denied make[2]: *** [install-exec-local] Error 1 make[2]: Leaving directory `/var/tmp/portage/libvisual-0.1.6/work/libvisual-0.1.6' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/libvisual-0.1.6/work/libvisual-0.1.6' make: *** [install-recursive] Error 1 !!! ERROR: media-libs/libvisual-0.1.6 failed. !!! Function src_install, Line 38, Exitcode 2 Reproducible: Always Steps to Reproduce: 1.emerge amarok 2. 3. Actual Results: Emerge amarok fails for sandbox violation Expected Results: emerge finishing normally Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.9-rc1-nitro4 i686) ================================================================= System uname: 2.6.9-rc1-nitro4 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -falign-functions=64-falign-jumps=16 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -falign-functions=64 -falign-jumps=16 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.gentoo.no/" MAKEOPTS="-j1" 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 accessibility acpi acpi4linux aim alsa apm arts avi berkdb bitmap-fonts bonobo cdparanoia cdr clamav crypt cups directfb divx4linux dvd dvdr encode esd evo exiscan-acl faad fam fbcon flac foomaticdb freetype ftp gb gdbm gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imap imlib jabber java jpeg kde libg++ libwww live mad maildir mbox mikmod mldonkeypango mmap mmx monkey motif mozilla moznoirc mozsvg mpeg mpeg4 msn nas ncurses network nls nvidia oggvorbisopengl operanom2 oscar oss pam pdflib perl png ppds python qt quicktime readline sasl sdl shared sharedmem slang slp speex spell sse ssl svg svga tcltk tcpd tetex tiff transcode truetype unicode x86 xml2 xmms xprint xv xvid yahoo zlib"
Precisely it's not a problem of amarok but of one of it's dependencies: media-libs/libvisual. So probably the bugs must be reassigned. If the devs are interested I'll provide a patch for it.
*** Bug 64227 has been marked as a duplicate of this bug. ***
*** Bug 64228 has been marked as a duplicate of this bug. ***
Created an attachment (id=39689) [details] libvisual-0.1.6.ebuild patch to avoid sandbox violation. The problem is that in src_install() you are calling "make" passing only BUILDDIR and not "prefix" and other settings. Using directly the einstall function provided by ebuild.sh fixes this. Let me know if you think thta it's right.
I apologize for the duplicates of this bug. It seems I had problems with the connection... Sorry, Gavrila
*** This bug has been marked as a duplicate of 54204 ***
*** This bug has been marked as a duplicate of 64204 *** *** This bug has been marked as a duplicate of 64204 ***
wrong bug to dupe
*** This bug has been marked as a duplicate of 64204 ***