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

Bug 280189

Summary: sys-apps/portage-2.2.00.13876 isn't prefix-aware
Product: Gentoo/Alt Reporter: Stuart Shelton <srcshelton>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: IRIX   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stuart Shelton 2009-08-03 16:36:03 UTC
${EPREFIX}/usr/$(get_libdir)/portage/bin/setsid has interpretor set to:

#!/usr/bin/python -O

... which is broken for prefix installs.

/usr/bin/env cannot be used in this instance if the "-O" option is required, so this path will have to be altered during the package installation process.

All of the other binaries in the 'bin' directory have the hard-coded interpretor (for my system) '/opt/gentoo/usr/bin/python -O'.
Comment 1 Fabian Groffen gentoo-dev 2009-08-03 16:38:53 UTC
thanks, I fixed that already, will release tonight.
Comment 2 Fabian Groffen gentoo-dev 2009-08-03 18:27:20 UTC
this is fixed in 2.2.00.13878, thanks!