Subject: Re: Problems remain with checkflist
To: Xavier HUMBERT <xavier.humbert@xavhome.fr.eu.org>
From: Luke Mewburn <lukem@wasabisystems.com>
List: tech-toolchain
Date: 08/13/2002 13:03:18
On Mon, Aug 12, 2002 at 09:14:23PM +0200, Xavier HUMBERT wrote:
  | Checkflist keeps aborting builds.
  | 
  | Excerpt of my weekly script
  | 
  | ###
  | # # After CVS updating the treee :
  | # rm -rf /usr/build/ && mkdir /usr/build/
  | # cd /usr/src
  | # ./build.sh -d -D /usr/build > /var/log/build/`date '+%F'`-build.log 2>&1
  | ###
  | 
  | And the log says :
  | 
  | ###
  | # $ tail -15 /var/log/build/2002-08-12-build.log
  | # > ./usr/share/man/man3/set_new_page.3
  | # 10618a10686
  | # > ./usr/share/man/man3/unpost_form.3
  | # checkflist: flist inconsistencies found
  | # checkflist: key to output:
  | #   <  file in flist but missing from DESTDIR
  | #   >  file in DESTDIR but missing from flist
  | # *** Error code 1
  | # 
  | # Stop.
  | # nbmake: stopped in /usr/src/distrib/sets
  | # *** Error code 1
  | # 
  | # Stop.
  | # nbmake: stopped in /usr/src
  | ###
  | 
  | Since DESTDIR is empty, I can't even imagine why it happens. And, BTW, I
  | suppressed any other setting of DESTDIR, in mk.conf, or in the
  | environment.

If you read the 'key to output' section carefully, you'll see that a
leading `>' output means:
	>  file in DESTDIR but missing from flist

A quick perusal of distrib/sets/lists in -current indicates that
entries for those two files are missing (in rev  1.471).

I.e, checkflist is doing the correct thing; it is the data files and
not the program which are wrong.


  | Do I miss something obvious or should I file a PR ?

Yes, please file a PR.


  | Thnaks for any help

Luke.

--
Luke Mewburn  <lukem@wasabisystems.com>  http://www.wasabisystems.com
Luke Mewburn     <lukem@netbsd.org>      http://www.netbsd.org
Wasabi Systems - NetBSD hackers for hire
NetBSD - the world's most portable UNIX-like operating system