darcs

Issue 1623 pull => DeleteFile: permission denied (2.3.1)

Title pull => DeleteFile: permission denied (2.3.1)
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, eivuokko, jaredj, kirby, kowey, mornfall, satnams, simonmar, wglozer
Assigned To kirby
Topics Windows

Created on 2009-09-21.11:08:16 by marlowsd, last changed 2010-03-07.08:42:46 by kirby.

Messages
msg8850 (view) Author: simonmar Date: 2009-09-21.11:08:12
Bug report from Satnam Singh, who tried to get an up to date GHC 
repository using darcs 2.3.1, freshly built today using GHC 6.10.4:

$ rm -rf ghc ; tar xf ghc-HEAD-2009-01-09-ghc-corelibs-testsuite.tar ; 
cd ghc ;
./darcs-all pull -a
== running darcs pull -a --repodir .
Pulling from "http://darcs.haskell.org/ghc"...
This is the GHC darcs repository (HEAD branch)

For more information, visit the GHC developer wiki at
   http://hackage.haskell.org/trac/ghc
**********************

darcs failed:  DeleteFile: permission denied (The process cannot access 
the file
  because it is being used by another process.)
Your repository is now in an inconsistent state.
This must be fixed by running darcs repair.

darcs failed: 512 at ./darcs-all line 69.

satnams@MSRC-LAGAVULIN /c/ghc/ghc
$ darcs -v
2.3.1 (release)

satnams@MSRC-LAGAVULIN /c/ghc/ghc
$ which ghc
/c/ghc/ghc-6.10.4/bin/ghc.exe
msg8851 (view) Author: kowey Date: 2009-09-21.11:49:05
Hi Salvatore (and Petr),

Can you reproduce this?
msg8852 (view) Author: kirby Date: 2009-09-21.12:04:03
Unfortunately I can't find ghc-HEAD-2009-01-09-ghc-corelibs-testsuite.tar on 
darcs.haskell.org. Where can I find it?
msg8853 (view) Author: satnams Date: 2009-09-21.13:03:25
I am going to retry with ghc-HEAD-2009-09-09-ghc-corelibs-testsuite.tar.gz

Satnam
msg8854 (view) Author: kowey Date: 2009-09-21.14:42:17
Ian says to try:
deleteable-2009-04-26/ghc-HEAD-2009-01-09-ghc-corelibs-testsuite.tar.bz2
msg8857 (view) Author: kirby Date: 2009-09-21.17:22:26
It works for me :(.
Can you try outside of cygwin, with standard cmd.exe? Maybe with --no-cache 
option, to avoid a corrupted cache kicking in?

----8<---------
C:\Users\sinsalaco\Desktop\ghc-HEAD-2009-01-09-ghc-corelibs-
estsuite.tar\ghc>darcs pull -a --no-cache
Pulling from "http://darcs.haskell.org/ghc"...
This is the GHC darcs repository (HEAD branch)

For more information, visit the GHC developer wiki at
  http://hackage.haskell.org/trac/ghc
**********************
Reading inventory of repository C:/Users/sinsalaco/Desktop/ghc-HEAD-2009-01-09-

Finished pulling and applying.
----------8<---------
msg8859 (view) Author: satnams Date: 2009-09-22.10:30:05
On Windows Vista I used darcs 2.3.1 (which I installed with “cabal update; cabal install darcs –f-curl”) and I used the ghc-HEAD-2009-09-09-ghc-corelibs-testsuite.tar.gz snapshot and now GHC builds. Thanks.

Satnam
History
Date User Action Args
2009-09-21 11:08:16marlowsdcreate
2009-09-21 11:49:09koweysetstatus: unknown -> needs-reproduction
priority: bug
title: DeleteFile: permission denied -> pull => DeleteFile: permission denied (2.3.1)
nosy: + wglozer, mornfall, eivuokko, kirby, simonmar, kowey, jaredj, - marlowsd
messages: + msg8851
topic: + Windows
assignedto: kirby
2009-09-21 12:04:06kirbysetnosy: kowey, wglozer, darcs-devel, eivuokko, simonmar, jaredj, dmitry.kurochkin, satnams, mornfall, kirby
messages: + msg8852
2009-09-21 13:03:27satnamssetnosy: + marlowsd
messages: + msg8853
2009-09-21 14:42:19koweysetnosy: kowey, wglozer, darcs-devel, eivuokko, simonmar, jaredj, dmitry.kurochkin, marlowsd, satnams, mornfall, kirby
messages: + msg8854
2009-09-21 17:22:29kirbysetstatus: needs-reproduction -> waiting-for
nosy: kowey, wglozer, darcs-devel, eivuokko, simonmar, jaredj, dmitry.kurochkin, marlowsd, satnams, mornfall, kirby
messages: + msg8857
2009-09-22 10:30:08satnamssetnosy: kowey, wglozer, darcs-devel, eivuokko, simonmar, jaredj, dmitry.kurochkin, marlowsd, satnams, mornfall, kirby
messages: + msg8859
2009-10-23 22:36:58adminsetnosy: - simonmar
2009-10-23 23:34:53adminsetnosy: + simonmar, - marlowsd
2010-03-07 08:42:46kirbysetstatus: waiting-for -> resolved