Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30537 - Weird emerge -f behaviour on fetch restricted packages
Summary: Weird emerge -f behaviour on fetch restricted packages
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: Inclusion
: 32539 32978 37021 37095 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-06 20:48 UTC by Reporter
Modified: 2011-10-30 22:22 UTC (History)
4 users (show)

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


Attachments
patch for ebuild.sh (bugs.30537.patch,224 bytes, patch)
2003-11-03 14:22 UTC, Masatomo Nakano (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Reporter 2003-10-06 20:48:59 UTC
Emerge wants to create 2 files in "/" if an ebuild is fetch restricted 
and -f is specified!


Reproducible: Always
Steps to Reproduce:
1. emerge -f xephem

Actual Results:  
---8<---
# emerge -f xephem
Calculating dependencies ...done!
>>> emerge (1 of 1) app-sci/xephem-3.5.2 to /
!!! xephem-3.5.2.tar.gz not found in /usr/portage/distfiles.

!!! app-sci/xephem-3.5.2 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually.  See the comments in the ebuild for more information.

!!! The following are listed in SRC_URI for xephem:
!!!   xephem-3.5.2.tar.gz
ACCESS DENIED  open_wr:   /environment
/usr/sbin/ebuild.sh: line 1308: /environment: Permission denied
--------------------------- ACCESS VIOLATION SUMMARY 
---------------------------
LOG FILE = "/tmp/sandbox-xephem-3.5.2-1644.log"

open_wr:   /environment
open_wr:   /successful
-------------------------------------------------------------------------------
-

!!! Fetch for /usr/portage/app-sci/xephem/xephem-3.5.2.ebuild failed, 
continuing...



!!! Some fetch errors were encountered.  Please see above for details.
---8<---



So where DO I get the source file(s)?
Comment 1 Reporter 2003-10-06 20:50:07 UTC
portage 2.0.49-r3
Comment 2 SpanKY gentoo-dev 2003-11-03 11:21:44 UTC
*** Bug 32539 has been marked as a duplicate of this bug. ***
Comment 3 Masatomo Nakano (RETIRED) gentoo-dev 2003-11-03 14:22:10 UTC
Created attachment 20198 [details, diff]
patch for ebuild.sh

fixed
Comment 4 SpanKY gentoo-dev 2003-11-07 21:33:46 UTC
*** Bug 32978 has been marked as a duplicate of this bug. ***
Comment 5 Nicholas Jones (RETIRED) gentoo-dev 2003-11-09 22:13:56 UTC
Moved the exit down to the case statements so overriding fuctions die too.

in for -r17
Comment 6 SpanKY gentoo-dev 2004-01-03 09:00:32 UTC
*** Bug 37021 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2004-01-03 09:00:38 UTC
*** Bug 37095 has been marked as a duplicate of this bug. ***