Subject: toolchain/19914: NetBSD 1.6_STABLE toolchain fails to build
To: None <gnats-bugs@gnats.netbsd.org>
From: Julio Merino <jmmv@menta.net>
List: netbsd-bugs
Date: 01/18/2003 23:02:23
>Number:         19914
>Category:       toolchain
>Synopsis:       NetBSD 1.6_STABLE toolchain fails to build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 18 13:57:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Julio Merino
>Release:        NetBSD 1.6L
>Organization:
>Environment:
	
	
System: NetBSD darkstar 1.6L NetBSD 1.6L (DARKSTAR) #188: Sat Jan 11 11:29:29 CET 2003 sysbuild@darkstar:/var/build/current/kernel/DARKSTAR i386
Architecture: i386
Machine: i386
>Description:
	When building a NetBSD-1.6_STABLE toolchain (with sources of
	2003/01/17, it fails because of a missing directory. (I'm building
	from current, 1.6L, on an i386).

	The command was:
	./build.sh -t -U -u -T ~/test/tools -O ~/test/obj

	Everything went fine until the build reached this point:

[...]
rm -f /home/jmmv/test/tools/lib/gcc-lib/i386--netbsdelf/2.95.3/cpp0
/home/jmmv/test/tools/bin/nbinstall -c -p -r  cpp0 /home/jmmv/test/tools/lib/gcc-lib/i386--netbsdelf/2.95.3/cpp0
if [ -f gcov ];  then  rm -f /home/jmmv/test/tools/bin/gcov;  /home/jmmv/test/tools/bin/nbinstall -c -p -r  gcov /home/jmmv/test/tools/bin/`t='s,^,i386--netbsdelf-,'; echo gcov | sed -e $t`;  fi
rm -rf /home/jmmv/test/tools/lib/gcc-lib/i386--netbsdelf/2.95.3/include
mkdir /home/jmmv/test/tools/lib/gcc-lib/i386--netbsdelf/2.95.3/include
chmod a+rx /home/jmmv/test/tools/lib/gcc-lib/i386--netbsdelf/2.95.3/include
(cd `pwd`/include ;  tar -cf - .; exit 0) | (cd /home/jmmv/test/tools/lib/gcc-lib/i386--netbsdelf/2.95.3/include; tar xpBf - )
cd: can't cd to /home/jmmv/test/obj/tools/toolchain/build/gcc/include
tar: Sorry, unable to determine archive format.
*** Error code 1

Stop.
nbmake: stopped in /home/jmmv/test/obj/tools/toolchain/build/gcc
*** Error code 1

	Creating the /home/jmmv/test/obj/tools/toolchain/build/gcc/include
	by hand solves the problem.
>How-To-Repeat:
	As described above.
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: