Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300678 - python 2.6.4 fails to install due to missing python:2.6
Summary: python 2.6.4 fails to install due to missing python:2.6
Status: RESOLVED DUPLICATE of bug 300579
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-12 09:27 UTC by Per Öberg
Modified: 2010-01-12 10:24 UTC (History)
0 users

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 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 ***