The current Python version is at least 3.1. When I had an issue with an upgrade 
to version 3.1 from 2.6, my KDE and x crashed. When I reported this to Gentoo, 
I was told that this was not even a bug. My solution was to reload tho complete 
system.

My guess that part of the problem may be that you are emerging an older version 
of Python.

--- On Thu, 5/20/10, Kaddeh <kad...@gmail.com> wrote:

From: Kaddeh <kad...@gmail.com>
Subject: Re: [gentoo-user] problem updating python
To: gentoo-user@lists.gentoo.org
Date: Thursday, May 20, 2010, 8:29 PM

what is the output of "eselect python list"

On Thu, May 20, 2010 at 11:43 AM, Rene Lopez Montelongo 
<r...@redes.acatlan.unam.mx> wrote:

Hi everyone

I'm trying to install on a sparc architecture SUN Ultra45.



At the time to install a new slot of python I got the this error...





livecd elog # emerge -auv dev-lang/python



These are the packages that would be merged, in order:



Calculating dependencies... done!

[ebuild  NS   ] dev-lang/python-2.5.4-r4  USE="gdbm ncurses readline

ssl threads (wide-unicode) xml -berkdb -build -doc -examples -ipv6

-sqlite -tk -wininst" 0 kB



Total: 1 package (1 in new slot), Size of downloads: 0 kB



Would you like to merge these packages? [Yes/No]

>>> Verifying ebuild Manifests...



>>> Emerging (1 of 1) dev-lang/python-2.5.4-r4 to /

 * Python-2.5.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...



        [ ok ]

 * python-gentoo-patches-2.5.4-r3.tar.bz2 RMD160 SHA1 SHA256 size ;-)

...

         [ ok ]

 * checking ebuild checksums ;-) ...



        [ ok ]

 * checking auxfile checksums ;-) ...



        [ ok ]

 * checking miscfile checksums ;-) ...



        [ ok ]

 * checking Python-2.5.4.tar.bz2 ;-) ...



        [ ok ]

 * checking python-gentoo-patches-2.5.4-r3.tar.bz2 ;-) ...



        [ ok ]

 *

 * ERROR: dev-lang/python-2.5.4-r4 failed.

 * Call stack:

 *                ebuild.sh, line   49:  Called pkg_setup

 *   python-2.5.4-r4.ebuild, line   58:  Called python_pkg_setup

 *            python.eclass, line  335:  Called PYTHON 'pkg_setup'

 *            python.eclass, line 1320:  Called die

 * The specific snippet of code:

 *                              die "${FUNCNAME}(): Main active

version of Python not set"

 *  The die message:

 *   PYTHON(): Main active version of Python not set

 *

 * 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.5.4-r4/temp/build.log'.

 * The ebuild environment file is located at

'/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/die.env'.

 *



 * Messages for package dev-lang/python-2.5.4-r4:



 *

 * ERROR: dev-lang/python-2.5.4-r4 failed.

 * Call stack:

 *                ebuild.sh, line   49:  Called pkg_setup

 *   python-2.5.4-r4.ebuild, line   58:  Called python_pkg_setup

 *            python.eclass, line  335:  Called PYTHON 'pkg_setup'

 *            python.eclass, line 1320:  Called die

 * The specific snippet of code:

 *                              die "${FUNCNAME}(): Main active

version of Python not set"

 *  The die message:

 *   PYTHON(): Main active version of Python not set

 *

 * 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.5.4-r4/temp/build.log'.

 * The ebuild environment file is located at

'/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/die.env'.

 *

livecd elog #







livecd elog # emerge --search python

Searching...

[ Results for search key : python ]

[ Applications found : 117 ]



*  app-admin/eselect-python

      Latest version available: 20091230

      Latest version installed: 20091230

      Size of files: 5 kB

      Homepage:      http://www.gentoo.org

      Description:   Eselect module for management of multiple Python versions

      License:       GPL-2



*  app-admin/python-updater

      Latest version available: 0.8

      Latest version installed: 0.8

      Size of files: 7 kB

      Homepage:      http://www.gentoo.org/proj/en/Python

      Description:   Script used to remerge python packages when

changing Python version.

      License:       GPL-2



*  app-emacs/python-mode [ Masked ]

      Latest version available: 5.1.0

      Latest version installed: [ Not Installed ]

      Size of files: 36 kB

      Homepage:      https://launchpad.net/python-mode

      Description:   An Emacs major mode for editing Python source

      License:       GPL-3



*  app-pda/libopensync-plugin-python [ Masked ]

      Latest version available: 9999

      Latest version installed: [ Not Installed ]

      Size of files: 0 kB

      Homepage:      http://www.opensync.org/

      Description:   OpenSync Python Module

      License:       LGPL-2.1



*  app-vim/vimpython

      Latest version available: 1.11

      Latest version installed: [ Not Installed ]

      Size of files: 3 kB

      Homepage:      http://www.vim.org/scripts/script.php?script_id=30

      Description:   vim plugin: A set of menus/shortcuts to work with

Python files

      License:       vim



*  app-xemacs/python-modes

      Latest version available: 1.08

      Latest version installed: [ Not Installed ]

      Size of files: 90 kB

      Homepage:      http://xemacs.org/

      Description:   Python support.

      License:       GPL-2



