X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Mon, 2 Nov 2009 14:32:56 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.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@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <hbn24q$gjf$1@ger.gmane.org>  <hbs2gv$4cs$1@ger.gmane.org>  <20091023180754.GB5001@onderneming10.xs4all.nl>  <000001ca54a6$a1553260$e3ff9720$@com>  <000001ca57dc$8b18a430$a149ec90$@com>  <20091029082244.GK28753@calimero.vinschen.de>  <003901ca588a$7edc0500$7c940f00$@com>  <20091029133834.GO28753@calimero.vinschen.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@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

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

