Subject: lib/8187: 'make includes' on 1.4 box fails from -current sources
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rafal@raptor.com>
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
>Last-Modified:
>Originator: Rafal Boni
>Organization:
...me organized? Ha!
>Release: -current as of a few minutes ago (from AnonCVS)
>Environment:
1.4/KAME kernel & userland, otherwise a fairly stock NetBSD 1.4
System: NetBSD phx.eng.com 1.4 NetBSD 1.4 (PHX-KAME) #0: Tue Jun 15 11:59:15 PDT 1999 rafal@phx.eng.com:/root/src/kame-19990614/kit/sys/arch/i386/compile/PHX-KAME i386
>Description:
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.
>How-To-Repeat:
Run 'make includes' from a -current /usr/src on a 1.4 box
>Fix:
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.
Index: bsd.inc.mk
===================================================================
RCS file: /cvsroot/sharesrc/share/mk/bsd.inc.mk,v
retrieving revision 1.12
diff -b -u -r1.12 bsd.inc.mk
--- bsd.inc.mk 1999/02/04 11:58:30 1.12
+++ bsd.inc.mk 1999/08/10 19:36:32
@@ -13,9 +13,9 @@
.endif
${DESTDIR}${INCSDIR}/$I: $I
@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} \
-m ${NONBINMODE} ${.ALLSRC} ${.TARGET})
.endfor
.endif
>Audit-Trail:
>Unformatted: