Installing zim left the file which result in build failure: Complete output from command /var/tmp/portage/dev...ualenv/bin/python2.7 -c "#!python \"\"\"Bootstra...sys.argv[1:]) " /var/tmp/portage/dev...ols-0.6c11-py2.7.egg: error: can't create or remove files in install directory The following error occurred while trying to add or remove files in the installation directory: [Errno 2] No such file or directory: '/var/tmp/portage/x11-misc/zim-0.65/image/var/tmp/portage/dev-lang/spidermonkey-24.2.0-r3/work/mozjs-24.2.0/js/src/_virtualenv/lib64/python2.7/site-packages/test-easy-install-1774.pth' The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was: /var/tmp/portage/x11-misc/zim-0.65/image/var/tmp/portage/dev-lang/spidermonkey-24.2.0-r3/work/mozjs-24.2.0/js/src/_virtualenv/lib64/python2.7/site-packages/ This directory does not currently exist. Please create it and try again, or choose a different installation directory (using the -d or --install-dir option). ----------------------------------------