This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.7.7: rm -rf sometimes fails - race condition?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]