#4812: doesDirectoryExist always returns False on Mac OS X
---------------------------------+------------------------------------------
    Reporter:  YitzGale          |       Owner:                     
        Type:  bug               |      Status:  new                
    Priority:  normal            |   Component:  libraries/directory
     Version:  6.12.3            |    Keywords:                     
    Testcase:                    |   Blockedby:                     
          Os:  MacOS X           |    Blocking:                     
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown       
---------------------------------+------------------------------------------
 On an Intel {{{MacBook}}} with Mac OS X 10.6.5 (Snow Leopard), with GHC
 6.12.3 from a standard Haskell Platform installation,
 System.Directory.doesDIrectoryExist always returns False for any path.

 This issue was first reported here: http://www.haskell.org/pipermail
 /haskell-cafe/2010-November/086603.html

 At that time, several other users on the same platform responded that
 they were not experiencing the problem. I also tested at that time, and
 I did not experience the problem.

 Now it has started happening here. During the past day I upgraded
 some basic packages from Hackage, so I suspect that is related.

 I have tried it with directory-1.0.1.1
 and filepath-1.1.0.4 as originally supplied with the HP install, and also
 with directory-1.1.0.0 and filepath-1.2.0.0 from hackage, all with
 the same problem occurring.

 One of the packages I upgraded was unix, from 2.4.0.2 to
 2.4.1.0. I tried hiding the newer version, but when I run
 doesDirectoryExist and GHCi loads the directory package,
 it ignores my hiding and loads the newer unix package.
 If I both hide the newer unix package and manually specify
 the older one, GHCi complains about duplicate symbol
 definitions and departs.

 All of that is especially strange, since unix is not even
 a dependency of directory.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4812>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to