Subject: lib/8187: 'make includes' on 1.4 box fails from -current sources
To: None <>
From: None <>
List: netbsd-bugs
Date: 08/10/1999 13:35:49
>Number:         8187
>Category:       lib
>Synopsis:       because /usr/include/krb5 directory doesn't exist, 'make includes' fails
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 10 13:35:01 1999
>Originator:     Rafal Boni
>Organization: organized? Ha!
>Release:        -current as of a few minutes ago (from AnonCVS)
	1.4/KAME kernel & userland, otherwise a fairly stock NetBSD 1.4
System: NetBSD 1.4 NetBSD 1.4 (PHX-KAME) #0: Tue Jun 15 11:59:15 PDT 1999 i386

	I'm trying to update to -current so I can use the latest-and-greatest
	NetBSD-integrated KAME snapshot for some testing and thought I'd go
	CVS checkout a new source tree and rebuild the box from source.

	I wanted to build 'installboot', which required new headers, so I
	did a 'make includes' from /usr/src.  This failed on things in 
	/usr/src/crypto-us/includes/krb5 because I didn't have a /usr/include/
	krb5 directory.

	Same things happens for /usr/include/gssapi and probably a few more.
	Run 'make includes' from a -current /usr/src on a 1.4 box

	The following fixed it for me.  If I was able to do a 'make build'
	I bet the 'mtree' run would have also solved my problem, but since
	I'm converting the box to ELF at the same time, a 'make build' would
	have had potentially nasty consequences.

RCS file: /cvsroot/sharesrc/share/mk/,v
retrieving revision 1.12
diff -b -u -r1.12
---	1999/02/04 11:58:30	1.12
+++	1999/08/10 19:36:32
@@ -13,9 +13,9 @@
 	@cmp -s ${.ALLSRC} ${.TARGET} > /dev/null 2>&1 || \
-	    (echo "${INSTALL} ${RENAME} ${PRESERVE} -c -o ${BINOWN} \
+	    (echo "${INSTALL} ${RENAME} ${PRESERVE} -d -c -o ${BINOWN} \
 		-g ${BINGRP} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET}" && \
-	     ${INSTALL} ${RENAME} ${PRESERVE} -c -o ${BINOWN} -g ${BINGRP} \
+	     ${INSTALL} ${RENAME} ${PRESERVE} -d -c -o ${BINOWN} -g ${BINGRP} \