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

MacPorts noreply at macports.org
Mon Jul 13 05:44:08 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            
----------------------------+-----------------------------------------------
Changes (by gwright@…):

  * status:  new => assigned


Comment:

 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.  This is required because ghc changes it ABI incompatibly, even
 for minor versions.  You probably have the hs-zlib port installed, but it
 hasn't been built by and registered with the new compiler.

 Try
 {{{
     $ sudo port -Rf upgrade ghc
 }}}
 This forces upgrading ghc and all of the ports that depend on it.  It will
 rebuild and reregister all of your haskell libraries and ghc too..  It
 will also take a long time if you many libraries installed.

 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.

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


More information about the macports-tickets mailing list