[Libvirt-ci] Build failed in Jenkins: libvirt-master-build » libvirt-fedora-rawhide #611

ci at centos.org ci at centos.org
Thu Jun 8 17:53:00 UTC 2017


See <https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-rawhide/611/display/redirect?page=changes>

Changes:

[bogorodskiy] virsh: workaround readline prototypes warnings

------------------------------------------
[...truncated 131.05 KB...]
  CC       pipe2.lo
  CC       sig-handler.lo
  CC       sockets.lo
  CC       stat-time.lo
  CC       strnlen1.lo
  CC       sys_socket.lo
  CC       tempname.lo
  CC       glthread/threadlib.lo
  CC       unistd.lo
  CC       wctype-h.lo
  CC       asnprintf.lo
  CC       xsize.lo
  CC       fclose.lo
  CC       fcntl.lo
  CC       fflush.lo
  CC       fseek.lo
  CC       fpurge.lo
  CC       fseeko.lo
  CC       getopt.lo
  CC       getopt1.lo
  CC       ioctl.lo
In file included from ./getopt.h:85:0,
                 from ../../../gnulib/lib/getopt1.c:24:
../../config.h:2942:25: warning: 'struct rpl_option' declared inside parameter list will not be visible outside of this definition or declaration
 #define __GETOPT_PREFIX rpl_
                         ^
../../../gnulib/lib/getopt-pfx-core.h:38:44: note: in expansion of macro '__GETOPT_PREFIX'
 #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                            ^~~~~~~~~~~~~~~
../../config.h:2942:25: warning: 'struct rpl_option' declared inside parameter list will not be visible outside of this definition or declaration
 #define __GETOPT_PREFIX rpl_
                         ^
../../../gnulib/lib/getopt-pfx-core.h:38:44: note: in expansion of macro '__GETOPT_PREFIX'
 #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                            ^~~~~~~~~~~~~~~
../../config.h:2942:25: warning: 'struct rpl_option' declared inside parameter list will not be visible outside of this definition or declaration
 #define __GETOPT_PREFIX rpl_
                         ^
../../../gnulib/lib/getopt-pfx-core.h:38:44: note: in expansion of macro '__GETOPT_PREFIX'
 #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                            ^~~~~~~~~~~~~~~
../../config.h:2942:25: warning: 'struct rpl_option' declared inside parameter list will not be visible outside of this definition or declaration
 #define __GETOPT_PREFIX rpl_
                         ^
../../../gnulib/lib/getopt-pfx-core.h:38:44: note: in expansion of macro '__GETOPT_PREFIX'
 #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                            ^~~~~~~~~~~~~~~
../../config.h:2942:25: warning: 'struct rpl_option' declared inside parameter list will not be visible outside of this definition or declaration
 #define __GETOPT_PREFIX rpl_
                         ^
../../../gnulib/lib/getopt-pfx-core.h:38:44: note: in expansion of macro '__GETOPT_PREFIX'
 #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                            ^~~~~~~~~~~~~~~
