#19711: hs-cabal upgrade to 0.6.2 fails ----------------------------------------+----------------------------------- Reporter: macports.org@… | Owner: gwright@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: haskell cabal Port: hs-cabal | ----------------------------------------+----------------------------------- Changes (by gwright@…): * status: new => closed * resolution: => invalid Comment: My guess is that you upgraded ghc without rebuilding all of the libraries. This is required since the ghc ABI changes for every release, even minor ones. What's happening is that MacPorts has found the port dependency but zlib is not registered with the new compiler. You need to rebuild all of the ghc libraries. There is unfortunately no easy way for MacPorts to do this for you automatically at the moment. However, after upgrading ghc you can run {{{ $ sudo port -R upgrade ghc }}} This will rebuild all of the dependents (i.e., things that depend on ghc). The normal upgrade procedure only rebuilds the dependencies (i.e., things on which ghc depends). Be aware that this may take some time. This should be simplified a bit in a few weeks with a new haskell-platform meta-port. I hope to get some of the documentation build issues sorted out for that too. However, it is unlikely that the documentation build will ever work on ppc, because of toolchain issues. -- Ticket URL: <http://trac.macports.org/ticket/19711#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS