Subject: re: current toolchain build failure
To: Sean Davis <>
From: matthew green <>
List: tech-toolchain
Date: 10/23/2002 00:03:38
   I have had this happen with both and -t. Did I miss
   The directory /disk2/f/bsdobj/tools/toolchain.i386/build/gcc/include does
   not exist..
   if [ -f gcov ];  then  rm -f /disk2/f/tools/bin/gcov;
   /disk2/f/tools/bin/nbinstall -c  -r  gcov
   /disk2/f/tools/bin/`t='s,^,i386--netbsdelf-,'; echo gcov | sed -e $t;  fi
   rm -rf /disk2/f/tools/lib/gcc-lib/i386--netbsdelf/2.95.3/include
   mkdir /disk2/f/tools/lib/gcc-lib/i386--netbsdelf/2.95.3/include
   chmod a+rx /disk2/f/tools/lib/gcc-lib/i386--netbsdelf/2.95.3/include
   (cd `pwd`/include ;  tar -cf - .; exit 0) | (cd
   /disk2/f/tools/lib/gcc-lib/i386--netbsdelf/2.95.3/include; tar xpBf - )
   cd: can't cd to /disk2/f/bsdobj/tools/toolchain.i386/build/gcc/include
   tar: Sorry, unable to determine archive format.
   *** Error code 1

this also happened to be doing sparc64->alpha.  i worked around it by
running "make fixinc-stmp" or something else in gcc's subdir and
restarting by build with NOCLEANDIR.... the real solution would probably
be to make the code that does the above not run at all as we shouldn't
need any fixinc stuff for native netbsd builds.