Subject: port-sparc64/17668: [dM] sparc64 self-build dies
To: None <>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: netbsd-bugs
Date: 07/21/2002 21:23:09
>Number:         17668
>Category:       port-sparc64
>Synopsis:       [dM] sparc64 self-build dies
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 21 12:25:00 PDT 2002
>Originator:     der Mouse
>Release:        NetBSD 1.6A
	(This is the OS running on the machine; it came from the latest
	sparc64 snapshot.)
System: NetBSD 1.6A NetBSD 1.6A (GENERIC) #0: Mon May 27 22:43:53 PDT 2002 sparc64
Architecture: sparc64
Machine: sparc64
>Description: starts to run but falls over with
		dependall ===> toolchain
		cd /usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/objc;  true  -o objc-parse.c objc-parse.y
		gperf -L C -F ', 0, 0' -p -j1 -i 1 -g -o -t -G -N is_reserved_word  -k1,3,$ /usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/c-parse.gperf >tmp-gperf.h
		gperf: not found
		*** Error code 127
		nbmake: stopped in /usr/obj/tools/toolchain/build/gcc
		*** Error code 1
	followed by the usual cascade of "stopped in"/"Error code"/"Stop"
	lines for directories walking up the make recursion tree.
	rm -f /usr/obj
	mkdir /usr/obj
	cd /usr/src
	./ -O /usr/obj
	Not sure.  mrg said something on the list about touching the
	file gperf is trying to rebuild, but it's not clear how/when to
	do that at the right time, or alternatively how to restart the run after a failure partway through.  (For that
	matter, it's not even clear where the file is; the command
	tries to create tmp-gperf.h, and the previous command deals
	with objc/objc-parse.[cy], but none of those are there in
	/usr/obj/tools/toolchain/build/gcc - yet when I "make" there
	manually, it charges ahead without apparently noticing the
	missing tmp-gperf.h.)

	I'm going to be poking around more, but don't want to delay
	sending-pr this much longer.  I'm having other trouble building
	the pieces of my environment.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
 	Source tree fetched from anoncvs starting at approximately
 	2002-07-20 01:00 UTC.  Apparently identical symptoms occurred
 	with a source tree a few days older, but I don't have a date
 	for that one.  If anyone cares to name a reasonably small subset
 	of files, I can give their exact version numbers or even whole
 	$NetBSD$ lines.