Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330655 - Latest stage3 tarball has system python set to python3
Summary: Latest stage3 tarball has system python set to python3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Stages (show other bugs)
Hardware: AMD64 Linux
: High blocker (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
: 330943 (view as bug list)
Depends on:
Blocks: 330361
  Show dependency tree
 
Reported: 2010-07-31 20:00 UTC by Albert W. Hopkins
Modified: 2011-04-01 11:49 UTC (History)
6 users (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 Albert W. Hopkins 2010-07-31 20:00:23 UTC
I encountered this problem doing automated builds.  It seems that the latest stage3 tarball (amd64) has python3 set as the system python.  I'm guessing this is not intentional.

Reproducible: Always

Steps to Reproduce:
s3test # mkdir gentoo                              
s3test # tar xjpf stage3-amd64-20100729.tar.bz2 -C gentoo
s3test # chroot gentoo /bin/bash
/ # eselect python list
Available Python interpreters:
  [1]   python2.6
  [2]   python3.1 *
/ # python --version
Python 3.1.2




This causes problems with subsequent emerges if they involve python as most packages still depend on python2 as the system python.

The workaround is to simply run "eselect python set python2". After unpacking the tarball and doing a chroot, but this may be a major hangup for those doing their first Gentoo install and are not familar eselect.

s3test # md5sum stage3-amd64-20100729.tar.bz2 
496d7a2977dcd5f035d729c9e5c76b24  stage3-amd64-20100729.tar.bz2
Comment 1 Roy Bamford gentoo-dev 2010-07-31 21:02:35 UTC
Please pull affected stage3s until we have a resolution.

This will avoid #gentoo and the forums getting flooded
Added QA to CC
Comment 2 Alex Legler (RETIRED) archtester gentoo-dev Security 2010-08-01 13:10:05 UTC
If there's a cause for using the 'blocker' severity, I think this bug is one.
 
CCing infra for Roy's request.
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2010-08-01 14:13:21 UTC
I already pulled these stages...
Comment 4 Albert W. Hopkins 2010-08-01 16:36:38 UTC
(In reply to comment #3)
> I already pulled these stages...
> 

Thanks!
Comment 5 Albert W. Hopkins 2010-08-01 20:43:47 UTC
Argh, I know this isn't really you're problem per-se, but just FYI.

The 20100617 tarball apparently uses a different glibc than the 20100729 tarball.   And I created binary packages when the 20100729 was the "latest".  Now after I update system and it pulls in the bash binary package, everything fails because bash was built against a different glibc (from 20100729).

Not a problem I just need to recompile these binary packages.  But I'd just thought I'd let you know in case you start to encounter some weird bug reports.
Comment 6 Zac Medico gentoo-dev 2010-08-02 03:36:00 UTC
I don't know what's responsible for setting python3 as the default interpreter, but I suppose that the python ebuilds/eclasses are likely suspects.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-03 03:04:21 UTC
*** Bug 330943 has been marked as a duplicate of this bug. ***
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-08-03 03:06:37 UTC
The infra aspect of this bug is gone. Removing us.
Comment 9 Zac Medico gentoo-dev 2010-08-03 04:25:38 UTC
Maybe bug 321785 caused python3 to be set as the default interpreter for stage1, and then that was inherited by stage2 and stage3?
Comment 10 Albert W. Hopkins 2010-10-09 01:48:34 UTC
Seems not to be a problem with subsequent stage3s. Fixed.
Comment 11 Wim Muskee 2011-01-01 17:09:01 UTC
The problem occurs again in stage3-i686-20101228.tar.bz2 at http://distfiles.gentoo.org/releases/x86/autobuilds.
Comment 12 Albert W. Hopkins 2011-01-01 18:16:16 UTC
Also re-occurs for stage3-amd64-20101230.tar.bz2
Comment 13 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-01-01 18:19:55 UTC
(In reply to comment #12)
> Also re-occurs for stage3-amd64-20101230.tar.bz2

It's a separate problem with known solution, which will be applied somewhen.
Comment 14 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-01-01 18:28:48 UTC
I just committed a revert to python-2.6.6-r1 which should fix this.
I'm currently running local tests to verify if it works or not.
Comment 15 Wim Muskee 2011-04-01 11:49:28 UTC
Just downloaded stage3-i686-20110315.tar.bz2 from the autobuilds, unpacked and saw the default python profile is still set to 3.1 (though 2.6 is available).