Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350111 - Python 3.x selected by default on new installs
Summary: Python 3.x selected by default on new installs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-30 01:59 UTC by Joel Koglin
Modified: 2011-01-01 18:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Koglin 2010-12-30 01:59:13 UTC
"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
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-01-01 18:31:34 UTC
I just added a commit to revert python-2.6.6-r1 that should fix this.