1 |
2010/10/15 Fatih Tümen <fthtmn+gentoo@×××××.com>: |
2 |
> On Fri, Oct 15, 2010 at 6:58 PM, Mark Knecht <markknecht@×××××.com> wrote: |
3 |
>> 2010/10/15 Fatih Tümen <fthtmn+gentoo@×××××.com>: |
4 |
>>> On Fri, Oct 15, 2010 at 5:35 PM, Mark Knecht <markknecht@×××××.com> wrote: |
5 |
>>>> c2stable ~ # eix-sync |
6 |
>>>> * Running emerge --sync |
7 |
>>>> Traceback (most recent call last): |
8 |
>>>> File "/usr/bin/emerge", line 43, in <module> |
9 |
>>>> retval = emerge_main() |
10 |
>>>> File "/usr/lib64/portage/pym/_emerge/main.py", line 1604, in emerge_main |
11 |
>>>> return action_sync(settings, trees, mtimedb, myopts, myaction) |
12 |
>>>> File "/usr/lib64/portage/pym/_emerge/actions.py", line 2134, in action_sync |
13 |
>>>> "//" + user_name + ip + port + "/", 1)) |
14 |
>>>> TypeError: cannot concatenate 'str' and 'int' objects |
15 |
>>>> * emerge --sync failed |
16 |
>>>> * Time statistics: |
17 |
>>>> 4 seconds for syncing |
18 |
>>>> 4 seconds total |
19 |
>>>> c2stable ~ # emerge --sync |
20 |
>>>> Traceback (most recent call last): |
21 |
>>>> File "/usr/bin/emerge", line 43, in <module> |
22 |
>>>> retval = emerge_main() |
23 |
>>>> File "/usr/lib64/portage/pym/_emerge/main.py", line 1604, in |
24 |
>>>> emerge_main |
25 |
>>>> return action_sync(settings, trees, mtimedb, myopts, myaction) |
26 |
>>>> File "/usr/lib64/portage/pym/_emerge/actions.py", line 2134, in |
27 |
>>>> action_sync |
28 |
>>>> "//" + user_name + ip + port + "/", 1)) |
29 |
>>>> TypeError: cannot concatenate 'str' and 'int' objects |
30 |
>>>> c2stable ~ # eselect python list |
31 |
>>>> Available Python interpreters: |
32 |
>>>> [1] python2.6 * |
33 |
>>>> [2] python3.1 |
34 |
>>>> c2stable ~ # |
35 |
>>>> |
36 |
>>> |
37 |
>>> At first sight it seems to me that someone made a typo in there.. ip |
38 |
>>> should be ips[0] |
39 |
>>> Which specific version of portage and python are you using? |
40 |
>>> |
41 |
>>> -- |
42 |
>>> Fatih |
43 |
>> |
44 |
>> Hi Fatih, |
45 |
>> |
46 |
>> It seems that the failure (so far) is only with syncing and not with |
47 |
>> using the tools to look at the system. That's good. |
48 |
>> |
49 |
>> c2stable ~ # eix -Ic python |
50 |
>> [I] app-admin/eselect-python (20100321@05/26/10): Eselect module for |
51 |
>> management of multiple Python versions |
52 |
>> [I] app-admin/python-updater (0.8@05/18/10): Script used to remerge |
53 |
>> python packages when changing Python version. |
54 |
>> [I] dev-lang/python (2.6.5-r3(2.6)[1]@10/12/10 |
55 |
>> 3.1.2-r4(3.1)@09/30/10): Python is an interpreted, interactive, |
56 |
>> object-oriented programming language. |
57 |
>> <SNIP> |
58 |
>> |
59 |
>> Note that it seems the 2.6.5-r3 version is coming from the Pentoo |
60 |
>> overlay if it makes a difference. |
61 |
>> |
62 |
>> c2stable ~ # eix -Ic portage |
63 |
>> [I] app-portage/portage-utils (0.3.1@06/11/10): small and fast portage |
64 |
>> helper tools written in C |
65 |
>> [I] sys-apps/portage (2.2_rc95@10/13/10): Portage is the package |
66 |
>> management and distribution system for Gentoo |
67 |
>> Found 2 matches. |
68 |
>> c2stable ~ # |
69 |
>> |
70 |
>> As for syncing individually it's just an old-dog, new-trick thing. |
71 |
>> I've done it this way for years and somehow never got in the swing of |
72 |
>> doing anything else. |
73 |
>> |
74 |
>> Thanks for looking at the code. That's beyond my scope of expertise. |
75 |
>> |
76 |
>> - Mark |
77 |
>> |
78 |
>> |
79 |
> |
80 |
> Got it, you hit the bug 340899 and its already fixed, just apply the patch |
81 |
> http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=c54c1af789b306a85e9d7e79fb54f02a05346616 |
82 |
> |
83 |
> -- |
84 |
> Fatih |
85 |
> |
86 |
> |
87 |
|
88 |
Thanks - I got the patch and that seems to have fixed eix-sync. |
89 |
|
90 |
Should anyone else run into this I did the following: |
91 |
|
92 |
Right click and save the patch file on the link provided by Fatih |
93 |
|
94 |
cd /usr/lib64/portage |
95 |
patch -p1 --dry-run <Patch_Name |
96 |
patch -p1 <Patch_Name |
97 |
|
98 |
and then things started working again. |
99 |
|
100 |
Note that when I finished the sync and emerged the newer version of |
101 |
portage I got messages I had not seen before about colliding with a |
102 |
couple of files. Those collisions were the files modified by the |
103 |
patch. |
104 |
|
105 |
Many thanks Fatih! |
106 |
|
107 |
Cheers, |
108 |
Mark |