Subject: toolchain/22072: build.sh fails on i386
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kei_sun@ba2.so-net.ne.jp>
List: netbsd-bugs
Date: 07/06/2003 20:23:51
>Number:         22072
>Category:       toolchain
>Synopsis:       build.sh fails at building groff on i386
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 06 11:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     SUNAGAWA Keiki
>Release:        NetBSD 1.6U
>Organization:
individual
	
>Environment:
System: NetBSD sara.machdep.org 1.6U NetBSD 1.6U (SARA) #0: Sat Jul 5 01:21:30 JST 2003 kei@sara.machdep.org:/home/NetBSD-cvs/src/sys/arch/i386/compile/SARA i386
Architecture: i386
Machine: i386
>Description:
	build.sh fails when it attenpts to dependall on groff.  Note that
	I actually got similar result before the recent groff update.
>How-To-Repeat:

	- I do not use -j option.

	- did below as root.
	
	cd /usr/src
	sh build.sh -B DATE_2003-07-05_UTC \
	    -D /home/destdir/i386/DATE_2003-07-05_UTC \
	    -O /home/obj/i386/DATE_2003-07-05_UTC \
	    -R /home/releasedir/DATE_2003-07-05_UTC \
	    -T /home/tooldir/i386 release

	- and got the result.  It was same when I did cross-build.

	dependall ===> groff
	checking for gcc... cc
	checking for C compiler default output... a.out
	checking whether the C compiler works... yes
	checking whether we are cross compiling... no
	checking for suffix of executables... 
	checking for suffix of object files... o
	checking whether we are using the GNU C compiler... yes
	checking whether cc accepts -g... yes
	checking for cc option to accept ANSI C... none needed
	checking whether we are using the GNU C++ compiler... yes
	checking whether c++ accepts -g... yes
	checking that C++ compiler can compile simple program... yes
	checking that C++ static constructors and destructors are called... no
	configure: error: a working C++ compiler is required
	*** Error code 1

	Stop.
	nbmake: stopped in /home/NetBSD-cvs/src/tools/groff
	*** Error code 1

	Stop.
	nbmake: stopped in /home/NetBSD-cvs/src/tools/groff
	*** Error code 1

	Stop.
	nbmake: stopped in /home/NetBSD-cvs/src/tools
	*** Error code 1

	Stop.
	nbmake: stopped in /home/NetBSD-cvs/src
	*** Error code 1

	Stop.
	nbmake: stopped in /home/NetBSD-cvs/src
	*** Error code 1

	Stop.
	nbmake: stopped in /home/NetBSD-cvs/src

	ERROR: Failed to make release



>Fix:
	sorry, not known.
>Release-Note:
>Audit-Trail:
>Unformatted:
 	userland binaries are as of Feb. 19 and source tree is just updated.