"eselect python list" shows python 3.1 selected equery fails revdep-rebuild produces some errors but seems to work Reproducible: Didn't try Steps to Reproduce: 1. installed from a minimal install cd 2. downloaded the latest stage3 and portage snapshot ( stage3-i686-20101221.tar.bz2, portage-20101220.tar.bz2) 3. chrooted and ran emerge --sync 4. installed (grub, screen, vim, gentoo-sources) 5. configured and built a 2.6.31-r6 kernel (from a local overlay) 6. rebooted 7. installed the rest of my system (php, mysql, ZendFramework, apache2, vixie-cron, syslog-ng, mlocate, portage-utils, sudo) 8. installed gentoolkit last 9. noticed equery didn't work Actual Results: python 3.x is selected by default during a new install Expected Results: python 2.6 selected by default revdep-rebuild * Configuring search environment for revdep-rebuild File "<string>", line 1 import os; import pwd; print pwd.getpwuid(os.getuid())[0] ^ SyntaxError: invalid syntax * Checking reverse dependencies ----- equery b zf File "/usr/bin/equery", line 271 print pp.path(" /" + c[0]) ^ SyntaxError: invalid syntax
I just added a commit to revert python-2.6.6-r1 that should fix this.