Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: TOOLDIR different for release and install?



On Mon, Jul 07, 2008 at 09:34:50AM +0100, Iain Hibbert wrote:
> With sources as of yesterday, I made a release (with tools) and then tried
> an install:
> 
> galant: {3} sudo sh build.sh -O /var/obj -U -u -x install=/
> ===> build.sh command: build.sh -O /var/obj -U -u -x install=/
> ===> build.sh started: Mon Jul  7 09:19:35 BST 2008
> ===> NetBSD version:   4.99.69
> ===> MACHINE:          i386
> ===> MACHINE_ARCH:     i386
> ===> Build platform:   NetBSD 4.99.69 i386
> ===> HOST_SH:          /bin/sh
> ===> No /var/obj/tooldir.NetBSD-4.99.69-i386/bin/nbmake, needs building.
> ===> Bootstrapping nbmake
> checking for sh... /bin/sh
> checking for gcc... cc
> [...]
> 
> why does it need to build nmbake anew when it just built tools (to the
> default /usr/tools) and a release? In any case, nbmake is not long
> building and then..

Let me guess, you built the tools on 4.99.68 so the TOOLDIR was in
/var/obj/tooldir.NetBSD-4.99.68-i386, then booted 4.99.69 kernel and ran
the abovementioned command.  That's normal since the kernel version and
thus the path to tools changed.  If you want to avoid it, explicitely
set TOOLDIR, e.g., with build.sh -T.


regards,

-- 
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --


Home | Main Index | Thread Index | Old Index