Subject: Re: -current build still blows up.
To: Luke Mewburn <lukem@wasabisystems.com>
From: Greywolf <greywolf@starwolf.com>
List: current-users
Date: 06/05/2002 09:20:19
On Wed, 5 Jun 2002, Luke Mewburn wrote:
# On Mon, Jun 03, 2002 at 11:16:35AM -0700, Greywolf wrote:
#   | D'OH!
#   |
#   | SO sorry...it's the same problem I sent in last week; I guess context
#   | wasn't caught.  My apologies.
#   |
#   | Host OS: NetBSD 1.5ZC
#   | Arch: i386, building for i386 and/or sparc [blows up the same either way]
#   | $PATH: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:\
#   | 	/usr/X11/bin:/usr/X11/sbin:/root/bin
#   | Command line:
#   | 	1 # cd /usr/src
#   | 	2 # ./build.sh -m sparc -t -M /export/obj/sparc
#   |
#   | No /etc/mk.conf.
#   |
#   | Same results without "-M /export/obj/sparc".
#
# Ick.  I don't know what your problem is.
# Similar operations work for me ok.

I'm betting that, for some reason, I need to pre-update my .mk files.

[I thought the tool system was supposed to avoid having to do this...?]

Because when I run

build.sh -o -m sparc -t

it does The Right Thing.

# Some (obvious) questions:
# - is your source up to date :)

	Yes.  sup followed by cvs update -d -P

# - is /export/obj/sparc "cleaned out" beforehand?

	Did that manually.  Same thing.

# - do you have any environment variables set which might affect things
#   (e.g, BSDSRCDIR, BSDOBJDIR, OBJMACHINE, MAKEOBJDIR,
#   MAKEOBJDIRPREFIX, MACHINE, ...) ?

	Nope...

# What's the error messages that the building of host-mkdep generates?

It's trying to copy host-mkdep from the objdir -- which it JUST MADE --
into its final destination.

Since the objdir was just made, host-mkdep can't possibly exist in
that directory.

I think it's a .OBJDIR thing, or something like that.

Anyway, right now, I'm gimping along with nbmake-sparc working its
magic.


				--*greywolf;
--
NetBSD: Use the ENTIRE computer!