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

Bug 19497

Summary: ufed 0.2 attempts to open '/usr/portage/profiles/use.desc'
Product: Gentoo Linux Reporter: tju <gent.ju00>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: VERIFIED FIXED    
Severity: normal CC: blizzy-keyword-gentoo_bugs3.075080
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description tju 2003-04-17 15:14:28 UTC
ufed attempts to open '/usr/portage/profiles/use.desc' (line 93) instead of
using the value of PORTDIR variable given in '/etc/make.profile/make.defaults'
or '/etc/make.globals' or /etc/make.conf'

Reproducible: Always
Steps to Reproduce:
1. move your portage tree to an other directory than /usr/portage (e.g.
/var/lib/portage)
2. insert a line 'PORTDIR=/var/lib/portage' into /etc/make.conf
3. call ufed

Actual Results:  
Error message: "couldn't open /usr/portage/profiles/use.desc"

Expected Results:  
open $PORTDIR/profiles/use.desc without error
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-04-17 17:47:59 UTC
ok, this will go into the reworking of ufed I'm undertaking.
For a temporary fix, open up the ufed script
and replace the path '/usr/portage/' with your custom path.
Comment 2 Fred Van Andel (RETIRED) gentoo-dev 2003-04-26 23:02:14 UTC
fixed with ufed 0.3. 
 
Just dont try PORTDIR="${base}/portage" 
 
That will be fixed with 0.31  
 
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-12 01:34:43 UTC
Closing old bugs.