[Hackage] #577: an executable and library differing in capitalization use the same build dir on case-insensitive filesystems

Hackage trac at galois.com
Wed Aug 26 21:15:39 EDT 2009


#577: an executable and library differing in capitalization use the same build
dir on case-insensitive filesystems
----------------------------+-----------------------------------------------
  Reporter:  simonmic       |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.6.0.1
  Severity:  normal         |     Keywords:         
Difficulty:  unknown        |   Ghcversion:         
  Platform:                 |  
----------------------------+-----------------------------------------------
 Discussion from #darcs:

 {{{

 [5:56pm] <Riastradh>
 While compiling the Darcs library, the build process creates a directory
 called $BUILDDIR/build/Darcs.  While compiling the Darcs executable, it
 creates $BUILDDIR/build/darcs.  On Mac OS X, these pathnames both name a
 common directory.
 [5:57pm] <kowey>
 yeah, that's mildly irritating
 [5:57pm] <kowey>
 I have to run dist/build/Darcs/darcs (tab-completion)
 [5:57pm] <Riastradh>
 Does this affect the output of the build?
 [5:57pm] <kowey>
 no apparent problems here
 [5:58pm] <Riastradh>
 OK.
 [5:58pm] <Riastradh>
 (You could, of course, create the directory with a lowercase name to begin
 with and then build.)
 [5:58pm] <Riastradh>
 (Also, some shells, such as zsh, will do case-insensitive completion.)
 [5:58pm] <kowey>
 I guess no other cabal package out there simultaneously has a library
 starting with Foo as a top level bit of namespace and an executable named
 foo
 [5:58pm] <gwern>
 Riastradh: bash of course can do case-insenistive completion if figured
 [5:58pm] <gwern>
 *configured
 [5:59pm] <gwern>
 kowey: xmonad?
 [5:59pm] <kowey>
 oh yeah!
 [5:59pm] <gwern>
 import XMonad.*... 'exec xmonad'
 [5:59pm] <gwern>
 and xmonad ain't the only example either
 [6:00pm] <gwern>
 yi, autoproc... anything doing the executable-library thing is likely to
 have that

 }}}

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


More information about the cabal-devel mailing list