X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 2 Nov 2009 14:32:56 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: "Permission denied" on /usr/bin/sh when running gmake with multiple jobs Message-ID: <20091102133256.GG7831@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20091023180754 DOT GB5001 AT onderneming10 DOT xs4all DOT nl> <000001ca54a6$a1553260$e3ff9720$@com> <000001ca57dc$8b18a430$a149ec90$@com> <20091029082244 DOT GK28753 AT calimero DOT vinschen DOT de> <003901ca588a$7edc0500$7c940f00$@com> <20091029133834 DOT GO28753 AT calimero DOT vinschen DOT de> <000901ca593e$c938fcc0$5baaf640$@com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000901ca593e$c938fcc0$5baaf640$@com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Oct 30 08:55, John Daintree wrote: > Hi Corinna, > > I was using a "gmake" not the cygwin "make", and that was generating the > windows path. I've moved over to the cygwin supplied make and fixed up all > the relevant environment variables. No windows paths anymore but I'm still > getting the permission problem. > > None of the scripts are created dynamically. > > I'd tried strace before, but didn't really know how to interpret the output > or locate the relevant bits. (is there an article that describes the > output?) > > I've run the make again under strace and posted the output of both strace > and make (I couldn't find how to have the output of both go to the same > file) to www.johndaintree.com/index.htm. Would it be too much to ask that > you take a look? That's a local problem on your side, apparently. It took some time to find the cause in this big strace, but here it is: 261 861750 [main] sh 6296 fhandler_base::open: C00000BF = NtCreateFile (0x0, 80100000, \??\J:\trunk\svn\apl\win\bin\mk_cc, io, NULL, 0, 7, 1, 4020, NULL, 0) The Windows NtCreateFile function returns an status code 0xC00000BF, which is called STATUS_NETWORK_BUSY. This translates into Win32 error 54, ERROR_NETWORK_BUSY which tranlates into the english text... "The network is busy." I have no clue what causes this kind of error. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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