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 1MYMXu-0003LI-5i for garchives@archives.gentoo.org; Tue, 04 Aug 2009 16:07:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57BCAE050B; Tue, 4 Aug 2009 16:07:25 +0000 (UTC) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by pigeon.gentoo.org (Postfix) with ESMTP id 2C3CDE050B for ; Tue, 4 Aug 2009 16:07:25 +0000 (UTC) Received: by wf-out-1314.google.com with SMTP id 28so1317989wfc.10 for ; Tue, 04 Aug 2009 09:07:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=z+qzYY4X+BQpBAsqAcFX3XwTXkn4p/72xm3sbORS1OQ=; b=QQ2I/RVKssV0v417QXVKeunRHoth/S33qgmn7YMLguRAJJbS2LRChjUy8W7hTWKQ0C mmYkYaDDBdDBfcLIEs4J0CKkN9zwgiJBXz31fkYe51xXwnFfJ/Wkr+2MpsoHEx1b9X0S nO57tNGbqYJ0u7ic87tPz56mjSLI1DEBfV4So= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=QRdH/IhLNSqcUYJej6JrQ2AIxCMqsmM2mXwPd7art0aGy+M1lNSKXV11Dd7qhySoDz 0obdBmXrkQgXANi2AAZdm9qFFD6G/e64+8TTFSavL/72Nafd5wolLpBihS4QjbFGJhPn CXud6BvHmruKn8Lm6uJ21fXg87IIcN6H25H3g= Received: by 10.142.57.1 with SMTP id f1mr947558wfa.25.1249402044751; Tue, 04 Aug 2009 09:07:24 -0700 (PDT) Received: from ?24.252.115.177? (ip24-252-115-177.no.no.cox.net [24.252.115.177]) by mx.google.com with ESMTPS id 30sm3091310wfa.35.2009.08.04.09.07.22 (version=SSLv3 cipher=RC4-MD5); Tue, 04 Aug 2009 09:07:23 -0700 (PDT) Subject: Re: [gentoo-amd64] Re: Python-updater line 415 error [Solved] From: Lance Lassetter To: gentoo-amd64@lists.gentoo.org In-Reply-To: <20090803085515.2862c2ee.frank.peters@comcast.net> References: <20090803003643.31db32ad.frank.peters@comcast.net> <1249274558.5149.12.camel@localhost> <20090803015921.f5bf0afd.frank.peters@comcast.net> <1249279663.5149.14.camel@localhost> <20090803021639.3e16463d.frank.peters@comcast.net> <1249280500.5149.15.camel@localhost> <20090803022804.b9e5a8a0.frank.peters@comcast.net> <20090803085515.2862c2ee.frank.peters@comcast.net> Content-Type: text/plain Date: Tue, 04 Aug 2009 10:40:00 -0500 Message-Id: <1249400400.14158.0.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit X-Archives-Salt: 59dd5e16-e84f-4026-9e70-c2cc93e3f480 X-Archives-Hash: 09c7d6c29987b5dc5634619280eb816f On Mon, 2009-08-03 at 08:55 -0400, Frank Peters wrote: > On Mon, 3 Aug 2009 07:12:09 +0000 (UTC) > Duncan <1i5t5.duncan@cox.net> wrote: > > > > > I haven't run python-updater in some time but it ran fine when I ran it > > last. I do need to run it again since python-3.1 was just in yesterday's > > updates, tho, and see what happens. > > > > OK. I've found the source of the problem. > > Again, Line 415 is: > > broken_libs="$(scanelf -qBN ${OLD_SONAME} <<(grep -e '^obj' ${content} | cut -d' ' -f2))" > > At first glance, I wasn't sure exactly what this line was doing. > Reading someone else's code has to be done very thoroughly and carefully. > > At first glance, I thought it was a nested command substitution > but it is actually a type of input redirection from a string (a string > that is formed by a command substitution). > > However, the construction is INCORRECT. The line should be this: > > broken_libs="$(scanelf -qBN ${OLD_SONAME} <<< $(grep -e '^obj' ${content} | cut -d' ' -f2))" > > Notice the "<<< $" > > With this correction, python-updater now works as intended > with no errors or funny messages. > > Keep in mind that python-updater has had this INCORRECT CODE > for the last several releases (0.7, 0.6, 0.5). > > I will file a report with bugs.gentoo.org > > (Now I'll try to root out the difficulty with eselect.) > > Frank Peters > > Frank, Can you post the bug number here to the list? Thanks, Lance