Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 300678

Summary: python 2.6.4 fails to install due to missing python:2.6
Product: Gentoo Linux Reporter: Per Öberg <per>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Per Öberg 2010-01-12 09:27:15 UTC
I have a computer that has been sitting around without being updated for 6 months and when trying to upgrade from python-2.5.4-r2 emerge fails with the following message:

 * ERROR: dev-lang/python-2.6.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called pkg_setup
 *     python-2.6.4.ebuild, line   60:  Called python_set_active_version '2.6'
 *           python.eclass, line  200:  Called die
 * The specific snippet of code:
 *                      die "${FUNCNAME}(): 'dev-lang/python:$1' isn't installed"
 *  The die message:
 *   python_set_active_version(): 'dev-lang/python:2.6' isn't installed
 *
 * 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/dev-lang/python-2.6.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-2.6.4/temp/die.env'.
 *


I managed to download an old python ebuild (2.6.2-r1) which i installed first and this solved my problems.

Reproducible: Always

Steps to Reproduce:
1. emerge -av --oneshot =dev-lang/python-2.6.4
2.
3.
Comment 1 Marcin Kwiatkowski 2010-01-12 09:42:26 UTC
Here i get, with same situation (2.5->2.6 upgrade):

 *
 * ERROR: dev-lang/python-2.6.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called pkg_setup
 *     python-2.6.4.ebuild, line   68:  Called has_version '=dev-lang/python-3*'
 *               ebuild.sh, line  183:  Called die
 * The specific snippet of code:
 *                      die "unexpected portageq exit code: ${retval}"
 *  The die message:
 *   unexpected portageq exit code: 127
 *
 * 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/dev-lang/python-2.6.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-2.6.4/temp/die.env'.
 *
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-01-12 10:24:36 UTC

*** This bug has been marked as a duplicate of bug 300579 ***