NetBSD Problem Report #8837
Received: (qmail 12405 invoked from network); 21 Nov 1999 15:01:08 -0000
Message-Id: <199911211501.QAA01171@arresum.inka.de>
Date: Sun, 21 Nov 1999 16:01:01 +0100 (MET)
From: Bernd Ernesti <bernd@arresum.inka.de>
Reply-To: bernd@arresum.inka.de
To: gnats-bugs@gnats.netbsd.org
Subject: Borken i386 installboot Makefile breaks the build of an install floppy
X-Send-Pr-Version: 3.95
>Number: 8837
>Category: port-i386
>Synopsis: Borken i386 installboot Makefile breaks the build of an install floppy
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-i386-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 21 07:03:01 +0000 1999
>Closed-Date: Sat Jan 27 09:45:30 +0000 2001
>Last-Modified: Sat Jan 27 09:45:30 +0000 2001
>Originator: Bernd Ernesti
>Release: NetBSD-current source 21-11-1999
>Organization:
>Environment:
System: NetBSD arresum.inka.de 1.4M NetBSD 1.4M (ARRESUM) #399: Sun Oct 31 17:03:23 MET 1999 bernd@arresum.inka.de:/home/work/obj_i386/src.i386/sys/arch/i386/compile/ARRESUM i386
>Description:
It isn't possible to build an i386 install floppy from an fresh tree
without making 'make depend' in sys/arch/i386/stand/installboot
>How-To-Repeat:
Try to build an install floppy from a fresh tree and notice the errors:
[..]
(cd /src/distrib/i386/floppies/ramdisk/../../../../sys/arch/i386/stand/installboot; make installboot.o bootblks.o getmount.o loadfile.o)
cc -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror -I/src/sys/arch/i386/stand/installboot/../lib/crt/bootsect -I/src/sys/arch/i386/stand/installboot/../../../../lib/libsa -I. -c /src/sys/arch/i386/stand/installboot/installboot.c
In file included from /src/sys/arch/i386/stand/installboot/installboot.c:59:
/src/sys/arch/i386/stand/installboot/../../../../lib/libsa/loadfile.h:70: machine/loadfile_machdep.h: No such file or directory
*** Error code 1 (continuing)
[..]
cc -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror -I/src/sys/arch/i386/stand/installboot/../lib/crt/bootsect -I/src/sys/arch/i386/stand/installboot/../../../../lib/libsa -I. -c /src/sys/arch/i386/stand/installboot/../../../../lib/libsa/loadfile.c
In file included from /src/sys/arch/i386/stand/installboot/../../../../lib/libsa/loadfile.c:94:
/src/sys/arch/i386/stand/installboot/../../../../lib/libsa/loadfile.h:70: machine/loadfile_machdep.h: No such file or directory
*** Error code 1 (continuing)
>Fix:
Fix the Makefile in sys/arch/i386/stand/installboot.
What about this patch?
*** Makefile Sat Oct 30 18:01:21 1999
--- Makefile Sun Nov 21 15:19:15 1999
***************
*** 20,26 ****
LDSTATIC?=-static
.BEGIN: ${.OBJDIR}/machine
! depend all: ${.OBJDIR}/machine
CLEANFILES+= ${.OBJDIR}/machine
${.OBJDIR}/machine::
--- 20,26 ----
LDSTATIC?=-static
.BEGIN: ${.OBJDIR}/machine
! depend: ${.OBJDIR}/machine
CLEANFILES+= ${.OBJDIR}/machine
${.OBJDIR}/machine::
***************
*** 28,30 ****
--- 28,32 ----
ln -s ${.CURDIR}/../../include $@
.include <bsd.prog.mk>
+
+ ${OBJS}: ${.OBJDIR}/machine
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: veego
State-Changed-When: Sat Jan 27 01:45:06 PST 2001
State-Changed-Why:
The problem is gone.
>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.