I do not know this is a bug or other problem, but after update portage: cat /var/tmp/portage/sys-apps/portage-2.1.7.1/temp/build.log * * ERROR: sys-apps/portage-2.1.7.1 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * portage-2.1.7.1.ebuild, line 73: Called die * The specific snippet of code: * die "This version of portage requires at least python-2.6 to be selected as the default python interpreter (see \`eselect python --help\`)." * The die message: * This version of portage requires at least python-2.6 to be selected as the default python interpreter (see `eselect python --help`). * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-apps/portage-2.1.7.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/portage-2.1.7.1/temp/die.env'. After that i start emerge: File "/usr/bin/emerge", line 138 print bold(prompt), ^ SyntaxError: invalid syntax If eselect python list: Available python interpreters: [1] python2.4 [2] python2.5 [3] python3.1 * I choose python2.4 or python2.5 than emerge displays the following: Traceback (most recent call last): File "/usr/bin/emerge", line 31, in <module> import emergehelp, xpak, commands, errno, re, socket, string, time, types File "/usr/lib/portage/pym/emergehelp.py", line 13, in <module> import portage_exception File "/usr/lib/portage/pym/portage_exception.py", line 14, in <module> import portage_util File "/usr/lib/portage/pym/portage_util.py", line 15, in <module> import portage_data File "/usr/lib/portage/pym/portage_data.py", line 16, in <module> from portage_exec import atexit_register File "/usr/lib/portage/pym/portage_exec.py", line 10, in <module> from portage_util import dump_traceback ImportError: cannot import name dump_traceback Reproducible: Always
You should install python2.6 and set it as your default interpreter: eselect python set python3.1 emerge -1 python:2.6 eselect python set python2.6