Subject: build failing in libexec/lfs_cleanerd
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: current-users
Date: 08/23/2005 00:03:40
--HcAYCG3uE/tztfnV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
recent changes to src/sys/ufs/lfs/lfs.h seem to break the build:
# compile lfs_cleanerd/library.o
/opt/tools/i386/bin/i386--netbsdelf-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Werror -I/usr/src/libexec/lfs_cleanerd -DDIAGNOSTIC -nostdinc -isystem /opt/dst/i386.embed/usr/include -c /usr/src/libexec/lfs_cleanerd/library.c
/usr/src/libexec/lfs_cleanerd/library.c: In function `bi_compare':
/usr/src/libexec/lfs_cleanerd/library.c:802: warning: long long unsigned int format, different type arg (arg 3)
[...]
Stop.
nbmake: stopped in /usr/src/libexec/lfs_cleanerd
Cheers, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
--HcAYCG3uE/tztfnV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff
Index: libexec/lfs_cleanerd/library.c
===================================================================
RCS file: /cvsroot/src/libexec/lfs_cleanerd/library.c,v
retrieving revision 1.45
diff -u -p -r1.45 library.c
--- libexec/lfs_cleanerd/library.c 20 Aug 2005 14:58:34 -0000 1.45
+++ libexec/lfs_cleanerd/library.c 22 Aug 2005 21:55:00 -0000
@@ -798,7 +798,7 @@ bi_compare(const void *a, const void *b)
if ((diff = (int)(ba->bi_daddr - bb->bi_daddr)))
return (diff);
if(ba->bi_inode != LFS_IFILE_INUM && debug)
- syslog(LOG_DEBUG,"bi_compare: using kludge on ino %" PRIu64 "!",
+ syslog(LOG_DEBUG,"bi_compare: using kludge on ino %" PRIu32 "!",
ba->bi_inode);
diff = ba->bi_size - bb->bi_size;
return diff;
--HcAYCG3uE/tztfnV--