[MacPorts] #20273: hs-cabal depends on zlib

MacPorts noreply at macports.org
Mon Jul 13 06:31:33 PDT 2009


#20273: hs-cabal depends on zlib
----------------------------+-----------------------------------------------
 Reporter:  gale@…          |       Owner:  gwright@…           
     Type:  defect          |      Status:  assigned            
 Priority:  Normal          |   Milestone:                      
Component:  ports           |     Version:  1.7.1               
 Keywords:  zlib            |        Port:  hs-cabal            
----------------------------+-----------------------------------------------

Comment(by gale@…):

 Replying to [comment:2 gwright@…]:
 > This is not a bug. hs-cabal has a dependency on hs-zlib already.
 > However, you need to rebuild all of you haskell libraries after the
 upgrade to 6.10.3.

 Oh, I see. But -Rf is not right, it also recompiles zillions of
 non-Haskell packages.

 In practice, just installing zlib manually via cabal worked
 here. I think the right port command would be

 {{{
 port  -fun upgrade hs-zlib
 }}}

 and repeat for each port that represents a hackage
 package.

 > MacPorts has no way to do this automatically.
 > However, a shell script could probably be added
 > to the ghc port which would run in the
 > post-activate phase to update the dependents.

 But you don't want all dependents, just those that
 are hackage packages. We need some way to get
 a list of those.

-- 
Ticket URL: <http://trac.macports.org/ticket/20273#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list