Since /usr/lib/portage/pym is hardcoded, portage.const.EPREFIX from prefix portage is not imported, triggering the following error because it looks for the index in /var/cache/edb/ instead of $EPREFIX/var/cache/edb/: * Error: Could not find esearch-index. Please run eupdatedb as root first This patch fixes it: --- search.py +++ search.py @@ -15,7 +15,7 @@ from os.path import isdir, exists import re -sys.path.insert(0, "/usr/lib/portage/pym") +#sys.path.insert(0, "/usr/lib/portage/pym") # commented out so it can run from the git checkout #sys.path.insert(0, "/usr/lib/esearch")
Ah, missed a spot :( Thanks
Applied in commit: https://github.com/fuzzyray/esearch/commit/8399831cd2f5968fc45d0f1dc4e131368161e39a
Strange that I didn't catch this since I've been running esearch-9999 on my Mac OS prefix for several months prior to release. Anyhow, fixed in esearch-1.0-r1