Subject: nuked into the stone age -- broken build bootstrap
To: None <current-users@netbsd.org>
From: Wolfgang S. Rupprecht <wolfgang+gnus20040306T194636@dailyplanet.dontspam.wsrcc.com>
List: current-users
Date: 03/06/2004 19:57:29
Date: Sat, 06 Mar 2004 19:57:29 -0800
Message-ID: <x7smgltil2.fsf@capsicum.wsrcc.com>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: current-users-owner@NetBSD.org


Looks like my last-week's -current can't build this week's -current.
Is there a simple way to tell it to forget about groff and just build
a C compiler/libs that work?

-wolfgang

    ./build.sh -U tools kernel=WSRCC_ATHLON distribution
    ...
    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... no
    configure: error: a working C++ compiler is required

    *** Failed target:  .configure_done
    *** Failed command: (cd build && CC=cc CFLAGS=-O CPPFLAGS=\ -I/v/src/netbsd/src/tools/compat/obj\ -I/v/src/netbsd/src/tools/compat/obj/include\ \ -I/v/src/netbsd/src/tools/groff/../compat\ -DHAVE_NBTOOL_CONFIG_H=1\ \ -D_FILE_OFFSET_BITS=64\ -D_NETBSD_SOURCE CXX=c++ CXXFLAGS=-O INSTALL=/usr/src/obj/tooldir.NetBSD-1.6ZK-i386/bin/nbinstall\ -c\ \ -r LDFLAGS= LEX=/usr/src/obj/tooldir.NetBSD-1.6ZK-i386/bin/nblex PATH="/usr/src/obj/tooldir.NetBSD-1.6ZK-i386/bin:$PATH" YACC=/usr/src/obj/tooldir.NetBSD-1.6ZK-i386/bin/nbyacc sh /v/src/netbsd/src/tools/groff/../../gnu/dist/groff/configure --prefix=/usr/src/obj/tooldir.NetBSD-1.6ZK-i386)
    *** Error code 1

    Stop.
    nbmake: stopped in /v/src/netbsd/src/tools/groff

    *** Failed target:  dependall
    *** Failed command: cd /v/src/netbsd/src/tools/groff; /usr/src/obj/tooldir.NetBSD-1.6ZK-i386/bin/nbmake realall
    *** Error code 1

    Stop.
    nbmake: stopped in /v/src/netbsd/src/tools/groff

    *** Failed target:  dependall-groff
    *** Failed command: targ=dependall;dir=groff; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /usr/src/obj/tooldir.NetBSD-1.6ZK-i386/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> $dir"; cd "/v/src/netbsd/src/tools/$dir"; /usr/src/obj/tooldir.NetBSD-1.6ZK-i386/bin/nbmake "_THISDIR_=$dir/" $targ; ;; esac
    *** Error code 1

    Stop.
    nbmake: stopped in /v/src/netbsd/src/tools

    ERROR: Failed to make tools
    *** BUILD ABORTED ***