Subject: bin/18326:
To: None <gnats-bugs@gnats.netbsd.org>
From: Nick Cuccia <cuccia@Talamasca.COM>
List: netbsd-bugs
Date: 09/18/2002 01:19:49
>Number: 18326
>Category: bin
>Synopsis:
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 18 01:20:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Nick Cuccia
>Release: NetBSD 1.6H
>Organization:
The Talamasca. We watch. And we are always here.
>Environment:
System: NetBSD motherhouse 1.6H NetBSD 1.6H (NTALAMASCA) #0: Tue Sep 17 12:57:36 PDT 2002 cuccia@motherhouse:/build/src/sys/arch/i386/compile/NTALAMASCA i386
Architecture: i386
Machine: i386
>Description:
Attempts to 'make build' in /usr/src due to buggy conditionals in
/usr/src/usr.sbin/Makefile.
>How-To-Repeat:
# cd /usr/src/usr.sbin
# make clean
>Fix:
The following patch corrects the problematic conditional.
--- Makefile.orig Wed Sep 18 00:34:44 2002
+++ Makefile Wed Sep 18 01:02:45 2002
@@ -28,7 +28,7 @@
SUBDIR+= rpc.yppasswdd ypbind yppoll ypserv ypset
.endif
-.if ${TOOLCHAIN_MISSING} == "yes"
+.if defined(TOOLCHAIN_MISSING) && ${TOOLCHAIN_MISSING} == "yes"
SUBDIR+= mdsetimage
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
no
Make fails in /usr/src/usr.sbin due to buggy Makefile conditionals
serious
high
sw-bug