Subject: toolchain/23270: checkflist non-portable
To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 10/25/2003 15:46:34
>Synopsis: checkflist non-portable
>Arrival-Date: Sat Oct 25 19:45:00 UTC 2003
>Originator: Dan McMahill
>Release: NetBSD 20031020
solaris-2.6 with gcc-2.95.1 and sh replaced with ksh
System: NetBSD cowboy-burt 1.4.3A NetBSD 1.4.3A (COWBOY-BURT) #1: Fri Jul 20 06:58:40 EDT 2001 dan@cowboy-burt:/mnt/syssrc-1-4/sys/arch/sparc/compile/COWBOY-BURT sparc
src/distrib/sets/checkflist has problems on solaris-2.6 (with sh having been replaced with ksh).
The problem is that when it generates the 'files' file, each file and directory are listed twice.
Then when its compared with flist, a whole pile of "extra" files are reported.
*** Failed target: checkflist
*** Failed command: DESTDIR=/export/home1/software/build/destdir.i386 MACHINE=i386 MACHINE_ARCH=i386 CKSUM=/export/home1/software/build/too
ls/bin/nbcksum MAKE=/export/home1/software/build/tools/bin/nbmake MTREE=/export/home1/software/build/tools/bin/nbmtree MKTEMP=/export/home1
/software/build/tools/bin/nbmktemp PAX=/export/home1/software/build/tools/bin/nbpax sh /export/home1/software/NetBSD/src-netbsd-current/dis
*** Error code 1
env HOST_CC=gcc ./build.sh -m i386 -T /export/home1/software/build/tools \
-D /export/home1/software/build/destdir.i386 \
-R /export/home1/software/build/release/i386 release
maybe change the "sort" to "sort -u"? but that doesn't really address why the duplicates
in the first place...