[Kolab-devel] bash in gcc build can not find stage2/xgcc
Richard Bos
radoeka at xs4all.nl
Tue Jan 4 07:07:01 CET 2005
[I did not get an answer on the kolab-user ML, hopefully someone from
kolab-devel can help]
I attempted to build|install kolab beta2. I retrieved all the files from
http://www.fruitsalad.org/kolab/server/beta/kolab-server-2.0-beta-1/sources/
I started the build with 'obmtool kolab' (after giving the obmtool script exec
permission).
The build fails with:
/tmp # cat obmtool-db-4.2.52.2-2.2.0.rebuild.log
error: Failed build dependencies:
gcc is needed by db-4.2.52.2-2.2.0
Installing /kolab/RPM/PKG/db-4.2.52.2-2.2.0.src.rpm
/tmp # /kolab/bin/openpkg rpm -q gcc
package gcc is not installed
The bottom of the gcc rebuild log file contains:
............
stage2/xgcc -Bstage2/ -B/kolab/i686-pc-linux-gnu/bin/ -pipe -O2
-fomit-frame-pointer -funroll-loops -mtune=pentium3 -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE
-o genmodes \
genmodes.o errors.o ../libiberty/libiberty.a
/kolab/lib/openpkg/bash: stage2/xgcc: No such file or directory
make[4]: *** [genmodes] Error 127
make[3]: *** [stage3_build] Error 2
make[2]: *** [quickstrap] Error 2
make[1]: *** [all-gcc] Error 2
make: *** [bootstrap-lean] Error 2
error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.14989 (%build)
RPM build errors:
---------------------------------
3142:/kolab/bin/make --no-print-directory CC=" stage2/xgcc -Bstage2/
-B/kolab/i686-pc-linux-gnu/bin/" CC_FOR_BUILD=" stage2/xgcc -Bstage2/
-B/kolab/i686-pc-linux-gnu/bin/" \
3146:stage2/xgcc -Bstage2/ -B/kolab/i686-pc-linux-gnu/bin/ -pipe -O2
-fomit-frame-pointer -funroll-loops -mtune=pentium3 -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE
-o genmodes \
3147: genmodes.o errors.o ../libiberty/libiberty.a
3148:/kolab/lib/openpkg/bash: stage2/xgcc: No such file or directory
/kolab # find | grep "stage2/xgcc"
Is this a problem with the gcc build tool? Why /kolab/lib/openpkg/bash not
able to find stage2/xgcc. Is it looking in the wrong place?
--
Richard Bos
Without a home the journey is endless
More information about the devel
mailing list