Some evilness in the dvutil doc/Makefile causes a sandbox access violation. Bad stuff (at the end): install-exec-local: # ensures this is done before install-data $(mkinstalldirs) -m 0755 $(pkgdatadir)/download Original report was in bug #19715. Reproducible: Always Steps to Reproduce: 1. have usersandbox/sandbox in FEATURES, 'emerge dvutil' 2. 3. Actual Results: make[2]: Leaving directory `/var/tmp/portage/dvutil-0.13.6/work/dvutil- 0.13.6/dvutil' make[1]: Leaving directory `/var/tmp/portage/dvutil-0.13.6/work/dvutil- 0.13.6/dvutil' Making install in doc make[1]: Entering directory `/var/tmp/portage/dvutil-0.13.6/work/dvutil- 0.13.6/doc' make[2]: Entering directory `/var/tmp/portage/dvutil-0.13.6/work/dvutil- 0.13.6/doc' /bin/sh ../mkinstalldirs -m 0755 /usr/share/dvutil/download mkdir -m 0755 -p -- /usr/share/dvutil/download ACCESS DENIED mkdir: /usr/share/dvutil mkdir: cannot create directory `/usr/share/dvutil': Permission denied make[2]: *** [install-exec-local] Error 1 make[2]: Leaving directory `/var/tmp/portage/dvutil-0.13.6/work/dvutil- 0.13.6/doc' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/dvutil-0.13.6/work/dvutil- 0.13.6/doc' make: *** [install-recursive] Error 1 man: prepallstrip: strip: strip: /var/tmp/portage/dvutil-0.13.6/image/usr/bin/dvinclude /var/tmp/portage/dvutil-0.13.6/image/usr/bin/dvconfig /var/tmp/portage/dvutil-0.13.6/image/usr/lib/libdvutil-0.13.6.so making executable: /usr/lib/libdvutil-0.13.6.so >>> Completed installing into /var/tmp/portage/dvutil-0.13.6/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-dvutil-0.13.6-20776.log" mkdir: /usr/share/dvutil ------------------------------------------------------------------------------- Expected Results: Should complete properly. Portage 2.0.48_pre2 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r2 i686 AMD Athlon(tm) XP 1800+ GENTOO_MIRRORS="http://gentoo.oregonstate.edu " CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/co nfig/ /usr/share/texmf/tex/platex/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="/usr/gentoo-cvs/gentoo-x86" USE="x86 tcpd -3dfx -alsa -arts -bonobo -canna -cjk -freewnn -gb -gnome -gps - gtk2 -kde -kerberos -leim -libg++ -libgda -matrox -mbox -mule -nas -oci8 - opengl -oss -pcmcia -postgres -voodoo3 -xface -xfs -zero 3dnow X aalib acl acpi activefilter -afs apache2 apm avi berkdb cdr crypt cups curl dga directfb dnd doc dvd encode esd ethereal expat fbcon flash gd gdbm ggi gif gpm gtk gtkhtml guile imap imlib innodb ipv6 java jikes jpeg junit lame lcms ldap libwww maildir mikmod mmx motif mozaccess mozcalendar mozilla mozinterfaceinfo mozp3p mozsvg mozxmlterm mpeg mysql ncurses nls nptl oav odbc oggvorbis pam pcap pdflib perl pic plotutils png pnp python qt quicktime readline ruby samba sasl sdl slang slp snmp socks5 spell sse ssl svga tcltk tetex tiff truetype ungif vscan wmf xml xml2 xmms xv zlib -bonobo -gnome" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j3" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="digest sandbox ccache buildpkg userpriv usersandbox"
This will be fixed tonight
any progress made on this?
it's a long night... hehe I'll have a look at this asap
src_compile() { econf --prefix=${D}/usr --datadir=${D}/usr/share || die } works