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

Bug 663958

Summary: shadowman compiler-shadow eselect module does not respect ${EPREFIX}
Product: Gentoo Linux Reporter: thisismythirdemail
Component: Current packagesAssignee: Gentoo eselect Team <eselect>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein, thisismythirdemail
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description thisismythirdemail 2018-08-18 08:31:26 UTC
According to the gentoo wiki: "All eselect modules are required to support the ROOT variable. For prefix support, variables EPREFIX and EROOT are also defined and have the same meaning as in ebuilds." (https://wiki.gentoo.org/wiki/Project:Eselect/Developer_guide)

This eselect module (compiler-shadow) supports neither. It is hard-coded to look in the root dir: 

"MASQ_MODULEDIR=/usr/share/shadowman"

A person on the gentoo forums had a run in with this issue when trying to install the app ccache as a normal user in an eprefix. (The package ebuild calls for an update of the module.) You can see the thread here: https://forums.gentoo.org/viewtopic-t-1085028-highlight-ccache.html

A simple addition of "${EROOT}" before that specific path should fix the issue. All other references to path use that variable.