Created attachment 307473 [details] emerge --info dev-python/ply This is what I get: Copying ply.egg-info to /var/tmp/portage/dev-python/ply-3.4/temp/images/3.2/usr/lib64/python3.2/site-packages/ply-3.4-py3.2.egg-info running install_scripts Traceback (most recent call last): File "setup.py", line 29, in <module> 'Programming Language :: Python :: 2', File "/usr/lib64/python3.2/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.2/distutils/dist.py", line 917, in run_commands self.run_command(cmd) File "/usr/lib64/python3.2/distutils/dist.py", line 936, in run_command cmd_obj.run() File "/usr/lib64/python3.2/site-packages/setuptools/command/install.py", line 53, in run return _install.run(self) File "/usr/lib64/python3.2/distutils/command/install.py", line 581, in run self.run_command(cmd_name) File "/usr/lib64/python3.2/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib64/python3.2/distutils/dist.py", line 936, in run_command cmd_obj.run() File "/usr/lib64/python3.2/site-packages/setuptools/command/install_scripts.py", line 37, in run for args in get_script_args(dist, executable, is_wininst): File "/usr/lib64/python3.2/site-packages/setuptools/command/easy_install.py", line 1754, in get_script_args header = get_script_header("", executable, wininst) File "/usr/lib64/python3.2/site-packages/setuptools/command/easy_install.py", line 1606, in get_script_header match = first_line_re.match(first) TypeError: can't use a bytes pattern on a string-like object * ERROR: dev-python/ply-3.4 failed (install phase):
Which version of setuptools do you have installed?
Created attachment 307517 [details] emerge --search setuptools Why those tools were not updated to the latest? Wrong dependency?
I forced the update... ply installed ok. ply should ensure its minium version requierements for setuptools
setuptools-0.6.16 (the version you had installed) blocks recent pythons (like the version of python 3.2 you had installed), presumably because of this bug. setuptools-0.6.19 (the oldest version without those blocks) seems to work. I'm not entirely sure how you got into this situation. Perhaps we need to add some <setuptools-0.6.19 blocks to our python 3 ebuilds? Does portage not notice you have blocking packages installed?
Portage did not notice