Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30769 - emerge passivetex fails with "cp: cannot create regular file `Makefile': Permission denied"
Summary: emerge passivetex fails with "cp: cannot create regular file `Makefile': Perm...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-09 10:27 UTC by Steven Elling
Modified: 2003-10-22 03:20 UTC (History)
0 users

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


Attachments
Patch to fix ebuild (passivetex-1.4.ebuild.patch,250 bytes, patch)
2003-10-09 10:29 UTC, Steven Elling
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Elling 2003-10-09 10:27:53 UTC
When emerging passivetex the build fails because it cannot overwrite the Makefile in the 
work directory with the portage supplied Makefile.  The Makefile in the work directory has 
perms "-r-xr-xr-x" and an ownership of "portage:portage".  My guess is that the copy fails 
because I'm using userpriv and usersandbox features. 

Reproducible: Always
Steps to Reproduce:
1. Make sure userpriv and usersandbox are in the FEATURES variable. 
2. Run "emerge passivetex" 
Actual Results:  
setup 
unpack 
>>> Unpacking source... 
>>> Unpacking passivetex.zip to /var/tmp/portage/passivetex-1.4/work/passivetex 
cp: cannot create regular file `Makefile': Permission denied 
>>> Source unpacked. 
compile 
saxon passivetex.xml passivetex.xsl  
make: saxon: Command not found 
make: *** [index.html] Error 127 
 
!!! ERROR: app-text/passivetex-1.4 failed. 
!!! Function src_compile, Line 24, Exitcode 2 
!!! (no error message) 

Expected Results:  
The ebuild should of checked the permission on Makefile before trying to overwrite it.
Comment 1 Steven Elling 2003-10-09 10:29:54 UTC
Created attachment 19019 [details, diff]
Patch to fix ebuild
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2003-10-22 03:20:59 UTC
the problem is 555 doesnt allow writing to the Makefile. fixed in portage
now.