../../../gnulib/lib/getopt1.c: In function 'rpl_getopt_long':
../../../gnulib/lib/getopt1.c:31:59: warning: passing argument 4 of 'rpl_getopt_internal' from incompatible pointer type [-Wincompatible-pointer-types]
   return _getopt_internal (argc, (char **) argv, options, long_options,
                                                           ^~~~~~~~~~~~
In file included from ./getopt.h:85:0,
                 from ../../../gnulib/lib/getopt1.c:24:
../../config.h:2942:25: note: expected 'const struct rpl_option *' but argument is of type 'const struct rpl_option *'
 #define __GETOPT_PREFIX rpl_
                         ^
../../../gnulib/lib/getopt-pfx-core.h:38:44: note: in expansion of macro '__GETOPT_PREFIX'
 #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                            ^~~~~~~~~~~~~~~
../../../gnulib/lib/getopt1.c: At top level:
../../config.h:2942:25: warning: 'struct rpl_option' declared inside parameter list will not be visible outside of this definition or declaration
 #define __GETOPT_PREFIX rpl_
                         ^
../../../gnulib/lib/getopt-pfx-core.h:38:44: note: in expansion of macro '__GETOPT_PREFIX'
 #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                            ^~~~~~~~~~~~~~~
../../../gnulib/lib/getopt1.c:36:1: error: conflicting types for '_getopt_long_r'
 _getopt_long_r (int argc, char **argv, const char *options,
 ^~~~~~~~~~~~~~
In file included from ../../../gnulib/lib/getopt1.c:25:0:
../../../gnulib/lib/getopt_int.h:107:12: note: previous declaration of '_getopt_long_r' was here
 extern int _getopt_long_r (int ___argc, char **___argv,
            ^~~~~~~~~~~~~~
../../../gnulib/lib/getopt1.c: In function '_getopt_long_r':
../../../gnulib/lib/getopt1.c:40:51: warning: passing argument 4 of '_getopt_internal_r' from incompatible pointer type [-Wincompatible-pointer-types]
   return _getopt_internal_r (argc, argv, options, long_options, opt_index,
                                                   ^~~~~~~~~~~~
In file included from ../../../gnulib/lib/getopt1.c:25:0:
../../../gnulib/lib/getopt_int.h:101:12: note: expected 'const struct rpl_option *' but argument is of type 'const struct rpl_option *'
 extern int _getopt_internal_r (int ___argc, char **___argv,
            ^~~~~~~~~~~~~~~~~~
In file included from ./getopt.h:85:0,
                 from ../../../gnulib/lib/getopt1.c:24:
../../../gnulib/lib/getopt1.c: At top level:
../../config.h:2942:25: warning: 'struct rpl_option' declared inside parameter list will not be visible outside of this definition or declaration
 #define __GETOPT_PREFIX rpl_
                         ^
../../../gnulib/lib/getopt-pfx-core.h:38:44: note: in expansion of macro '__GETOPT_PREFIX'
 #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                            ^~~~~~~~~~~~~~~
../../../gnulib/lib/getopt1.c: In function 'rpl_getopt_long_only':
../../../gnulib/lib/getopt1.c:54:59: warning: passing argument 4 of 'rpl_getopt_internal' from incompatible pointer type [-Wincompatible-pointer-types]
   return _getopt_internal (argc, (char **) argv, options, long_options,
                                                           ^~~~~~~~~~~~
In file included from ./getopt.h:85:0,
                 from ../../../gnulib/lib/getopt1.c:24:
../../config.h:2942:25: note: expected 'const struct rpl_option *' but argument is of type 'const struct rpl_option *'
 #define __GETOPT_PREFIX rpl_
                         ^
../../../gnulib/lib/getopt-pfx-core.h:38:44: note: in expansion of macro '__GETOPT_PREFIX'
 #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                            ^~~~~~~~~~~~~~~
../../../gnulib/lib/getopt1.c: At top level:
../../config.h:2942:25: warning: 'struct rpl_option' declared inside parameter list will not be visible outside of this definition or declaration
 #define __GETOPT_PREFIX rpl_
                         ^
../../../gnulib/lib/getopt-pfx-core.h:38:44: note: in expansion of macro '__GETOPT_PREFIX'
 #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                            ^~~~~~~~~~~~~~~
../../../gnulib/lib/getopt1.c:59:1: error: conflicting types for '_getopt_long_only_r'
 _getopt_long_only_r (int argc, char **argv, const char *options,
 ^~~~~~~~~~~~~~~~~~~
In file included from ../../../gnulib/lib/getopt1.c:25:0:
../../../gnulib/lib/getopt_int.h:112:12: note: previous declaration of '_getopt_long_only_r' was here
 extern int _getopt_long_only_r (int ___argc, char **___argv,
            ^~~~~~~~~~~~~~~~~~~
../../../gnulib/lib/getopt1.c: In function '_getopt_long_only_r':
../../../gnulib/lib/getopt1.c:63:51: warning: passing argument 4 of '_getopt_internal_r' from incompatible pointer type [-Wincompatible-pointer-types]
   return _getopt_internal_r (argc, argv, options, long_options, opt_index,
                                                   ^~~~~~~~~~~~
In file included from ../../../gnulib/lib/getopt1.c:25:0:
../../../gnulib/lib/getopt_int.h:101:12: note: expected 'const struct rpl_option *' but argument is of type 'const struct rpl_option *'
 extern int _getopt_internal_r (int ___argc, char **___argv,
            ^~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:2377: getopt1.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from ./getopt.h:85:0,
                 from ../../../gnulib/lib/getopt.c:24:
../../config.h:2942:25: warning: 'struct rpl_option' declared inside parameter list will not be visible outside of this definition or declaration
 #define __GETOPT_PREFIX rpl_
                         ^
../../../gnulib/lib/getopt-pfx-core.h:38:44: note: in expansion of macro '__GETOPT_PREFIX'
 #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                            ^~~~~~~~~~~~~~~
../../config.h:2942:25: warning: 'struct rpl_option' declared inside parameter list will not be visible outside of this definition or declaration
 #define __GETOPT_PREFIX rpl_
                         ^
../../../gnulib/lib/getopt-pfx-core.h:38:44: note: in expansion of macro '__GETOPT_PREFIX'
 #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                            ^~~~~~~~~~~~~~~
../../config.h:2942:25: warning: 'struct rpl_option' declared inside parameter list will not be visible outside of this definition or declaration
 #define __GETOPT_PREFIX rpl_
                         ^
../../../gnulib/lib/getopt-pfx-core.h:38:44: note: in expansion of macro '__GETOPT_PREFIX'
 #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                            ^~~~~~~~~~~~~~~
../../config.h:2942:25: warning: 'struct rpl_option' declared inside parameter list will not be visible outside of this definition or declaration
 #define __GETOPT_PREFIX rpl_
                         ^
../../../gnulib/lib/getopt-pfx-core.h:38:44: note: in expansion of macro '__GETOPT_PREFIX'
 #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                            ^~~~~~~~~~~~~~~
../../config.h:2942:25: warning: 'struct rpl_option' declared inside parameter list will not be visible outside of this definition or declaration
 #define __GETOPT_PREFIX rpl_
                         ^
../../../gnulib/lib/getopt-pfx-core.h:38:44: note: in expansion of macro '__GETOPT_PREFIX'
 #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                            ^~~~~~~~~~~~~~~
../../../gnulib/lib/getopt.c: In function 'process_long_option':
../../../gnulib/lib/getopt.c:212:38: error: dereferencing pointer to incomplete type 'const struct rpl_option'
   for (p = longopts, n_options = 0; p->name; p++, n_options++)
                                      ^~
../../../gnulib/lib/getopt.c:212:47: error: increment of pointer to an incomplete type 'const struct rpl_option'
   for (p = longopts, n_options = 0; p->name; p++, n_options++)
                                               ^~
../../../gnulib/lib/getopt.c:230:54: error: increment of pointer to an incomplete type 'const struct rpl_option'
       for (p = longopts, option_index = 0; p->name; p++, option_index++)
                                                      ^~
../../../gnulib/lib/getopt.c:290:27: error: invalid use of undefined type 'struct rpl_option'
           prefix, longopts[option_index].name);
                           ^
../../../gnulib/lib/getopt.c:290:27: error: dereferencing pointer to incomplete type 'const struct rpl_option'
In file included from ./getopt.h:85:0,
                 from ../../../gnulib/lib/getopt.c:24:
../../../gnulib/lib/getopt.c: At top level:
../../config.h:2942:25: warning: 'struct rpl_option' declared inside parameter list will not be visible outside of this definition or declaration
 #define __GETOPT_PREFIX rpl_
                         ^
../../../gnulib/lib/getopt-pfx-core.h:38:44: note: in expansion of macro '__GETOPT_PREFIX'
 #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                            ^~~~~~~~~~~~~~~
../../../gnulib/lib/getopt.c:471:1: error: conflicting types for '_getopt_internal_r'
 _getopt_internal_r (int argc, char **argv, const char *optstring,
 ^~~~~~~~~~~~~~~~~~
In file included from ../../../gnulib/lib/getopt.c:81:0:
../../../gnulib/lib/getopt_int.h:101:12: note: previous declaration of '_getopt_internal_r' was here
 extern int _getopt_internal_r (int ___argc, char **___argv,
            ^~~~~~~~~~~~~~~~~~
../../../gnulib/lib/getopt.c: In function '_getopt_internal_r':
../../../gnulib/lib/getopt.c:574:59: warning: passing argument 4 of 'process_long_option' from incompatible pointer type [-Wincompatible-pointer-types]
        return process_long_option (argc, argv, optstring, longopts,
                                                           ^~~~~~~~
../../../gnulib/lib/getopt.c:194:1: note: expected 'const struct rpl_option *' but argument is of type 'const struct rpl_option *'
 process_long_option (int argc, char **argv, const char *optstring,
 ^~~~~~~~~~~~~~~~~~~
../../../gnulib/lib/getopt.c:596:59: warning: passing argument 4 of 'process_long_option' from incompatible pointer type [-Wincompatible-pointer-types]
        code = process_long_option (argc, argv, optstring, longopts,
                                                           ^~~~~~~~
../../../gnulib/lib/getopt.c:194:1: note: expected 'const struct rpl_option *' but argument is of type 'const struct rpl_option *'
 process_long_option (int argc, char **argv, const char *optstring,
 ^~~~~~~~~~~~~~~~~~~
../../../gnulib/lib/getopt.c:651:53: warning: passing argument 4 of 'process_long_option' from incompatible pointer type [-Wincompatible-pointer-types]
  return process_long_option (argc, argv, optstring, longopts, longind,
                                                     ^~~~~~~~
../../../gnulib/lib/getopt.c:194:1: note: expected 'const struct rpl_option *' but argument is of type 'const struct rpl_option *'
 process_long_option (int argc, char **argv, const char *optstring,
 ^~~~~~~~~~~~~~~~~~~
In file included from ./getopt.h:85:0,
                 from ../../../gnulib/lib/getopt.c:24:
../../../gnulib/lib/getopt.c: At top level:
../../config.h:2942:25: warning: 'struct rpl_option' declared inside parameter list will not be visible outside of this definition or declaration
 #define __GETOPT_PREFIX rpl_
                         ^
../../../gnulib/lib/getopt-pfx-core.h:38:44: note: in expansion of macro '__GETOPT_PREFIX'
 #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                            ^~~~~~~~~~~~~~~
../../config.h:2942:25: error: conflicting types for 'rpl_getopt_internal'
 #define __GETOPT_PREFIX rpl_
                         ^
../../../gnulib/lib/getopt-pfx-core.h:38:44: note: in expansion of macro '__GETOPT_PREFIX'
 #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                            ^~~~~~~~~~~~~~~
../../config.h:2942:25: note: previous declaration of 'rpl_getopt_internal' was here
 #define __GETOPT_PREFIX rpl_
                         ^
../../../gnulib/lib/getopt-pfx-core.h:38:44: note: in expansion of macro '__GETOPT_PREFIX'
 #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                            ^~~~~~~~~~~~~~~
../../../gnulib/lib/getopt.c: In function 'rpl_getopt_internal':
../../../gnulib/lib/getopt.c:712:55: warning: passing argument 4 of '_getopt_internal_r' from incompatible pointer type [-Wincompatible-pointer-types]
   result = _getopt_internal_r (argc, argv, optstring, longopts,
                                                       ^~~~~~~~
../../../gnulib/lib/getopt.c:471:1: note: expected 'const struct rpl_option *' but argument is of type 'const struct rpl_option *'
 _getopt_internal_r (int argc, char **argv, const char *optstring,
 ^~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:2377: getopt.lo] Error 1
make[3]: Leaving directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-rawhide/ws/build/gnulib/lib'>
make[2]: *** [Makefile:2125: all] Error 2
make[2]: Leaving directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-rawhide/ws/build/gnulib/lib'>
make[1]: *** [Makefile:2109: all-recursive] Error 1
make[1]: Leaving directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-rawhide/ws/build'>
make: *** [Makefile:2002: all] Error 2
Build step 'Execute shell' marked build as failure




More information about the Libvirt-ci mailing list