gcc44 build fail (Lion GM, Xcode 4.1 DP5)
Faisal Moledina
faisal.moledina at gmail.com
Fri Jul 8 17:18:58 PDT 2011
Hey all,
Just wanted to test the waters for MacPorts on Lion GM and Xcode 4.1
Developer Preview 5. I'm not sure what the current stance is on
MacPorts and migrating to Lion/Xcode 4 but I'm willing to test ports
and report bugs if there is interest from port maintainers.
Currently while trying to compile gcc44, I get the following error:
:info:build checking for x86_64-apple-darwin11-gcc...
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc44/gcc44/work/build/./gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc44/gcc44/work/build/./gcc/
-B/opt/local/x86_64-apple-darwin11/bin/
-B/opt/local/x86_64-apple-darwin11/lib/ -isystem
/opt/local/x86_64-apple-darwin11/include -isystem
/opt/local/x86_64-apple-darwin11/sys-include
:info:build checking for suffix of object files... configure: error:
in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc44/gcc44/work/build/x86_64-apple-darwin11/libgcc':
:info:build configure: error: cannot compute suffix of object files:
cannot compile
:info:build See `config.log' for more details.
:info:build make[2]: *** [configure-stage1-target-libgcc] Error 1
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc44/gcc44/work/build'
:info:build make[1]: *** [stage1-bubble] Error 2
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc44/gcc44/work/build'
:info:build make: *** [bootstrap] Error 2
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc44/gcc44/work/build'
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc44/gcc44/work/build"
&& /usr/bin/make -j2 -w bootstrap BOOT_CFLAGS="-O2 -g
-D_FORTIFY_SOURCE=0" STAGE1_CFLAGS="-O2 -fkeep-inline-functions
-D_FORTIFY_SOURCE=0 -std=gnu89" " returned error 2
:error:build Target org.macports.build returned: shell command failed
(see log for details)
:debug:build Backtrace: shell command failed (see log for details)
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for gcc44):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
:error:build Failed to install gcc44
The entire main.log is posted at http://pastebin.com/WCB6TRcn . If
there's a go-ahead on the mailing list, I'll create a ticket for it.
Faisal
More information about the macports-users
mailing list