Subject: Re: building kernel with build.sh fails mith nbconf not found
To: Reinhold M. Roppert <netbsd-users@rmroppert.de>
From: Quentin Garnier <cube@cubidou.net>
List: netbsd-help
Date: 11/13/2005 17:38:20
--wAI/bQb0EMvlZCHl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Nov 13, 2005 at 05:24:11PM +0100, Reinhold M. Roppert wrote:
> Hello,
>=20
> i want to update the kernel of an i386 machine, version netbsd 2.1.
>=20
> after updating the sources with cvs as it is discribed in the actual secu=
rity=20
> announcments the "build.sh kernel=3DGENERIC fails with this error:
>=20
> ...
> =3D=3D=3D> MACHINE:          i386
> =3D=3D=3D> MACHINE_ARCH:     i386
> =3D=3D=3D> TOOLDIR path:     /usr/src/tooldir.NetBSD-2.1-i386
> =3D=3D=3D> DESTDIR path:     /usr/src/destdir.i386
> =3D=3D=3D> RELEASEDIR path:  /usr/src/releasedir
> =3D=3D=3D> Created /usr/src/tooldir.NetBSD-2.1-i386/bin/nbmake
> =3D=3D=3D> makewrapper:      /usr/src/tooldir.NetBSD-2.1-i386/bin/nbmake-=
i386
> =3D=3D=3D> Updated /usr/src/tooldir.NetBSD-2.1-i386/bin/nbmake-i386
> =3D=3D=3D> Building kernel without building new tools
> #    objdir  /usr/obj/sys/arch/i386/compile
> =3D=3D=3D> Building kernel:  GENERIC
> =3D=3D=3D> Build directory:  /usr/src/sys/arch/i386/compile/obj/GENERIC
> rm -f a.out [Ee]rrs mklog core *.core .gdbinit
> ./build.sh: /usr/src/tooldir.NetBSD-2.1-i386/bin/nbconfig: not found
>=20
> ERROR: nbconfig failed for GENERIC
> *** BUILD ABORTED ***
>=20
> Does anyone know what i did wrong.

Nothing.  The "kernel" target of build.sh depends on "tools", but the
dependency is not enforced (it should, IMO, but apparently that makes
some people angry).

So run a pass of ./build.sh tools.  You also have the option of defining
USE_TOOLS=3Dnever, but you must be sure that the toolchain of your system
is compatible (you're not telling what you're updating from).

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--wAI/bQb0EMvlZCHl
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQ3dr/NgoQloHrPnoAQJygggAnbkDkwQXiw/cymW76MMnIHIqNVJCzJi4
vDwrw4+9MfktgIPitmtF91nEaxiw7oPYat7Q66DTqtS2wcJDz8D5Mxjw20YYejUx
bzQHRYu8C5wwqZPEbnJ+uGgG1rvphep/6RHDYDPxJJB9FiIN359HAmSadO3YC9UU
58vL6XWOI48fKe2xhmnGFpI8N2jcsL4cJrA5UtIWUQ6UYxdjwkbBgStEhKXjEnTy
j4TJNRephQrd1Rxy47aGZz6PaRExyqFMWV9mxNvNILMi72V675I8+GIwmBB2QT73
SMqt6vxfZKiTIH+89HHpcKNlWqoxPPOJ5itSEgsokvBaTYE2R63dMA==
=Ey7d
-----END PGP SIGNATURE-----

--wAI/bQb0EMvlZCHl--