Subject: "Files in DESTDIR but missing from flist."
To: NetBSD-current <current-users@NetBSD.org>
From: Marcin Jessa <lists@yazzy.org>
List: current-users
Date: 01/23/2006 15:20:04
Hi guys

Any idea how to fix stuff like that ?
Running ./build.sh -O /usr/obj/ -T /usr/tools/ -u distribution :
 
  === 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

=======  4 extra files in DESTDIR  =========
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
------------------------------------------
./lib/libz.so.0
./lib/libz.so.0.4
./usr/lib/libz.so.0
./usr/lib/libz.so.0.4
=========  end of 4 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