[MacPorts] #31781: ghc will not build on Lion
MacPorts
noreply at macports.org
Tue Oct 25 18:40:22 PDT 2011
#31781: ghc will not build on Lion
---------------------------------+------------------------------------------
Reporter: bowman@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port:
---------------------------------+------------------------------------------
On OSX Lion, using XCode 4.2 and a fresh install of macports I am unable
to build ghc.
Here is what I take to be the relevant portion of the build log:
:info:configure checking for ld... /usr/bin/ld
:info:configure checking for path to top of build tree... ghc: could not
execute: /usr/bin/gcc-4.2
:info:configure ./configure: line 3314: utils/pwd/pwd: No such file or
directory
:info:configure configure: error: cannot determine current directory
:info:configure shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/ghc-6.10.4"
&& ./configure
--prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/destroot/opt/local
--datadir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/destroot/opt/local/share/ghc-6.10.4
--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_tarballs_ports_lang_ghc/ghc/work
/ghc-bootstrap/bin/ghc' --with-gcc=/usr/bin/gcc-4.2 --build=x86_64-apple-
darwin --host=x86_64-apple-darwin --target=x86_64-apple-darwin " returned
error 1
:error:configure Target org.macports.configure returned: configure
failure: shell command failed (see log for details)
:debug:configure Backtrace: configure failure: shell command failed (see
log for details)
while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for ghc):
org.macports.activate org.macports.configure org.macports.build
org.macports.destroot org.macports.install
:notice:configure Log for ghc is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/main.log
configure complains that gcc-4.2 is not installed. Of course gcc-4.2 will
not build on Lion, so I'm not sure if a symlink is supposed to be in place
of what.
--
Ticket URL: <https://trac.macports.org/ticket/31781>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list