X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: "John Daintree" <johnd@dyalog.com>
Subject:  Re: "Permission denied" on /usr/bin/sh when running gmake with multiple  jobs
Date:  Fri, 23 Oct 2009 12:02:52 +0100
Lines: 46
Message-ID: <hbs2gv$4cs$1@ger.gmane.org>
References:  <hbn24q$gjf$1@ger.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; 	format=flowed; 	charset="iso-8859-1"; 	reply-type=response
Content-Transfer-Encoding:  7bit
In-Reply-To: <hbn24q$gjf$1@ger.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

I've installed the beta of cygwin 1.7 and I have the same problem there.

I've now attempting to build cygwin from sources to try to figure out what's 
going on.

"John Daintree" <johnd@dyalog.com> wrote in message 
news:hbn24q$gjf$1@ger.gmane.org...
> Hello all,
>
> I've tried to solve my problem online and in the mailing list archives, 
> but I've had no joy.
>
> I'm working on a makefile for an application. Everything runs fine if I 
> just run the make in a single job. However if I use the gmake -j<N> to run 
> multiple concurrent jobs I get unexpected errors from my scripts. 
> Specifically it seems that /usr/bin/sh becomes randomly unavailable.
>
> Here's the (sort | uniq) error output from the make with N=3: And again, 
> everything's ok with N=1.
>
> /cygdrive/j/12.1.dss/svn/apl/win/bin/mk_cc: 
> /cygdrive/j/12.1.dss/svn/apl/allos/bin/verbose: /usr/bin/sh: bad 
> interpreter: Permission denied
> /cygdrive/j/12.1.dss/svn/apl/win/bin/mk_cc: 
> /cygdrive/j/12.1.dss/svn/apl/win/bin/mk_depend: /usr/bin/sh.exe: bad 
> interpreter: Permission denied
> /usr/bin/sh: /cygdrive/j/12.1.dss/svn/apl/allos/bin/verbose: Permission 
> denied
> /usr/bin/sh: /cygdrive/j/12.1.dss/svn/apl/win/bin/mk_depend: Permission 
> denied
>
> I'm currently getting this on both a Windows  7  (x64) machine and an XP 
> (x86) machine.
>
> Any ideas anyone?
>
> John.
>
>
>
>
>
>
>
>
> 


--
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

