Subject: bin/14483: nbmake wrapper is used inapprpriately
To: None <>
From: None <kre@munnari.OZ.AU>
List: netbsd-bugs
Date: 11/06/2001 17:40:51
>Number:         14483
>Category:       bin
>Synopsis:       new toolchain/build system: nbmake wrapper is used inapprpriately
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 06 02:40:00 PST 2001
>Originator:     Robert Elz
>Release:        NetBSD-current 20011105
	University of Melbourne
System: NetBSD 1.5_BETA NetBSD 1.5_BETA (BRANDENBURG) #6: Sun Oct 14 19:40:40 ICT 2001 i386

	Really on

System: NetBSD 1.5R NetBSD 1.5R (MUNNNARI) #0: Thu Feb 15 16:25:51 EST 2001 alpha

	if gets run with bad options, it builds an nbmake wrapper
	script with those options - later invocations of (with the
	options corrected) seem to ignore the options, and just use whatever
	was in the nbmake wrapper.

	Avoid being root for this, or the thing just does what you told
	it (I belive) instead of generating an error...

	sh -T /junk/and/trash
		(wait for error about no permission to make /junk ...)
	sh -T /usr/tools   (or whatever it should be)
		(wait for error about no permission to make /junk ...)

	I'm pretty sure it doesn't matter, but I was using the alpha system
	above (currently running 1.5R) to cross-compile -current for an i386.

	Workaround: edit the nbmake wrapper

	Proper fix - for someone else (sorry).