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

ci at centos.org ci at centos.org
Tue Feb 20 17:46:58 UTC 2018


See <https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fedora-rawhide/903/display/redirect>

------------------------------------------
[...truncated 13.36 KB...]
checking whether C compiler handles -Wunused-but-set-variable... yes
checking whether C compiler handles -Wunused-function... yes
checking whether C compiler handles -Wunused-label... yes
checking whether C compiler handles -Wunused-local-typedefs... yes
checking whether C compiler handles -Wunused-parameter... yes
checking whether C compiler handles -Wunused-result... yes
checking whether C compiler handles -Wunused-value... yes
checking whether C compiler handles -Wunused-variable... yes
checking whether C compiler handles -Wvarargs... yes
checking whether C compiler handles -Wvariadic-macros... yes
checking whether C compiler handles -Wvector-operation-performance... yes
checking whether C compiler handles -Wvla... yes
checking whether C compiler handles -Wvolatile-register-var... yes
checking whether C compiler handles -Wwrite-strings... yes
checking whether C compiler handles -Wnormalized=nfc... yes
checking whether C compiler handles -Wno-sign-compare... yes
checking whether C compiler handles -Wno-sign-conversion... yes
checking whether C compiler handles -Wno-conversion... yes
checking whether C compiler handles -Wno-unused-parameter... yes
checking whether C compiler handles -Wno-format-nonliteral... yes
checking whether C compiler handles -Wjump-misses-init... (cached) yes
checking whether C compiler handles -Wframe-larger-than=4096... yes
checking whether C compiler handles -fstack-protector-all... yes
checking whether C compiler handles --param=ssp-buffer-size=4... yes
checking whether C compiler handles -fexceptions... yes
checking whether C compiler handles -fasynchronous-unwind-tables... yes
checking whether C compiler handles -fdiagnostics-show-option... yes
checking whether C compiler handles -funit-at-a-time... yes
checking whether C compiler handles -fipa-pure-const... yes
checking whether C compiler handles -Wno-suggest-attribute=pure... yes
checking whether C compiler handles -Wno-suggest-attribute=const... yes
checking whether C compiler handles -Werror... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GIO_UNIX... yes
checking for GOBJECT... yes
checking for LIBVIRT... yes
checking for LIBVIRT_GLIB... yes
checking for LIBVIRT_GOBJECT... yes
checking for LIBVIRT_GCONFIG... yes
checking for ZLIB... yes
checking for LZMA... yes
checking cap-ng.h usability... yes
checking cap-ng.h presence... yes
checking for cap-ng.h... yes
checking for capng_updatev in -lcap-ng... yes
checking for gtk-doc... yes
checking for gtkdoc-check... gtkdoc-check.test
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... yes
checking for GTKDOC_DEPS... yes
checking for perl... /usr/bin/perl
checking for rpcgen... /usr/bin/rpcgen
checking selinux/selinux.h usability... yes
checking selinux/selinux.h presence... yes
checking for selinux/selinux.h... yes
checking for fgetfilecon in -lselinux... yes
checking for library containing xdrmem_create... -ltirpc
checking where to find <rpc/rpc.h>... -I/usr/include/tirpc
checking for static LIBC... yes
checking for static LZMA... yes
checking for static ZLIB... yes
checking for ldd... /usr/bin/ldd
checking for gobject-introspection... yes
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.26.1
checking for XML::Parser... ok
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libvirt-sandbox/Makefile
config.status: creating libvirt-sandbox/tests/Makefile
config.status: creating libvirt-sandbox/image/Makefile
config.status: creating libvirt-sandbox/image/sources/Makefile
config.status: creating bin/Makefile
config.status: creating examples/Makefile
config.status: creating docs/Makefile
config.status: creating docs/libvirt-sandbox/Makefile
config.status: creating po/Makefile.in
config.status: creating libvirt-sandbox.spec
config.status: creating libvirt-sandbox-1.0.pc
config.status: creating config.h
config.status: linking ../GNUmakefile to GNUmakefile
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po/stamp-it commands
configure: 
configure: Configuration summary
configure: =====================
configure: 
configure: 
configure:  Libraries:
configure: 
configure:             LZMA:  -llzma -pthread 
configure:             ZLIB:  -lz 
configure:          GOBJECT: -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -lgobject-2.0 -lglib-2.0 
configure:  LIBVIRT_GOBJECT: -I/home/jenkins/build/libvirt/include/libvirt-gobject-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/home/jenkins/build/libvirt/include/libvirt-gconfig-1.0 -I/usr/include/libxml2 -pthread  -L/home/jenkins/build/libvirt/lib -lvirt-gobject-1.0 -lgio-2.0 -lvirt-gconfig-1.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lvirt 
configure: 

