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

Hackage trac at galois.com
Thu Aug 27 11:29:48 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         |   Resolution:         
  Keywords:                 |   Difficulty:  normal 
Ghcversion:                 |     Platform:         
----------------------------+-----------------------------------------------
Changes (by duncan):

  * difficulty:  unknown => normal

Comment:

 The problem of course is that the layout of dist looks like:

 {{{
 ./dist/build/      <- library output goes here
 ./dist/build/foo/  <- executable 'foo' goes here
 }}}

 So the exe dirs appear within the library build tree. Thus if we have
 modules under the 'Foo' namespace then the clash with the executable. It
 can happen on case sensitive or insensitive file systems (since executable
 names are case sensitive) it's just more common with case insensitive
 ones.

 The solution will have to be to change the layout of the `./dist/build`
 tree.

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


More information about the cabal-devel mailing list