NetBSD-Users archive

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

Re: Fix the Guide (Re: Recovering from botched update?)



On Sun, Jan 24, 2010 at 01:16:40PM -0800, John Nemeth wrote:
> On Jun 16,  9:22am, Thor Lancelot Simon wrote:
> } On Sun, Jan 24, 2010 at 10:30:16AM -0800, John Nemeth wrote:
> } > 
> } >      Checking that it is the default going forward might be useful, but
> } > it doesn't help with older versions until such a change is pullled up.
> } 
> } As far as I can tell, on any version of NetBSD from the NetBSD-5 branch
> } point until now (and probably earlier), the simplest command to build
> } the system is "build.sh -U -O <absolute path to desired objdir> 
> distribution".
> 
>      Everything inside /etc/mk.conf is enclosed in .ifdef BSD_PKG_MK.
> Did a fresh cvs up immediately before doing this test.  Note that the
> first test was done as root.  build.sh is rev. 1.228.  From visual
> inspection, I note that bsd.prog.mk and bsd.kernobj.mk are used in
> determining TOOLDIR.  Those are rev. 1.246 and rev. 1.12 respectively.
> BTW, the host is currently:
> 
> P4-3679GHz: {261} uname -a
> NetBSD P4-3679GHz 5.99.22 NetBSD 5.99.22 (GENERIC) #4: Sun Dec 20 01:24:17 
> PST 2009  
> jnemeth@P4-3679GHz:/usr/local/NetBSD-current/i386-objdir/sys/arch/i386/compile/GENERIC
>  i386
> 

My build host is:

claw 5.0_RC2 NetBSD 5.0_RC2 (GENERIC) #0: Tue Mar  3 12:34:03 UTC 2009
builds%b1.netbsd.org@localhost:/home/builds/ab/netbsd-5/i386/200903030000Z-obj/home/builds/ab/netbsd-5/src/sys/arch/i386/compile/GENERIC
 i386

I just removed the contents of /usr/obj, and did a cvs update -z1 -d -P -A
from cvs.netbsd.org in /usr/src.  I don't get the error you get when I
run ./build.sh -U -O /usr/obj distribution, nor when I run ./build.sh -U
distribution.

My /etc/mk.conf is empty.

I wonder what the crucial difference here is.

Thor


Home | Main Index | Thread Index | Old Index