Now type 'make' to compile libvirt-sandbox.
+ make -j3
make  all-recursive
make[1]: Entering directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fedora-rawhide/ws/build'>
Making all in libvirt-sandbox
make[2]: Entering directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fedora-rawhide/ws/build/libvirt-sandbox'>
  GEN      libvirt-sandbox-enum-types.h
  GEN      libvirt-sandbox-enum-types.c
  GEN      libvirt-sandbox-protocol.h
  GEN      libvirt-sandbox-protocol.c
make  all-recursive
make[3]: Entering directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fedora-rawhide/ws/build/libvirt-sandbox'>
Making all in tests
make[4]: Entering directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fedora-rawhide/ws/build/libvirt-sandbox/tests'>
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fedora-rawhide/ws/build/libvirt-sandbox/tests'>
Making all in image
make[4]: Entering directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fedora-rawhide/ws/build/libvirt-sandbox/image'>
Making all in sources
make[5]: Entering directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fedora-rawhide/ws/build/libvirt-sandbox/image/sources'>
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fedora-rawhide/ws/build/libvirt-sandbox/image/sources'>
make[5]: Entering directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fedora-rawhide/ws/build/libvirt-sandbox/image'>
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fedora-rawhide/ws/build/libvirt-sandbox/image'>
make[4]: Leaving directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fedora-rawhide/ws/build/libvirt-sandbox/image'>
make[4]: Entering directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fedora-rawhide/ws/build/libvirt-sandbox'>
  CC       libvirt_sandbox_1_0_la-libvirt-sandbox-main.lo
  CC       libvirt_sandbox_1_0_la-libvirt-sandbox-builder.lo
  CC       libvirt_sandbox_1_0_la-libvirt-sandbox-builder-initrd.lo
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from /home/jenkins/build/libvirt/include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject.h:26,
                 from ../../libvirt-sandbox/libvirt-sandbox.h:27,
                 from ../../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:31:
../../libvirt-sandbox/libvirt-sandbox-builder-initrd.c: In function ‘gvir_sandbox_builder_initrd_get_type’:
/usr/include/glib-2.0/gobject/gtype.h:1977:40: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
                                        (GClassInitFunc) type_name##_class_intern_init, \
                                        ^
/usr/include/glib-2.0/gobject/gtype.h:1995:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’
   _G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER(TypeName, type_name, TYPE_PARENT, flags) \
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1737:60: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
 #define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_)     _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1595:43: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
 #define G_DEFINE_TYPE(TN, t_n, T_P)       G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
                                           ^~~~~~~~~~~~~~~~~~~~~~
../../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:54:1: note: in expansion of macro ‘G_DEFINE_TYPE’
 G_DEFINE_TYPE(GVirSandboxBuilderInitrd, gvir_sandbox_builder_initrd, G_TYPE_OBJECT);
 ^~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1979:40: error: cast between incompatible function types from ‘void (*)(GVirSandboxBuilderInitrd *)’ {aka ‘void (*)(struct _GVirSandboxBuilderInitrd *)’} to ‘void (*)(GTypeInstance *, void *)’ {aka ‘void (*)(struct _GTypeInstance *, void *)’} [-Werror=cast-function-type]
                                        (GInstanceInitFunc) type_name##_init, \
                                        ^
/usr/include/glib-2.0/gobject/gtype.h:1995:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’
   _G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER(TypeName, type_name, TYPE_PARENT, flags) \
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1737:60: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
 #define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_)     _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1595:43: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
 #define G_DEFINE_TYPE(TN, t_n, T_P)       G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
                                           ^~~~~~~~~~~~~~~~~~~~~~
../../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:54:1: note: in expansion of macro ‘G_DEFINE_TYPE’
 G_DEFINE_TYPE(GVirSandboxBuilderInitrd, gvir_sandbox_builder_initrd, G_TYPE_OBJECT);
 ^~~~~~~~~~~~~
../../libvirt-sandbox/libvirt-sandbox-builder-initrd.c: In function ‘gvir_sandbox_builder_initrd_find_files’:
../../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:260:34: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
         g_list_foreach(modfiles, (GFunc)g_object_unref, NULL);
                                  ^
