Can´t build gcc41
Jean-Philippe Humbert
Jean-Philippe.Humbert at gmx.de
Tue Jun 19 12:18:03 PDT 2007
Hi,
the following probleam appears when I try to install gcc41:
---> Verifying checksum(s) for gcc41
---> Extracting gcc41
---> Configuring gcc41
---> Building gcc41 with target profiledbootstrap
Error: Target com.apple.build returned: shell command " cd "/opt/
local/var/db/dports/build/_opt_local_var_db_dports_sour
ces_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc41/work/
build" && make profiledbootstrap " returned error 2
Command output: mv: rename objc/*.o to stage1/objc/*.o: No such file
or directory
make[2]: [objc.stage1] Error 1 (ignored)
mv objcp/*.o stage1/objcp
mv: rename objcp/*.o to stage1/objcp/*.o: No such file or directory
make[2]: [obj-c++.stage1] Error 1 (ignored)
for dir in . cp fortran java objc objcp build ; \
do \
rm -f $dir/*.{gcda,gcno} ; \
done
echo timestamp > stage1_copy
echo stage2_build > stage_last
make CC=" stage1/xgcc -Bstage1/ -B/opt/local/powerpc-apple-
darwin8.9.0/bin/" CC_FOR_BUILD=" stage1/xgcc -Bstage1/ -B/o
pt/local/powerpc-apple-darwin8.9.0/bin/" \
STAGE_PREFIX=stage1/ \
ADAFLAGS="" CFLAGS="-g -O2 -mdynamic-no-pic"
LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WAR
N="-pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-
definition -Wmissing-format-attribute " libdir=/opt/local/l
ib/gcc41 LANGUAGES="c gcov gcov-dump c++ fortran java objc obj-c++"
MAKEINFO="makeinfo --split-size=5000000" MAKEINFOFLA
GS="--no-split" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@" \
CFLAGS="-g -O2 -mdynamic-no-pic -
fprofile-generate"
gawk -f ../../gcc-4.1.2/gcc/opt-
gather.awk ../../gcc-4.1.2/gcc/fortran/lang.opt ../../gcc-4
.1.2/gcc/java/lang.opt ../../gcc-4.1.2/gcc/c.opt ../../gcc-4.1.2/gcc/
common.opt ../../gcc-4.1.2/gcc/config/rs6000/rs6000
.opt ../../gcc-4.1.2/gcc/config/darwin.opt ../../gcc-4.1.2/gcc/config/
rs6000/darwin.opt > tmp-optionlist
/bin/sh ../../gcc-4.1.2/gcc/../move-if-
change tmp-optionlist optionlist
optionlist is unchanged
echo timestamp > s-options
gawk -f ../../gcc-4.1.2/gcc/opt-
functions.awk -f ../../gcc-4.1.2/gcc/opth-gen.awk \
< optionlist > tmp-options.h
/bin/sh ../../gcc-4.1.2/gcc/../
move-if-change tmp-options.h options.h
options.h is unchanged
echo timestamp > s-options-h
stage1/xgcc -Bstage1/ -B/opt/
local/powerpc-apple-darwin8.9.0/bin/ -c -g -O2 -mdyna
mic-no-pic -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -pedantic -Wn
o-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-
format-attribute -DHAVE_CONFIG_H -DGENERATOR_FILE
-I. -Ibuild -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/build -I../../
gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../
libcpp/include -I/opt/local/include -I/opt/local/include -o build/
genmodes.o ../../gcc-4.1.2/gcc/genmodes.c
In file included from ../../
gcc-4.1.2/gcc/genmodes.c:23:
../../gcc-4.1.2/gcc/system.h:
396:20: error: malloc.h: No such file or directory
make[2]: *** [build/genmodes.o]
Error 1
make[1]: ***
[stageprofile_build] Error 2
make: *** [profiledbootstrap]
Error 2
Error: The following
dependencies failed to build: gnustep-back gnustep-gui gnustep-
base gnustep-make gcc41 gnutls libgcrypt libgpg-error libtasn1 lzo
opencdk libart_lgpl
Error: Status 1 encountered
during processing.
Jph at christel ~ % http://
www.chip.de/downloads/c1_downloads_27325308.html
zsh: no such file or directory:
http://www.chip.de/downloads/c1_downloads_27325308.h
tml
Jph at christel ~ % sudo port
install ArtResources Etoile GMastermind GMines GNUMail Hi
ghlighterKit Jigsaw KeyArcher PRICE Pantomine Performance
PreferencePanes ProjectCenter ProjectManager Renaissance SQLCl
ient TalkSoup WizardKit Yap.app gnustep gnustep-back gnustep-base
gnustep-core gnustep-dl2 gnustep-gui gnustep-make gnus
tep-make-cocoa gnustep-make-docs gorm gworkspace netclasses pdfkit
plconv system-preferences
Password:
---> Building gcc41 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_gcc41/work/build" && make profi
ledbootstrap " returned error 2
Command output: make[2]: Nothing
to be done for `all'.
make[1]: Nothing to be done for
`all'.
make[1]: Nothing to be done for
`all'.
make[2]: Nothing to be done for
`all'.
test -f config.h || (rm -f stamp-
h1 && make stamp-h1)
true "AR_FLAGS=rc"
"CC_FOR_BUILD=/usr/bin/gcc-4.0" "CFLAGS=-O2" "CXXFLAGS=-O2" "CFLA
GS_FOR_BUILD=-O2" "CFLAGS_FOR_TARGET=-O2 -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=-O2" "LIBCFLAGS_FOR_TARG
ET=-O2 -O2 " "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 "
"PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXP
ECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/opt/
local" "infodir=/opt/local/share/info" "libdir=/opt/loca
l/lib/gcc41" "prefix=/opt/local" "tooldir=/opt/local/powerpc-apple-
darwin8.9.0" "AR=ar" "AS=as" "CC=/usr/bin/gcc-4.0" "C
XX=/usr/bin/g++-4.0" "LD=ld" "LIBCFL
AGS=-O2" "NM=nm" "PICFLAG="
"RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
Bootstrapping training compiler
make CC=" stage1/xgcc -Bstage1/ -
B/opt/local/powerpc-apple-darwin8.9.0/bin/" CC_FOR_
BUILD=" stage1/xgcc -Bstage1/ -B/opt/local/powerpc-apple-darwin8.9.0/
bin/" \
STAGE_PREFIX=stage1/ \
ADAFLAGS=""
CFLAGS="-g -O2 -mdynamic-no-pic" LDFLAGS="" WARN_CFLAG
S="\$(GCC_WARN_CFLAGS)" STRICT_WARN="-pedantic -Wno-long-long -Wno-
variadic-macros -Wold-style-definition -Wmissing-form
at-attribute " libdir=/opt/local/lib/gcc41 LANGUAGES="c gcov gcov-
dump c++ fortran java objc obj-c++" MAKEINFO="makeinfo
--split-size=5000000" MAKEINFOFLAGS="--no-split" MAKEOVERRIDES=
OUTPUT_OPTION="-o \$@" \
CFLAGS="-g -O2 -mdynamic-no-pic -fprofile-generate"
stage1/xgcc -Bstage1/ -B/opt/local/powerpc-apple-darwin8.
9.0/bin/ -c -g -O2 -mdynamic-no-pic -fprofile-generate -DIN_GCC -
W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissi
ng-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-
style-definition -Wmissing-format-attribute -DHAVE
_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.1.2/gcc -I../../
gcc-4.1.2/gcc/build -I../../gcc-4.1.2/gcc/../includ
e -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/
local/include -o build/genmodes.o ../../gcc-4.1
.2/gcc/genmodes.c
In
file included from ../../gcc-4.1.2/gcc/genmodes.c:23:
../../
gcc-4.1.2/gcc/system.h:396:20: error: malloc.h: No
such file or directory
make
[2]: *** [build/genmodes.o] Error 1
make
[1]: *** [stageprofile_build] Error 2
make:
*** [profiledbootstrap] Error 2
Any idea?
thanks
// Jph
More information about the macports-users
mailing list