Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565934 - app-emulation/fs-uae-launcher::roslin breaks dev-python/pip-7.1.2 - "ImportError: No module named moves" during emerge update
Summary: app-emulation/fs-uae-launcher::roslin breaks dev-python/pip-7.1.2 - "ImportEr...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Piotr Szymaniak
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-16 13:14 UTC by sysadmin
Modified: 2015-11-23 14:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sysadmin 2015-11-16 13:14:57 UTC
running install_egg_info
running egg_info
writing requirements to /var/tmp/portage/dev-python/pip-7.1.2/work/pip-7.1.2-python2_7/pip.egg-info/requires.txt
writing /var/tmp/portage/dev-python/pip-7.1.2/work/pip-7.1.2-python2_7/pip.egg-info/PKG-INFO
writing top-level names to /var/tmp/portage/dev-python/pip-7.1.2/work/pip-7.1.2-python2_7/pip.egg-info/top_level.txt
writing dependency_links to /var/tmp/portage/dev-python/pip-7.1.2/work/pip-7.1.2-python2_7/pip.egg-info/dependency_links.txt
writing entry points to /var/tmp/portage/dev-python/pip-7.1.2/work/pip-7.1.2-python2_7/pip.egg-info/entry_points.txt
reading manifest file '/var/tmp/portage/dev-python/pip-7.1.2/work/pip-7.1.2-python2_7/pip.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'pip/_vendor/README.rst'
warning: no files found matching 'pip/_vendor/vendor.txt'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.mailmap'
warning: no previously-included files found matching '.travis.yml'
warning: no previously-included files found matching 'pip/_vendor/Makefile'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching 'dev-requirements.txt'
warning: no files found matching '*.pem' under directory 'pip/_vendor'
no previously-included directories found matching '.travis'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'contrib'
no previously-included directories found matching 'tasks'
no previously-included directories found matching 'tests'
writing manifest file '/var/tmp/portage/dev-python/pip-7.1.2/work/pip-7.1.2-python2_7/pip.egg-info/SOURCES.txt'
Copying /var/tmp/portage/dev-python/pip-7.1.2/work/pip-7.1.2-python2_7/pip.egg-info to /var/tmp/portage/dev-python/pip-7.1.2/image//_python2.7/usr/lib64/python2.7/site-packages/pip-7.1.2-py2.7.egg-info
running install_scripts
Installing pip script to /var/tmp/portage/dev-python/pip-7.1.2/image//_python2.7/usr/lib/python-exec/python2.7
Installing pip2.7 script to /var/tmp/portage/dev-python/pip-7.1.2/image//_python2.7/usr/lib/python-exec/python2.7
Installing pip2 script to /var/tmp/portage/dev-python/pip-7.1.2/image//_python2.7/usr/lib/python-exec/python2.7
 * python2_7: running distutils-r1_run_phase python_install_all
Traceback (most recent call last):
  File "pip/__init__.py", line 12, in <module>
    from pip.exceptions import InstallationError, CommandError, PipError
  File "/var/tmp/portage/dev-python/pip-7.1.2/work/pip-7.1.2-python2_7/lib/pip/__init__.py", line 13, in <module>
    from pip.utils import get_installed_distributions, get_prog
  File "/var/tmp/portage/dev-python/pip-7.1.2/work/pip-7.1.2-python2_7/lib/pip/utils/__init__.py", line 18, in <module>
    from pip.compat import console_to_str, stdlib_pkgs
  File "/var/tmp/portage/dev-python/pip-7.1.2/work/pip-7.1.2-python2_7/lib/pip/compat/__init__.py", line 8, in <module>
    from pip._vendor.six import text_type
  File "/var/tmp/portage/dev-python/pip-7.1.2/work/pip-7.1.2-python2_7/lib/pip/_vendor/__init__.py", line 52, in <module>
    vendored("html5lib")
  File "/var/tmp/portage/dev-python/pip-7.1.2/work/pip-7.1.2-python2_7/lib/pip/_vendor/__init__.py", line 32, in vendored
    __import__(modulename, globals(), locals(), level=0)
  File "/usr/lib64/python2.7/site-packages/html5lib/__init__.py", line 16, in <module>
    from .html5parser import HTMLParser, parse, parseFragment
  File "/usr/lib64/python2.7/site-packages/html5lib/html5parser.py", line 6, in <module>
    from . import inputstream
  File "/usr/lib64/python2.7/site-packages/html5lib/inputstream.py", line 3, in <module>
    from six.moves import http_client
ImportError: No module named moves


Tried 

rm -r /usr/lib64/python2.7/site-packages/pip*

as suggested in Bug 565072, but the error persists.


Reproducible: Always

Steps to Reproduce:
emerge -avuND world
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-11-20 09:28:19 UTC
is 

/usr/lib64/python2.7/site-packages/six/

a directory on your system?
Comment 2 sysadmin 2015-11-20 09:33:17 UTC
Yes:

dirk@etkbox ~ $ ls -lah /usr/lib64/python2.7/site-packages/six/
insgesamt 96K
drwxr-xr-x   2 root root 4,0K  9. Dez 2014  .
drwxr-xr-x 102 root root  12K 13. Nov 12:59 ..
-rw-r--r--   1 root root   58 22. Mär 2014  __init__.py
-rw-r--r--   1 root root  239  9. Dez 2014  __init__.pyc
-rw-r--r--   1 root root  239  9. Dez 2014  __init__.pyo
-rw-r--r--   1 root root  21K 22. Mär 2014  six.py
-rw-r--r--   1 root root  21K  9. Dez 2014  six.pyc
-rw-r--r--   1 root root  20K  9. Dez 2014  six.pyo
dirk@etkbox ~ $ equery b /usr/lib64/python2.7/site-packages/six/six.py
 * Searching for /usr/lib64/python2.7/site-packages/six/six.py ... 
app-emulation/fs-uae-launcher-2.4.1 (/usr/lib64/python2.7/site-packages/six/six.py)
Comment 3 Mike Gilbert gentoo-dev 2015-11-22 19:40:29 UTC
What repository does app-emulation/fs-uae-launcher come from?

If has no business installing a python package called "six".
Comment 4 sysadmin 2015-11-23 08:25:31 UTC
The package app-emulation/fs-uae-launcher was installed from roslin overlay. After removing it, update is working fine, thanks!
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-11-23 08:55:04 UTC
Let's reassign this to roslin owner, to make him aware of the issue.
Comment 6 Michał Ziąbkowski 2015-11-23 09:49:58 UTC
Said bug has been fixed for the past 9 months:

*fs-uae-launcher-2.4.3-r1 (28 Feb 2015)

  28 Feb 2015; Michał Ziąbkowski <mziab@o2.pl>
  +fs-uae-launcher-2.4.3-r1.ebuild,
  +files/fs-uae-launcher-drop-bundled-lhafile-and-six.patch:
  Don't install bundled six. It's incompatible with upstream import semantics
  and breaks other consumers.

OP seems to be using an older version. Please upgrade to 2.4.3-r1.