Subject: bin/14483: nbmake wrapper is used inapprpriately
To: None <gnats-bugs@gnats.netbsd.org>
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
>Closed-Date:
>Last-Modified:
>Originator: Robert Elz
>Release: NetBSD-current 20011105
>Organization:
University of Melbourne
>Environment:
System: NetBSD brandenburg.cs.mu.OZ.AU 1.5_BETA NetBSD 1.5_BETA (BRANDENBURG) #6: Sun Oct 14 19:40:40 ICT 2001 kre@brandenburg.cs.mu.OZ.AU:/usr/src/sys/arch/i386/compile/BRANDENBURG i386
Really on
System: NetBSD munnnari.cs.mu.OZ.AU 1.5R NetBSD 1.5R (MUNNNARI) #0: Thu Feb 15 16:25:51 EST 2001 kre@lavender.cs.mu.OZ.AU:/extra/Sys/arch/alpha/compile/MUNNNARI alpha
>Description:
if build.sh gets run with bad options, it builds an nbmake wrapper
script with those options - later invocations of build.sh (with the
options corrected) seem to ignore the options, and just use whatever
was in the nbmake wrapper.
>How-To-Repeat:
Avoid being root for this, or the thing just does what you told
it (I belive) instead of generating an error...
sh build.sh -T /junk/and/trash
(wait for error about no permission to make /junk ...)
sh build.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.
>Fix:
Workaround: edit the nbmake wrapper
Proper fix - for someone else (sorry).
>Release-Note:
>Audit-Trail:
>Unformatted: