upgrade installed problem

Shawn Protsman protsman at mac.com
Fri Aug 28 09:36:57 PDT 2009


I just upgraded to 1.8 this morning. A problem arose around ghc.  
Something I am using must be dependent upon it:

] sudo port clean --archive ghc ; sudo port clean --dist ghc
--->  Cleaning ghc
--->  Cleaning ghc
] sudo port uninstall ghc
] sudo port upgrade --enforce-variants installed
--->  Computing dependencies for ghc
--->  Fetching ghc
--->  Attempting to fetch ghc-6.10.3-src.tar.bz2 from http://distfiles.macports.org/ghc
--->  Attempting to fetch ghc-6.10.3-src-extralibs.tar.bz2 from http://distfiles.macports.org/ghc
--->  Attempting to fetch testsuite-6.10.3.tar.bz2 from http://distfiles.macports.org/ghc
--->  Attempting to fetch ghc-6.8.2-darwin-i386-leopard- 
bootstrap.tar.bz2 from http://distfiles.macports.org/ghc
--->  Verifying checksum(s) for ghc
--->  Extracting ghc
--->  Applying patches to ghc
--->  Configuring ghc
Error: Target org.macports.configure returned: configure failure:  
shell command " cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_lang_ghc/work/ghc-6.10.3" && ./configure -- 
prefix=/opt/local --prefix=/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_lang_ghc/work/destroot/opt/local -- 
datadir=/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/share/ 
ghc-6.10.3 --with-gmp-includes=/opt/local/include --with-gmp- 
libraries=/opt/local/lib --with-ghc='/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_lang_ghc/work/ghc-bootstrap/bin/ghc' -- 
with-gcc=/usr/bin/gcc-4.0 " returned error 2
Command output: checking build system type... i386-apple-darwin9.8.0
checking host system type... i386-apple-darwin9.8.0
checking target system type... i386-apple-darwin9.8.0
Canonicalised to: i386-apple-darwin
checking version of ghc... 6.8.2
checking for nhc... no
checking for nhc98... no
checking for hbc... no
checking for ld... /usr/bin/ld
./configure: line 11082: syntax error: unexpected end of file

Error: Problem while installing ghc

=====================

I cannot proceed with other updates due to this problem? Suggestions  
on how I can resolve it?

Thanks,
Shawn



More information about the macports-users mailing list