I am not able to compile dev-python/pygments-2.1.1 with python2.7, i must switch to python3.4. This is problem: Traceback (most recent call last): File "setup.py", line 82, in <module> **add_keywords File "/usr/lib64/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib64/python2.7/distutils/command/install.py", line 575, in run self.run_command(cmd_name) File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib64/python2.7/distutils/command/install_lib.py", line 101, in run self.byte_compile(outfiles) File "/usr/lib64/python2.7/distutils/command/install_lib.py", line 142, in byte_compile verbose=self.verbose, dry_run=self.dry_run) File "/usr/lib64/python2.7/distutils/util.py", line 385, in byte_compile from tempfile import mktemp File "/usr/lib64/python2.7/tempfile.py", line 32, in <module> import io as _io File "/usr/lib64/python2.7/io.py", line 51, in <module> import _io ImportError: /usr/lib64/python2.7/lib-dynload/_io.so: undefined symbol: _PyErr_ReplaceException * ERROR: dev-python/pygments-2.1.1::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 115: Called src_install * environment, line 2671: Called distutils-r1_src_install * environment, line 796: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_install' * environment, line 295: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_install' * environment, line 2191: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_install' * environment, line 1489: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_install' * environment, line 1487: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_install' * environment, line 495: Called distutils-r1_run_phase 'distutils-r1_python_install' * environment, line 764: Called distutils-r1_python_install * environment, line 680: Called esetup.py 'install' '--root=/var/tmp/portage/dev-python/pygments-2.1.1/image/_python2.7' * environment, line 1024: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=dev-python/pygments-2.1.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pygments-2.1.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/pygments-2.1.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygments-2.1.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pygments-2.1.1/work/Pygments-2.1.1' * S: '/var/tmp/portage/dev-python/pygments-2.1.1/work/Pygments-2.1.1' >>> Failed to emerge dev-python/pygments-2.1.1, Log file: >>> '/var/tmp/portage/dev-python/pygments-2.1.1/temp/build.log' * Messages for package dev-python/pygments-2.1.1: * ERROR: dev-python/pygments-2.1.1::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 115: Called src_install * environment, line 2671: Called distutils-r1_src_install * environment, line 796: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_install' * environment, line 295: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_install' * environment, line 2191: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_install' * environment, line 1489: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_install' * environment, line 1487: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_install' * environment, line 495: Called distutils-r1_run_phase 'distutils-r1_python_install' * environment, line 764: Called distutils-r1_python_install * environment, line 680: Called esetup.py 'install' '--root=/var/tmp/portage/dev-python/pygments-2.1.1/image/_python2.7' * environment, line 1024: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=dev-python/pygments-2.1.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pygments-2.1.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/pygments-2.1.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygments-2.1.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pygments-2.1.1/work/Pygments-2.1.1' * S: '/var/tmp/portage/dev-python/pygments-2.1.1/work/Pygments-2.1.1' Reproducible: Always
Looks like you got your python2.7 corrupted somehow. I would suggest trying to rebuild dev-lang/python:2.7 but possibly 'quickpkg dev-lang/python:2.7' first in case someone wanted to investigate more.
Closing as broken system.