Gentoo Archives: gentoo-user

From: Kaddeh <kaddeh@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] problem updating python
Date: Thu, 20 May 2010 20:29:54
Message-Id: AANLkTin1GTU3k9r2ieZti46Hcxn4xK7-7jucaEt4BkmS@mail.gmail.com
In Reply to: [gentoo-user] problem updating python by Rene Lopez Montelongo
1 what is the output of "eselect python list"
2
3 On Thu, May 20, 2010 at 11:43 AM, Rene Lopez Montelongo <
4 reno@××××××××××××××××××.mx> wrote:
5
6 > Hi everyone
7 > I'm trying to install on a sparc architecture SUN Ultra45.
8 >
9 > At the time to install a new slot of python I got the this error...
10 >
11 >
12 > livecd elog # emerge -auv dev-lang/python
13 >
14 > These are the packages that would be merged, in order:
15 >
16 > Calculating dependencies... done!
17 > [ebuild NS ] dev-lang/python-2.5.4-r4 USE="gdbm ncurses readline
18 > ssl threads (wide-unicode) xml -berkdb -build -doc -examples -ipv6
19 > -sqlite -tk -wininst" 0 kB
20 >
21 > Total: 1 package (1 in new slot), Size of downloads: 0 kB
22 >
23 > Would you like to merge these packages? [Yes/No]
24 > >>> Verifying ebuild Manifests...
25 >
26 > >>> Emerging (1 of 1) dev-lang/python-2.5.4-r4 to /
27 > * Python-2.5.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
28 >
29 > [ ok ]
30 > * python-gentoo-patches-2.5.4-r3.tar.bz2 RMD160 SHA1 SHA256 size ;-)
31 > ...
32 > [ ok ]
33 > * checking ebuild checksums ;-) ...
34 >
35 > [ ok ]
36 > * checking auxfile checksums ;-) ...
37 >
38 > [ ok ]
39 > * checking miscfile checksums ;-) ...
40 >
41 > [ ok ]
42 > * checking Python-2.5.4.tar.bz2 ;-) ...
43 >
44 > [ ok ]
45 > * checking python-gentoo-patches-2.5.4-r3.tar.bz2 ;-) ...
46 >
47 > [ ok ]
48 > *
49 > * ERROR: dev-lang/python-2.5.4-r4 failed.
50 > * Call stack:
51 > * ebuild.sh, line 49: Called pkg_setup
52 > * python-2.5.4-r4.ebuild, line 58: Called python_pkg_setup
53 > * python.eclass, line 335: Called PYTHON 'pkg_setup'
54 > * python.eclass, line 1320: Called die
55 > * The specific snippet of code:
56 > * die "${FUNCNAME}(): Main active
57 > version of Python not set"
58 > * The die message:
59 > * PYTHON(): Main active version of Python not set
60 > *
61 > * If you need support, post the topmost build error, and the call
62 > stack if relevant.
63 > * A complete build log is located at
64 > '/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/build.log'.
65 > * The ebuild environment file is located at
66 > '/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/die.env'.
67 > *
68 >
69 > * Messages for package dev-lang/python-2.5.4-r4:
70 >
71 > *
72 > * ERROR: dev-lang/python-2.5.4-r4 failed.
73 > * Call stack:
74 > * ebuild.sh, line 49: Called pkg_setup
75 > * python-2.5.4-r4.ebuild, line 58: Called python_pkg_setup
76 > * python.eclass, line 335: Called PYTHON 'pkg_setup'
77 > * python.eclass, line 1320: Called die
78 > * The specific snippet of code:
79 > * die "${FUNCNAME}(): Main active
80 > version of Python not set"
81 > * The die message:
82 > * PYTHON(): Main active version of Python not set
83 > *
84 > * If you need support, post the topmost build error, and the call
85 > stack if relevant.
86 > * A complete build log is located at
87 > '/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/build.log'.
88 > * The ebuild environment file is located at
89 > '/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/die.env'.
90 > *
91 > livecd elog #
92 >
93 >
94 >
95 > livecd elog # emerge --search python
96 > Searching...
97 > [ Results for search key : python ]
98 > [ Applications found : 117 ]
99 >
100 > * app-admin/eselect-python
101 > Latest version available: 20091230
102 > Latest version installed: 20091230
103 > Size of files: 5 kB
104 > Homepage: http://www.gentoo.org
105 > Description: Eselect module for management of multiple Python
106 > versions
107 > License: GPL-2
108 >
109 > * app-admin/python-updater
110 > Latest version available: 0.8
111 > Latest version installed: 0.8
112 > Size of files: 7 kB
113 > Homepage: http://www.gentoo.org/proj/en/Python
114 > Description: Script used to remerge python packages when
115 > changing Python version.
116 > License: GPL-2
117 >
118 > * app-emacs/python-mode [ Masked ]
119 > Latest version available: 5.1.0
120 > Latest version installed: [ Not Installed ]
121 > Size of files: 36 kB
122 > Homepage: https://launchpad.net/python-mode
123 > Description: An Emacs major mode for editing Python source
124 > License: GPL-3
125 >
126 > * app-pda/libopensync-plugin-python [ Masked ]
127 > Latest version available: 9999
128 > Latest version installed: [ Not Installed ]
129 > Size of files: 0 kB
130 > Homepage: http://www.opensync.org/
131 > Description: OpenSync Python Module
132 > License: LGPL-2.1
133 >
134 > * app-vim/vimpython
135 > Latest version available: 1.11
136 > Latest version installed: [ Not Installed ]
137 > Size of files: 3 kB
138 > Homepage: http://www.vim.org/scripts/script.php?script_id=30
139 > Description: vim plugin: A set of menus/shortcuts to work with
140 > Python files
141 > License: vim
142 >
143 > * app-xemacs/python-modes
144 > Latest version available: 1.08
145 > Latest version installed: [ Not Installed ]
146 > Size of files: 90 kB
147 > Homepage: http://xemacs.org/
148 > Description: Python support.
149 > License: GPL-2
150 >
151 > * dev-lang/python
152 > Latest version available: 2.5.4-r4
153 > Latest version installed: 2.4.6
154 > Size of files: 9,610 kB
155 > Homepage: http://www.python.org/
156 > Description: Python is an interpreted, interactive,
157 > object-oriented programming language.
158 > License: PSF-2.2
159 >
160 > * dev-perl/Inline-Python
161 > Latest version available: 0.28
162 > Latest version installed: [ Not Installed ]
163 > Size of files: 37 kB
164 > Homepage: http://search.cpan.org/dist/Inline-Python/
165 > Description: Easy implementation of Python extensions
166 > License: || ( Artistic GPL-2 )
167 >
168 > * dev-python/adns-python [ Masked ]
169 > Latest version available: 1.2.1
170 > Latest version installed: [ Not Installed ]
171 > Size of files: 17 kB
172 > Homepage: http://code.google.com/p/adns-python/
173 > Description: Python bindings for ADNS
174 > License: GPL-2
175 >
176 > * dev-python/boostpythongenerator [ Masked ]
177 > Traceback (most recent call last):
178 > File "/usr/bin/emerge", line 6971, in ?
179 > retval = emerge_main()
180 > File "/usr/bin/emerge", line 6945, in emerge_main
181 > myopts, myfiles, spinner)
182 > File "/usr/bin/emerge", line 5815, in action_search
183 > searchinstance.output()
184 > File "/usr/bin/emerge", line 638, in output
185 > mysettings=self.settings, all=True)[1]
186 > File "/usr/bin/emerge", line 461, in _getfetchlist
187 > value = func(*args, **kwargs)
188 > File "/usr/lib/portage/pym/portage.py", line 7162, in getfetchlist
189 > raise portage_exception.InvalidDependString(
190 > portage_exception.InvalidDependString: getfetchlist():
191 > 'dev-python/boostpythongenerator-0.3.3' has unsupported EAPI: '2'
192 > livecd elog #
193 >
194 >
195 >
196 > livecd elog # python-updater
197 > * Starting Python Updater...
198 > * Main active version of Python: 2.4
199 > * Active version of Python 2: 2.4
200 > * Active version of Python 3: (None)
201 > * No packages need to be reinstalled.
202 > livecd elog #
203 > livecd elog # eselect python list
204 > Available Python interpreters:
205 > [1] python2.4 *
206 > livecd elog #
207 >
208 >
209 >
210 >
211 >
212 > livecd elog # emerge --info
213 > Portage 2.1.4.4 (default/linux/sparc/10.0, gcc-4.1.2, glibc-2.6.1-r0,
214 > 2.6.32-gentoo-r7 sparc64)
215 > =================================================================
216 > System uname: 2.6.32-gentoo-r7 sparc64 sun4u
217 > Timestamp of tree: Thu, 20 May 2010 17:30:01 +0000
218 > app-shells/bash: 3.2_p17-r1
219 > dev-lang/python: 2.4.6
220 > dev-python/pycrypto: 2.0.1-r6
221 > sys-apps/baselayout: 1.12.11.1
222 > sys-apps/sandbox: 1.2.18.1-r2
223 > sys-devel/autoconf: 2.63-r1
224 > sys-devel/automake: 1.10.3
225 > sys-devel/binutils: 2.18-r1
226 > sys-devel/gcc: 4.1.2
227 > sys-devel/gcc-config: 1.4.0-r4
228 > sys-devel/libtool: 2.2.6b
229 > virtual/os-headers: 2.6.23-r3
230 > ACCEPT_KEYWORDS="sparc"
231 > CBUILD="sparc-unknown-linux-gnu"
232 > CFLAGS="-mcpu=ultrasparc -O2 -pipe"
233 > CHOST="sparc-unknown-linux-gnu"
234 > CONFIG_PROTECT="/etc"
235 > CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/udev/rules.d"
236 > CXXFLAGS="-mcpu=ultrasparc -O2 -pipe"
237 > DISTDIR="/usr/portage/distfiles"
238 > FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict
239 > unmerge-orphans userfetch"
240 > GENTOO_MIRRORS="http://distfiles.gentoo.org
241 > http://distro.ibiblio.org/pub/linux/distributions/gentoo"
242 > LDFLAGS="-Wl,-O1"
243 > MAKEOPTS="-j4"
244 > PKGDIR="/usr/portage/packages"
245 > PORTAGE_CONFIGROOT="/"
246 > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
247 > --compress --force --whole-file --delete --stats --timeout=180
248 > --exclude=/distfiles --exclude=/local --exclude=/packages"
249 > PORTAGE_TMPDIR="/var/tmp"
250 > PORTDIR="/usr/portage"
251 > SYNC="rsync://rsync.gentoo.org/gentoo-portage"
252 > USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gcc64
253 > gdbm gpm iconv modules mudflap ncurses nls nptl nptlonly openmp pam
254 > pcre perl pppd python readline reflection session sparc spl ssl sysfs
255 > tcpd unicode xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix
256 > dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat
257 > linear meter mmap_emul mulaw multi null plug rate route share shm
258 > softvol" APACHE2_MODULES="actions alias auth_basic authn_alias
259 > authn_anon authn_dbm authn_default authn_file authz_dbm authz_default
260 > authz_groupfile authz_host authz_owner authz_user autoindex cache dav
261 > dav_fs dav_lock deflate dir disk_cache env expires ext_filter
262 > file_cache filter headers include info log_config logio mem_cache mime
263 > mime_magic negotiation rewrite setenvif speling status unique_id
264 > userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard
265 > mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk
266 > hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18"
267 > USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga r128 radeon sunbw2
268 > suncg14 suncg3 suncg6 sunffb sunleo tdfx" XTABLES_ADDONS="quota2 psd
269 > pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy
270 > condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude
271 > chaos account"
272 > Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
273 > LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
274 > PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
275 >
276 > livecd elog #
277 >
278 >
279 >
280 >
281 > Can anyone helpme...?
282 >
283 > Thanks!!
284 >
285 >