Subject: more bad toolchain build mojo
To: None <current-users@netbsd.org, tech-toolchain@netbsd.org>
From: Rafal Boni <rafal@attbi.com>
List: tech-toolchain
Date: 10/30/2002 14:13:57
So I fixed one bug that kept causing my toolchain build to die, and now I'm
stuck again, this time installing the newly build toolchain -- it now croaks
attempting to install headers from `<toolchain-objdir>/build/gcc/include'.
Unfortunately, there isn't an include dir in there, so it dies... The tail
of my build log is attached below; anyone have any clue if the bug is that
the include directory isn't there, or if the bug is that it's attemping to
use the include directory when we fully expect it not to be there?
Thanks for any hints,
--rafal
for file in cc1 cc1plus f771 cc1obj; do if [ -f $file ] ; then rm -f /usr/rafal/netbsd-tools/lib/gcc-lib/i386--netbsdelf/2.95.3/$file; /usr/rafal/netbsd-tools/bin/nbinstall -c -r $file /usr/rafal/netbsd-tools/lib/gcc-lib/i386--netbsdelf/2.95.3/$file; else true; fi; done
for file in collect2 ..; do if [ x"$file" != x.. ]; then rm -f /usr/rafal/netbsd-tools/lib/gcc-lib/i386--netbsdelf/2.95.3/$file; /usr/rafal/netbsd-tools/bin/nbinstall -c -r $file /usr/rafal/netbsd-tools/lib/gcc-lib/i386--netbsdelf/2.95.3/$file; else true; fi; done
for file in ..; do if [ x"$file" != x.. ]; then rm -f /usr/rafal/netbsd-tools/lib/gcc-lib/i386--netbsdelf/2.95.3/$file; /usr/rafal/netbsd-tools/bin/nbinstall -c -r -m 644 $file /usr/rafal/netbsd-tools/lib/gcc-lib/i386--netbsdelf/2.95.3/$file; chmod a-x /usr/rafal/netbsd-tools/lib/gcc-lib/i386--netbsdelf/2.95.3/$file; else true; fi; done
if [ -f specs ] ; then rm -f /usr/rafal/netbsd-tools/lib/gcc-lib/i386--netbsdelf/2.95.3/specs; /usr/rafal/netbsd-tools/bin/nbinstall -c -r -m 644 specs /usr/rafal/netbsd-tools/lib/gcc-lib/i386--netbsdelf/2.95.3/specs; chmod a-x /usr/rafal/netbsd-tools/lib/gcc-lib/i386--netbsdelf/2.95.3/specs; fi
if [ -f protoize ]; then if [ -f gcc-cross ] ; then rm -f /usr/rafal/netbsd-tools/bin/`t='s,^,i386--netbsdelf-,'; echo protoize | sed -e $t`; /usr/rafal/netbsd-tools/bin/nbinstall -c -r protoize /usr/rafal/netbsd-tools/bin/`t='s,^,i386--netbsdelf-,'; echo protoize | sed -e $t`; rm -f /usr/rafal/netbsd-tools/bin/`t='s,^,i386--netbsdelf-,'; echo unprotoize | sed -e $t`; /usr/rafal/netbsd-tools/bin/nbinstall -c -r unprotoize /usr/rafal/netbsd-tools/bin/`t='s,^,i386--netbsdelf-,'; echo unprotoize | sed -e $t`; else rm -f /usr/rafal/netbsd-tools/bin/`t='s,^,i386--netbsdelf-,'; echo protoize | sed -e $t`; /usr/rafal/netbsd-tools/bin/nbinstall -c -r protoize /usr/rafal/netbsd-tools/bin/`t='s,^,i386--netbsdelf-,'; echo protoize | sed -e $t`; rm -f /usr/rafal/netbsd-tools/bin/`t='s,^,i386--netbsdelf-,'; echo unprotoize | sed -e $t`; /usr/rafal/netbsd-tools/bin/nbinstall -c -r unprotoize /usr/rafal/netbsd-tools/bin/`t='s,^,i386--netbsdelf-,'; echo unprotoize | sed -!
e $t`; fi ; rm -f /usr/rafal/netbsd-tools/lib/gcc-lib/i386--netbsdelf/2.95.3/SYSCALLS.c.X; /usr/rafal/netbsd-tools/bin/nbinstall -c -r -m 644 SYSCALLS.c.X /usr/rafal/netbsd-tools/lib/gcc-lib/i386--netbsdelf/2.95.3/SYSCALLS.c.X; chmod a-x /usr/rafal/netbsd-tools/lib/gcc-lib/i386--netbsdelf/2.95.3/SYSCALLS.c.X; fi
rm -f /usr/rafal/netbsd-tools/lib/gcc-lib/i386--netbsdelf/2.95.3/cpp0
/usr/rafal/netbsd-tools/bin/nbinstall -c -r cpp0 /usr/rafal/netbsd-tools/lib/gcc-lib/i386--netbsdelf/2.95.3/cpp0
if [ -f gcov ]; then rm -f /usr/rafal/netbsd-tools/bin/gcov; /usr/rafal/netbsd-tools/bin/nbinstall -c -r gcov /usr/rafal/netbsd-tools/bin/`t='s,^,i386--netbsdelf-,'; echo gcov | sed -e $t`; fi
rm -rf /usr/rafal/netbsd-tools/lib/gcc-lib/i386--netbsdelf/2.95.3/include
mkdir /usr/rafal/netbsd-tools/lib/gcc-lib/i386--netbsdelf/2.95.3/include
chmod a+rx /usr/rafal/netbsd-tools/lib/gcc-lib/i386--netbsdelf/2.95.3/include
(cd `pwd`/include ; tar -cf - .; exit 0) | (cd /usr/rafal/netbsd-tools/lib/gcc-lib/i386--netbsdelf/2.95.3/include; tar xpBf - )
cd: can't cd to /usr/rafal/netbsd-src/tools/toolchain/obj/build/gcc/include
tar: Sorry, unable to determine archive format.
*** Error code 1
Stop.
nbmake: stopped in /usr/rafal/netbsd-src/tools/toolchain/obj/build/gcc
*** Error code 1
----
Rafal Boni rafal@attbi.com
We are all worms. But I do believe I am a glowworm. -- Winston Churchill