Subject: Re: make release prob on i386
To: Todd Vierling <tv@pobox.com>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 05/30/2002 09:42:17
On Wed, May 29, 2002 at 05:36:28PM -0400, Todd Vierling wrote:
> On Wed, 29 May 2002, Patrick Welche wrote:
> 
> : I did a make build on i386 with today's code which was successful. I'm rather
> : surprised that a subsequent make release failed with:
> :
> : /usr/src/sys/kern/genassym.sh: /usr/src/tools/obj.i386/tools.NetBSD-1.6A-i386/bin/i386--netbsdelf-gcc: not found
> :
> : and sure enough, it isn't there! (i386--netbsdelf-{dbsym,lint,mdsetimage} are)
> 
> Then I tend to wonder how you managed to get dbsym and mdsetimage without
> the toolchain, or for that matter, how you compiled anything...!

Precisely!

Found it: the following was further up the error log:

--- /usr/src/tools/obj.i386/tools.NetBSD-1.6A-i386/share/groff/tmac/tmac.doc ---
nbinstall: /usr/src/tools/obj.i386/tools.NetBSD-1.6A-i386/share/groff/tmac: mkst
emp: No such file or directory

That's why it got the first ones, and not the rest. I was doing a
make -j4 release
and tools.NetBSD-1.6A-i386/share just contains misc. So next question is why
the comment in tools/groff/Makefile

# Since ${TMACDIR} is created by the `realinstall' target, the `afterinstall'
# sources below that depend on it must wait until `realinstall' is done.

doesn't seem to happen.. (At least it makes more sense now!)

Cheers,

Patrick