Gentoo Archives: gentoo-user

From: "Fatih Tümen" <fthtmn+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge/python failure
Date: Fri, 15 Oct 2010 16:20:40
Message-Id: AANLkTim033b+jABkmMQ16TkeRLj3wLQmBvodtDcoUO6g@mail.gmail.com
In Reply to: Re: [gentoo-user] emerge/python failure by Mark Knecht
1 On Fri, Oct 15, 2010 at 6:58 PM, Mark Knecht <markknecht@×××××.com> wrote:
2 > 2010/10/15 Fatih Tümen <fthtmn+gentoo@×××××.com>:
3 >> On Fri, Oct 15, 2010 at 5:35 PM, Mark Knecht <markknecht@×××××.com> wrote:
4 >>> c2stable ~ # eix-sync
5 >>>  * Running emerge --sync
6 >>> Traceback (most recent call last):
7 >>>  File "/usr/bin/emerge", line 43, in <module>
8 >>>    retval = emerge_main()
9 >>>  File "/usr/lib64/portage/pym/_emerge/main.py", line 1604, in emerge_main
10 >>>    return action_sync(settings, trees, mtimedb, myopts, myaction)
11 >>>  File "/usr/lib64/portage/pym/_emerge/actions.py", line 2134, in action_sync
12 >>>    "//" + user_name + ip + port + "/", 1))
13 >>> TypeError: cannot concatenate 'str' and 'int' objects
14 >>>  * emerge --sync failed
15 >>>  * Time statistics:
16 >>>     4 seconds for syncing
17 >>>     4 seconds total
18 >>> c2stable ~ # emerge --sync
19 >>> Traceback (most recent call last):
20 >>>  File "/usr/bin/emerge", line 43, in <module>
21 >>>    retval = emerge_main()
22 >>>  File "/usr/lib64/portage/pym/_emerge/main.py", line 1604, in
23 >>> emerge_main
24 >>>    return action_sync(settings, trees, mtimedb, myopts, myaction)
25 >>>  File "/usr/lib64/portage/pym/_emerge/actions.py", line 2134, in
26 >>> action_sync
27 >>>    "//" + user_name + ip + port + "/", 1))
28 >>> TypeError: cannot concatenate 'str' and 'int' objects
29 >>> c2stable ~ # eselect python list
30 >>> Available Python interpreters:
31 >>>  [1]   python2.6 *
32 >>>  [2]   python3.1
33 >>> c2stable ~ #
34 >>>
35 >>
36 >> At first sight it seems to me that someone made a typo in there..  ip
37 >> should be ips[0]
38 >> Which specific version of portage and python are you using?
39 >>
40 >> --
41 >>    Fatih
42 >
43 > Hi Fatih,
44 >
45 > It seems that the failure (so far) is only with syncing and not with
46 > using the tools to look at the system. That's good.
47 >
48 > c2stable ~ # eix -Ic python
49 > [I] app-admin/eselect-python (20100321@05/26/10): Eselect module for
50 > management of multiple Python versions
51 > [I] app-admin/python-updater (0.8@05/18/10): Script used to remerge
52 > python packages when changing Python version.
53 > [I] dev-lang/python (2.6.5-r3(2.6)[1]@10/12/10
54 > 3.1.2-r4(3.1)@09/30/10): Python is an interpreted, interactive,
55 > object-oriented programming language.
56 > <SNIP>
57 >
58 > Note that it seems the 2.6.5-r3 version is coming from the Pentoo
59 > overlay if it makes a difference.
60 >
61 > c2stable ~ # eix -Ic portage
62 > [I] app-portage/portage-utils (0.3.1@06/11/10): small and fast portage
63 > helper tools written in C
64 > [I] sys-apps/portage (2.2_rc95@10/13/10): Portage is the package
65 > management and distribution system for Gentoo
66 > Found 2 matches.
67 > c2stable ~ #
68 >
69 > As for syncing individually it's just an old-dog, new-trick thing.
70 > I've done it this way for years and somehow never got in the swing of
71 > doing anything else.
72 >
73 > Thanks for looking at the code. That's beyond my scope of expertise.
74 >
75 > - Mark
76 >
77 >
78
79 Got it, you hit the bug 340899 and its already fixed, just apply the patch
80 http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=c54c1af789b306a85e9d7e79fb54f02a05346616
81
82 --
83 Fatih

Replies

Subject Author
Re: [gentoo-user] emerge/python failure Mark Knecht <markknecht@×××××.com>