Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Build fails on extra files in DESTDIR, what does that mean?



Trying to build NetBSD 7.99.10 amd64, i386, from 7.99.7 installation was stopped by 


   ===============================
checkflist ===> distrib/sets
cd /BETA1/netbsd-HEAD/usr/src/distrib/sets &&  DESTDIR=/BETA1/netbsd-HEAD/usr/src/../obj/BETA1/netbsd-HEAD/usr/src/destdir.amd64  MACHINE=amd64  MACHINE_ARCH=x86_64  AWK=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbawk  CKSUM=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbcksum  DB=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbdb  HOST_SH=/bin/sh  MAKE=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbmake  MKTEMP=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbmktemp  MTREE=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbmtree  PAX=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbpax  COMPRESS_PROGRAM=gzip  GZIP=-n  PKG_CREATE=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbpkg_create  SED=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbsed  TSORT=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbtsort\ -q  /bin/sh /BETA1/netbsd-HEAD/usr/src/distrib/sets/checkflist  -L base,x  -M /BETA1/netbsd-HEAD/usr/src/../obj/BETA1/netbsd-HEAD/usr/src/destdir.amd64/METALOG.sanitised

=======  18 extra files in DESTDIR  =========
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
------------------------------------------
./lib/liblzma.so.1
./lib/liblzma.so.1.1
./usr/lib/i386/libamu.so.4
./usr/lib/i386/libamu.so.4.0
./usr/lib/i386/liblua.so.1
./usr/lib/i386/liblua.so.1.0
./usr/lib/i386/liblzma.so.1
./usr/lib/i386/liblzma.so.1.1
./usr/lib/i386/libssh.so.22
./usr/lib/i386/libssh.so.22.0
./usr/lib/libamu.so.4
./usr/lib/libamu.so.4.0
./usr/lib/liblua.so.1
./usr/lib/liblua.so.1.0
./usr/lib/liblzma.so.1
./usr/lib/liblzma.so.1.1
./usr/lib/libssh.so.22
./usr/lib/libssh.so.22.0
=========  end of 18 extra files  ===========


*** Failed target:  checkflist
*** Failed command: cd /BETA1/netbsd-HEAD/usr/src/distrib/sets && DESTDIR=/BETA1/netbsd-HEAD/usr/src/../obj/BETA1/netbsd-HEAD/usr/src/destdir.amd64 MACHINE=amd64 MACHINE_ARCH=x86_64 AWK=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbawk CKSUM=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbcksum DB=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbdb HOST_SH=/bin/sh MAKE=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbmake MKTEMP=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbmktemp MTREE=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbmtree PAX=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbpax COMPRESS_PROGRAM=gzip GZIP=-n PKG_CREATE=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbpkg_create SED=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbsed TSORT=/BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbtsort\ -q /bin/sh /BETA1/netbsd-HEAD/usr/src/distrib/sets/checkflist -L base,x -M /BETA1/netbsd-HEAD/usr/src/../obj/BETA1/netbsd-HEAD/usr/src/destdir.amd64/METALOG.sanitised
*** Error code 1

Stop.
nbmake[1]: stopped in /BETA1/netbsd-HEAD/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="/BETA1/netbsd-HEAD/usr/src" ;; *) this="${dir}/"; real="/BETA1/netbsd-HEAD/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget distrib/sets checkflist
*** Error code 1

Stop.
nbmake: stopped in /BETA1/netbsd-HEAD/usr/src

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

===> build.sh command:    ./build.sh -m amd64 -B nb7-20150421 -M ../obj -T ../tooldir -x -X ../xsrc -U distribution kernel=GENERIC
===> build.sh started:    Tue Apr 21 11:02:41 UTC 2015
===> NetBSD version:      7.99.10
===> MACHINE:             amd64
===> MACHINE_ARCH:        x86_64
===> Build platform:      NetBSD 7.99.7 amd64
===> HOST_SH:             /bin/sh
===> BUILDID:             nb7-20150421
===> /BETA1/netbsd-HEAD/usr/src/../tooldir/bin/nbmake outdated (older than usr.bin/make/job.c), needs building.
===> Bootstrapping nbmake

I thought "make cleandir" was automatic, but believe I had this problem before.

Similar failure with i386 build.

Now I cleaned out the obj directories (rm -R) and also ran newfs on the 7.99.7 installations, amd64 and i386.

Reason for newfs was to get rid of native Xorg and switch to modular pkgsrc Xorg (too drastic, maybe, but there were no packages installed).

So I update src tree and will rebuild from 7.99.1 amd64, installing into separate GPT partition.

But I am still curious about a build failing on extra files in DESTDIR and how to avoid it, remember this happening before in NetBSD but not FreeBSD.

Now I think I will try to build for amd64 before deciding whether to also build for i386.

Tom



Home | Main Index | Thread Index | Old Index