Subject: port-sparc/8667: include files not installed on sparc port
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/22/1999 17:42:47
>Number:         8667
>Category:       port-sparc
>Synopsis:       openfirm.h and promlib.h are not installed during a build.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-sparc-maintainer (NetBSD/sparc Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 22 17:42:01 1999
>Originator:     Miles Nordin
Miles Nordin / 1-888-857-2723
555 Bryant Street #182 / Palo Alto, CA 94301-1700
>Release:        19991012
System: NetBSD casey 1.4L NetBSD 1.4L (CASEY) #5: Thu Oct 14 20:36:38 MDT 1999 carton@casey:/scratch/src/sys/arch/sparc/compile/CASEY sparc

when making dep's, a build world failed as follows:

VARIABLE -I. -I/usr/src/sys/arch/sparc/stand/boot/../../.. -I/usr/src/sys/arch/s
parc/stand/boot/../../../.. /usr/src/sys/arch/sparc/stand/boot/../common/promdev
.c /usr/src/sys/arch/sparc/stand/boot/../common/dvma.c /usr/src/sys/arch/sparc/s
tand/boot/../../sparc/promlib.c boot.c /usr/src/sys/arch/sparc/stand/boot/../com
mon/net.c /usr/src/sys/arch/sparc/stand/boot/../common/netif_sun.c /usr/src/sys/
arch/sparc/stand/boot/../common/conf.c /usr/src/sys/arch/sparc/stand/boot/../../
sparc/openfirm.c bootinfo.c
/usr/src/sys/arch/sparc/stand/boot/../common/promdev.c:43: machine/promlib.h: No
 such file or directory
/usr/src/sys/arch/sparc/stand/boot/../../sparc/promlib.c:58: machine/promlib.h: 
No such file or directory
/usr/src/sys/arch/sparc/stand/boot/../../sparc/promlib.c:59: machine/openfirm.h:
 No such file or directory
boot.c:45: machine/promlib.h: No such file or directory
/usr/src/sys/arch/sparc/stand/boot/../../sparc/openfirm.c:38: machine/openfirm.h
: No such file or directory
mkdep: compile failed.

appologies for the bizarre line endings--i cut-and-paste from less.  but you 
get the idea.

the problem seems to be that the files aren't installed during a make includes.

rm -rf /usr/include
make build

Index: Makefile
RCS file: /usr/cvsroot/netbsd/src/sys/arch/sparc/include/Makefile,v
retrieving revision
diff -u -r1.1.1.3 Makefile
--- Makefile    1999/08/27 20:22:06
+++ Makefile    1999/09/17 05:21:39
@@ -11,6 +11,6 @@
        pmap.h proc.h \
        profile.h psl.h pte.h ptrace.h reg.h reloc.h remote-sl.h setjmp.h \
        signal.h stdarg.h svr4_machdep.h trap.h types.h varargs.h vmparam.h \
-       vuid_event.h
+       vuid_event.h openfirm.h promlib.h
 .include <>