X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=fHO qVcSPwOI48++nwbUMqWJC5hjIGqkn6PZWUN2sK14rh2cz1rS+RpnqJ+f2AU9u/7F Hi7NVR+ITp2Y+OXKwN7OSeRbjOhyDfqrr1igcsbJtqyVfA7u/WwAZuiWNieMAeI6 YnWnYGmwF6urkNMW6IqDa867QNQxEuFWSwAw4+iI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:mime-version :content-type:content-transfer-encoding; s=default; bh=+wfX+4zzA W1TjhhAVSb8jPf1Dh8=; b=drzrGzzRQY7FDMcNeNTe37dfQNHnUCO6z5SittQAO OzJOVoAR/8/pkdjEpe8iOhmDbbBEvFCwyslCTq0sAHUr9/X2Q9B41T2ZisRJ/VMX 4JP7kKa7rDKrZh1hQMzPKYHUPKRP0M/CaH8+1SAfgjmgqqGL3Bmjv+DjzwL1fa0b /I= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Rick Springob Subject: python binary retrieved via (cygwin) git clone does not execute - error 127 Date: Wed, 24 Jun 2015 14:43:51 +0000 (UTC) Lines: 43 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes I cloned a repository using the git that comes with 64-bit cygwin. Executing python.exe in the repository results in an immediate return and an exit code of 127. The python executable was built in 32-bit cygwin. The executable works fine is 32-bit cygwin and 64-bit cygwin shells as long as the repository was cloned with the git I was using before, msysgit. I have had no problem with python in the same repository on the Ubuntu and Mac OS platforms. The problem has only been seen with the git that ships with 64-bit cygwin. 64-bit cygwin - cygwin version 1.7.33 - git version 2.1.1 32-bit cygwin - cygwin version 1.7.18 - git version 1.8.1.msysgit.1 I have tried the git config core.filemode option with true and false values. This did not help. git ls-tree shows the same file mode and checksum in both repositories,: 100644 blob abc25ddb6ed66d1bfe3f58de77b3fd3437b8e21f python.exe As per a post on the web, I tried to fix this using: git update-index --chmod=+x python.exe git commit ... While that does change the file mode, python still exits with 127: 100755 blob abc25ddb6ed66d1bfe3f58de77b3fd3437b8e21f python.exe Python is in the path: $ which python /home/x5551212/workspaces/infra/main/python/2.7.5/windows/python Any idea what the cygwin provided git is doing differently than other git implementations? Thanks, -Rick -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple