[Bugs] [Bug 1571852] Fails to build with libtirpc

bugzilla at redhat.com bugzilla at redhat.com
Thu Jul 26 12:20:15 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1571852

Patrick Matthäi <pmatthaei at debian.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |NEW
            Version|4.0                         |4.1
         Resolution|EOL                         |---
           Keywords|                            |Reopened



--- Comment #2 from Patrick Matthäi <pmatthaei at debian.org> ---
And also here nothing happens, except of autoclose. Still present in 4.1.2:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I/usr/include/uuid
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_LINUX_HOST_OS -include
../../../config.h -include ../../../site.h -I../../../libglusterfs/src
-I../../../libglusterfs/src -I../../../libglusterfs/src -I../../../rpc/xdr/src
-I../../../rpc/xdr/src
-DRPC_TRANSPORTDIR=\"/usr/lib/x86_64-linux-gnu/glusterfs/4.1.2/rpc-transport\"
-I../../../contrib/rbtree -Wdate-time -D_FORTIFY_SOURCE=2 -Wall
-I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/build/glusterfs-4.1.2=.
-fstack-protector-strong -Wformat -Werror=format-security -g -rdynamic -Wformat
-Werror=format-security -Werror=implicit-function-declaration -g -O2
-fdebug-prefix-map=/build/glusterfs-4.1.2=. -fstack-protector-strong -Wformat
-Werror=format-security -g -rdynamic -Wformat -Werror=format-security
-Werror=implicit-function-declaration -c auth-null.c  -fPIC -DPIC -o
.libs/auth-null.o
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c: In function 'rpcsvc_request_create':
rpcsvc.c:492:42: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 2 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=]
         gf_log (GF_RPCSVC, GF_LOG_TRACE, "received rpc-message "
                                          ^~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:211:46: note: in definition of macro
'FMT_WARN'
 #define FMT_WARN(fmt...) do { if (0) printf (fmt); } while (0)
                                              ^~~
rpcsvc.c:492:9: note: in expansion of macro 'gf_log'
         gf_log (GF_RPCSVC, GF_LOG_TRACE, "received rpc-message "
         ^~~~~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:492:42: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 3 has type 'rpcvers_t' {aka 'unsigned int'} [-Wformat=]
         gf_log (GF_RPCSVC, GF_LOG_TRACE, "received rpc-message "
                                          ^~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:211:46: note: in definition of macro
'FMT_WARN'
 #define FMT_WARN(fmt...) do { if (0) printf (fmt); } while (0)
                                              ^~~
rpcsvc.c:492:9: note: in expansion of macro 'gf_log'
         gf_log (GF_RPCSVC, GF_LOG_TRACE, "received rpc-message "
         ^~~~~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:492:42: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 4 has type 'rpcprog_t' {aka 'unsigned int'} [-Wformat=]
         gf_log (GF_RPCSVC, GF_LOG_TRACE, "received rpc-message "
                                          ^~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:211:46: note: in definition of macro
'FMT_WARN'
 #define FMT_WARN(fmt...) do { if (0) printf (fmt); } while (0)
                                              ^~~
rpcsvc.c:492:9: note: in expansion of macro 'gf_log'
         gf_log (GF_RPCSVC, GF_LOG_TRACE, "received rpc-message "
         ^~~~~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:492:42: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 5 has type 'rpcvers_t' {aka 'unsigned int'} [-Wformat=]
         gf_log (GF_RPCSVC, GF_LOG_TRACE, "received rpc-message "
                                          ^~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:211:46: note: in definition of macro
'FMT_WARN'
 #define FMT_WARN(fmt...) do { if (0) printf (fmt); } while (0)
                                              ^~~
rpcsvc.c:492:9: note: in expansion of macro 'gf_log'
         gf_log (GF_RPCSVC, GF_LOG_TRACE, "received rpc-message "
         ^~~~~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:492:42: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 6 has type 'rpcproc_t' {aka 'unsigned int'} [-Wformat=]
         gf_log (GF_RPCSVC, GF_LOG_TRACE, "received rpc-message "
                                          ^~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:211:46: note: in definition of macro
'FMT_WARN'
 #define FMT_WARN(fmt...) do { if (0) printf (fmt); } while (0)
                                              ^~~
rpcsvc.c:492:9: note: in expansion of macro 'gf_log'
         gf_log (GF_RPCSVC, GF_LOG_TRACE, "received rpc-message "
         ^~~~~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:492:42: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 7 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=]
         gf_log (GF_RPCSVC, GF_LOG_TRACE, "received rpc-message "
                                          ^~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:262:34: note: in definition of macro
'gf_log'
                          levl, ##fmt);                                  \
                                  ^~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:492:42: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 8 has type 'rpcvers_t' {aka 'unsigned int'} [-Wformat=]
         gf_log (GF_RPCSVC, GF_LOG_TRACE, "received rpc-message "
                                          ^~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:262:34: note: in definition of macro
'gf_log'
                          levl, ##fmt);                                  \
                                  ^~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:492:42: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 9 has type 'rpcprog_t' {aka 'unsigned int'} [-Wformat=]
         gf_log (GF_RPCSVC, GF_LOG_TRACE, "received rpc-message "
                                          ^~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:262:34: note: in definition of macro
'gf_log'
                          levl, ##fmt);                                  \
                                  ^~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:492:42: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 10 has type 'rpcvers_t' {aka 'unsigned int'} [-Wformat=]
         gf_log (GF_RPCSVC, GF_LOG_TRACE, "received rpc-message "
                                          ^~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:262:34: note: in definition of macro
'gf_log'
                          levl, ##fmt);                                  \
                                  ^~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:492:42: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 11 has type 'rpcproc_t' {aka 'unsigned int'} [-Wformat=]
         gf_log (GF_RPCSVC, GF_LOG_TRACE, "received rpc-message "
                                          ^~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:262:34: note: in definition of macro
'gf_log'
                          levl, ##fmt);                                  \
                                  ^~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:510:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 2 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "RPC version not supported "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:211:46: note: in definition of macro
'FMT_WARN'
 #define FMT_WARN(fmt...) do { if (0) printf (fmt); } while (0)
                                              ^~~
rpcsvc.c:510:17: note: in expansion of macro 'gf_log'
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "RPC version not supported "
                 ^~~~~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:510:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 3 has type 'rpcvers_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "RPC version not supported "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:211:46: note: in definition of macro
'FMT_WARN'
 #define FMT_WARN(fmt...) do { if (0) printf (fmt); } while (0)
                                              ^~~
rpcsvc.c:510:17: note: in expansion of macro 'gf_log'
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "RPC version not supported "
                 ^~~~~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:510:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 4 has type 'rpcprog_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "RPC version not supported "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:211:46: note: in definition of macro
'FMT_WARN'
 #define FMT_WARN(fmt...) do { if (0) printf (fmt); } while (0)
                                              ^~~
rpcsvc.c:510:17: note: in expansion of macro 'gf_log'
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "RPC version not supported "
                 ^~~~~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:510:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 5 has type 'rpcvers_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "RPC version not supported "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:211:46: note: in definition of macro
'FMT_WARN'
 #define FMT_WARN(fmt...) do { if (0) printf (fmt); } while (0)
                                              ^~~
rpcsvc.c:510:17: note: in expansion of macro 'gf_log'
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "RPC version not supported "
                 ^~~~~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:510:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 6 has type 'rpcproc_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "RPC version not supported "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:211:46: note: in definition of macro
'FMT_WARN'
 #define FMT_WARN(fmt...) do { if (0) printf (fmt); } while (0)
                                              ^~~
rpcsvc.c:510:17: note: in expansion of macro 'gf_log'
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "RPC version not supported "
                 ^~~~~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:510:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 7 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "RPC version not supported "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:262:34: note: in definition of macro
'gf_log'
                          levl, ##fmt);                                  \
                                  ^~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:510:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 8 has type 'rpcvers_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "RPC version not supported "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:262:34: note: in definition of macro
'gf_log'
                          levl, ##fmt);                                  \
                                  ^~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:510:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 9 has type 'rpcprog_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "RPC version not supported "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:262:34: note: in definition of macro
'gf_log'
                          levl, ##fmt);                                  \
                                  ^~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:510:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 10 has type 'rpcvers_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "RPC version not supported "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:262:34: note: in definition of macro
'gf_log'
                          levl, ##fmt);                                  \
                                  ^~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:510:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 11 has type 'rpcproc_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "RPC version not supported "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:262:34: note: in definition of macro
'gf_log'
                          levl, ##fmt);                                  \
                                  ^~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:528:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 2 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "auth failed on request. "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:211:46: note: in definition of macro
'FMT_WARN'
 #define FMT_WARN(fmt...) do { if (0) printf (fmt); } while (0)
                                              ^~~
rpcsvc.c:528:17: note: in expansion of macro 'gf_log'
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "auth failed on request. "
                 ^~~~~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:528:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 3 has type 'rpcvers_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "auth failed on request. "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:211:46: note: in definition of macro
'FMT_WARN'
 #define FMT_WARN(fmt...) do { if (0) printf (fmt); } while (0)
                                              ^~~
rpcsvc.c:528:17: note: in expansion of macro 'gf_log'
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "auth failed on request. "
                 ^~~~~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:528:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 4 has type 'rpcprog_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "auth failed on request. "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:211:46: note: in definition of macro
'FMT_WARN'
 #define FMT_WARN(fmt...) do { if (0) printf (fmt); } while (0)
                                              ^~~
rpcsvc.c:528:17: note: in expansion of macro 'gf_log'
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "auth failed on request. "
                 ^~~~~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:528:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 5 has type 'rpcvers_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "auth failed on request. "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:211:46: note: in definition of macro
'FMT_WARN'
 #define FMT_WARN(fmt...) do { if (0) printf (fmt); } while (0)
                                              ^~~
rpcsvc.c:528:17: note: in expansion of macro 'gf_log'
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "auth failed on request. "
                 ^~~~~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:528:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 6 has type 'rpcproc_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "auth failed on request. "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:211:46: note: in definition of macro
'FMT_WARN'
 #define FMT_WARN(fmt...) do { if (0) printf (fmt); } while (0)
                                              ^~~
rpcsvc.c:528:17: note: in expansion of macro 'gf_log'
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "auth failed on request. "
                 ^~~~~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:528:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 7 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "auth failed on request. "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:262:34: note: in definition of macro
'gf_log'
                          levl, ##fmt);                                  \
                                  ^~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:528:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 8 has type 'rpcvers_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "auth failed on request. "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:262:34: note: in definition of macro
'gf_log'
                          levl, ##fmt);                                  \
                                  ^~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:528:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 9 has type 'rpcprog_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "auth failed on request. "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:262:34: note: in definition of macro
'gf_log'
                          levl, ##fmt);                                  \
                                  ^~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:528:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 10 has type 'rpcvers_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "auth failed on request. "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:262:34: note: in definition of macro
'gf_log'
                          levl, ##fmt);                                  \
                                  ^~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
In file included from ../../../libglusterfs/src/common-utils.h:39,
                 from ../../../libglusterfs/src/dict.h:18,
                 from rpc-transport.h:61,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
rpcsvc.c:528:50: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 11 has type 'rpcproc_t' {aka 'unsigned int'} [-Wformat=]
                 gf_log (GF_RPCSVC, GF_LOG_ERROR, "auth failed on request. "
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libglusterfs/src/logging.h:262:34: note: in definition of macro
'gf_log'
                          levl, ##fmt);                                  \
                                  ^~~
In file included from rpc-transport.h:15,
                 from rpcsvc.h:15,
                 from rpcsvc.c:11:
/usr/include/inttypes.h:105:34: note: format string is defined here
 # define PRIu64  __PRI64_PREFIX "u"
rpcsvc.c: In function 'rpcsvc_callback_build_record':
rpcsvc.c:1003:20: error: implicit declaration of function 'xdr_sizeof'; did you
mean 'xdrrec_eof'? [-Werror=implicit-function-declaration]
         xdr_size = xdr_sizeof ((xdrproc_t)xdr_callmsg, &request);
                    ^~~~~~~~~~
                    xdrrec_eof
/bin/bash ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../..  -I/usr/include/uuid  -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-DGF_LINUX_HOST_OS -include ../../../config.h -include ../../../site.h
-I../../../libglusterfs/src -I../../../libglusterfs/src
-I../../../libglusterfs/src -I../../../rpc/xdr/src -I../../../rpc/xdr/src
-DRPC_TRANSPORTDIR=\"/usr/lib/x86_64-linux-gnu/glusterfs/4.1.2/rpc-transport\"
-I../../../contrib/rbtree -Wdate-time -D_FORTIFY_SOURCE=2 -Wall
-I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/build/glusterfs-4.1.2=.
-fstack-protector-strong -Wformat -Werror=format-security -g -rdynamic -Wformat
-Werror=format-security -Werror=implicit-function-declaration -g -O2
-fdebug-prefix-map=/build/glusterfs-4.1.2=. -fstack-protector-strong -Wformat
-Werror=format-security -g -rdynamic -Wformat -Werror=format-security
-Werror=implicit-function-declaration -c -o rpc-transport.lo rpc-transport.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I/usr/include/uuid
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_LINUX_HOST_OS -include
../../../config.h -include ../../../site.h -I../../../libglusterfs/src
-I../../../libglusterfs/src -I../../../libglusterfs/src -I../../../rpc/xdr/src
-I../../../rpc/xdr/src
-DRPC_TRANSPORTDIR=\"/usr/lib/x86_64-linux-gnu/glusterfs/4.1.2/rpc-transport\"
-I../../../contrib/rbtree -Wdate-time -D_FORTIFY_SOURCE=2 -Wall
-I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/build/glusterfs-4.1.2=.
-fstack-protector-strong -Wformat -Werror=format-security -g -rdynamic -Wformat
-Werror=format-security -Werror=implicit-function-declaration -g -O2
-fdebug-prefix-map=/build/glusterfs-4.1.2=. -fstack-protector-strong -Wformat
-Werror=format-security -g -rdynamic -Wformat -Werror=format-security
-Werror=implicit-function-declaration -c rpc-transport.c  -fPIC -DPIC -o
.libs/rpc-transport.o
/bin/bash ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../..  -I/usr/include/uuid  -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-DGF_LINUX_HOST_OS -include ../../../config.h -include ../../../site.h
-I../../../libglusterfs/src -I../../../libglusterfs/src
-I../../../libglusterfs/src -I../../../rpc/xdr/src -I../../../rpc/xdr/src
-DRPC_TRANSPORTDIR=\"/usr/lib/x86_64-linux-gnu/glusterfs/4.1.2/rpc-transport\"
-I../../../contrib/rbtree -Wdate-time -D_FORTIFY_SOURCE=2 -Wall
-I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/build/glusterfs-4.1.2=.
-fstack-protector-strong -Wformat -Werror=format-security -g -rdynamic -Wformat
-Werror=format-security -Werror=implicit-function-declaration -g -O2
-fdebug-prefix-map=/build/glusterfs-4.1.2=. -fstack-protector-strong -Wformat
-Werror=format-security -g -rdynamic -Wformat -Werror=format-security
-Werror=implicit-function-declaration -c -o xdr-rpc.lo xdr-rpc.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I/usr/include/uuid
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_LINUX_HOST_OS -include
../../../config.h -include ../../../site.h -I../../../libglusterfs/src
-I../../../libglusterfs/src -I../../../libglusterfs/src -I../../../rpc/xdr/src
-I../../../rpc/xdr/src
-DRPC_TRANSPORTDIR=\"/usr/lib/x86_64-linux-gnu/glusterfs/4.1.2/rpc-transport\"
-I../../../contrib/rbtree -Wdate-time -D_FORTIFY_SOURCE=2 -Wall
-I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/build/glusterfs-4.1.2=.
-fstack-protector-strong -Wformat -Werror=format-security -g -rdynamic -Wformat
-Werror=format-security -Werror=implicit-function-declaration -g -O2
-fdebug-prefix-map=/build/glusterfs-4.1.2=. -fstack-protector-strong -Wformat
-Werror=format-security -g -rdynamic -Wformat -Werror=format-security
-Werror=implicit-function-declaration -c xdr-rpc.c  -fPIC -DPIC -o
.libs/xdr-rpc.o
cc1: some warnings being treated as errors
make[5]: *** [Makefile:573: rpcsvc.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [Makefile:454: all-recursive] Error 1
make[3]: *** [Makefile:454: all-recursive] Error 1
make[2]: *** [Makefile:594: all-recursive] Error 1
make[1]: *** [Makefile:484: all] Error 2
make[1]: Leaving directory '/build/glusterfs-4.1.2'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list