Subject: bin/14594: build of -current fails with build.sh
To: None <gnats-bugs@gnats.netbsd.org>
From: None <darrenr@reed.wattle.id.au>
List: netbsd-bugs
Date: 11/16/2001 09:23:14
>Number:         14594
>Category:       bin
>Synopsis:       build of -current fails with build.sh
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 15 14:24:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Darren Reed
>Release:        NetBSD-current 2001-11-15
>Organization:
	
>Environment:
	
System: NetBSD netbsd 1.5 NetBSD 1.5 (GENERIC) #13: Sat Nov 10 22:50:37 EST 2001 darrenr@netbsd:/usr/src/kame/netbsd/sys/arch/i386/compile/GENERIC i386


>Description:
building -current fails like this:
ln -s /data3/netbsd/src/tools/toolchain/../../gnu/dist/toolchain/gcc/../libibert
y/cplus-dem.c cxxmain.c
cc -c -DMAIN -DCROSS_COMPILE -DIN_GCC -DHAIFA   -O   -DHAVE_CONFIG_H    -I. -I/d
ata3/netbsd/src/tools/toolchain/../../gnu/dist/toolchain/gcc -I/data3/netbsd/src
/tools/toolchain/../../gnu/dist/toolchain/gcc/config -I/data3/netbsd/src/tools/t
oolchain/../../gnu/dist/toolchain/gcc/../include  -DVERSION=\"2.95.3\" cxxmain.c
cc -o c++filt -DCROSS_COMPILE -DIN_GCC -DHAIFA   -O   -DHAVE_CONFIG_H   cxxmain.
o underscore.o obstack.o        ../libiberty/libiberty.a
makeinfo   -I/data3/netbsd/src/tools/toolchain/../../gnu/dist/toolchain/gcc -o c
pp.info /data3/netbsd/src/tools/toolchain/../../gnu/dist/toolchain/gcc/cpp.texi
Making info file `cpp.info' from `/data3/netbsd/src/tools/toolchain/../../gnu/di
st/toolchain/gcc/cpp.texi'.
makeinfo   -I/data3/netbsd/src/tools/toolchain/../../gnu/dist/toolchain/gcc -o g
cc.info /data3/netbsd/src/tools/toolchain/../../gnu/dist/toolchain/gcc/gcc.texi
Making info file `gcc.info' from `/data3/netbsd/src/tools/toolchain/../../gnu/di
st/toolchain/gcc/gcc.texi'.
install ===> toolchain
cd: can't cd to build
*** Error code 2

Stop.
nbmake: stopped in /data3/netbsd/src/tools/toolchain
*** Error code 1

>How-To-Repeat:
use build.sh like this:
./build.sh -r -T /usr/obj/tools -D /usr/obj/dest -O /usr/obj/obj -a sparc -m sparc -R /usr/obj/release | & tee /tmp/build.log

with an /etc/mk.conf of this:

ACCEPTABLE_LICENSES+=no-commercial-use
ACCEPTABLE_LICENSES+=fee-based-commercial-use
ACCEPTABLE_LICENSES+=shareware
MKOBJ=yes
DESTDIR=/usr/obj/root
#BSDSRCDIR=/data3/netbsd/src
UPDATE=1
MKTOOLS=yes
USETOOLS=yes
USE_NEW_TOOLCHAIN=yes
TOOLDIR=/usr/obj/tool
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: