2010/10/15 Fatih Tümen <fthtmn+gen...@gmail.com>: > On Fri, Oct 15, 2010 at 6:58 PM, Mark Knecht <markkne...@gmail.com> wrote: >> 2010/10/15 Fatih Tümen <fthtmn+gen...@gmail.com>: >>> On Fri, Oct 15, 2010 at 5:35 PM, Mark Knecht <markkne...@gmail.com> wrote: >>>> c2stable ~ # eix-sync >>>> * Running emerge --sync >>>> Traceback (most recent call last): >>>> File "/usr/bin/emerge", line 43, in <module> >>>> retval = emerge_main() >>>> File "/usr/lib64/portage/pym/_emerge/main.py", line 1604, in emerge_main >>>> return action_sync(settings, trees, mtimedb, myopts, myaction) >>>> File "/usr/lib64/portage/pym/_emerge/actions.py", line 2134, in >>>> action_sync >>>> "//" + user_name + ip + port + "/", 1)) >>>> TypeError: cannot concatenate 'str' and 'int' objects >>>> * emerge --sync failed >>>> * Time statistics: >>>> 4 seconds for syncing >>>> 4 seconds total >>>> c2stable ~ # emerge --sync >>>> Traceback (most recent call last): >>>> File "/usr/bin/emerge", line 43, in <module> >>>> retval = emerge_main() >>>> File "/usr/lib64/portage/pym/_emerge/main.py", line 1604, in >>>> emerge_main >>>> return action_sync(settings, trees, mtimedb, myopts, myaction) >>>> File "/usr/lib64/portage/pym/_emerge/actions.py", line 2134, in >>>> action_sync >>>> "//" + user_name + ip + port + "/", 1)) >>>> TypeError: cannot concatenate 'str' and 'int' objects >>>> c2stable ~ # eselect python list >>>> Available Python interpreters: >>>> [1] python2.6 * >>>> [2] python3.1 >>>> c2stable ~ # >>>> >>> >>> At first sight it seems to me that someone made a typo in there.. ip >>> should be ips[0] >>> Which specific version of portage and python are you using? >>> >>> -- >>> Fatih >> >> Hi Fatih, >> >> It seems that the failure (so far) is only with syncing and not with >> using the tools to look at the system. That's good. >> >> c2stable ~ # eix -Ic python >> [I] app-admin/eselect-python (20100...@05/26/10): Eselect module for >> management of multiple Python versions >> [I] app-admin/python-updater (0...@05/18/10): Script used to remerge >> python packages when changing Python version. >> [I] dev-lang/python (2.6.5-r3(2.6)[...@10/12/10 >> 3.1.2-r4(3.1)@09/30/10): Python is an interpreted, interactive, >> object-oriented programming language. >> <SNIP> >> >> Note that it seems the 2.6.5-r3 version is coming from the Pentoo >> overlay if it makes a difference. >> >> c2stable ~ # eix -Ic portage >> [I] app-portage/portage-utils (0....@06/11/10): small and fast portage >> helper tools written in C >> [I] sys-apps/portage (2.2_r...@10/13/10): Portage is the package >> management and distribution system for Gentoo >> Found 2 matches. >> c2stable ~ # >> >> As for syncing individually it's just an old-dog, new-trick thing. >> I've done it this way for years and somehow never got in the swing of >> doing anything else. >> >> Thanks for looking at the code. That's beyond my scope of expertise. >> >> - Mark >> >> > > Got it, you hit the bug 340899 and its already fixed, just apply the patch > http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=c54c1af789b306a85e9d7e79fb54f02a05346616 > > -- > Fatih > >
Thanks - I got the patch and that seems to have fixed eix-sync. Should anyone else run into this I did the following: Right click and save the patch file on the link provided by Fatih cd /usr/lib64/portage patch -p1 --dry-run <Patch_Name patch -p1 <Patch_Name and then things started working again. Note that when I finished the sync and emerged the newer version of portage I got messages I had not seen before about colliding with a couple of files. Those collisions were the files modified by the patch. Many thanks Fatih! Cheers, Mark