Subject: Build release current 10/06/2007 fails
To: None <current-users@netbsd.org>
From: Kenneth Freidank <kennethcf@earthlink.net>
List: current-users
Date: 10/13/2007 11:46:34
Just downloaded the latest current, most .gz files dated 10/06/07.

This time I started with freshly untarred all src and xsrc files, 
emptied my build directories, and rather than figure out default build 
behavior, I specified everything.

t5048$ rm -R /usr/src/*
t5048$ rm -R /usr/xsrc/*
t5048$ rm -R /usr/tools/*
t5048$ rm -R /usr/obj/*
t5048$ rm -R /usr/destdir/*
t5048$ rm -R /usr/reldir/*
(freshly untarred in /usr/src and /usr/xsrc)
t5048$ ./build.sh -T /usr/tools -O /usr/obj -D /usr/destdir -R 
/usr/reldir -U -x release
.....
The build release died with the following:
.....
   ===============================
checkflist ===> distrib/sets
( cat /usr/src/etc/mtree/NetBSD.dist ;  echo '/unset all' ;  cat 
/usr/destdir/METALOG )  | /usr/tools/bin/nbmtree -C -k all -N 
/usr/src/etc > /usr/destdir/METALOG.new &&  ( rm -f /usr/destdir/METALOG 
;  mv /usr/destdir/METALOG.new /usr/destdir/METALOG )
cat /usr/destdir/METALOG | grep -v " optional" > 
/usr/destdir/METALOG.sanitised
cd /usr/src/distrib/sets &&  DESTDIR=/usr/destdir  MACHINE=i386 
MACHINE_ARCH=i386  CKSUM=/usr/tools/bin/nbcksum  DB=/usr/tools/bin/nbdb  
HOST_SH=/bin/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  /bin/sh 
/usr/src/distrib/sets/checkflist  -b  -M /usr/destdir/METALOG.sanitised

=======  6 extra files in DESTDIR  =========
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
------------------------------------------
./usr/share/man/cat8/daily.0
./usr/share/man/cat8/monthly.0
./usr/share/man/cat8/weekly.0
./usr/share/man/man8/daily.8
./usr/share/man/man8/monthly.8
./usr/share/man/man8/weekly.8
=========  end of 6 extra files  ===========


*** Failed target:  checkflist
*** Failed command: cd /usr/src/distrib/sets && DESTDIR=/usr/destdir 
MACHINE=i386 MACHINE_ARCH=i386 CKSUM=/usr/tools/bin/nbcksum 
DB=/usr/tools/bin/nbdb HOST_SH=/bin/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 /bin/sh 
/usr/src/distrib/sets/checkflist -b -M /usr/destdir/METALOG.sanitised
*** 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

*** Failed target:  release
*** 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 . distribution
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make release
*** BUILD ABORTED ***
t5048$