Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 64655

Summary: DHCPCD failed to update, claimed no access to the ./configure script in an emerge -U world
Product: Gentoo Linux Reporter: Lee Holder <falconx>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lee Holder 2004-09-19 09:30:49 UTC
/usr/sbin/ebuild.sh: line 49: ./configure: Permission denied

!!! ERROR: net-misc/dhcpcd-1.3.22_p4-r5 failed.
!!! Function src_compile, Line 51, Exitcode 126
!!! (no error message)


Thats the exact error portage reports to me.  I'm running the update as root, as needed.  It seems to be complaining I don't have permission to run the configure script

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge -U world

Beyond this I haven't done anything out of the oridinary

Actual Results:  
/usr/sbin/ebuild.sh: line 49: ./configure: Permission denied

!!! ERROR: net-misc/dhcpcd-1.3.22_p4-r5 failed.
!!! Function src_compile, Line 51, Exitcode 126
!!! (no error message)



Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(TM) XP 1700+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.binarycompass.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups
dvd dvdr encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml imlib
java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl
slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xprint xv zlib"
Comment 1 solar (RETIRED) gentoo-dev 2004-09-19 21:58:13 UTC
I can't reproduce this. (workforsome)
I checked and the configure is indeed executable as it should be.

net-misc/dhcpcd-1.3.22_p4-r5 merges just fine for me.

Bug reporter sure you don't have a your /var//tmp mounted with noexec? 
Perhaps have some form of Trusted Path Execution enabled?
Comment 2 Lee Holder 2004-09-19 22:17:09 UTC
Fixed it with a little perl script, for some reason the permissions were wrong for me, and wouldn't let me execute it.