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 11/24/2011 10:07 PM, Alistair Crooks wrote:
> On Thu, Nov 24, 2011 at 12:28:18PM -0800, 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
>>
>> -- 
>> Hisashi T Fujinaka - htodd%twofifty.com@localhost
>> BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte
> 
> Thanks for that - I've cast most of these as a quick workaround to get
> things to compile, and left the fix up for someone else at a later date.
> 
> Best,
> Alistair

sorry, i thought these were gone, that part is obviously not my code :p


Home | Main Index | Thread Index | Old Index