Subject: 'build.sh release' fails in src/distrib/sets
To: None <current-users@netbsd.org>
From: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
List: current-users
Date: 02/08/2003 15:32:12
$ sh build.sh -U -D /export/NetBSD-current/build-i386 \
-M /export/NetBSD-current/obj-i386 -T /export/NetBSD-current/tools-i386 \
-R /export/NetBSD-current/release-i386 release

[snip]

/export/NetBSD-current/tools-i386/bin/nbmake checkflist
DESTDIR=/export/NetBSD-current/build-i386  MACHINE=i386 MACHINE_ARCH=i386 \
MAKE=/export/NetBSD-current/tools-i386/bin/nbmake \
MTREE=/export/NetBSD-current/tools-i386/bin/nbmtree \
PAX=/export/NetBSD-current/tools-i386/bin/nbpax \
sh /export/NetBSD-current/src/distrib/sets/checkflist \
-M /export/NetBSD-current/build-i386/METALOG
8446a8447,8448
> ./usr/share/man/cat9/callout_active.0
> ./usr/share/man/cat9/callout_deactivate.0
13544a13547,13548
> ./usr/share/man/man9/callout_active.9
> ./usr/share/man/man9/callout_deactivate.9
checkflist: flist inconsistencies found
checkflist: key to output:
  <  file is in flist but missing from DESTDIR
     (file wasn't installed ?)
  >  file is in DESTDIR but missing from flist
     (file is obsolete or flist is out of date ?)
*** Error code 1

Stop.
nbmake: stopped in /export/NetBSD-current/src/distrib/sets
*** Error code 1

Stop.
nbmake: stopped in /export/NetBSD-current/src/distrib/sets
*** Error code 1

Stop.
nbmake: stopped in /export/NetBSD-current/src/etc
*** Error code 1

Stop.
nbmake: stopped in /export/NetBSD-current/src

ERROR: failed to make release
*** BUILD ABORTED ***

----------------------------------------

I have run the last command by hand:

DESTDIR=/export/NetBSD-current/build-i386  MACHINE=i386 MACHINE_ARCH=i386 \
MAKE=/export/NetBSD-current/tools-i386/bin/nbmake \
MTREE=/export/NetBSD-current/tools-i386/bin/nbmtree \
PAX=/export/NetBSD-current/tools-i386/bin/nbpax \
sh -x /export/NetBSD-current/src/distrib/sets/checkflist \
-M /export/NetBSD-current/build-i386/METALOG

+ [ -z /export/NetBSD-current/build-i386 ]
+ prog=checkflist
+ origin=.
+ tmpname=/tmp/_CHECK.29178
+ xargs=
+ dargs=
+ diffargs=
+ metalog=
+ :
+ metalog=/export/NetBSD-current/build-i386/METALOG
+ shift
+ shift
+ :
+ break
+ [ -n /export/NetBSD-current/build-i386/METALOG ]
+ metalog=./METALOG
+ sh makeflist
nbmake: "/export/NetBSD-current/src/tools/Makefile" line 5: Malformed conditional (${TOOLCHAIN_MISSING} != "yes")
nbmake: "/export/NetBSD-current/src/tools/Makefile" line 9: if-less endif
nbmake: "/export/NetBSD-current/src/tools/Makefile" line 9: Need an operator
nbmake: Fatal errors encountered -- cannot continue
nbmake: "/usr/share/mk/bsd.own.mk" line 92: warning: "cd /export/NetBSD-current/src/tools && /export/NetBSD-current/tools-i386/bin/nbmake -V .OBJDIR" returned non-zero status
[snip]

----------------------------------------

$ DESTDIR=/export/NetBSD-current/build-i386  MACHINE=i386 MACHINE_ARCH=i386 \
MAKE=/export/NetBSD-current/tools-i386/bin/nbmake \
MTREE=/export/NetBSD-current/tools-i386/bin/nbmtree \
PAX=/export/NetBSD-current/tools-i386/bin/nbpax sh -x makeflist 
+ dirname makeflist
+ make=/export/NetBSD-current/tools-i386/bin/nbmake -j 1 -f ./Makefile
+ /export/NetBSD-current/tools-i386/bin/nbmake -j 1 -f ./Makefile print_machine
nbmake: "/export/NetBSD-current/src/tools/Makefile" line 5: Malformed conditional (${TOOLCHAIN_MISSING} != "yes")
nbmake: "/export/NetBSD-current/src/tools/Makefile" line 9: if-less endif
nbmake: "/export/NetBSD-current/src/tools/Makefile" line 9: Need an operator
nbmake: Fatal errors encountered -- cannot continue
[snip]

This is done on a NetBSD-stable system. Any suggestions?

	rvdp