Summary: | dev-python/six unusable when /usr/lib/python2.7/site-packages/six/ dir present | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dominique Michel <dominique.c.michel> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | asturm, bugzie, jlec |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=564822 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
emerge.info environment six.py |
Description
Dominique Michel
2015-04-16 07:40:52 UTC
Created attachment 401308 [details]
build log
Created attachment 401310 [details]
emerge.info
Created attachment 401312 [details]
environment
python-updater find nothing to update. # emerge -pqv '=dev-python/sphinx-1.3.1::gentoo' [ebuild U ] dev-python/sphinx-1.3.1 [1.2.3] USE="-doc -latex {-test}" PYTHON_TARGETS="python2_7 python3_3 -pypy -python3_4 (-pypy3%)" I can't figure out how to reproduce this - builds fine for me This was fixed in some other bug of sphinx I think. Same here, also dev-python/unittest2 with the same error and >=rbtools-0.7 at runtime for ages already, which I circumvented with a local rbtools-0.6 until now. Which version of six are you using? Does python2 -c "from six.moves import http_client" work for you? That is using dev-python/six-1.10.0. $ python2 -c "from six.moves import http_client" Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named moves (In reply to Andreas Sturmlechner from comment #10) > That is using dev-python/six-1.10.0. > > $ python2 -c "from six.moves import http_client" > Traceback (most recent call last): > File "<string>", line 1, in <module> > ImportError: No module named moves Could you please attach /usr/lib64/python2.7/site-packages/six.py Do you have a directory at /usr/lib/python2.7/site-packages/six present? Created attachment 416058 [details]
six.py
(In reply to Justin Lecher from comment #12) > Do you have a directory at > > /usr/lib/python2.7/site-packages/six Yes, and it looks like it contains quite outdated copies of six.py* (In reply to Andreas Sturmlechner from comment #14) > (In reply to Justin Lecher from comment #12) > > Do you have a directory at > > > > /usr/lib/python2.7/site-packages/six > > Yes, and it looks like it contains quite outdated copies of six.py* before you are deleting that directory, could you please find out which package owns those files? equere belongs or such helps you. $ equery b /usr/lib/python2.7/site-packages/six/six.py * Searching for /usr/lib/python2.7/site-packages/six/six.py ... app-emulation/fs-uae-launcher-2.4.3 (/usr/lib64/python2.7/site-packages/six/six.py) ouch ;) (In reply to Andreas Sturmlechner from comment #16) > $ equery b /usr/lib/python2.7/site-packages/six/six.py > * Searching for /usr/lib/python2.7/site-packages/six/six.py ... > app-emulation/fs-uae-launcher-2.4.3 That exact package is also what I found on my research I suspect the package is coming from the roslin overlay. Piotr, could you please fix this? It looks like it's fixed already by -r1 (contains ${PN}-drop-bundled-lhafile-and-six.patch), will try. Yes, all fine now. Sorry for bothering you with an outdated overlay ebuild and thanks for the solution :) commit 24f3b61dbd6db8a41c01dc5ea8bd5bf4b87704b2 Author: Justin Lecher <jlec@gentoo.org> Date: Fri Nov 20 12:00:44 2015 +0100 dev-python/six: Break if SITEDIR/six is a dir Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=546730 Package-Manager: portage-2.2.25 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24f3b61dbd6db8a41c01dc5ea8bd5bf4b87704b2 |