NetBSD Problem Report #8667
Received: (qmail 23861 invoked from network); 23 Oct 1999 00:41:17 -0000
Message-Id: <199910230040.SAA21956@casey.Ivy.NET>
Date: Fri, 22 Oct 1999 18:40:55 -0600 (MDT)
From: carton@ivy.net
Reply-To: carton@ivy.net
To: gnats-bugs@gnats.netbsd.org
Subject: include files not installed on sparc port
X-Send-Pr-Version: 3.95
>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
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 22 17:42:01 +0000 1999
>Closed-Date: Sat Nov 13 12:46:50 +0000 1999
>Last-Modified: Sat Nov 13 12:47:38 +0000 1999
>Originator: Miles Nordin
>Release: 19991012
>Organization:
--
Miles Nordin / 1-888-857-2723
555 Bryant Street #182 / Palo Alto, CA 94301-1700
>Environment:
NetBSD/sparc
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
>Description:
when making dep's, a build world failed as follows:
mkdep -a -D_STANDALONE -DRELOC=0x300000 -DSUN4 -DSUN4C -DSUN_BOOTPARAMS -DHEAP_
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.
>How-To-Repeat:
(presumably)
rm -rf /usr/include
make build
>Fix:
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/netbsd/src/sys/arch/sparc/include/Makefile,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 Makefile
--- Makefile 1999/08/27 20:22:06 1.1.1.3
+++ 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 <bsd.kinc.mk>
>Release-Note:
>Audit-Trail:
From: cgd@netbsd.org (Chris G. Demetriou)
To: carton@ivy.net
Cc: gnats-bugs@gnats.netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: port-sparc/8667: include files not installed on sparc port
Date: 25 Oct 1999 17:21:42 -0700
carton@ivy.net writes:
> the problem seems to be that the files aren't installed during a make includes.
incorrect analysis. The boot block builds would seem to be broken;
unless i'm mistaken those header files are kernel-private and should
_not_ be installed.
cgd
--
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.
State-Changed-From-To: open->analyzed
State-Changed-By: pk
State-Changed-When: Mon Nov 8 15:30:27 PST 1999
State-Changed-Why:
While I have found and fixed a couple of related problems in sparc/stand,
I couldn't reproduce the problems involving the headers in your report.
Can you please try again with sources updated to at least Nov 9, 1999
(0:30 GMT) ?
From: Miles Nordin <carton@Ivy.NET>
To: pk@netbsd.org, gnats-bugs@gnats.netbsd.org
Cc: port-sparc-maintainer@netbsd.org
Subject: Re: port-sparc/8667
Date: Fri, 12 Nov 1999 18:20:46 -0700 (MST)
On 8 Nov 1999 pk@netbsd.org wrote:
> While I have found and fixed a couple of related problems in sparc/stand,
> I couldn't reproduce the problems involving the headers in your report.
I can't reproduce my problem either.
I can verify that 'rm -rf /usr/include ; make build' works fine without
the local patch i was using (the incorrect one submitted with the
pr)--this would have failed if the original problem still existed.
and i installed the bootblocks--they do indeed boot. This is all with
current-19991109.
Sorry this took me so long to test, and thanks for looking at it!
State-Changed-From-To: analyzed->closed
State-Changed-By: pk
State-Changed-When: Sat Nov 13 04:46:50 PST 1999
State-Changed-Why:
The problem has been fixed.
>Unformatted:
(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.