Summary: | dev-python/setuptools with dev-lang/python[-xml] - ImportError: No module named 'pyexpat' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | om3i <r9ku1q> |
Component: | [OLD] Development | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
om3i
2014-08-15 05:56:43 UTC
Created attachment 382914 [details]
build.log
When trying to add PYTHON_REQ_USE="xml" I ran into repoman complains that virtual/pypy:0 virtual/pypy3:0 lack use flag "xml". Left to finish for later. It's all in the docs [1]. Since xml is always-on in pypy, you should use 'xml(+)'. [1]:https://wiki.gentoo.org/wiki/Project:Python/Implementation_USE_flags Today it failed at a tinderbox image with : * python2_7: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python2.7 setup.py build Download error on https://pypi.python.org/simple/pytest-runner/: [Errno -3] Temporary failure in name resolution -- Some packages may not be found! Couldn't find index page for 'pytest-runner' (maybe misspelled?) Download error on https://pypi.python.org/simple/: [Errno -3] Temporary failure in name resolution -- Some packages may not be found! No local packages or working download links found for pytest-runner Traceback (most recent call last): File "setup.py", line 52, in <module> ['chardetect = chardet.cli.chardetect:main']}) File "/usr/lib64/python2.7/distutils/core.py", line 111, in setup _setup_distribution = dist = klass(attrs) and I do wonder why an ebuild downloads something during its compile phase ? (In reply to Toralf Förster from comment #4) That error was fixed yesterday in bug 616104. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=739216f8e1f50ed1c3bc1d8cdcab9964ae81134a commit 739216f8e1f50ed1c3bc1d8cdcab9964ae81134a Author: Mike Gilbert <floppym@gentoo.org> Date: Fri Apr 21 14:14:29 2017 -0400 dev-python/setuptools: require python xml (expat) support Bug: https://bugs.gentoo.org/519954 Package-Manager: Portage-2.3.5_p19, Repoman-2.3.2_p49 dev-python/setuptools/setuptools-18.4.ebuild | 1 + dev-python/setuptools/setuptools-20.6.7.ebuild | 1 + dev-python/setuptools/setuptools-30.4.0.ebuild | 1 + dev-python/setuptools/setuptools-33.1.1.ebuild | 1 + dev-python/setuptools/setuptools-34.0.2-r1.ebuild | 1 + dev-python/setuptools/setuptools-34.3.2.ebuild | 1 + dev-python/setuptools/setuptools-34.3.3.ebuild | 1 + dev-python/setuptools/setuptools-34.4.1.ebuild | 1 + dev-python/setuptools/setuptools-9999.ebuild | 1 + 9 files changed, 9 insertions(+) |