Installing dev-python/six-1.10.0 with an alternative package manager like paludis fails with an permission error. In pkg_setup() the python_foreach_impl function creates working directories und files required for the build, eg. python2.7. This phase is run with root privileges (according to https://devmanual.gentoo.org/ebuild-writing/functions/pkg_setup/index.html), so these are owned by root. The src_compile phase is runing as the builduser (https://devmanual.gentoo.org/ebuild-writing/functions/src_compile/index.html) and thus can't create files in those directories, see attached log. This bug was not present in 1.9.0-r1. Reproducible: Always Steps to Reproduce: 1. use paludis as the package manager 2. cave resolve -1xz dev-python/six Actual Results: dev-python/six installation fails with an permission error, see attached log. Expected Results: dev-python/six is installed successfully.
Created attachment 420980 [details] cave install log
commit ee672ed083b9ef11353088e6b6252c28404d38c7 Author: Mike Gilbert <floppym@gentoo.org> Date: Mon Dec 28 11:27:15 2015 -0500 dev-python/six: Remove pkg_setup check Running python_foreach_impl from pkg_setup causes more problems than it is worth. Bug: https://bugs.gentoo.org/569962 Package-Manager: portage-2.2.26_p32 dev-python/six/six-1.10.0.ebuild | 10 ---------- 1 file changed, 10 deletions(-)