[Hackage] #868: cabal clean crash

#868: cabal clean crash ---------------------------------+------------------------------------------ Reporter: Phyx | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.8.0.6 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ---------------------------------+------------------------------------------ When using a custom build type, clean wil always crash (atleast on windows). Cabal leaves cleaning up to the compiled Setup.exe, which itself resides in sdist, so an attempt to clean *all* files in sdist requires Setup.exe to be deleted aswell. And since a program can't delete itself, this will always result in the following crash: PS C:\Users\Phyx\Documents\Haskell\cabaltest> cabal clean cleaning... Error while removing dist/: DeleteFile "dist\\setup\\setup.exe": permission denied (Access is denied.) -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/868 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#868: cabal clean crash ---------------------------------+------------------------------------------ Reporter: Phyx | Owner: Type: defect | Status: closed Priority: normal | Milestone: Component: cabal-install tool | Version: 1.8.0.6 Severity: normal | Resolution: duplicate Keywords: | Difficulty: unknown Ghcversion: | Platform: ---------------------------------+------------------------------------------ Changes (by Phyx): * status: new => closed * resolution: => duplicate Comment: This seems to be a duplicate of 303, which is already 3 years old.. http://hackage.haskell.org/trac/hackage/ticket/303 -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/868#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage