Summary: | dev-python/six-1.10.0 fails to install with PYTHON_TARGETS="python3_4" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dmitri Bogomolov <4glitch> |
Component: | [OLD] Development | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sping |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=574002 https://bugs.gentoo.org/show_bug.cgi?id=595028 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info |
Please also add emerge --info. Created attachment 436940 [details]
emerge --info
This is an odd one. It seems that portage is running the pkg_preinst phase from /usr/lib64/python2.7/site-packages, which seems a bit dangerous. It certainly does weird things to sys.path. This should fix it (I think). commit 81fc70f986e26243b0d85c32700cab3157f2dd07 Author: Mike Gilbert <floppym@gentoo.org> Date: Thu Jun 9 12:01:39 2016 -0400 dev-python/six: run pkg_preinst from / Bug: https://bugs.gentoo.org/585146 Package-Manager: portage-2.3.0_rc1_p20 dev-python/six/six-1.10.0.ebuild | 1 + dev-python/six/six-1.9.0-r1.ebuild | 1 + 2 files changed, 2 insertions(+) *** Bug 573168 has been marked as a duplicate of this bug. *** |
Created attachment 436602 [details] build.log The message is: ImportError: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder or your installation of python-future is corrupted. # emerge -pqv '=dev-python/six-1.10.0::gentoo' [binary R ] dev-python/six-1.10.0 USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_4* (-pypy) (-pypy3) -python3_3 (-python3_5)"