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 1MXx4v-0008S8-Fi for garchives@archives.gentoo.org; Mon, 03 Aug 2009 12:55:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E33EE0587; Mon, 3 Aug 2009 12:55:48 +0000 (UTC) Received: from QMTA06.westchester.pa.mail.comcast.net (qmta06.westchester.pa.mail.comcast.net [76.96.62.56]) by pigeon.gentoo.org (Postfix) with ESMTP id 16746E0587 for ; Mon, 3 Aug 2009 12:55:48 +0000 (UTC) Received: from OMTA21.westchester.pa.mail.comcast.net ([76.96.62.72]) by QMTA06.westchester.pa.mail.comcast.net with comcast id PmyA1c0011ZXKqc56ovo4C; Mon, 03 Aug 2009 12:55:48 +0000 Received: from ajax.firstbooks ([68.42.187.112]) by OMTA21.westchester.pa.mail.comcast.net with comcast id PoyS1c00F2Rw5443hoySCM; Mon, 03 Aug 2009 12:58:26 +0000 Date: Mon, 3 Aug 2009 08:55:15 -0400 From: Frank Peters To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] Re: Python-updater line 415 error [Solved] Message-Id: <20090803085515.2862c2ee.frank.peters@comcast.net> In-Reply-To: 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> X-Mailer: Sylpheed 2.7.0 (GTK+ 2.16.5; x86_64-unknown-linux-gnu) 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 048d72af-b867-4b2e-a1fb-32794c07162f X-Archives-Hash: e4f1f6f9a9186980c0eb469db6568db9 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