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

Bug 234157

Summary: sys-apps/portage: setting BUILD_PREFIX does not work
Product: Portage Development Reporter: Stephan Springer <Gentoo-bugs>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: 2.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 210077, 216231    

Description Stephan Springer 2008-08-07 08:12:28 UTC
The man-page make.conf(5) as well as several places in the Wiki and the online documentation state that I can set BUILD_PREFIX to some directory to override the default "${PORTAGE_TMPDIR}/portage".  But that doesn't work, such a setting is simply ignored, regardless of whether I set it in /etc/make.conf or in the environment.  All I can do is change PORTAGE_TMPDIR, but that changes more than I want.

I guess the reason is that the value is just hardcoded in line 3919 of /usr/lib64/portage/pym/portage.py.  So either fix it there or change all the documentaion, please.

I'm currently using sys-apps/portage-2.1.4.4 on amd64.
Comment 1 Zac Medico gentoo-dev 2008-08-09 20:27:52 UTC
Thanks, I've removed it from the man page for the time being since it's not intended to be configurable.
Comment 2 Zac Medico gentoo-dev 2008-08-10 13:23:10 UTC
This is released in 2.2_rc7.