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 1MY4bB-0004DO-9B for garchives@archives.gentoo.org; Mon, 03 Aug 2009 20:57:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A41FE0325; Mon, 3 Aug 2009 20:57:35 +0000 (UTC) Received: from mail.informasoftware.com (mail.informasoftware.com [66.193.169.4]) by pigeon.gentoo.org (Postfix) with ESMTP id 525D3E0325 for ; Mon, 3 Aug 2009 20:57:35 +0000 (UTC) Received: from [192.168.100.74] ([192.168.100.74] RDNS failed) by mail.informasoftware.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 3 Aug 2009 16:56:49 -0400 Message-ID: <4A774F13.1060307@kutulu.org> Date: Mon, 03 Aug 2009 16:56:51 -0400 From: Mike Edenfield User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Thunderbird/3.0b3 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 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] bash stopped running python scripts... Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Aug 2009 20:56:49.0638 (UTC) FILETIME=[EBB35860:01CA147C] X-Archives-Salt: 35865fa6-f8e3-46e4-85d9-8d4fe9e99f74 X-Archives-Hash: d003490f29577f76399b32f075538ce3 I dunno what I did, but I've managed to break python shell scripts, which of course is playing havoc with portage. Bash no longer wants to execute the scripts with python as the interpreter, but insists on executing them as bash scripts. Python itself is still functioning properly, when invoked directly. Since I happen to have ImageMagick on this machine, the result is this: kutulu@apollo ~ $ cat test.py #!/usr/bin/python import sys print "Python Ok." kutulu@apollo ~ $ ./test.py X connection to localhost:11.0 broken (explicit kill or server shutdown). ./test.py: line 3: print: command not found kutulu@apollo ~ $ python ./test.py Python Ok. kutulu@apollo ~ $ Perl and Tcl both still work as expected, and by invoking python directly I can still get portage to merge things. For example: root@apollo ~ $ python -O /usr/lib/portage/bin/ebuild /usr/portage/dev-lang/python/python-2.6.2-r1.ebuild install will re-merge python successfully, which I have now done for both python and bash, to no effect. Any ideas? --Mike