Subject: Re: parallel build issue with bootxx?
To: NetBSD current-users <current-users@NetBSD.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 10/07/2005 18:34:37
On Thu, Oct 06, 2005 at 04:50:44PM -0500, David Young wrote:
> On Thu, Oct 06, 2005 at 04:35:36PM -0500, David Young wrote:
> > On Thu, Oct 06, 2005 at 05:25:45PM -0400, Chris Tribo wrote:
> > > I was just doing build.sh -j 6 -x release and it died, I'm not sure  
> > > how. I have the entire build log saved and I started with a clean  
> > > objdir. Here's what appears to be the culprit:
> > > 
> > > #   install  /usr/src/obj/destdir.i386/usr/share/man/cat3/dlsym.0
> > > STRIP=/usr/src/obj/tooldir.NetBSD-3.99.9-i386/bin/i386--netbsdelf- 
> > > strip /usr/src/
> > > obj/tooldir.NetBSD-3.99.9-i386/bin/nbinstall -N /usr/src/etc -l h -r / 
> > > usr/src/obj
> > > /destdir.i386/usr/share/man/cat3/dlfcn.0 /usr/src/obj/destdir.i386/ 
> > > usr/share/man/
> > > cat3/dlsym.0
> > > --- install-usr.bin ---
> > > --- install-less ---
> > > --- install-sys ---
> > > nbinstall: bootxx_cd9660: stat: No such file or directory
> > > *** [/usr/src/obj/destdir.i386/usr/mdec/bootxx_cd9660] Error code 1
> > > 1 error
> > 
> > Oops, my fault.  I know just what I did wrong, too.  I will fix it
> > momentarily.
> 
> I take that back.  I did fix a bug, but I don't see a direct connection
> with your bug report.  May I see your build log?  Is it possible that
> the object directory for bootxx_cd9660 does not exist?

It does:

# ls -l /sys/arch/i386/stand/bootxx/bootxx_cd9660/obj.i386
lrwxr-xr-x  1 root  wheel  54 Oct  6 18:22 /sys/arch/i386/stand/bootxx/bootxx_cd9660/obj.i386 -> /usr/obj/sys/arch/i386/stand/bootxx/bootxx_cd9660.i386
# ls -ld /usr/obj/sys/arch/i386/stand/bootxx/bootxx_cd9660.i386
drwxr-xr-x  2 root  wheel  512 Oct  7 17:51 /usr/obj/sys/arch/i386/stand/bootxx/bootxx_cd9660.i386

Hmm.. maybe something is missing a .${MACHINE} ?

Cheers,

Patrick