[Hackage] #303: cabal clean: Error while removing dist/: dist/setup: removeDirectory: unsatisified constraints (Directory not empty)

Hackage cvs-ghc at haskell.org
Mon Aug 8 20:03:49 CEST 2011


#303: cabal clean: Error while removing dist/: dist/setup: removeDirectory:
unsatisified constraints (Directory not empty)
----------------------------+-----------------------------------------------
  Reporter:  simonmar       |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.4.0.1
  Severity:  normal         |     Keywords:         
Difficulty:  normal         |   Ghcversion:  6.8.3  
  Platform:                 |  
----------------------------+-----------------------------------------------

Comment(by Phyx):

 Isn't a simple solution to never let Setup delete it's own exe? Worse case
 if using the setup script clean leaves an exe, if cabal was used it can
 remove the exe left behind.

 If it's a big deal to not leave anything at all the hackish way around it
 would be to inject some shellscript into a running program like explorer
 and have it delete the exe.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/303#comment:2>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list