Subject: Re: Build failure with 20030516 sources on I386 platform
To: Brian Buhrow <>
From: David Laight <>
List: current-users
Date: 05/16/2003 18:00:30
On Fri, May 16, 2003 at 09:17:41AM -0700, Brian Buhrow wrote:
> 	Hello folks.  I'm trying to build the latest sources cvs'd from
> as of 20030516 07 0800 UTC with the command:
> cd /usr/src
> ./ -M /usr/obj -O /usr/obj -D /var/tmp/netbsd release
> and I get the follwoing error after it runs for about three hours.  Anyone
> know what I need to do to get beyond this?
> It looks like David Late has been working in the crunchgen sources, so is
> this just something which is in flux?
> -thanks
> -Brian
> dependall ===> share/nls
> dependall ===> rescue
> rm -f rescue.conf rescue.conf.tmp
> TARGETDIR=/var/tmp/netbsd/rescue LDD_CMD=ldd_elf NETBSDSRCDIR=/usr/src  CRUNCHBIN=rescue  CURDIR=/usr/src/rescue  DESTDIR=/var/tmp/netbsd  DISTRIBDIR=/usr/src/distrib  MACHINE=i386  MACHINE_ARCH=i386  MAKE=/usr/obj/usr/src/tools/tools.NetBSD-1.6P-i386/bin/nbmake  OBJDIR=/usr/obj/usr/src/rescue awk -f /usr/src/distrib/common/parselist.awk -v mode=crunch /usr/src/rescue/list /usr/src/rescue/list.fdisk /usr/src/rescue/list.ldconfig > rescue.conf.tmp  && mv rescue.conf.tmp rescue.conf
> RESCUEDIR=/rescue MAKE=/usr/obj/usr/src/tools/tools.NetBSD-1.6P-i386/bin/nbmake /usr/obj/usr/src/tools/tools.NetBSD-1.6P-i386/bin/nbcrunchgen -f -D /usr/src -L /var/tmp/netbsd/usr/lib  -q  rescue.conf
> rescue.conf: rcorder: error: no objpaths specified or calculated.
> rescue.conf: chown: error: no objpaths specified or calculated.
> rescue.conf: rcorder: ignoring program because of errors.
> rescue.conf: chown: ignoring program because of errors.
> Run "make -f objs exe" to build crunched binary.
> *** Error code 1

I have been abjusting things slightly, but I don't think that build
got as far as anything I've changed.

That fail looks like a fail during crunchgen's parsing of its data files.
I only changed what it output, and what happens afterwards.

It is possibly that things are confused by the presence of -M /usr/obj
and -O /usr/obj.  I suspect most people only use -O /usr/obj.

I hope I've finished fixing the Makefiles for crunched programs.
(They now get rebuilt if any of the sources change!)


David Laight: