I try to install GCC43 on my OS X 10.6. When doing so I encounter the following error:

wlan-44-86:~ toom$ sudo port install gcc43
--->  Computing dependencies for gcc43
--->  Building gcc43
Error: Target org.macports.build returned: shell command failed (see log for details) Log for gcc43 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>


So having a look into the main.log tells me
wlan-44-86:~ toom$ tail -n 100 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/main.log
...
:info:build /usr/bin/make "DESTDIR=" "RPATH_ENVVAR=DYLD_LIBRARY_PATH" "TARGET_SUBDIR=x86_64-apple-darwin10" "bindir=/opt/local/bin" "datadir=/opt/local/share" "exec_prefix=/opt/local" "includedir=/opt/local/include/gcc43" "datarootdir=/opt/local/share" "docdir=/opt/local/share/doc" "infodir=/opt/local/share/info" "pdfdir=/opt/local/share/doc" "htmldir=/opt/local/share/doc" "libdir=/opt/local/lib/gcc43" "libexecdir=/opt/local/libexec" "lispdir=" "localstatedir=/opt/local/var" "mandir=/opt/local/share/man" "oldincludedir=/usr/include" "prefix=/opt/local" "sbindir=/opt/local/sbin" "sharedstatedir=/opt/local/com" "sysconfdir=/opt/local/etc" "tooldir=/opt/local/x86_64-apple-darwin10" "build_tooldir=/opt/local/x86_64-apple-darwin10" "target_alias=x86_64-apple-darwin10" "BISON=bison" "CC_FOR_BUILD=/usr/bin/gcc-4.2" "CFLAGS_FOR_BUILD=-pipe -O2" "CXX_FOR_BUILD=/usr/bin/g++-4.2" "EXPECT=expect" "FLEX=flex" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LEX=flex" "M4=gm4" "MAKE=/usr/bin/make" "RUNTEST=runtest" "RUNTESTFLAGS=" "SHELL=/bin/sh" "YACC=bison -y" "`echo 'ADAFLAGS=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "AR_FLAGS=rc" "`echo 'BOOT_ADAFLAGS=-gnatpg -gnata' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "BOOT_CFLAGS=-g -O2" "BOOT_LDFLAGS=" "CFLAGS=-pipe -O2" "CXXFLAGS=-pipe -O2" "LDFLAGS=-L/opt/local/lib" "LIBCFLAGS=-pipe -O2" "LIBCXXFLAGS=-pipe -O2 -fno-implicit-templates" "STAGE1_CFLAGS=-g -fkeep-inline-functions" "STAGE1_CHECKING=--enable-checking=yes,types" "STAGE1_LANGUAGES=c" "STAGE2_CFLAGS=-g -O2" "STAGE3_CFLAGS=-g -O2" "STAGE4_CFLAGS=-g -O2" "GNATBIND=no" "GNATMAKE=no" "AR_FOR_TARGET=/usr/bin/ar" "AS_FOR_TARGET=/usr/bin/as" "CC_FOR_TARGET=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin10/bin/ -B/opt/local/x86_64-apple-darwin10/lib/ -isystem /opt/local/x86_64-apple-darwin10/include -isystem /opt/local/x86_64-apple-darwin10/sys-include" "CFLAGS_FOR_TARGET=-O2 -g -pipe -O2 " "CPPFLAGS_FOR_TARGET=" "CXX_FOR_TARGET=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./gcc/g++ -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./gcc/ -nostdinc++ -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/x86_64-apple-darwin10/libstdc++-v3/src -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/x86_64-apple-darwin10/libstdc++-v3/src/.libs -B/opt/local/x86_64-apple-darwin10/bin/ -B/opt/local/x86_64-apple-darwin10/lib/ -isystem /opt/local/x86_64-apple-darwin10/include -isystem /opt/local/x86_64-apple-darwin10/sys-include" "CXXFLAGS_FOR_TARGET=-O2 -g -pipe -O2 " "DLLTOOL_FOR_TARGET=dlltool" "GCJ_FOR_TARGET=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./gcc/gcj -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin10/bin/ -B/opt/local/x86_64-apple-darwin10/lib/ -isystem /opt/local/x86_64-apple-darwin10/include -isystem /opt/local/x86_64-apple-darwin10/sys-include" "GFORTRAN_FOR_TARGET=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./gcc/gfortran -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin10/bin/ -B/opt/local/x86_64-apple-darwin10/lib/ -isystem /opt/local/x86_64-apple-darwin10/include -isystem /opt/local/x86_64-apple-darwin10/sys-include" "LD_FOR_TARGET=/usr/bin/ld" "LIPO_FOR_TARGET=lipo" "LDFLAGS_FOR_TARGET=" "LIBCFLAGS_FOR_TARGET=-O2 -g -pipe -O2 " "LIBCXXFLAGS_FOR_TARGET=-O2 -g -pipe -O2 -fno-implicit-templates" "NM_FOR_TARGET=/usr/bin/nm" "OBJDUMP_FOR_TARGET=/usr/bin/objdump" "RANLIB_FOR_TARGET=/usr/bin/ranlib -c" "STRIP_FOR_TARGET=/usr/bin/strip" "WINDRES_FOR_TARGET=windres" "WINDMC_FOR_TARGET=windmc" "`echo 'LANGUAGES=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "LEAN=false" "CONFIG_SHELL=/bin/sh" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000" compare
:info:build rm -f stage_current
:info:build Comparing stages 2 and 3
:info:build warning: ./cc1-checksum.o differs
:info:build warning: ./cc1obj-checksum.o differs
:info:build warning: ./cc1objplus-checksum.o differs
:info:build warning: ./cc1plus-checksum.o differs
:info:build Bootstrap comparison failure!
:info:build ./java/jcf-io.o differs
:info:build make[2]: *** [compare] Error 1
:info:build make[1]: *** [stage3-bubble] Error 2
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build" && /usr/bin/make -j2 all " 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 gcc43): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for gcc43 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/main.log

What do I have to do to repair this problem?
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to