[MacPorts] #25558: ghc: update to latest version

MacPorts noreply at macports.org
Sun Jun 24 02:40:21 PDT 2012


#25558: ghc: update to latest version
--------------------------------+-------------------------------------------
 Reporter:  jwiegley@…          |       Owner:  gwright@…           
     Type:  update              |      Status:  assigned            
 Priority:  Normal              |   Milestone:                      
Component:  ports               |     Version:                      
 Keywords:                      |        Port:  ghc ghc-devel       
--------------------------------+-------------------------------------------

Comment(by cal@…):

 I think this approach is more feasible than the current one. However, you
 might want to run `sudo port -v -y rev-upgrade` after installing this port
 to discover more problems with linking. Remember rev-upgrade is by default
 automatically run after each installation since 2.1.0 and problems in your
 ghc-bootstrap port will cause rev-upgrade to mark consider it broken and
 attempt to re-install (which won't change anything, because you're
 installing from binaries).

 I'm seeing:
 {{{
 Could not open /usr/local/lib/ghc-7.4.2/ghc-prim-0.2.0.0/libHSghc-
 prim-0.2.0.0-ghc7.4.2.dylib: Error opening or reading file (referenced
 from
 /opt/local/lib/ghc-7.4.2/Cabal-1.14.0/libHSCabal-1.14.0-ghc7.4.2.dylib)
 Could not open /usr/local/lib/ghc-7.4.2/integer-gmp-0.4.0.0/libHSinteger-
 gmp-0.4.0.0-ghc7.4.2.dylib: Error opening or reading file (referenced from
 /opt/local/lib/ghc-7.4.2/Cabal-1.14.0/libHSCabal-1.14.0-ghc7.4.2.dylib)
 Could not open
 /usr/local/lib/ghc-7.4.2/base-4.5.1.0/libHSbase-4.5.1.0-ghc7.4.2.dylib:
 Error opening or reading file (referenced from
 /opt/local/lib/ghc-7.4.2/Cabal-1.14.0/libHSCabal-1.14.0-ghc7.4.2.dylib)
 Could not open
 /usr/local/lib/ghc-7.4.2/array-0.4.0.0/libHSarray-0.4.0.0-ghc7.4.2.dylib:
 Error opening or reading file (referenced from
 /opt/local/lib/ghc-7.4.2/Cabal-1.14.0/libHSCabal-1.14.0-ghc7.4.2.dylib)
 Could not open
 /usr/local/lib/ghc-7.4.2/deepseq-1.3.0.0/libHSdeepseq-1.3.0.0-ghc7.4.2.dylib:
 Error opening or reading file (referenced from
 /opt/local/lib/ghc-7.4.2/Cabal-1.14.0/libHSCabal-1.14.0-ghc7.4.2.dylib)
 Could not open
 /usr/local/lib/ghc-7.4.2/containers-0.4.2.1/libHScontainers-0.4.2.1-ghc7.4.2.dylib:
 Error opening or reading file (referenced from
 /opt/local/lib/ghc-7.4.2/Cabal-1.14.0/libHSCabal-1.14.0-ghc7.4.2.dylib)
 Could not open
 /usr/local/lib/ghc-7.4.2/filepath-1.3.0.0/libHSfilepath-1.3.0.0-ghc7.4.2.dylib:
 Error opening or reading file (referenced from
 /opt/local/lib/ghc-7.4.2/Cabal-1.14.0/libHSCabal-1.14.0-ghc7.4.2.dylib)
 Could not open /usr/local/lib/ghc-7.4.2/old-locale-1.0.0.4/libHSold-
 locale-1.0.0.4-ghc7.4.2.dylib: Error opening or reading file (referenced
 from
 /opt/local/lib/ghc-7.4.2/Cabal-1.14.0/libHSCabal-1.14.0-ghc7.4.2.dylib)
 Could not open /usr/local/lib/ghc-7.4.2/old-time-1.1.0.0/libHSold-
 time-1.1.0.0-ghc7.4.2.dylib: Error opening or reading file (referenced
 from
 /opt/local/lib/ghc-7.4.2/Cabal-1.14.0/libHSCabal-1.14.0-ghc7.4.2.dylib)
 Could not open
 /usr/local/lib/ghc-7.4.2/bytestring-0.9.2.1/libHSbytestring-0.9.2.1-ghc7.4.2.dylib:
 Error opening or reading file (referenced from
 /opt/local/lib/ghc-7.4.2/Cabal-1.14.0/libHSCabal-1.14.0-ghc7.4.2.dylib)
 Could not open
 /usr/local/lib/ghc-7.4.2/unix-2.5.1.1/libHSunix-2.5.1.1-ghc7.4.2.dylib:
 Error opening or reading file (referenced from
 /opt/local/lib/ghc-7.4.2/Cabal-1.14.0/libHSCabal-1.14.0-ghc7.4.2.dylib)
 Could not open
 /usr/local/lib/ghc-7.4.2/directory-1.1.0.2/libHSdirectory-1.1.0.2-ghc7.4.2.dylib:
 Error opening or reading file (referenced from
 /opt/local/lib/ghc-7.4.2/Cabal-1.14.0/libHSCabal-1.14.0-ghc7.4.2.dylib)
 Could not open
 /usr/local/lib/ghc-7.4.2/pretty-1.1.1.0/libHSpretty-1.1.1.0-ghc7.4.2.dylib:
 Error opening or reading file (referenced from
 /opt/local/lib/ghc-7.4.2/Cabal-1.14.0/libHSCabal-1.14.0-ghc7.4.2.dylib)
 Could not open
 /usr/local/lib/ghc-7.4.2/process-1.1.0.1/libHSprocess-1.1.0.1-ghc7.4.2.dylib:
 Error opening or reading file (referenced from
 /opt/local/lib/ghc-7.4.2/Cabal-1.14.0/libHSCabal-1.14.0-ghc7.4.2.dylib)
 Could not open
 /usr/local/lib/ghc-7.4.2/Cabal-1.14.0/libHSCabal-1.14.0-ghc7.4.2.dylib:
 Error opening or reading file (referenced from /opt/local/lib/ghc-7.4.2
 /bin-package-db-0.0.0.0/libHSbin-package-db-0.0.0.0-ghc7.4.2.dylib)
 Could not open
 /usr/local/lib/ghc-7.4.2/binary-0.5.1.0/libHSbinary-0.5.1.0-ghc7.4.2.dylib:
 Error opening or reading file (referenced from /opt/local/lib/ghc-7.4.2
 /bin-package-db-0.0.0.0/libHSbin-package-db-0.0.0.0-ghc7.4.2.dylib)
 Could not open /usr/local/lib/ghc-7.4.2/bin-package-db-0.0.0.0/libHSbin-
 package-db-0.0.0.0-ghc7.4.2.dylib: Error opening or reading file
 (referenced from
 /opt/local/lib/ghc-7.4.2/ghc-7.4.2/libHSghc-7.4.2-ghc7.4.2.dylib)
 Could not open
 /usr/local/lib/ghc-7.4.2/hoopl-3.8.7.3/libHShoopl-3.8.7.3-ghc7.4.2.dylib:
 Error opening or reading file (referenced from
 /opt/local/lib/ghc-7.4.2/ghc-7.4.2/libHSghc-7.4.2-ghc7.4.2.dylib)
 Could not open
 /usr/local/lib/ghc-7.4.2/hpc-0.5.1.1/libHShpc-0.5.1.1-ghc7.4.2.dylib:
 Error opening or reading file (referenced from
 /opt/local/lib/ghc-7.4.2/ghc-7.4.2/libHSghc-7.4.2-ghc7.4.2.dylib)
 Could not open /usr/local/lib/ghc-7.4.2/template-haskell-2.7.0.0
 /libHStemplate-haskell-2.7.0.0-ghc7.4.2.dylib: Error opening or reading
 file (referenced from
 /opt/local/lib/ghc-7.4.2/ghc-7.4.2/libHSghc-7.4.2-ghc7.4.2.dylib)
 Could not open
 /usr/local/lib/ghc-7.4.2/time-1.4/libHStime-1.4-ghc7.4.2.dylib: Error
 opening or reading file (referenced from
 /opt/local/lib/ghc-7.4.2/haskell98-2.0.0.1/libHShaskell98-2.0.0.1-ghc7.4.2.dylib)
 }}}

 Note that these are probably not the only locations where the missing
 files in `/usr/local` are referenced; rev-upgrade only prints the first
 occurrence for each.

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


More information about the macports-tickets mailing list