Subject: ./build.sh distribution fails.
To: NetBSD-current <current-users@NetBSD.org>
From: Marcin Jessa <yazzy@yazzy.org>
List: current-users
Date: 05/11/2006 10:33:46
Hi guys.

Command:
 ./build.sh -O /usr/obj -T /usr/tools/ tools distribution
This error has occurred on HEAD (started with fresh src tree and empty
obj dir) in the last couple days:

   === Removing obsolete files ===
sh /usr/src/usr.sbin/postinstall/postinstall -s /usr/src
-d /usr/obj/destdir.i386/ fix obsolete Source directory: /usr/src
Target directory: /usr/obj/destdir.i386/
obsolete fix:
postinstall fixes passed: obsolete
postinstall fixes failed:
   ===============================
checkflist ===> distrib/sets
cd /usr/src/distrib/sets &&  DESTDIR=/usr/obj/destdir.i386
MACHINE=i386 MACHINE_ARCH=i386  CKSUM=/usr/tools/bin/nbcksum
DB=/usr/tools/bin/nbdb  HOST_SH=sh  MAKE=/usr/tools/bin/nbmake
MKTEMP=/usr/tools/bin/nbmktemp  MTREE=/usr/tools/bin/nbmtree
PAX=/usr/tools/bin/nbpax  TSORT=/usr/tools/bin/nbtsort\ -q
sh /usr/src/distrib/sets/checkflist

=======  18 extra files in DESTDIR  =========
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
------------------------------------------
./usr/share/man/cat9/prop_copy.0.gz
./usr/share/man/cat9/prop_delete.0.gz
./usr/share/man/cat9/prop_get.0.gz
./usr/share/man/cat9/prop_list.0.gz
./usr/share/man/cat9/prop_objs.0.gz
./usr/share/man/cat9/prop_set.0.gz
./usr/share/man/cat9/propdb_create.0.gz
./usr/share/man/cat9/propdb_destroy.0.gz
./usr/share/man/cat9/properties.0.gz
./usr/share/man/man9/prop_copy.9.gz
./usr/share/man/man9/prop_delete.9.gz
./usr/share/man/man9/prop_get.9.gz
./usr/share/man/man9/prop_list.9.gz
./usr/share/man/man9/prop_objs.9.gz
./usr/share/man/man9/prop_set.9.gz
./usr/share/man/man9/propdb_create.9.gz
./usr/share/man/man9/propdb_destroy.9.gz
./usr/share/man/man9/properties.9.gz
=========  end of 18 extra files  ===========

*** Failed target:  checkflist
*** Failed command: cd /usr/src/distrib/sets &&
DESTDIR=/usr/obj/destdir.i386 MACHINE=i386 MACHINE_ARCH=i386
CKSUM=/usr/tools/bin/nbcksum DB=/usr/tools/bin/nbdb HOST_SH=sh
MAKE=/usr/tools/bin/nbmake MKTEMP=/usr/tools/bin/nbmktemp
MTREE=/usr/tools/bin/nbmtree PAX=/usr/tools/bin/nbpax
TSORT=/usr/tools/bin/nbtsort\ -q sh /usr/src/distrib/sets/checkflist
*** Error code 1

Stop.
nbmake: stopped in /usr/src/distrib/sets

*** Failed target:  distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this=""; real="/usr/src" ;; *) this="${dir}/";
real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===>
${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/tools/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget distrib/sets
checkflist *** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make distribution
*** BUILD ABORTED ***