Subject: toolchain/33673: KSH settings break `build tools'
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ogould@cs.stevens.edu>
List: netbsd-bugs
Date: 06/09/2006 00:20:01
>Number: 33673
>Category: toolchain
>Synopsis: KSH settings break `build tools'
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 09 00:20:00 +0000 2006
>Originator: Oliver Gould
>Release: NetBSD 3.99.20
>Organization:
>Environment:
NetBSD isla 3.99.20 NetBSD 3.99.20 (ENCANTA) #8: Fri May 19 12:11:36 EDT 2006 ver@isla:/usr/obj/sys/arch/i386/compile/ENCANTA i386
>Description:
I am using KSH, and have options set as follows:
$ set +o
set -o interactive -o monitor -o nohup -o posix -o stdin -o vi -o
vi-tabcomplete
when trying to re-build tools with:
$ ./build.sh -u -U -O obj tools
I get the following behavior while building groff:
[...]
dependall ===> groff
configure: WARNING: you should use --build, --host, --target
checking for vi-tabcomplete-gcc... cc
[...]
checking for vi-tabcomplete-g++... c++
[...]
checking for vi-tabcomplete-ranlib... ranlib
[...]
checking for vi-tabcomplete-gs... no
checking for vi-tabcomplete-gswin32c... no
checking for vi-tabcomplete-gsos2... no
[...]
configure: creating ./config.status
config.status: error: invalid argument: vi-tabcomplete
*** Failed target: .configure_done
*** Failed command: (cd build && CC=cc CFLAGS=-O CPPFLAGS=\
-I/usr/src/obj/tools
/compat\ -I/usr/src/obj/tools/compat/include\ \
-I/usr/src/tools/groff/../compat
\ -DHAVE_NBTOOL_CONFIG_H=1\ \ -D_FILE_OFFSET_BITS=64 CXX=c++
CXXFLAGS=-O INSTALL
=/usr/src/obj/tooldir.NetBSD-3.99.20-i386/bin/nbinstall\ -c\ -p\ -r
LDFLAGS= AR=
ar RANLIB=ranlib
LEX=/usr/src/obj/tooldir.NetBSD-3.99.20-i386/bin/nblex MAKE=/us
r/src/obj/tooldir.NetBSD-3.99.20-i386/bin/nbmake
PATH="/usr/src/obj/tooldir.NetB
SD-3.99.20-i386/bin:$PATH"
YACC=/usr/src/obj/tooldir.NetBSD-3.99.20-i386/bin/nby
acc sh /usr/src/tools/groff/../../gnu/dist/groff/configure --without-x
--prefix=
/usr/src/obj/tooldir.NetBSD-3.99.20-i386)
*** Error code 1
Stop.
nbmake: stopped in /usr/src/tools/groff
>How-To-Repeat:
$ /bin/ksh
$ set -o vi -o vi-tabcomplete
$ cd /usr/src
$ ./build -u -U -O obj tools
>Fix: