It was broken by this change in commit c9f6aa9f0151adb3c86706eaef1914cdbdcf2b6d, since it causes portage.settings to be instantiated earlier: diff --git a/bin/portageq b/bin/portageq index c88ee88..1ae1fe1 100755 --- a/bin/portageq +++ b/bin/portageq @@ -1232,7 +1232,7 @@ def main(argv): sys.stderr.write("Run portageq with --help for info\n") sys.stderr.flush() sys.exit(os.EX_USAGE) - eprefix = portage.const.EPREFIX + eprefix = portage.settings["EPREFIX"] eroot = portage.util.normalize_path(argv[2]) if eprefix:
I have a patch in the following branch: https://github.com/zmedico/portage/tree/bug_529200 I've posted it for review here: http://thread.gmane.org/gmane.linux.gentoo.portage.devel/4783
This is in git now: https://github.com/gentoo/portage/commit/3b08575233ecf1d3e6f31f959741a4826aeac4a9
This is in the portage-2.2.15 release.