port install gcc40 or gcc41 fails

RenĂ© Donner <[email protected]> Thu, 31 Aug 2006 23:49:59 +0200
Newsgroups gmane.os.opendarwin.darwinports
Message-ID <[email protected]>
hi everybody!

I am trying to install py-scipy04, which depends on gcc40. trying to  
install either of the two results in the first output shown below  
(internal compiler error). i am using the stock i686-apple-darwin8- 
gcc-4.0.1 on a macbook pro und just ran selfupdate.

i then tried changing the scipy Portfile to depend on gcc41, but  
installing gcc41 doesn't work either, resulting in output #2   (no  
direct compiler error message apparent to me)

i even tried to reinstall the xcode tools, which made no difference.

any hints on what i could try would be highly appreciated! thanks a lot!

rene

-------------------
output #1, trying gcc40


mia:~ rene$ sudo port install gcc40
Password:
--->  Building gcc40 with target profiledbootstrap
Error: Target com.apple.build returned: shell command "cd "/opt/local/ 
var/db/dports/build/ 
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp 
orts_lang_gcc40/work/build" && make profiledbootstrap -j 2" returned  
error 2
Command output: make[2]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
true "AR_FLAGS=rc" "CC_FOR_BUILD=/usr/bin/gcc-4.0" "CFLAGS=-g -O2"  
"CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -O2"  
"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" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 - 
g -O2" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 "  
"PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect"  
"RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/opt/local" "infodir=/ 
opt/local/share/info" "libdir=/opt/local/lib/gcc40" "prefix=/opt/ 
local" "tooldir=/opt/local/i386-apple-darwin8.7.1" "AR=ar" "AS=as"  
"CC=/usr/bin/gcc-4.0" "CXX=/usr/bin/g++-4.0" "LD=ld" "LIBCFLAGS=-g - 
O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
make[2]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
Bootstrapping training compiler
make CC=" stage1/xgcc -Bstage1/ -B/opt/local/i386-apple-darwin8.7.1/ 
bin/" CC_FOR_BUILD=" stage1/xgcc -Bstage1/ -B/opt/local/i386-apple- 
darwin8.7.1/bin/" \
          STAGE_PREFIX=stage1/ \
          ADAFLAGS="" CFLAGS="-O2 -g -fomit-frame-pointer" LDFLAGS=""  
WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WARN="-pedantic -Wno-long- 
long -Wno-variadic-macros -Wold-style-definition " libdir=/opt/local/ 
lib/gcc40 LANGUAGES="c gcov gcov-dump c++ f95 java objc"  
MAKEINFO="makeinfo --split-size=5000000" MAKEINFOFLAGS="--no-split"  
MAKEOVERRIDES= OUTPUT_OPTION="-o \$@" \
          CFLAGS="-O2 -g -fomit-frame-pointer -fprofile-generate"
stage1/xgcc -Bstage1/ -B/opt/local/i386-apple-darwin8.7.1/bin/ -c   - 
O2 -g -fomit-frame-pointer -fprofile-generate -DIN_GCC   -W -Wall - 
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic - 
Wno-long-long -Wno-variadic-macros -Wold-style-definition     - 
DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/opt/local/var/db/ 
dports/build/ 
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp 
orts_lang_gcc40/work/gcc-4.0.3/gcc -I/opt/local/var/db/dports/build/ 
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp 
orts_lang_gcc40/work/gcc-4.0.3/gcc/build -I/opt/local/v