delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/15/22:19:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4D098540.8070401@gmx.de>
Date: Thu, 16 Dec 2010 04:19:28 +0100
From: Matthias Andree <matthias DOT andree AT gmx DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.7: rm -rf sometimes fails - race condition?
References: <4D026815 DOT 4070606 AT gmx DOT de> <20101210182652 DOT GA27615 AT ednor DOT casa DOT cgf DOT cx> <4D027DDE DOT 1000905 AT gmx DOT de> <4D029937 DOT 5080007 AT etr-usa DOT com> <4D029F7D DOT 5070106 AT gmx DOT de> <4D02B46E DOT 6070306 AT etr-usa DOT com> <4D036518 DOT 7010409 AT gmx DOT de> <4D072148 DOT 1080400 AT etr-usa DOT com> <4D0884E8 DOT 50708 AT etr-usa DOT com> <4D08B9D7 DOT 3040506 AT gmx DOT de>
In-Reply-To: <4D08B9D7.3040506@gmx.de>
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

Am 15.12.2010 13:51, schrieb Matthias Andree:
> Am 15.12.2010 10:05, schrieb Warren Young:
>> On 12/14/2010 12:48 AM, Warren Young wrote:
>>> This loop
>>> has been running for about three hours (~40 iterations):
>> 
>> Nearly 400 iterations now.  I'm killing it.  Either the test is no good, 
>> or rm doesn't fail here.
> 
> Thanks. Haven't gotten around to doing tests with snapshot or build loops yet.

OK, 1.7.7 fails on the 2nd compilation with your script:

 CYGWIN-PATCHES/README     |  203 ++++++++++++++++++++++++++++++++++++++++++++++
 CYGWIN-PATCHES/setup.hint |   13 ++
 2 files changed, 216 insertions(+)
>>> Creating source package
fetchmail-6.3.19-1.cygport
fetchmail-6.3.19-1.cygwin.patch
fetchmail-6.3.19.tar.xz
>>> Removing work directory in 5 seconds...
>>> Removing work directory NOW.
rm: cannot remove `/usr/src/fetchmail-6.3.19-1/inst/usr/share/locale/id':
Directory not empty
rm: cannot remove `/usr/src/fetchmail-6.3.19-1/inst/usr/share/locale/nl':
Directory not empty
rm: cannot remove `/usr/src/fetchmail-6.3.19-1/inst/usr/share/locale/pt_BR':
Directory not empty

$ cat loop.log
Thu Dec 16 03:53:29 2010

$ find /usr/src/fetchmail-6.3.19-1/inst/usr/share/locale/ -depth
/usr/src/fetchmail-6.3.19-1/inst/usr/share/locale/id
/usr/src/fetchmail-6.3.19-1/inst/usr/share/locale/nl
/usr/src/fetchmail-6.3.19-1/inst/usr/share/locale/pt_BR
/usr/src/fetchmail-6.3.19-1/inst/usr/share/locale/

Meaning that file deletions were deferred. I'll now upgrade to a snapshot and retry.

-- 
Matthias Andree

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