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

MacPorts noreply at macports.org
Thu Jul 5 14:54:31 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 can't compile ghc anymore, though I'm not sure why this doesn't work now
 but worked fine before. I think I might have recently upgraded my Xcode
 and Command Line Tools to 4.3.3.

 {{{
 --->  Configuring ghc
 checking for gfind... /opt/local/bin/gfind
 checking for sort... /usr/bin/sort
 checking version of ghc... 7.0.4
 checking build system type... i386-apple-darwin11.4.0
 checking host system type... i386-apple-darwin11.4.0
 checking target system type... i386-apple-darwin11.4.0
 Build platform inferred as: x86_64-apple-darwin
 Host platform inferred as: x86_64-apple-darwin
 Target platform inferred as: x86_64-apple-darwin
 GHC build  : x86_64-apple-darwin
 GHC host   : x86_64-apple-darwin
 GHC target : x86_64-apple-darwin
 configure: Building in-tree ghc-pwd
 ld: warning: could not create compact unwind for _ffi_call_unix64: does
 not use RBP or RSP based frame
 Undefined symbols for architecture x86_64:
   "_locale_charset", referenced from:
       _localeEncoding in libHSbase-4.3.1.0.a(PrelIOUtils.o)
   "_iconv_close", referenced from:
       _hs_iconv_close in libHSbase-4.3.1.0.a(iconv.o)
      (maybe you meant: _hs_iconv_close)
   "_iconv", referenced from:
       _hs_iconv in libHSbase-4.3.1.0.a(iconv.o)
      (maybe you meant: _hs_iconv, _hs_iconv_open , _hs_iconv_close )
   "_iconv_open", referenced from:
       _hs_iconv_open in libHSbase-4.3.1.0.a(iconv.o)
      (maybe you meant: _hs_iconv_open)
 ld: symbol(s) not found for architecture x86_64
 collect2: ld returned 1 exit status
 configure: error: Building ghc-pwd failed
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_dports_lang_ghc/ghc/work/ghc-7.4.2" &&
 ./configure --prefix=/opt/local --with-ghc=/opt/local/share/ghc-
 bootstrap/bin/ghc --with-gcc=/usr/bin/clang --with-iconv-
 includes=/opt/local/include --with-iconv-libraries=/opt/local/lib --with-
 gmp-includes=/opt/local/include --with-gmp-libraries=/opt/local/lib
 Exit code: 1
 }}}

 Possible related: http://hackage.haskell.org/trac/ghc/ticket/5019,
 http://hackage.haskell.org/trac/ghc/ticket/5293

 Any suggestions?

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


More information about the macports-tickets mailing list