Subject: re: current toolchain build failure
To: Sean Davis <dive-nb@endersgame.net>
From: matthew green <mrg@eterna.com.au>
List: tech-toolchain
Date: 10/23/2002 00:03:38
   I have had this happen with both build.sh and build.sh -t. Did I miss
   something?
   
   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.


.mrg.