Created attachment 394396 [details] setuptools-12.0.3.environment.xz I stepped back to setuptools-9.1 (binary package) and tried to emerge setuptools-12.0.3 which fails during install : running egg_info writing /var/tmp/portage/dev-python/setuptools-12.0.3/work/setuptools-12.0.3-python3_4/build/setuptools.egg-info/PKG-INFO writing top-level names to /var/tmp/portage/dev-python/setuptools-12.0.3/work/setuptools-12.0.3-python3_4/build/setuptools.egg-info/top_level.txt writing requirements to /var/tmp/portage/dev-python/setuptools-12.0.3/work/setuptools-12.0.3-python3_4/build/setuptools.egg-info/requires.txt writing dependency_links to /var/tmp/portage/dev-python/setuptools-12.0.3/work/setuptools-12.0.3-python3_4/build/setuptools.egg-info/dependency_links.txt writing entry points to /var/tmp/portage/dev-python/setuptools-12.0.3/work/setuptools-12.0.3-python3_4/build/setuptools.egg-info/entry_points.txt Traceback (most recent call last): File "setup.py", line 179, in <module> dist = setuptools.setup(**setup_params) File "/usr/lib64/python3.4/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.4/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/usr/lib64/python3.4/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/var/tmp/portage/dev-python/setuptools-12.0.3/work/setuptools-12.0.3-python3_4/setuptools/command/install.py", line 61, in run return orig.install.run(self) File "/usr/lib64/python3.4/distutils/command/install.py", line 551, in run self.run_command(cmd_name) File "/usr/lib64/python3.4/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib64/python3.4/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/var/tmp/portage/dev-python/setuptools-12.0.3/work/setuptools-12.0.3-python3_4/setuptools/command/install_egg_info.py", line 33, in run self.run_command('egg_info') File "/usr/lib64/python3.4/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib64/python3.4/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/var/tmp/portage/dev-python/setuptools-12.0.3/work/setuptools-12.0.3-python3_4/setuptools/command/egg_info.py", line 171, in run writer = ep.load(installer=installer) File "/var/tmp/portage/dev-python/setuptools-12.0.3/work/setuptools-12.0.3-python3_4/pkg_resources/__init__.py", line 2310, in load return self.resolve() File "/var/tmp/portage/dev-python/setuptools-12.0.3/work/setuptools-12.0.3-python3_4/pkg_resources/__init__.py", line 2316, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) ImportError: No module named 'version' * ERROR: dev-python/setuptools-12.0.3::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_install * environment, line 3884: Called distutils-r1_src_install * environment, line 1277: Called _distutils-r1_run_foreach_impl 'python_install' * environment, line 368: Called python_foreach_impl 'distutils-r1_run_phase' 'python_install' * environment, line 3434: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install' * environment, line 2560: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install' * environment, line 2558: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_install' * environment, line 833: Called distutils-r1_run_phase 'python_install' * environment, line 1248: Called python_install * environment, line 3573: Called distutils-r1_python_install * environment, line 1175: Called esetup.py 'install' '--root=/var/tmp/portage/dev-python/setuptools-12.0.3/image//_python3.4' * environment, line 1729: Called die
I'm still unable to reproduce this. Perhaps some other python herd members can test as well though. On a side note, it looks somewhat easier to replace the bundled packaging lib now so I might do that in the next bump unless someone else does.
It's either a general setuptoools problem or a python-daemon problem Stepping back to dev-python/python-daemon-2.0.1 (or even dev-python/python-daemon-2.0.2, which is not in the tree) solves the problem. Please see bug https://bugs.gentoo.org/show_bug.cgi?id=537210 and http://stackoverflow.com/questions/27972349/installing-latest-python-daemon-2-0-3-breaks-subsequent-pip-installs
Adding setuptools upstream bug (thanks Arfrever).
*** Bug 537068 has been marked as a duplicate of this bug. ***
hit by the same problem with dev-python/setuptools-12.0.5 intalled were : dev-python/python-daemon-2.0.3 as hinted somewhere, i removed this package, and then setuptools installed fine.
(In reply to Thomas Capricelli from comment #5) > hit by the same problem with dev-python/setuptools-12.0.5 > > intalled were : dev-python/python-daemon-2.0.3 > > as hinted somewhere, i removed this package, and then setuptools installed > fine. Thanks, that helped me a lot too! emerge -C dev-python/python-daemon; emerge -u setuptools
commit bea1f6190d0aca59a83db41435f992f0cb97e1ca Author: Justin Lecher <jlec@gentoo.org> Date: Mon Nov 23 10:42:05 2015 +0100 dev-python/setuptools: Drop old obsoletes: Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=447144 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=450560 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=468628 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=519956 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=537122 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=522456 Package-Manager: portage-2.2.25 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bea1f6190d0aca59a83db41435f992f0cb97e1ca