[MacPorts] #19946: ghc 6.10.3 fails to build on Intel OS X 10.4.11 during config

MacPorts noreply at macports.org
Wed Jun 17 05:59:15 PDT 2009


#19946: ghc 6.10.3 fails to build on Intel OS X 10.4.11 during config
----------------------------------------+-----------------------------------
 Reporter:  florin.bocaneala@…          |       Owner:  gwright@…           
     Type:  defect                      |      Status:  new                 
 Priority:  Normal                      |   Milestone:                      
Component:  ports                       |     Version:  1.7.1               
 Keywords:                              |        Port:  ghc                 
----------------------------------------+-----------------------------------

Comment(by florin.bocaneala@…):

 I guess we made a little progress.

 I attach below the debug output that you requested, but then, based on
 your suggestion, I tried specifying the architecture by hand
 (+darwin_8_i386) and this time it managed to pass the configuration step,
 and even most of the compilation. However, it faltered once again during
 linking with... libgmp.

 {{{
 Preprocessing library ghc-6.10.3...
 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: can't locate file for: -lgmp
 collect2: ld returned 1 exit status
 linking dist-stage1/build/Fingerprint_hsc_make.o failed
 command was: /usr/bin/gcc
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work
 /ghc-bootstrap/lib/ghc-6.6 -lHSunix_cbits -ldl
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.3/libraries/hpc
 /dist-bootstrapping/build
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work
 /ghc-bootstrap/lib/ghc-6.6
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.3/libraries
 /extensible-exceptions/dist-bootstrapping/build
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.3/libraries/Cabal
 /dist-bootstrapping/build
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.3/libraries/filepath
 /dist-bootstrapping/build
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work
 /ghc-bootstrap/lib/ghc-6.6 -lHSbase_cbits
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work
 /ghc-bootstrap/lib/ghc-6.6 -lm -lgmp -ldl dist-
 stage1/build/Fingerprint_hsc_make.o -o dist-
 stage1/build/Fingerprint_hsc_make
 make[1]: *** [boot.stage.1] Error 1
 make: *** [stage1] Error 1

 Warning: the following items did not execute (for ghc):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: Status 1 encountered during processing.
 }}}

 Let me know if you need the whole debug output for building ghc with
 manually selected variant.

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


More information about the macports-tickets mailing list