[Hackage] #131: cabal-install should rebuild dependants when a package is upgraded

Hackage trac at galois.com
Thu Jan 24 12:23:57 EST 2008


#131: cabal-install should rebuild dependants when a package is upgraded
---------------------------------+------------------------------------------
  Reporter:  bringert            |        Owner:                
      Type:  defect              |       Status:  new           
  Priority:  normal              |    Milestone:  Cabal-2.0     
 Component:  cabal-install tool  |      Version:  HEAD          
  Severity:  normal              |   Resolution:                
  Keywords:                      |   Difficulty:  hard (< 1 day)
Ghcversion:  6.6                 |     Platform:  Linux         
---------------------------------+------------------------------------------
Comment (by guest):

 A real-life "war story" that seems to illustrate the problem, or at least
 be closely related:

 I used 'cabal upgrade' to upgrade a bunch of packages, in particular
 bytestring and various regex-*, since I wanted to install something that
 depended on them.

 Later, however, I tried to install Yi, which as it turns out was
 incompatible with the latest version of bytestring.  I downgraded
 bytestring, but then had to rebuild vty (so it would be built with the
 older bytestring) and also unregister many of the newer versions of the
 regex-* packages, since Yi depended on them; with the newer versions
 installed, they were chosen to fulfill Yi's dependencies, but those newer
 versions depended on the newest version of bytestring, which was no longer
 installed.

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


More information about the cabal-devel mailing list