Current-Users archive

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

Re: CHFS build failure on amd64-current



On Thu, 24 Nov 2011, Hisashi T Fujinaka wrote:

On Thu, 24 Nov 2011, Hisashi T Fujinaka wrote:

On Thu, 24 Nov 2011, Adam Hoka wrote:

On 11/24/2011 7:25 PM, Hisashi T Fujinaka wrote:
In file included from
/usr/src/sys/ufs/chfs/debug.c:46:0:/usr/src/sys/ufs/chfs/chfs.h: In
function 'chfs_nref_to_vc':
/usr/src/sys/ufs/chfs/chfs.h:531:2: error: format '%llu' expects type
'long long unsigned int', but argument 3 has type 'ino_t'
/usr/src/sys/ufs/chfs/chfs.h:531:2: error: format '%llu' expects type
'long long unsigned int', but argument 4 has type 'ino_t'
/usr/src/sys/ufs/chfs/chfs.h:531:2: error: format '%llu' expects type
'long long unsigned int', but argument 5 has type '__uint64_t'
*** Error code 1



should be fixed, thanks for reporting

Now it's

/usr/src/sys/ufs/chfs/chfs_wbuf.c: In function 'chfs_write_wbuf':/usr/src/sys/ufs/chfs/chfs_wbuf.c:179:3: error: format
'%llu' expects type 'long long unsigned int', but argument 3 has type
'__off_t'

I figured out how you fixed it in chfs.h and found problems in a bunch
of files. The may or may not be correct, but if the attachment doesn't
get stripped, here it is. The files are:

src/sys/ufs/chfs/chfs_build.c
src/sys/ufs/chfs/chfs_gc.c
src/sys/ufs/chfs/chfs_readinode.c
src/sys/ufs/chfs/chfs_scan.c
src/sys/ufs/chfs/chfs_subr.c
src/sys/ufs/chfs/chfs_vfsops.c
src/sys/ufs/chfs/chfs_vnode.c
src/sys/ufs/chfs/chfs_vnops.c
src/sys/ufs/chfs/chfs_wbuf.c
src/sys/ufs/chfs/chfs_write.c

And finally:

=======  6 extra files in DESTDIR  =========
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
------------------------------------------
./sbin/mount_chfs
./stand/amd64/5.99.57/modules/chfs
./stand/amd64/5.99.57/modules/chfs/chfs.kmod
./usr/share/man/cat8/mount_chfs.0
./usr/share/man/html8/mount_chfs.html
./usr/share/man/man8/mount_chfs.8
=========  end of 6 extra files  ===========


--
Hisashi T Fujinaka - htodd%twofifty.com@localhost
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte


Home | Main Index | Thread Index | Old Index