Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 64226
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 64204
Assigned To: Gentoo Sound Team <sound@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gavrila <gavrilao@spymac.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
libvisual-0.1.6-use-einstall.patch libvisual-0.1.6.ebuild patch to avoid sandbox violation. patch Simone Gotti (RETIRED) 2004-09-16 05:34 0000 290 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 64226 depends on: Show dependency tree
Bug 64226 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-09-16 02:36 0000
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"

------- Comment #1 From Simone Gotti (RETIRED) 2004-09-16 03:00:52 0000 -------
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.

------- Comment #2 From Carsten Lohrke 2004-09-16 03:46:40 0000 -------
*** Bug 64227 has been marked as a duplicate of this bug. ***

------- Comment #3 From Carsten Lohrke 2004-09-16 03:46:50 0000 -------
*** Bug 64228 has been marked as a duplicate of this bug. ***

------- Comment #4 From Simone Gotti (RETIRED) 2004-09-16 05:34:46 0000 -------
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.

------- Comment #5 From Gavrila 2004-09-16 08:46:54 0000 -------
I apologize for the duplicates of this bug. It seems I had problems with the
connection...

Sorry,

Gavrila

------- Comment #6 From Jeremy Huddleston (RETIRED) 2004-09-16 08:50:12 0000 -------

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

------- Comment #7 From Jeremy Huddleston (RETIRED) 2004-09-16 08:50:27 0000 -------
*** This bug has been marked as a duplicate of 64204 ***

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

------- Comment #8 From Jeremy Huddleston (RETIRED) 2004-09-16 08:50:52 0000 -------
wrong bug to dupe

------- Comment #9 From Jeremy Huddleston (RETIRED) 2004-09-16 08:51:08 0000 -------

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

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug