NetBSD Problem Report #18326

Received: (qmail 26075 invoked by uid 605); 18 Sep 2002 08:19:50 -0000
Message-Id: <200209180819.g8I8Jnn15351@motherhouse.talamasca.com>
Date: Wed, 18 Sep 2002 01:19:49 -0700 (PDT)
From: Nick Cuccia <cuccia@Talamasca.COM>
Sender: gnats-bugs-owner@netbsd.org
Reply-To: cuccia@Talamasca.COM
To: gnats-bugs@gnats.netbsd.org
Subject: Make fails in /usr/src/usr.sbin due to buggy Makefile conditionals
X-Send-Pr-Version: 3.95

>Number:         18326
>Category:       bin
>Synopsis:       Make fails in /usr/src/usr.sbin due to buggy Makefile conditionals
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 18 08:20:00 +0000 2002
>Closed-Date:    Thu Jan 16 00:12:56 +0000 2003
>Last-Modified:  Thu Jan 16 00:12:56 +0000 2003
>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:
State-Changed-From-To: open->closed 
State-Changed-By: kristerw 
State-Changed-When: Wed Jan 15 16:12:00 PST 2003 
State-Changed-Why:  
This has been fixed some time ago (by conditionally defining TOOLCHAIN_MISSING 
in bsd.own.mk). Please note that you might need to install the .mk files 
in /usr/share/mk for this to work, depending on how you have set up 
your build environment. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.