[Hackage] #753: cabal executable chooses different versions of libraries than cabal library

Hackage cvs-ghc at haskell.org
Tue Oct 26 08:14:57 EDT 2010


#753: cabal executable chooses different versions of libraries than cabal library
---------------------------------+------------------------------------------
  Reporter:  guest               |        Owner:         
      Type:  defect              |       Status:  new    
  Priority:  normal              |    Milestone:         
 Component:  cabal-install tool  |      Version:  1.8.0.6
  Severity:  normal              |     Keywords:         
Difficulty:  unknown             |   Ghcversion:         
  Platform:                      |  
---------------------------------+------------------------------------------
 Hi,

 cabal-install version 0.8.2
 using version 1.8.0.2 of the Cabal library

 This bug was originally reported by a Debian user.

 the `cabal' executable, when run on the attached sample library, chooses
 base 3.0.3.2:

 $ cabal -v configure
 [...]
 Configuring foobar-0.0...
 Dependency base ==3.0.3.2: using base-3.0.3.2
 [...]

 whereas, the library (via Setup.hs) correctly gets base 4.2.0.0, probably
 due to ghc's hiding of the earlier version

 $ runhaskell Setup.hs -v configure
 Configuring foobar-0.0...
 Dependency base -any: using base-4.2.0.0
 [...]

 cabal-install should probably perform the same hiding that ghc does.

 Cheers,
 Iain

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



More information about the cabal-devel mailing list