*  dev-lang/python

      Latest version available: 2.5.4-r4

      Latest version installed: 2.4.6

      Size of files: 9,610 kB

      Homepage:      http://www.python.org/

      Description:   Python is an interpreted, interactive,

object-oriented programming language.

      License:       PSF-2.2



*  dev-perl/Inline-Python

      Latest version available: 0.28

      Latest version installed: [ Not Installed ]

      Size of files: 37 kB

      Homepage:      http://search.cpan.org/dist/Inline-Python/

      Description:   Easy implementation of Python extensions

      License:       || ( Artistic GPL-2 )



*  dev-python/adns-python [ Masked ]

      Latest version available: 1.2.1

      Latest version installed: [ Not Installed ]

      Size of files: 17 kB

      Homepage:      http://code.google.com/p/adns-python/

      Description:   Python bindings for ADNS

      License:       GPL-2



*  dev-python/boostpythongenerator [ Masked ]

Traceback (most recent call last):

  File "/usr/bin/emerge", line 6971, in ?

    retval = emerge_main()

  File "/usr/bin/emerge", line 6945, in emerge_main

    myopts, myfiles, spinner)

  File "/usr/bin/emerge", line 5815, in action_search

    searchinstance.output()

  File "/usr/bin/emerge", line 638, in output

    mysettings=self.settings, all=True)[1]

  File "/usr/bin/emerge", line 461, in _getfetchlist

    value = func(*args, **kwargs)

  File "/usr/lib/portage/pym/portage.py", line 7162, in getfetchlist

    raise portage_exception.InvalidDependString(

portage_exception.InvalidDependString: getfetchlist():

'dev-python/boostpythongenerator-0.3.3' has unsupported EAPI: '2'

livecd elog #







livecd elog # python-updater

 * Starting Python Updater...

 * Main active version of Python:  2.4

 * Active version of Python 2:     2.4

 * Active version of Python 3:     (None)

 * No packages need to be reinstalled.

livecd elog #

livecd elog # eselect python list

Available Python interpreters:

  [1]   python2.4 *

livecd elog #











livecd elog # emerge --info

Portage 2.1.4.4 (default/linux/sparc/10.0, gcc-4.1.2, glibc-2.6.1-r0,

2.6.32-gentoo-r7 sparc64)

=================================================================

System uname: 2.6.32-gentoo-r7 sparc64 sun4u

Timestamp of tree: Thu, 20 May 2010 17:30:01 +0000

app-shells/bash:     3.2_p17-r1

dev-lang/python:     2.4.6

dev-python/pycrypto: 2.0.1-r6

sys-apps/baselayout: 1.12.11.1

sys-apps/sandbox:    1.2.18.1-r2

sys-devel/autoconf:  2.63-r1

sys-devel/automake:  1.10.3

sys-devel/binutils:  2.18-r1

sys-devel/gcc:       4.1.2

sys-devel/gcc-config: 1.4.0-r4

sys-devel/libtool:   2.2.6b

virtual/os-headers:  2.6.23-r3

ACCEPT_KEYWORDS="sparc"

CBUILD="sparc-unknown-linux-gnu"

CFLAGS="-mcpu=ultrasparc -O2 -pipe"

CHOST="sparc-unknown-linux-gnu"

CONFIG_PROTECT="/etc"

CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/udev/rules.d"

CXXFLAGS="-mcpu=ultrasparc -O2 -pipe"

DISTDIR="/usr/portage/distfiles"

FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict

unmerge-orphans userfetch"

GENTOO_MIRRORS="http://distfiles.gentoo.org

http://distro.ibiblio.org/pub/linux/distributions/gentoo";

LDFLAGS="-Wl,-O1"

MAKEOPTS="-j4"

PKGDIR="/usr/portage/packages"

PORTAGE_CONFIGROOT="/"

PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times

--compress --force --whole-file --delete --stats --timeout=180

--exclude=/distfiles --exclude=/local --exclude=/packages"

PORTAGE_TMPDIR="/var/tmp"

PORTDIR="/usr/portage"

SYNC="rsync://rsync.gentoo.org/gentoo-portage"

USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gcc64

gdbm gpm iconv modules mudflap ncurses nls nptl nptlonly openmp pam

pcre perl pppd python readline reflection session sparc spl ssl sysfs

tcpd unicode xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix

dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat

linear meter mmap_emul mulaw multi null plug rate route share shm

softvol" APACHE2_MODULES="actions alias auth_basic authn_alias

authn_anon authn_dbm authn_default authn_file authz_dbm authz_default

authz_groupfile authz_host authz_owner authz_user autoindex cache dav

dav_fs dav_lock deflate dir disk_cache env expires ext_filter

file_cache filter headers include info log_config logio mem_cache mime

mime_magic negotiation rewrite setenvif speling status unique_id

userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard

mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk

hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18"

USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga r128 radeon sunbw2

suncg14 suncg3 suncg6 sunffb sunleo tdfx" XTABLES_ADDONS="quota2 psd

pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy

condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude

chaos account"

Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,

LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,

PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY



livecd elog #









Can anyone helpme...?



Thanks!!











Reply via email to