Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118321 - toolchain.eclass uses/overrides PREFIX variable
Summary: toolchain.eclass uses/overrides PREFIX variable
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-08 12:50 UTC by Fabian Groffen
Modified: 2006-03-29 18:21 UTC (History)
1 user (show)

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 Fabian Groffen gentoo-dev 2006-01-08 12:50:29 UTC
The PREFIX variable is used in prefix-aware portage to specify the prefix portage installs to.  toolchain.eclass overrides this variable which results in some problems like portage not able to find `rm`, `tar`, etc.

To solve this problem I suggest doing something like:
:%s/\<PREFIX\>/TC_PREFIX/
in Vim to replace the PREFIX variable with another name.  I changed the name in my local copy and that seemed to work quite well.  Please consider changing this variable in the eclass.  Thanks.
Comment 1 SpanKY gentoo-dev 2006-03-29 16:54:40 UTC
use a less common named internal variable
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-29 16:58:19 UTC
Seems like that's already being done... oh well :P
Comment 3 Kito (RETIRED) gentoo-dev 2006-03-29 18:21:25 UTC
This should have been assigned to someone in -alt if not me directly.