1 |
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. |
2 |
|
3 |
My guess that part of the problem may be that you are emerging an older version of Python. |
4 |
|
5 |
--- On Thu, 5/20/10, Kaddeh <kaddeh@×××××.com> wrote: |
6 |
|
7 |
From: Kaddeh <kaddeh@×××××.com> |
8 |
Subject: Re: [gentoo-user] problem updating python |
9 |
To: gentoo-user@l.g.o |
10 |
Date: Thursday, May 20, 2010, 8:29 PM |
11 |
|
12 |
what is the output of "eselect python list" |
13 |
|
14 |
On Thu, May 20, 2010 at 11:43 AM, Rene Lopez Montelongo <reno@××××××××××××××××××.mx> wrote: |
15 |
|
16 |
Hi everyone |
17 |
|
18 |
I'm trying to install on a sparc architecture SUN Ultra45. |
19 |
|
20 |
|
21 |
|
22 |
At the time to install a new slot of python I got the this error... |
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
livecd elog # emerge -auv dev-lang/python |
29 |
|
30 |
|
31 |
|
32 |
These are the packages that would be merged, in order: |
33 |
|
34 |
|
35 |
|
36 |
Calculating dependencies... done! |
37 |
|
38 |
[ebuild NS ] dev-lang/python-2.5.4-r4 USE="gdbm ncurses readline |
39 |
|
40 |
ssl threads (wide-unicode) xml -berkdb -build -doc -examples -ipv6 |
41 |
|
42 |
-sqlite -tk -wininst" 0 kB |
43 |
|
44 |
|
45 |
|
46 |
Total: 1 package (1 in new slot), Size of downloads: 0 kB |
47 |
|
48 |
|
49 |
|
50 |
Would you like to merge these packages? [Yes/No] |
51 |
|
52 |
>>> Verifying ebuild Manifests... |
53 |
|
54 |
|
55 |
|
56 |
>>> Emerging (1 of 1) dev-lang/python-2.5.4-r4 to / |
57 |
|
58 |
* Python-2.5.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... |
59 |
|
60 |
|
61 |
|
62 |
[ ok ] |
63 |
|
64 |
* python-gentoo-patches-2.5.4-r3.tar.bz2 RMD160 SHA1 SHA256 size ;-) |
65 |
|
66 |
... |
67 |
|
68 |
[ ok ] |
69 |
|
70 |
* checking ebuild checksums ;-) ... |
71 |
|
72 |
|
73 |
|
74 |
[ ok ] |
75 |
|
76 |
* checking auxfile checksums ;-) ... |
77 |
|
78 |
|
79 |
|
80 |
[ ok ] |
81 |
|
82 |
* checking miscfile checksums ;-) ... |
83 |
|
84 |
|
85 |
|
86 |
[ ok ] |
87 |
|
88 |
* checking Python-2.5.4.tar.bz2 ;-) ... |
89 |
|
90 |
|
91 |
|
92 |
[ ok ] |
93 |
|
94 |
* checking python-gentoo-patches-2.5.4-r3.tar.bz2 ;-) ... |
95 |
|
96 |
|
97 |
|
98 |
[ ok ] |
99 |
|
100 |
* |
101 |
|
102 |
* ERROR: dev-lang/python-2.5.4-r4 failed. |
103 |
|
104 |
* Call stack: |
105 |
|
106 |
* ebuild.sh, line 49: Called pkg_setup |
107 |
|
108 |
* python-2.5.4-r4.ebuild, line 58: Called python_pkg_setup |
109 |
|
110 |
* python.eclass, line 335: Called PYTHON 'pkg_setup' |
111 |
|
112 |
* python.eclass, line 1320: Called die |
113 |
|
114 |
* The specific snippet of code: |
115 |
|
116 |
* die "${FUNCNAME}(): Main active |
117 |
|
118 |
version of Python not set" |
119 |
|
120 |
* The die message: |
121 |
|
122 |
* PYTHON(): Main active version of Python not set |
123 |
|
124 |
* |
125 |
|
126 |
* If you need support, post the topmost build error, and the call |
127 |
|
128 |
stack if relevant. |
129 |
|
130 |
* A complete build log is located at |
131 |
|
132 |
'/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/build.log'. |
133 |
|
134 |
* The ebuild environment file is located at |
135 |
|
136 |
'/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/die.env'. |
137 |
|
138 |
* |
139 |
|
140 |
|
141 |
|
142 |
* Messages for package dev-lang/python-2.5.4-r4: |
143 |
|
144 |
|
145 |
|
146 |
* |
147 |
|
148 |
* ERROR: dev-lang/python-2.5.4-r4 failed. |
149 |
|
150 |
* Call stack: |
151 |
|
152 |
* ebuild.sh, line 49: Called pkg_setup |
153 |
|
154 |
* python-2.5.4-r4.ebuild, line 58: Called python_pkg_setup |
155 |
|
156 |
* python.eclass, line 335: Called PYTHON 'pkg_setup' |
157 |
|
158 |
* python.eclass, line 1320: Called die |
159 |
|
160 |
* The specific snippet of code: |
161 |
|
162 |
* die "${FUNCNAME}(): Main active |
163 |
|
164 |
version of Python not set" |
165 |
|
166 |
* The die message: |
167 |
|
168 |
* PYTHON(): Main active version of Python not set |
169 |
|
170 |
* |
171 |
|
172 |
* If you need support, post the topmost build error, and the call |
173 |
|
174 |
stack if relevant. |
175 |
|
176 |
* A complete build log is located at |
177 |
|
178 |
'/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/build.log'. |
179 |
|
180 |
* The ebuild environment file is located at |
181 |
|
182 |
'/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/die.env'. |
183 |
|
184 |
* |
185 |
|
186 |
livecd elog # |
187 |
|
188 |
|
189 |
|
190 |
|
191 |
|
192 |
|
193 |
|
194 |
livecd elog # emerge --search python |
195 |
|
196 |
Searching... |
197 |
|
198 |
[ Results for search key : python ] |
199 |
|
200 |
[ Applications found : 117 ] |
201 |
|
202 |
|
203 |
|
204 |
* app-admin/eselect-python |
205 |
|
206 |
Latest version available: 20091230 |
207 |
|
208 |
Latest version installed: 20091230 |
209 |
|
210 |
Size of files: 5 kB |
211 |
|
212 |
Homepage: http://www.gentoo.org |
213 |
|
214 |
Description: Eselect module for management of multiple Python versions |
215 |
|
216 |
License: GPL-2 |
217 |
|
218 |
|
219 |
|
220 |
* app-admin/python-updater |
221 |
|
222 |
Latest version available: 0.8 |
223 |
|
224 |
Latest version installed: 0.8 |
225 |
|
226 |
Size of files: 7 kB |
227 |
|
228 |
Homepage: http://www.gentoo.org/proj/en/Python |
229 |
|
230 |
Description: Script used to remerge python packages when |
231 |
|
232 |
changing Python version. |
233 |
|
234 |
License: GPL-2 |
235 |
|
236 |
|
237 |
|
238 |
* app-emacs/python-mode [ Masked ] |
239 |
|
240 |
Latest version available: 5.1.0 |
241 |
|
242 |
Latest version installed: [ Not Installed ] |
243 |
|
244 |
Size of files: 36 kB |
245 |
|
246 |
Homepage: https://launchpad.net/python-mode |
247 |
|
248 |
Description: An Emacs major mode for editing Python source |
249 |
|
250 |
License: GPL-3 |
251 |
|
252 |
|
253 |
|
254 |
* app-pda/libopensync-plugin-python [ Masked ] |
255 |
|
256 |
Latest version available: 9999 |
257 |
|
258 |
Latest version installed: [ Not Installed ] |
259 |
|
260 |
Size of files: 0 kB |
261 |
|
262 |
Homepage: http://www.opensync.org/ |
263 |
|
264 |
Description: OpenSync Python Module |
265 |
|
266 |
License: LGPL-2.1 |
267 |
|
268 |
|
269 |
|
270 |
* app-vim/vimpython |
271 |
|
272 |
Latest version available: 1.11 |
273 |
|
274 |
Latest version installed: [ Not Installed ] |
275 |
|
276 |
Size of files: 3 kB |
277 |
|
278 |
Homepage: http://www.vim.org/scripts/script.php?script_id=30 |
279 |
|
280 |
Description: vim plugin: A set of menus/shortcuts to work with |
281 |
|
282 |
Python files |
283 |
|
284 |
License: vim |
285 |
|
286 |
|
287 |
|
288 |
* app-xemacs/python-modes |
289 |
|
290 |
Latest version available: 1.08 |
291 |
|
292 |
Latest version installed: [ Not Installed ] |
293 |
|
294 |
Size of files: 90 kB |
295 |
|
296 |
Homepage: http://xemacs.org/ |
297 |
|
298 |
Description: Python support. |
299 |
|
300 |
License: GPL-2 |
301 |
|
302 |
|
303 |
|
304 |
* dev-lang/python |
305 |
|
306 |
Latest version available: 2.5.4-r4 |
307 |
|
308 |
Latest version installed: 2.4.6 |
309 |
|
310 |
Size of files: 9,610 kB |
311 |
|
312 |
Homepage: http://www.python.org/ |
313 |
|
314 |
Description: Python is an interpreted, interactive, |
315 |
|
316 |
object-oriented programming language. |
317 |
|
318 |
License: PSF-2.2 |
319 |
|
320 |
|
321 |
|
322 |
* dev-perl/Inline-Python |
323 |
|
324 |
Latest version available: 0.28 |
325 |
|
326 |
Latest version installed: [ Not Installed ] |
327 |
|
328 |
Size of files: 37 kB |
329 |
|
330 |
Homepage: http://search.cpan.org/dist/Inline-Python/ |
331 |
|
332 |
Description: Easy implementation of Python extensions |
333 |
|
334 |
License: || ( Artistic GPL-2 ) |
335 |
|
336 |
|
337 |
|
338 |
* dev-python/adns-python [ Masked ] |
339 |
|
340 |
Latest version available: 1.2.1 |
341 |
|
342 |
Latest version installed: [ Not Installed ] |
343 |
|
344 |
Size of files: 17 kB |
345 |
|
346 |
Homepage: http://code.google.com/p/adns-python/ |
347 |
|
348 |
Description: Python bindings for ADNS |
349 |
|
350 |
License: GPL-2 |
351 |
|
352 |
|
353 |
|
354 |
* dev-python/boostpythongenerator [ Masked ] |
355 |
|
356 |
Traceback (most recent call last): |
357 |
|
358 |
File "/usr/bin/emerge", line 6971, in ? |
359 |
|
360 |
retval = emerge_main() |
361 |
|
362 |
File "/usr/bin/emerge", line 6945, in emerge_main |
363 |
|
364 |
myopts, myfiles, spinner) |
365 |
|
366 |
File "/usr/bin/emerge", line 5815, in action_search |
367 |
|
368 |
searchinstance.output() |
369 |
|
370 |
File "/usr/bin/emerge", line 638, in output |
371 |
|
372 |
mysettings=self.settings, all=True)[1] |
373 |
|
374 |
File "/usr/bin/emerge", line 461, in _getfetchlist |
375 |
|
376 |
value = func(*args, **kwargs) |
377 |
|
378 |
File "/usr/lib/portage/pym/portage.py", line 7162, in getfetchlist |
379 |
|
380 |
raise portage_exception.InvalidDependString( |
381 |
|
382 |
portage_exception.InvalidDependString: getfetchlist(): |
383 |
|
384 |
'dev-python/boostpythongenerator-0.3.3' has unsupported EAPI: '2' |
385 |
|
386 |
livecd elog # |
387 |
|
388 |
|
389 |
|
390 |
|
391 |
|
392 |
|
393 |
|
394 |
livecd elog # python-updater |
395 |
|
396 |
* Starting Python Updater... |
397 |
|
398 |
* Main active version of Python: 2.4 |
399 |
|
400 |
* Active version of Python 2: 2.4 |
401 |
|
402 |
* Active version of Python 3: (None) |
403 |
|
404 |
* No packages need to be reinstalled. |
405 |
|
406 |
livecd elog # |
407 |
|
408 |
livecd elog # eselect python list |
409 |
|
410 |
Available Python interpreters: |
411 |
|
412 |
[1] python2.4 * |
413 |
|
414 |
livecd elog # |
415 |
|
416 |
|
417 |
|
418 |
|
419 |
|
420 |
|
421 |
|
422 |
|
423 |
|
424 |
|
425 |
|
426 |
livecd elog # emerge --info |
427 |
|
428 |
Portage 2.1.4.4 (default/linux/sparc/10.0, gcc-4.1.2, glibc-2.6.1-r0, |
429 |
|
430 |
2.6.32-gentoo-r7 sparc64) |
431 |
|
432 |
================================================================= |
433 |
|
434 |
System uname: 2.6.32-gentoo-r7 sparc64 sun4u |
435 |
|
436 |
Timestamp of tree: Thu, 20 May 2010 17:30:01 +0000 |
437 |
|
438 |
app-shells/bash: 3.2_p17-r1 |
439 |
|
440 |
dev-lang/python: 2.4.6 |
441 |
|
442 |
dev-python/pycrypto: 2.0.1-r6 |
443 |
|
444 |
sys-apps/baselayout: 1.12.11.1 |
445 |
|
446 |
sys-apps/sandbox: 1.2.18.1-r2 |
447 |
|
448 |
sys-devel/autoconf: 2.63-r1 |
449 |
|
450 |
sys-devel/automake: 1.10.3 |
451 |
|
452 |
sys-devel/binutils: 2.18-r1 |
453 |
|
454 |
sys-devel/gcc: 4.1.2 |
455 |
|
456 |
sys-devel/gcc-config: 1.4.0-r4 |
457 |
|
458 |
sys-devel/libtool: 2.2.6b |
459 |
|
460 |
virtual/os-headers: 2.6.23-r3 |
461 |
|
462 |
ACCEPT_KEYWORDS="sparc" |
463 |
|
464 |
CBUILD="sparc-unknown-linux-gnu" |
465 |
|
466 |
CFLAGS="-mcpu=ultrasparc -O2 -pipe" |
467 |
|
468 |
CHOST="sparc-unknown-linux-gnu" |
469 |
|
470 |
CONFIG_PROTECT="/etc" |
471 |
|
472 |
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/udev/rules.d" |
473 |
|
474 |
CXXFLAGS="-mcpu=ultrasparc -O2 -pipe" |
475 |
|
476 |
DISTDIR="/usr/portage/distfiles" |
477 |
|
478 |
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict |
479 |
|
480 |
unmerge-orphans userfetch" |
481 |
|
482 |
GENTOO_MIRRORS="http://distfiles.gentoo.org |
483 |
|
484 |
http://distro.ibiblio.org/pub/linux/distributions/gentoo" |
485 |
|
486 |
LDFLAGS="-Wl,-O1" |
487 |
|
488 |
MAKEOPTS="-j4" |
489 |
|
490 |
PKGDIR="/usr/portage/packages" |
491 |
|
492 |
PORTAGE_CONFIGROOT="/" |
493 |
|
494 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
495 |
|
496 |
--compress --force --whole-file --delete --stats --timeout=180 |
497 |
|
498 |
--exclude=/distfiles --exclude=/local --exclude=/packages" |
499 |
|
500 |
PORTAGE_TMPDIR="/var/tmp" |
501 |
|
502 |
PORTDIR="/usr/portage" |
503 |
|
504 |
SYNC="rsync://rsync.gentoo.org/gentoo-portage" |
505 |
|
506 |
USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gcc64 |
507 |
|
508 |
gdbm gpm iconv modules mudflap ncurses nls nptl nptlonly openmp pam |
509 |
|
510 |
pcre perl pppd python readline reflection session sparc spl ssl sysfs |
511 |
|
512 |
tcpd unicode xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix |
513 |
|
514 |
dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat |
515 |
|
516 |
linear meter mmap_emul mulaw multi null plug rate route share shm |
517 |
|
518 |
softvol" APACHE2_MODULES="actions alias auth_basic authn_alias |
519 |
|
520 |
authn_anon authn_dbm authn_default authn_file authz_dbm authz_default |
521 |
|
522 |
authz_groupfile authz_host authz_owner authz_user autoindex cache dav |
523 |
|
524 |
dav_fs dav_lock deflate dir disk_cache env expires ext_filter |
525 |
|
526 |
file_cache filter headers include info log_config logio mem_cache mime |
527 |
|
528 |
mime_magic negotiation rewrite setenvif speling status unique_id |
529 |
|
530 |
userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard |
531 |
|
532 |
mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk |
533 |
|
534 |
hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" |
535 |
|
536 |
USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga r128 radeon sunbw2 |
537 |
|
538 |
suncg14 suncg3 suncg6 sunffb sunleo tdfx" XTABLES_ADDONS="quota2 psd |
539 |
|
540 |
pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy |
541 |
|
542 |
condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude |
543 |
|
544 |
chaos account" |
545 |
|
546 |
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, |
547 |
|
548 |
LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, |
549 |
|
550 |
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
551 |
|
552 |
|
553 |
|
554 |
livecd elog # |
555 |
|
556 |
|
557 |
|
558 |
|
559 |
|
560 |
|
561 |
|
562 |
|
563 |
|
564 |
Can anyone helpme...? |
565 |
|
566 |
|
567 |
|
568 |
Thanks!! |