Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35954 - detex-2.7 ebuild permission problem
Summary: detex-2.7 ebuild permission problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-16 09:55 UTC by Jan Drugowitsch
Modified: 2003-12-19 20:42 UTC (History)
0 users

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 Jan Drugowitsch 2003-12-16 09:55:08 UTC
When emerging detex-2.7 I get the following message:
[snip]
>>> Unpacking source...
>>> Unpacking detex-2.7.tar to /var/tmp/portage/detex-2.7/work
/usr/sbin/ebuild.sh: line 20: Makefile: Permission denied

!!! ERROR: dev-tex/detex-2.7 failed.
!!! Function src_unpack, Line 24, Exitcode 1
!!! sed failed

This error stems from the sed command in line 20 of the detex ebuild. The permissions I get for the Makefile after unpacking are
-r--r--r--    1 portage  portage      1899 May 12  1999 Makefile

Hence, to resolve this problem, write permission has to be added to the Makefile. I didn't attach a corrected ebuild as I'm not sure if this occurs for every user as I'm the first one to file a bug about it. The modifications to the ebuild would be fairly easy, though.

Reproducible: Always
Steps to Reproduce:
1. emerge detex
Comment 1 SpanKY gentoo-dev 2003-12-16 15:54:40 UTC
turn off userpriv/usersandbox in FEATURES
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-12-16 15:58:53 UTC
I reached the same conclusion. It is userpriv/usersandbox issue...
Comment 3 Jan Drugowitsch 2003-12-17 01:26:11 UTC
you are right:
doesn't work with FEATURES="sandbox userpriv usersandbox"
works with no features set
Comment 4 Mike Gardiner (RETIRED) gentoo-dev 2003-12-19 20:42:01 UTC
okay, good work.