From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Bootstrap failure using 'make -j4' [Cygwin] Date: Sat, 22 May 2010 15:45:20 +0200 Message-ID: <4BF7DFF0.8070004@swipnet.se> References: <4BF69E5B.7040006@alice.it> <83vdahz0v0.fsf@gnu.org> <4BF6BB85.3010504@alice.it> <83r5l5yw33.fsf@gnu.org> <4BF70D0B.9050106@alice.it> <83d3wozamt.fsf@gnu.org> <4BF7B965.9040203@swipnet.se> <838w7cp0hx.fsf@gnu.org> <4BF7D551.1020204@swipnet.se> <878w7ckrvg.fsf@engster.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1274535938 18663 80.91.229.12 (22 May 2010 13:45:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 22 May 2010 13:45:38 +0000 (UTC) To: Eli Zaretskii , angelo.graziosi@alice.it, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 22 15:45:37 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OFp1D-0003tH-6O for ged-emacs-devel@m.gmane.org; Sat, 22 May 2010 15:45:35 +0200 Original-Received: from localhost ([127.0.0.1]:48002 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFp1C-0001aq-ME for ged-emacs-devel@m.gmane.org; Sat, 22 May 2010 09:45:34 -0400 Original-Received: from [140.186.70.92] (port=42249 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFp15-0001ZG-CO for emacs-devel@gnu.org; Sat, 22 May 2010 09:45:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFp14-0007Pn-B7 for emacs-devel@gnu.org; Sat, 22 May 2010 09:45:27 -0400 Original-Received: from smtprelay-h22.telenor.se ([195.54.99.197]:34669) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFp11-0007PD-Uw; Sat, 22 May 2010 09:45:24 -0400 Original-Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id A4D27CB64; Sat, 22 May 2010 15:45:22 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ask+APZ890tV4S0jPGdsb2JhbACHaJYpDAEBAQE1Lbx7hRME X-IronPort-AV: E=Sophos;i="4.53,283,1272837600"; d="scan'208";a="77871057" Original-Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb2.telenor.se with ESMTP; 22 May 2010 15:45:22 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 19CCE7FA05A; Sat, 22 May 2010 15:45:22 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 In-Reply-To: <878w7ckrvg.fsf@engster.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125070 Archived-At: David Engster skrev 2010-05-22 15.06: > Jan Dj=E4rv writes: >> Eli Zaretskii skrev 2010-05-22 14.46: >>>> Date: Sat, 22 May 2010 13:00:53 +0200 >>>> From: Jan Dj=E4rv >>>> CC: Angelo Graziosi, emacs-devel@gnu.org >>>> >>>> A better solution is probably to replace >>>> >>>> test -d ${DEPDIR} || mkdir ${DEPDIR} >>>> >>>> with >>>> >>>> mkdir -p ${DEPDIR} >>> >>> I think the -p switch to mkdir is not portable. >>> >> >> I has been in The Single UNIX =AE Specification since 1997 at least. = I >> think it was in POSIX 2 as well (1990), but I lost it, so I can't >> check. > > That may be, but 'mkdir -p' is not guaranteed to be thread-safe. That has nothing to do with this situation. The point of -p here is that= =20 mkdir shall not output an error if the directory exist. When creating=20 multiple directories, then -p is not thread safe (i.e. two mkdir:s may be= =20 creating directories in the tree), but this is not the case here. Jan D.