From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1P6o6j-0008A2-F0 for garchives@archives.gentoo.org; Fri, 15 Oct 2010 17:30:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED3DDE0899; Fri, 15 Oct 2010 17:30:06 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id B33BEE0899 for ; Fri, 15 Oct 2010 17:30:06 +0000 (UTC) Received: by wyf22 with SMTP id 22so1269507wyf.40 for ; Fri, 15 Oct 2010 10:30:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=iyvIOGOD/lIGhkrZFINYkbXqfTFN7rZO1YZmhIQX3Dc=; b=Tl5UnicY1iFvNZP7D6kRmuXS6dyVEqAqcj15poAZruT/Cvu1D6OjMzaaMUMcBSZJJD tgj1PdcFXz2KovbSvNEzycJjLFBYsaVJxk7PgMXfk1qsCxuQczpai/mbJwp4SrHdSjWb nIDjJ3wZRbiN0gRegaZFo1bou9Cu6FmE3UkRM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=MLMd9/7Cf2SYt6Bw6MB9LW2jktdm5GYxme0wSX2qa/NIrMFgHd486d1djmgbCDXJBs u7eUJvpzPmZKO54trH7UbRtRzQlVJ60t3FGSkHobWFUFJYP2eFOxqGUXeUx1xdvn7gxM OicOW7GPUdeCnRKkneN3pI2pF93z8Fedw1B4g= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.216.231.160 with SMTP id l32mr1852913weq.98.1287163790259; Fri, 15 Oct 2010 10:29:50 -0700 (PDT) Received: by 10.216.3.138 with HTTP; Fri, 15 Oct 2010 10:29:50 -0700 (PDT) In-Reply-To: References: Date: Fri, 15 Oct 2010 10:29:50 -0700 Message-ID: Subject: Re: [gentoo-user] emerge/python failure From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 151704f8-f07f-4443-8076-371888c2941e X-Archives-Hash: eb1e0c574ab4eb6d4d7fd98448667695 2010/10/15 Fatih T=C3=BCmen : > On Fri, Oct 15, 2010 at 6:58 PM, Mark Knecht wrote= : >> 2010/10/15 Fatih T=C3=BCmen : >>> On Fri, Oct 15, 2010 at 5:35 PM, Mark Knecht wro= te: >>>> c2stable ~ # eix-sync >>>> =C2=A0* Running emerge --sync >>>> Traceback (most recent call last): >>>> =C2=A0File "/usr/bin/emerge", line 43, in >>>> =C2=A0 =C2=A0retval =3D emerge_main() >>>> =C2=A0File "/usr/lib64/portage/pym/_emerge/main.py", line 1604, in eme= rge_main >>>> =C2=A0 =C2=A0return action_sync(settings, trees, mtimedb, myopts, myac= tion) >>>> =C2=A0File "/usr/lib64/portage/pym/_emerge/actions.py", line 2134, in = action_sync >>>> =C2=A0 =C2=A0"//" + user_name + ip + port + "/", 1)) >>>> TypeError: cannot concatenate 'str' and 'int' objects >>>> =C2=A0* emerge --sync failed >>>> =C2=A0* Time statistics: >>>> =C2=A0 =C2=A0 4 seconds for syncing >>>> =C2=A0 =C2=A0 4 seconds total >>>> c2stable ~ # emerge --sync >>>> Traceback (most recent call last): >>>> =C2=A0File "/usr/bin/emerge", line 43, in >>>> =C2=A0 =C2=A0retval =3D emerge_main() >>>> =C2=A0File "/usr/lib64/portage/pym/_emerge/main.py", line 1604, in >>>> emerge_main >>>> =C2=A0 =C2=A0return action_sync(settings, trees, mtimedb, myopts, myac= tion) >>>> =C2=A0File "/usr/lib64/portage/pym/_emerge/actions.py", line 2134, in >>>> action_sync >>>> =C2=A0 =C2=A0"//" + user_name + ip + port + "/", 1)) >>>> TypeError: cannot concatenate 'str' and 'int' objects >>>> c2stable ~ # eselect python list >>>> Available Python interpreters: >>>> =C2=A0[1] =C2=A0 python2.6 * >>>> =C2=A0[2] =C2=A0 python3.1 >>>> c2stable ~ # >>>> >>> >>> At first sight it seems to me that someone made a typo in there.. =C2= =A0ip >>> should be ips[0] >>> Which specific version of portage and python are you using? >>> >>> -- >>> =C2=A0 =C2=A0Fatih >> >> 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 (20100321@05/26/10): Eselect module for >> management of multiple Python versions >> [I] app-admin/python-updater (0.8@05/18/10): Script used to remerge >> python packages when changing Python version. >> [I] dev-lang/python (2.6.5-r3(2.6)[1]@10/12/10 >> 3.1.2-r4(3.1)@09/30/10): Python is an interpreted, interactive, >> object-oriented programming language. >> >> >> 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.3.1@06/11/10): small and fast portage >> helper tools written in C >> [I] sys-apps/portage (2.2_rc95@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 patc= h > http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a=3Dcommit;h= =3Dc54c1af789b306a85e9d7e79fb54f02a05346616 > > -- > =C2=A0 =C2=A0Fatih > > 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