../../libvirt-sandbox/libvirt-sandbox-builder-initrd.c: In function ‘gvir_sandbox_builder_initrd_populate_tmpdir’:
../../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:428:30: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
     g_list_foreach(modfiles, (GFunc)g_object_unref, NULL);
                              ^
cc1: all warnings being treated as errors
make[4]: *** [Makefile:1073: libvirt_sandbox_1_0_la-libvirt-sandbox-builder-initrd.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from /home/jenkins/build/libvirt/include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject.h:26,
                 from ../../libvirt-sandbox/libvirt-sandbox.h:27,
                 from ../../libvirt-sandbox/libvirt-sandbox-builder.c:27:
../../libvirt-sandbox/libvirt-sandbox-builder.c: In function ‘gvir_sandbox_builder_get_type’:
/usr/include/glib-2.0/gobject/gtype.h:1977:40: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
                                        (GClassInitFunc) type_name##_class_intern_init, \
                                        ^
/usr/include/glib-2.0/gobject/gtype.h:1995:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’
   _G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER(TypeName, type_name, TYPE_PARENT, flags) \
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1737:60: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
 #define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_)     _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1644:51: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
 #define G_DEFINE_ABSTRACT_TYPE(TN, t_n, T_P)      G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, G_TYPE_FLAG_ABSTRACT, {})
                                                   ^~~~~~~~~~~~~~~~~~~~~~
../../libvirt-sandbox/libvirt-sandbox-builder.c:50:1: note: in expansion of macro ‘G_DEFINE_ABSTRACT_TYPE’
 G_DEFINE_ABSTRACT_TYPE(GVirSandboxBuilder, gvir_sandbox_builder, G_TYPE_OBJECT);
 ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1979:40: error: cast between incompatible function types from ‘void (*)(GVirSandboxBuilder *)’ {aka ‘void (*)(struct _GVirSandboxBuilder *)’} to ‘void (*)(GTypeInstance *, void *)’ {aka ‘void (*)(struct _GTypeInstance *, void *)’} [-Werror=cast-function-type]
                                        (GInstanceInitFunc) type_name##_init, \
                                        ^
/usr/include/glib-2.0/gobject/gtype.h:1995:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’
   _G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER(TypeName, type_name, TYPE_PARENT, flags) \
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1737:60: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
 #define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_)     _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1644:51: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
 #define G_DEFINE_ABSTRACT_TYPE(TN, t_n, T_P)      G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, G_TYPE_FLAG_ABSTRACT, {})
                                                   ^~~~~~~~~~~~~~~~~~~~~~
../../libvirt-sandbox/libvirt-sandbox-builder.c:50:1: note: in expansion of macro ‘G_DEFINE_ABSTRACT_TYPE’
 G_DEFINE_ABSTRACT_TYPE(GVirSandboxBuilder, gvir_sandbox_builder, G_TYPE_OBJECT);
 ^~~~~~~~~~~~~~~~~~~~~~
../../libvirt-sandbox/libvirt-sandbox-builder.c: In function ‘gvir_sandbox_builder_construct_disk_cfg’:
../../libvirt-sandbox/libvirt-sandbox-builder.c:495:27: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
     g_list_foreach(disks, (GFunc)g_object_unref, NULL);
                           ^
../../libvirt-sandbox/libvirt-sandbox-builder.c: In function ‘gvir_sandbox_builder_set_filterref’:
../../libvirt-sandbox/libvirt-sandbox-builder.c:797:32: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
     g_list_foreach(parameters, (GFunc)g_object_unref, NULL);
                                ^
cc1: all warnings being treated as errors
make[4]: *** [Makefile:1066: libvirt_sandbox_1_0_la-libvirt-sandbox-builder.lo] Error 1
make[4]: Leaving directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fedora-rawhide/ws/build/libvirt-sandbox'>
make[3]: *** [Makefile:1743: all-recursive] Error 1
make[3]: Leaving directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fedora-rawhide/ws/build/libvirt-sandbox'>
make[2]: *** [Makefile:840: all] Error 2
make[2]: Leaving directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fedora-rawhide/ws/build/libvirt-sandbox'>
make[1]: *** [Makefile:566: all-recursive] Error 1
make[1]: Leaving directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fedora-rawhide/ws/build'>
make: *** [Makefile:473: all] Error 2
Build step 'Execute shell' marked build as failure




More information about the Libvirt-ci mailing list