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

Bug 35386

Summary: fam-2.7.0 merge failed (autoconf: permission denied while accessing to configure)
Product: Gentoo Linux Reporter: Marc Chabrol <marc-gentoo>
Component: Current packagesAssignee: foser (RETIRED) <foser>
Status: RESOLVED DUPLICATE    
Severity: normal CC: leroutier
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marc Chabrol 2003-12-08 15:48:40 UTC
merging fam-2.7.0 fails with the following error message:

config.status: executing depfiles commands
cd . && /bin/sh /var/tmp/portage/fam-2.7.0/work/fam-2.7.0/missing --run aclocal-1.6 
cd . && \
  /bin/sh /var/tmp/portage/fam-2.7.0/work/fam-2.7.0/missing --run automake-1.6
--gnu  Makefile
cd . && /bin/sh /var/tmp/portage/fam-2.7.0/work/fam-2.7.0/missing --run autoconf
autom4te-2.58: cannot open configure: Permission denied
make: *** [configure] Error 1

The missing shell script is unable to write to the configure file because the
configure file rights are r-xr-xr-x as shown by:

# ls -l /var/tmp/portage/fam-2.7.0/work/fam-2.7.0/
(...)
-r-xr-xr-x    1 portage  portage    347684 2003-11-26 11:47 configure

Once the permission are fixed by a chmod u+w configure, the merge process 
can be resumed successfully.

In order to fix the ebuild, either have the problem fixed upstream to have
the configure permissions fixed or add a chmod u+w configure in the build
process.

Reproducible: Always
Steps to Reproduce:
1. emerge -u fam
2.
3.

Actual Results:  
config.status: executing depfiles commands
cd . && /bin/sh /var/tmp/portage/fam-2.7.0/work/fam-2.7.0/missing --run aclocal-1.6 
cd . && \
  /bin/sh /var/tmp/portage/fam-2.7.0/work/fam-2.7.0/missing --run automake-1.6
--gnu  Makefile
cd . && /bin/sh /var/tmp/portage/fam-2.7.0/work/fam-2.7.0/missing --run autoconf
autom4te-2.58: cannot open configure: Permission denied
make: *** [configure] Error 1

Expected Results:  
emerge fam successful.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-12-08 15:57:34 UTC
please provide
#emerge info

seems that you are using USERPRIV
Comment 2 Stephane Loeuillet 2003-12-08 18:07:54 UTC
dupe? : http://bugs.gentoo.org/show_bug.cgi?id=35307
Comment 3 Marc Chabrol 2003-12-09 14:04:01 UTC
It seems to be a duplicate of #35307 indeed. But how come 35307 does not show up when I look for bugs regarding fam ? (I checked before opening the bug).

Anyway, marking as duplicate.

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