I get the following error while emerge is running configure for glide-v3. Might be a sandbox problem, but i really can't tell. config.status: executing default-1 commands /usr/sbin/ebuild.sh: line 60: ./build.3dfx: Permission denied !!! ERROR: media-libs/glide-v3-3.10-r3 failed. !!! Function src_compile, Line 60, Exitcode 126 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. did an emerge sync 2. did an emerge -u world --deep 3. glide tried to emerge and then bailed Actual Results: ebuild fails with above message Expected Results: emerged correctly (rather obvious, eh ;) ) stuff from emerge info: Portage 2.0.49-r13-2 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.20-gentoo- r7) ================================================================= System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.4.3.11 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O1 -fstrength-reduce -fprefetch-loop-arrays -finline- functions -fgcse -freduce-all-givs -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share /config /usr/X11R6/lib/X11/xkb /usr/kde/cvs/share/config /usr/kde/3.2/share/conf ig /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/tex mf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O1 -fstrength-reduce -fprefetch-loop-arrays - finline-functions -fgcse -freduce-all-givs -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox autoaddcvs ccache" GENTOO_MIRRORS="http://gentoo.noved.org http://gentoo.mirrors.pair.com" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga tcltk java X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl 3dfx 3dnow aalib acl alsa apache2 artswrappersuid athena cdr cscope curl dga directfb doc dv dvd emacs ethereal evo expat fam fbcon ffmpeg foreign-package foreign-sysvinit gamma gb gd ggi gstreamer gtk2 gtkhtml guile imagemagick imlib2 innodb ipv6 jack jack-caps javascript junit kerberos krb4 ladcca lcms ldap maildir mng mozilla mysql odbc offensive pda postgres ruby samba sqlite sse tetex tiff usb v4l vim-with-x voodoo3 wmf Xaw3d xinerama xml xvid"
compiles on my pc. I cannot confirm this bug
Downgrade coreutils to 5.0, and try again.
After downgrading to coreutils-5.0-r4, there is no change, glide-v3 still won't compile.
Well, build.3dfx should have the 'x' bit set - anything special about your /tmp or /var/tmp (or where ever PORTAGE_TMPDIR is located) ?
build.3dfx does not have the +x flag set. PORTAGE_TMPDIR=/var/tmp/portage /var is mode 755 /var/tmp is mode 1777 (sticky bit) /var/tmp/portage is mode 755
Do you use fakeroot of usersandbox for portage ?
no, I don't use any of those things. I added a chmod +x build.3dfx line before the first reference to it in the ebuild and that allowed me to emerge it (as a workaround).
*** Bug 42708 has been marked as a duplicate of this bug. ***
This bug should be fixed in glide-v3-3.10-r4, it now avoids the build.3dfx script and instead uses make.