Subject: bin/4805: sh bug?
To: None <>
From: None <>
List: netbsd-bugs
Date: 01/11/1998 16:51:29
>Number:         4805
>Category:       bin
>Synopsis:       sh fails with a script that works w/ bash
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 11 15:05:00 1998
>Originator:     Ty Sarna
	Endicor Technologies, Inc., San Antonio, Texas
>Release:        1.3

System: NetBSD 1.3 NetBSD 1.3 (LOTHARON) #5: Mon Jan 5 21:41:37 CST 1998 sun3

	Python 1.5 includes a sh script used to build extension modules.
	This script presumably works on many different kinds of
	systems's /bin/sh's. It also works with bash.

	However, with NetBSD's sh, it fails with an error.
	Discovered while trying to pkgize NumPy extension.

	Get these files:

	Build Python. (Preferably after commiting it to pkgsrc/lang
	and enabling in pkgsrc/lang/Makefile, thereby closing PR#4763 :->)

 	Unpack NumPy somewhere. cd to the directory, and issue this
	command: (split below, run as one line)

		/usr/pkg/lib/python1.5/config/makesetup \
			-m \
			-c /usr/pkg/lib/python1.5/config/ \
			Setup -n /usr/pkg/lib/python1.5/config/Setup

	You'll get this error message:

		bad word *noconfig* in *noconfig*

	If the makesetup script is edited to use bash instead of sh,
	it works. It presumably runs just fine with /bin/sh on
	other OSes, though I've pretty much eradicated everything but
	NetBSD here, so I can't test :-)

	No clue.