delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/21/11:49:18

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
From: "John Daintree" <johnd AT dyalog DOT com>
To: <cygwin AT cygwin DOT com>
References: <hbn24q$gjf$1 AT ger DOT gmane DOT org>
In-Reply-To: <hbn24q$gjf$1@ger.gmane.org>
Subject: RE: "Permission denied" on /usr/bin/sh when running gmake with multiple jobs
Date: Wed, 21 Oct 2009 16:48:59 +0100
Message-ID: <004501ca5266$022436b0$066ca410$@com>
MIME-Version: 1.0
X-Identified-User: {765:host89.hostmonster.com:dyalogco:dyalog.co.uk} {sentby:smtp auth 81.187.162.50 authed with johnd AT dyalog DOT co DOT uk}
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Oh, and the cygwin version is...

/usr/bin/sh --version
GNU bash, version 3.2.49(22)-release (i686-pc-cygwin)
Copyright (C) 2007 Free Software Foundation, Inc.

/john

-----Original Message-----
From: John Daintree [mailto:johnd AT dyalog DOT com] 
Sent: 21 October 2009 14:26
To: cygwin AT cygwin DOT com
Subject: "Permission denied" on /usr/bin/sh when running gmake with multiple
jobs

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


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019