Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31366 - media-libs/glide-v3-3.10-r3 fails to emerge with a permission denied error
Summary: media-libs/glide-v3-3.10-r3 fails to emerge with a permission denied error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 42708 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-17 11:20 UTC by Matt Rogers
Modified: 2004-06-14 01:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Rogers 2003-10-17 11:20:51 UTC
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"
Comment 1 Patrick Lauer gentoo-dev 2003-10-19 12:09:18 UTC
compiles on my pc. I cannot confirm this bug
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-10-21 23:02:26 UTC
Downgrade coreutils to 5.0, and try again.
Comment 3 Matt Rogers 2003-10-23 14:46:25 UTC
After downgrading to coreutils-5.0-r4, there is no change, glide-v3 still
won't compile.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2003-10-26 09:15:50 UTC
Well, build.3dfx should have the 'x' bit set - anything special about your
/tmp or /var/tmp (or where ever PORTAGE_TMPDIR is located) ?
Comment 5 Matt Rogers 2003-10-26 11:36:02 UTC
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
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2003-10-27 10:41:32 UTC
Do you use fakeroot of usersandbox for portage ?
Comment 7 Matt Rogers 2003-12-03 07:01:13 UTC
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).
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2004-03-14 00:44:56 UTC
*** Bug 42708 has been marked as a duplicate of this bug. ***
Comment 9 Bryan Stine (RETIRED) gentoo-dev 2004-06-14 01:57:50 UTC
This bug should be fixed in glide-v3-3.10-r4, it now avoids the build.3dfx script and instead uses make.