[Hackage] #321: cabal in non-existant directory fails

Hackage trac at galois.com
Sat Aug 9 05:56:10 EDT 2008


#321: cabal in non-existant directory fails
----------------------------+-----------------------------------------------
  Reporter:  larsv          |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.4.0.1
  Severity:  normal         |     Keywords:         
Difficulty:  normal         |   Ghcversion:  6.8.2  
  Platform:  Linux          |  
----------------------------+-----------------------------------------------
 To reproduce:
 {{{
 mkdir foo ; cd foo ; rmdir ../foo ; cabal install regex-pcre
 }}}

 Result:
 {{{
 shell-init: error retrieving current directory: getcwd: cannot access
 parent directories: No such file or directory
 Resolving dependencies...
 'regex-base-0.93.1' is cached.
 cabal: Error: some packages failed to install:
 regex-base-0.93.1 failed during the configure step. The exception was:
 getCurrentDirectory: does not exist (No such file or directory)
 regex-pcre-0.94.1 depends on regex-base-0.93.1 which failed to install.
 }}}

 The first shell-init error occurs even if no package is chosen or any
 other cabal command is used such as "list" or "upgrade".

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


More information about the cabal-devel mailing list