Subject: Re: Building current fails
To: Martin Schmitz <martin-schmitz@web.de>
From: Greg 'groggy' Lehey <grog@NetBSD.org>
List: netbsd-help
Date: 10/13/2003 09:02:31
--zYM0uCDKw75PZbzx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Saturday, 11 October 2003 at 16:54:04 +0200, Martin Schmitz wrote:
> Hi,
>=20
> yesterday I tried to build current from within a clean stable
> 1.6.1-source-tree. I did the following:
>=20
> ...
>=20
> The build of distribution failed after compiling the whole thing (and
> installing it in /usr/dst) with the message:
>=20
> ,----
> | *** Failed target:  checkflist
> | *** Failed command: DESTDIR=3D/usr/dst MACHINE=3Di386 MACHINE_ARCH=3Di3=
86 \
> |     CKSUM=3D/usr/tools/bin/nbcksum MAKE=3D/usr/tools/bin/nbmake \
> |     MTREE=3D/usr/tools/bin/nbmtree MKTEMP=3D/usr/tools/bin/nbmktemp \
> |     PAX=3D/usr/tools/bin/nbpax sh /usr/src/distrib/sets/checkflist
> | *** Error code 1
> |=20
> | Stop.
> | nbmake: stopped in /usr/src/distrib/sets
> |=20
> | *** Failed target:  distribution
> | *** Failed command: (cd /usr/src/distrib/sets && /usr/tools/bin/nbmake =
checkflist)
> | *** Error code 1
> `----

It looks like you missed a message before the beginning of this text.
I'd guess that there was something like this:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D  extra files  =3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
------------------------------------------
=2E/usr/lib/libcurses.so.5.9
=2E/usr/lib/libgssapi.so.4
=3D=3D=3D=3D=3D=3D=3D=3D=3D  end of extra files  =3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D

> Does anyone have an idea to help me build my new userland?

If that's the case, remove the files from DESTDIR (from the message
you quoted, DESTDIR is /usr/dst in your case), and rerun build.sh with
the following option:

	 CHECKFLIST_FLAGS=3D"-e" ./build.sh -u distribution

That's Bourne shell syntax: you need to set the environment variable
CHECKFLIST_FLAGS.  The -u option to build.sh tells it to do an update
build, in other words not to start again from scratch.

Greg
--=20
Finger grog@lemis.com for PGP public key.
See complete headers for address and phone numbers.

--zYM0uCDKw75PZbzx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE/ieSPIubykFB6QiMRAgkTAJ0dohqvC8RGiB1VWQjhYQwujrmzuwCfSBVc
arqZig7OHO7OMmb39U1EOIE=
=ZLhH
-----END PGP SIGNATURE-----

--zYM0uCDKw75PZbzx--