[MacPorts] #19985: ghc 6.10.3 cannot exec '/opt/local/bin/i686-apple-darwin8-gcc-4. 0.1'

MacPorts noreply at macports.org
Wed Jun 17 04:17:35 PDT 2009


#19985: ghc 6.10.3 cannot exec '/opt/local/bin/i686-apple-darwin8-gcc-4. 0.1'
-----------------------------------------------------------------------------------+
 Reporter:  gonhidi@…                                                              |       Owner:  macports-tickets@…                   
     Type:  defect                                                                 |      Status:  new                                  
 Priority:  Normal                                                                 |   Milestone:                                       
Component:  ports                                                                  |     Version:  1.7.1                                
 Keywords:  ghc 6.10.3 Tiger 10.4.11 /opt/local/bin/i686-apple-darwin8-gcc-4. 0.1  |        Port:  ghc                                  
-----------------------------------------------------------------------------------+
 When building ghc 6.10.3_1 on MacOSX 10.4.11 (XCode 2.5 installed) I get
 the following error:


 {{{
 Preprocessing library hpc-0.5.0.3...
 gcc: installation problem, cannot exec '/opt/local/bin/i686-apple-
 darwin8-gcc-4.0.1': No such file or directory
 compiling dist-bootstrapping/build/Trace/Hpc/Reflect_hsc_make.c failed
 command was: /opt/local/bin/gcc -c -I/opt/local/include
 -D__GLASGOW_HASKELL__=606
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work
 /ghc-bootstrap/lib/ghc-6.6/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_po
 rts_lang_ghc/work/ghc-bootstrap/lib/ghc-6.6/include dist-
 bootstrapping/build/Trace/Hpc/Reflect_hsc_make.c -o dist-
 bootstrapping/build/Trace/Hpc/Reflect_hsc_make.o
 make[1]: *** [bootstrapping.conf] Error 1
 make: *** [stage1] Error 2

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


 Workaround: Soft-linking `/opt/local/bin/i686-apple-darwin8-gcc-4.0.1` to
 `/usr/bin/i686-apple-darwin8-gcc-4.0.1` seems to help get around this
 issue (but is not really a workaround for me because I later stumble upon
 a -lgmp issue such as (identical to?) the one noted on ticket #17321).

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


More information about the macports-tickets mailing list