Subject: build fails after OS upgrade, missing tools
To: None <tech-toolchain@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-toolchain
Date: 05/18/2002 15:41:04
I built 1.5ZC on a 1.5ZA system, then updated the system to 1.5ZC.
The next build fails:

install ===> groff
/usr/obj/tools/tools.NetBSD-1.5ZC-i386/bin/nbinstall -c -p -r -m 444 \
    /usr/src/tools/groff/../../share/tmac/andoc \
    /usr/obj/tools/tools.NetBSD-1.5ZC-i386/share/groff/tmac/tmac.andoc
nbinstall: /usr/obj/tools/tools.NetBSD-1.5ZC-i386/share/groff/tmac: \
    mkstemp: No such file or directory
*** Error code 1

The problem seems to be that tools/tools.NetBSD-1.5ZC-i386 isn't
repopulated properly.

The groff makefiles are far too convoluted for me to see what
is actually meant to happen :-(

An 'rm -rf /usr/obj/tools/tools.NetBSD-1.5ZC-i386/lib/groff'
gets past that failure, but a signifcant set of other
tools including obj/tools/tools.NetBSD-1.5ZC-i386/bin/i386--netbsdelf-gcc
do not get installed either.

I guess that deleting obj/tools/* with get around the problem, but it
shouldn't be necessary.

I guess this can be simulated by deleteing tools.NetBSD-1.5ZC-i386...

	David

-- 
David Laight: david@l8s.co.uk