Subject: Re: port-i386/17105: Building 1.5.3_RC2 on 1.5.1 fails
To: Eric Schnoebelen <eric@cirr.com>
From: Chris Pinnock <cjep@fawlty.net>
List: netbsd-bugs
Date: 05/31/2002 11:57:02
On Thu, May 30, 2002 at 10:46:18AM -0500, Eric Schnoebelen wrote:
>
> >Number: 17105
> >Category: port-i386
> >Synopsis: Building 1.5.3_RC2/i386 on 1.5.1/i386 fails
> >Confidential: yes
> >Severity: serious
> >Priority: high
> >Responsible: port-i386-maintainer
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Thu May 30 08:47:00 PDT 2002
> >Closed-Date:
> >Last-Modified:
> >Originator: Eric Schnoebelen
> >Release: NetBSD 1.5.1
> >Organization:
> Central Iowa (Model) Railroad, Plano, TX
> >Environment:
>
> Kernel: NetBSD egsner 1.5.3 NetBSD 1.5.3 (GENERIC) #0: Thu May 9 23:12:47 CDT 2002 eric@egsner:/work/eric/NetBSD-1.5/src/sys/arch/i386/compile/GENERIC i386
> Userland: NetBSD 1.5.1 i386
>
> >Description:
> Attempting to build the ramdisk-big floppy set fails building
> the crunched installboot. It claims not to be able to find
> <sys/bootblock.h> and <stdint.h>
>
> installboot apparently built as part of the standard build.
>
> Build log file is available at
> ftp://ftp.cirr.com/pub/NetBSD/Build-1.5.3_RC2-i386.
>
> The starting and final few lines are:
>
> + uname -m
> + MACHINE=i386
> + pwd
> + DESTDIR=/work/eric/NetBSD-1.5/src/../root.i386/
> + pwd
> + BSDOBJDIR=/work/eric/NetBSD-1.5/src/../obj.i386/
> + pwd
> + BSDSRCDIR=/work/eric/NetBSD-1.5/src
> + MKOBJDIRS=yes
> + OBJMACHINE=
> + RELEASEDIR=/home/egsner/ftp/pub/NetBSD/NetBSD-1.5.3_RC2/i386
> + export DESTDIR BSDOBJDIR BSDSRCDIR OBJMACHINE MKOBJDIRS RELEASEDIR
> + exec make release
> Build started at: Wed May 29 14:07:28 CDT 2002
> (cd /work/eric/NetBSD-1.5/src/etc && make distrib-dirs)
> [...]
> (cd /work/eric/NetBSD-1.5/src/distrib/i386/floppies/ramdisk-big/../../../../usr.sbin/installboot; make installboot.o sum.o machines.o fstypes.o ffs.o ffs_bswap.o bbinfo.o alpha.o macppc.o news.o pmax.o sparc.o sparc64.o sun68k.o vax.o)
> cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror -I/work/eric/NetBSD-1.5/src/usr.sbin/installboot -I. -nostdinc -idirafter /work/eric/NetBSD-1.5/src/../root.i386//usr/include -c installboot.c
> In file included from installboot.c:55:
> installboot.h:46: sys/bootblock.h: No such file or directory
> installboot.h:50: stdint.h: No such file or directory
> *** Error code 1
>
> >How-To-Repeat:
> Build on a 1.5.1 system?
> >Fix:
> It appears that one of two things should be done.
>
> Either <stdint.h> and <sys/bootblock.h> should be installed into
> ${DESTDIR}/usr/include, or the crunchgen-d installboot should
> make sure it follows the same include paths as the standard
> installboot.
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
You should not have src/usr.sbin/installboot in NetBSD-1.5 sources. I
saw this problem as well when I updated my 1.5 sources a few weeks ago
when that directory appeared in my 1.5 source tree.
Something like cvs update -rnetbsd-1-5 -dP in src/usr.sbin might remove
the problem.
best wishes,Chris