#3780: unix-2.4.0.0 fails with base 4.1
--------------------------------------+-------------------------------------
  Reporter:  duncan                   |          Owner:                  
      Type:  bug                      |         Status:  new             
  Priority:  normal                   |      Milestone:                  
 Component:  libraries/unix           |        Version:  6.12.1          
Resolution:                           |       Keywords:                  
Difficulty:  Easy (less than 1 hour)  |             Os:  Unknown/Multiple
  Testcase:                           |   Architecture:  Unknown/Multiple
   Failure:  Other                    |  
--------------------------------------+-------------------------------------
Comment (by duncan):

 Replying to [comment:1 simonmar]:
 > Isn't the problem here that the dependency on base is wrong, and should
 really say `>= 4.2`?  Does that lead to different problems?

 That would be another solution.

 The only problem there is an inconvenience because cabal-install's current
 solver does not handle this case well. If someone tries to install unix
 for ghc 6.10 (or it needs to rebuilt to make something else work) then
 cabal does not pick unix-2.3.x instead, it picks unix 2.4 and then fails
 when it finds that could not be configured with ghc 6.10. Obviously,
 that's not a problem with the unix package, it's a problem that the solver
 isn't very smart.

 If there are any actual improvements in the unix 2.4 version then of
 course it can be nice to let it build with older versions of base.

 The main thing though is that the declared dependencies be accurate,
 either by adjusting the deps or by other fixes.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3780#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to