bugGluster - Bugs: bug #25249, 1.4.0-rc7 build error on FreeBSD

 
 

bug #25249: 1.4.0-rc7 build error on FreeBSD

Submitted by:  swankier <swankier>
Submitted on:  Mon 05 Jan 2009 08:32:14 AM UTC  
 
Category: GlusterFSSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build failure
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: Swankier
Open/Closed: ClosedRelease: 
Operating System: *BSDReproducibility: Every Time

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 23 Jun 2009 06:55:13 PM UTC, comment #3:

Latest release 2.0 is known to build without errors on FreeBSD.
Please test with latest release and re-open if you continue to face the issue.

--
Gowda

Basavanagowda Kanur <gowda>
Project Member
Mon 05 Jan 2009 09:02:18 AM UTC, comment #2:

with TLA 829

I've been told to 'ignore' ino_t and dev_t but what about the others?

(and am I really supposed to ignore ino_t and dev_t? I mean, that can't cause problems when interacting with clients on different operating systems?)

====

gcc -DHAVE_CONFIG_H -I. -I../../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_BSD_HOST_OS -I../../../../libglusterfs/src -shared -nostartfiles -I../../../../argp-standalone -g -O2 -MT trace.lo -MD -MP -MF .deps/trace.Tpo -c trace.c -fPIC -DPIC -o .libs/trace.o
trace.c: In function 'trace_create_cbk':
trace.c:77: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type 'ino_t'
trace.c:77: warning: format '%lld' expects type 'long long int', but argument 6 has type '__dev_t'
trace.c:77: warning: format '%llu' expects type 'long long unsigned int', but argument 7 has type 'ino_t'
trace.c:77: warning: format '%lld' expects type 'long long int', but argument 12 has type '__dev_t'
trace.c:77: warning: format '%ld' expects type 'long int', but argument 14 has type 'blksize_t'
trace.c: In function 'trace_stat_cbk':
trace.c:138: warning: format '%lld' expects type 'long long int', but argument 4 has type '__dev_t'
trace.c:138: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type 'ino_t'
trace.c:138: warning: format '%lld' expects type 'long long int', but argument 10 has type '__dev_t'
trace.c:138: warning: format '%ld' expects type 'long int', but argument 12 has type 'blksize_t'
trace.c: In function 'trace_readv_cbk':
trace.c:179: warning: format '%lld' expects type 'long long int', but argument 4 has type '__dev_t'
trace.c:179: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type 'ino_t'
trace.c:179: warning: format '%lld' expects type 'long long int', but argument 10 has type '__dev_t'
trace.c:179: warning: format '%ld' expects type 'long int', but argument 12 has type 'blksize_t'
trace.c: In function 'trace_writev_cbk':
trace.c:217: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_chown_cbk':
trace.c:312: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_chmod_cbk':
trace.c:345: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_fchmod_cbk':
trace.c:378: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_fchown_cbk':
trace.c:411: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_rename_cbk':
trace.c:457: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type 'ino_t'
trace.c: In function 'trace_lookup_cbk':
trace.c:501: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c:501: warning: format '%lld' expects type 'long long int', but argument 5 has type '__dev_t'
trace.c:501: warning: format '%llu' expects type 'long long unsigned int', but argument 6 has type 'ino_t'
trace.c:501: warning: format '%lld' expects type 'long long int', but argument 11 has type '__dev_t'
trace.c:501: warning: format '%ld' expects type 'long int', but argument 13 has type 'blksize_t'
trace.c: In function 'trace_symlink_cbk':
trace.c:539: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c:539: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type 'ino_t'
trace.c: In function 'trace_mknod_cbk':
trace.c:576: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c:576: warning: format '%lld' expects type 'long long int', but argument 5 has type '__dev_t'
trace.c:576: warning: format '%llu' expects type 'long long unsigned int', but argument 6 has type 'ino_t'
trace.c:576: warning: format '%lld' expects type 'long long int', but argument 11 has type '__dev_t'
trace.c:576: warning: format '%ld' expects type 'long int', but argument 13 has type 'blksize_t'
trace.c: In function 'trace_mkdir_cbk':
trace.c:610: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type 'ino_t'
trace.c: In function 'trace_link_cbk':
trace.c:633: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_truncate_cbk':
trace.c:719: warning: format '%ld' expects type 'long int', but argument 5 has type 'blksize_t'
trace.c: In function 'trace_ftruncate_cbk':
trace.c:907: warning: format '%ld' expects type 'long int', but argument 5 has type 'blksize_t'
trace.c: In function 'trace_fstat_cbk':
trace.c:940: warning: format '%lld' expects type 'long long int', but argument 4 has type '__dev_t'
trace.c:940: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type 'ino_t'
trace.c:940: warning: format '%lld' expects type 'long long int', but argument 10 has type '__dev_t'
trace.c:940: warning: format '%ld' expects type 'long int', but argument 12 has type 'blksize_t'
trace.c: In function 'trace_entrylk':
trace.c:1097: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_inodelk':
trace.c:1120: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_xattrop':
trace.c:1187: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_lookup':
trace.c:1234: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_stat':
trace.c:1257: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_readlink':
trace.c:1280: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c:1280: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'size_t'
trace.c: In function 'trace_mknod':
trace.c:1305: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c:1305: warning: format '%lld' expects type 'long long int', but argument 6 has type 'dev_t'
trace.c: In function 'trace_mkdir':
trace.c:1330: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_unlink':
trace.c:1353: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_rmdir':
trace.c:1374: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_symlink':
trace.c:1397: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type 'ino_t'
trace.c: In function 'trace_rename':
trace.c:1422: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c:1422: warning: format '%llu' expects type 'long long unsigned int', but argument 6 has type 'ino_t'
trace.c: In function 'trace_link':
trace.c:1448: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c:1448: warning: format '%llu' expects type 'long long unsigned int', but argument 6 has type 'ino_t'
trace.c: In function 'trace_chmod':
trace.c:1473: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_chown':
trace.c:1498: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_truncate':
trace.c:1523: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_utimens':
trace.c:1553: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_open':
trace.c:1580: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_create':
trace.c:1606: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_readv':
trace.c:1632: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'size_t'
trace.c: In function 'trace_statfs':
trace.c:1682: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_setxattr':
trace.c:1750: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_getxattr':
trace.c:1775: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_removexattr':
trace.c:1799: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_opendir':
trace.c:1824: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_getdents':
trace.c:1849: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'size_t'
trace.c: In function 'trace_readdir':
trace.c:1876: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'size_t'
trace.c: In function 'trace_access':
trace.c:1925: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'

swankier <swankier>
Mon 05 Jan 2009 08:54:02 AM UTC, comment #1:

with TLA 829

gcc -DHAVE_CONFIG_H -I. -I../../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_BSD_HOST_OS -I../../../../libglusterfs/src -shared -nostartfiles -I../../../../argp-standalone -g -O2 -MT dht.lo -MD -MP -MF .deps/dht.Tpo -c dht.c -fPIC -DPIC -o .libs/dht.o
In file included from dht.c:28:
dht-common.c: In function 'dht_lookup_linkfile_cbk':
dht-common.c:407: warning: passing argument 4 of 'dht_itransform' from incompatible pointer type
dht-common.c: In function 'dht_lookup_cbk':
dht-common.c:469: warning: passing argument 4 of 'dht_itransform' from incompatible pointer type
dht-common.c: In function 'dht_newfile_cbk':
dht-common.c:2136: warning: passing argument 4 of 'dht_itransform' from incompatible pointer type
dht-common.c: In function 'dht_create_cbk':
dht-common.c:2451: warning: passing argument 4 of 'dht_itransform' from incompatible pointer type
dht.c: In function 'init':
dht.c:111: warning: dereferencing type-punned pointer will break strict-aliasing rules

swankier <swankier>
Mon 05 Jan 2009 08:32:14 AM UTC, original submission:

nufa.c: In function 'nufa_lookup_linkfile_cbk':
nufa.c:329: warning: passing argument 4 of 'nufa_itransform' from incompatible pointer type
nufa.c: In function 'nufa_lookup_cbk':
nufa.c:450: warning: passing argument 4 of 'nufa_itransform' from incompatible pointer type
nufa.c: In function 'nufa_local_lookup_cbk':
nufa.c:557: warning: passing argument 4 of 'nufa_itransform' from incompatible pointer type
nufa.c: In function 'nufa_newfile_cbk':
nufa.c:2224: warning: passing argument 4 of 'nufa_itransform' from incompatible pointer type
nufa.c: In function 'nufa_create_cbk':
nufa.c:2596: warning: passing argument 4 of 'nufa_itransform' from incompatible pointer type

swankier <swankier>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gowda (Posted a comment)
  • -unavailable- added by swankier (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 23 Jun 2009 06:55:13 PM UTCgowdaStatusNone=>Fixed
      Privacy0(Error - Not Found)=>Public
      Originator Name=>Swankier
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1