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

ci at centos.org ci at centos.org
Wed Sep 7 12:56:40 UTC 2016


https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-rawhide/58/Changes:

[mprivozn] Make sure sys/types.h is included after sys/sysmacros.h

[mnestratov] qemu: guest agent: introduce new error code VIR_ERR_AGENT_UNSYNCED

------------------------------------------
[...truncated 3825 lines...]
  GEN      charset.alias
  GEN      ref-add.sed
  GEN      ref-del.sed
  CC       glthread/lock.lo
  CCLD     libgnu.la
make[3]: Leaving directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-rawhide/ws/build/gnulib/lib'>
make[2]: Leaving directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-rawhide/ws/build/gnulib/lib'>
Making all in include/libvirt
make[2]: Entering directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-rawhide/ws/build/include/libvirt'>
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-rawhide/ws/build/include/libvirt'>
Making all in src
make[2]: Entering directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-rawhide/ws/build/src'>
/usr/bin/mkdir -p util/
  GEN      locking/lock_protocol.h
  GEN      util/virkeymaps.h
  GEN      locking/lock_daemon_dispatch_stubs.h
  GEN      logging/log_protocol.h
  GEN      logging/log_daemon_dispatch_stubs.h
  GEN      admin/admin_protocol.h
  GEN      admin/admin_client.h
  GEN      lxc/lxc_monitor_protocol.h
  GEN      lxc/lxc_monitor_dispatch.h
  GEN      lxc/lxc_controller_dispatch.h
  GEN      remote/remote_protocol.h
  GEN      remote/lxc_protocol.h
  GEN      remote/remote_client_bodies.h
  GEN      remote/lxc_client_bodies.h
  GEN      remote/qemu_protocol.h
  GEN      remote/qemu_client_bodies.h
  GEN      .esx_vi_generator.stamp
  GEN      .hyperv_wmi_generator.stamp
  GEN      ../../src/access/org.libvirt.api.policy
  GEN      ../../src/hyperv/hyperv_wmi.generated.h
  GEN      ../../src/hyperv/hyperv_wmi.generated.c
  GEN      ../../src/hyperv/hyperv_wmi_classes.generated.typedef
  GEN      ../../src/hyperv/hyperv_wmi_classes.generated.h
  GEN      ../../src/hyperv/hyperv_wmi_classes.generated.c
  GEN      access/viraccessapicheck.h
  GEN      ../../src/esx/esx_vi_types.generated.typedef
  GEN      ../../src/esx/esx_vi_types.generated.typeenum
  GEN      ../../src/esx/esx_vi_types.generated.typetostring
  GEN      ../../src/esx/esx_vi_types.generated.typefromstring
  GEN      ../../src/esx/esx_vi_types.generated.h
  GEN      ../../src/esx/esx_vi_types.generated.c
  GEN      ../../src/esx/esx_vi_methods.generated.h
  GEN      ../../src/esx/esx_vi_methods.generated.c
  GEN      ../../src/esx/esx_vi_methods.generated.macro
  GEN      ../../src/esx/esx_vi.generated.h
  GEN      ../../src/esx/esx_vi.generated.c
  GEN      access/viraccessapicheck.c
  GEN      access/viraccessapicheckqemu.h
  GEN      access/viraccessapicheckqemu.c
  GEN      access/viraccessapichecklxc.h
  GEN      access/viraccessapichecklxc.c
  GEN      libvirt_access.xml
  GEN      libvirt_access_qemu.xml
  GEN      libvirt_access_lxc.xml
  GEN      libvirt_access.syms
  GEN      libvirt_access_qemu.syms
  GEN      libvirt_access_lxc.syms
  GEN      libvirt_qemu.def
  GEN      libvirt_lxc.def
  GEN      libvirt_probes.h
  GEN      libvirt_admin.syms
  GEN      libvirt_probes.stp
  GEN      libvirt_functions.stp
  GEN      libvirt_qemu_probes.h
  GEN      locking/qemu-lockd.conf
  GEN      locking/libxl-lockd.conf
  GEN      virtlockd.service
  GEN      virtlockd.socket
  GEN      virtlogd.service
  GEN      virtlogd.socket
  GEN      locking/qemu-sanlock.conf
  GEN      locking/libxl-sanlock.conf
  GEN      rpc/virnetprotocol.h
  GEN      rpc/virkeepaliveprotocol.h
  GEN      locking/lock_protocol.c
  GEN      logging/log_protocol.c
  GEN      admin/admin_protocol.c
  GEN      lxc/lxc_monitor_protocol.c
  GEN      remote/remote_protocol.c
  GEN      remote/lxc_protocol.c
  GEN      remote/qemu_protocol.c
  GEN      libvirt.syms
  GEN      libvirt_admin.def
  GEN      rpc/virnetprotocol.c
  GEN      rpc/virkeepaliveprotocol.c
  GEN      libvirt.def
make  all-am
make[3]: Entering directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-rawhide/ws/build/src'>
  CC       libvirt_driver_la-driver.lo
  CC       libvirt_driver_la-datatypes.lo
  CC       libvirt_driver_la-fdstream.lo
  CC       libvirt_driver_la-nodeinfo.lo
  CC       libvirt_driver_la-libvirt.lo
  CC       libvirt_driver_la-libvirt-domain.lo
  CC       libvirt_driver_la-libvirt-domain-snapshot.lo
  CC       libvirt_driver_la-libvirt-host.lo
  CC       libvirt_driver_la-libvirt-interface.lo
  CC       libvirt_driver_la-libvirt-network.lo
  CC       libvirt_driver_la-libvirt-nodedev.lo
  CC       libvirt_driver_la-libvirt-nwfilter.lo
  CC       libvirt_driver_la-libvirt-secret.lo
  CC       libvirt_driver_la-libvirt-storage.lo
  CC       libvirt_driver_la-libvirt-stream.lo
  GEN      libvirt_probes.o
  CC       libvirt_qemu_la-libvirt-qemu.lo
  CC       libvirt_lxc_la-libvirt-lxc.lo
  CC       libvirt_admin_la-libvirt-admin.lo
  CC       libvirt_admin_la-datatypes.lo
  CC       locking/lockd_la-lock_driver_lockd.lo
  CC       locking/lockd_la-lock_protocol.lo
  CC       locking/sanlock_la-lock_driver_sanlock.lo
  GEN      libvirt_qemu_probes.o
  CC       secret/libvirt_driver_secret_la-secret_driver.lo
  CC       util/libvirt_setuid_rpc_client_la-viralloc.lo
  CC       util/libvirt_setuid_rpc_client_la-viratomic.lo
  CC       util/libvirt_setuid_rpc_client_la-virbitmap.lo
  CC       util/libvirt_setuid_rpc_client_la-virbuffer.lo
  CC       util/libvirt_setuid_rpc_client_la-vircgroup.lo
  CC       util/libvirt_setuid_rpc_client_la-vircommand.lo
  CC       util/libvirt_setuid_rpc_client_la-virconf.lo
../../src/util/vircgroup.c: In function 'virCgroupGetBlockDevString':
../../src/util/vircgroup.c:768:5: error: '__major_from_sys_types' is deprecated: 
  In the GNU C Library, `major' is defined by <sys/sysmacros.h>.
  For historical compatibility, it is currently defined by
  <sys/types.h> as well, but we plan to remove this soon.
  To use `major', include <sys/sysmacros.h> directly.
  If you did not intend to use a system-defined macro `major',
  you should #undef it after including <sys/types.h>.
  [-Werror=deprecated-declarations]
     if (virAsprintf(&ret, "%d:%d ", major(sb.st_rdev), minor(sb.st_rdev)) < 0)
     ^~
In file included from /usr/include/features.h:397:0,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from ../gnulib/lib/stdio.h:43,
                 from ../../src/util/vircgroup.c:26:
/usr/include/sys/sysmacros.h:87:1: note: declared here
 __SYSMACROS_DEFINE_MAJOR (__SYSMACROS_FST_IMPL_TEMPL)
 ^
../../src/util/vircgroup.c:768:5: error: '__minor_from_sys_types' is deprecated: 
  In the GNU C Library, `minor' is defined by <sys/sysmacros.h>.
  For historical compatibility, it is currently defined by
  <sys/types.h> as well, but we plan to remove this soon.
  To use `minor', include <sys/sysmacros.h> directly.
  If you did not intend to use a system-defined macro `minor',
  you should #undef it after including <sys/types.h>.
  [-Werror=deprecated-declarations]
     if (virAsprintf(&ret, "%d:%d ", major(sb.st_rdev), minor(sb.st_rdev)) < 0)
     ^~
In file included from /usr/include/features.h:397:0,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from ../gnulib/lib/stdio.h:43,
                 from ../../src/util/vircgroup.c:26:
/usr/include/sys/sysmacros.h:88:1: note: declared here
 __SYSMACROS_DEFINE_MINOR (__SYSMACROS_FST_IMPL_TEMPL)
 ^
../../src/util/vircgroup.c: In function 'virCgroupAllowDevicePath':
../../src/util/vircgroup.c:2944:33: error: '__major_from_sys_types' is deprecated: 
  In the GNU C Library, `major' is defined by <sys/sysmacros.h>.
  For historical compatibility, it is currently defined by
  <sys/types.h> as well, but we plan to remove this soon.
  To use `major', include <sys/sysmacros.h> directly.
  If you did not intend to use a system-defined macro `major',
  you should #undef it after including <sys/types.h>.
  [-Werror=deprecated-declarations]
                                 major(sb.st_rdev),
                                 ^~~~~
In file included from /usr/include/features.h:397:0,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from ../gnulib/lib/stdio.h:43,
                 from ../../src/util/vircgroup.c:26:
/usr/include/sys/sysmacros.h:87:1: note: declared here
 __SYSMACROS_DEFINE_MAJOR (__SYSMACROS_FST_IMPL_TEMPL)
 ^
../../src/util/vircgroup.c:2945:33: error: '__minor_from_sys_types' is deprecated: 
  In the GNU C Library, `minor' is defined by <sys/sysmacros.h>.
  For historical compatibility, it is currently defined by
  <sys/types.h> as well, but we plan to remove this soon.
  To use `minor', include <sys/sysmacros.h> directly.
  If you did not intend to use a system-defined macro `minor',
  you should #undef it after including <sys/types.h>.
  [-Werror=deprecated-declarations]
                                 minor(sb.st_rdev),
                                 ^~~~~
In file included from /usr/include/features.h:397:0,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from ../gnulib/lib/stdio.h:43,
                 from ../../src/util/vircgroup.c:26:
/usr/include/sys/sysmacros.h:88:1: note: declared here
 __SYSMACROS_DEFINE_MINOR (__SYSMACROS_FST_IMPL_TEMPL)
 ^
../../src/util/vircgroup.c: In function 'virCgroupDenyDevicePath':
../../src/util/vircgroup.c:3035:32: error: '__major_from_sys_types' is deprecated: 
  In the GNU C Library, `major' is defined by <sys/sysmacros.h>.
  For historical compatibility, it is currently defined by
  <sys/types.h> as well, but we plan to remove this soon.
  To use `major', include <sys/sysmacros.h> directly.
  If you did not intend to use a system-defined macro `major',
  you should #undef it after including <sys/types.h>.
  [-Werror=deprecated-declarations]
                                major(sb.st_rdev),
                                ^~~~~
In file included from /usr/include/features.h:397:0,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from ../gnulib/lib/stdio.h:43,
                 from ../../src/util/vircgroup.c:26:
/usr/include/sys/sysmacros.h:87:1: note: declared here
 __SYSMACROS_DEFINE_MAJOR (__SYSMACROS_FST_IMPL_TEMPL)
 ^
../../src/util/vircgroup.c:3036:32: error: '__minor_from_sys_types' is deprecated: 
  In the GNU C Library, `minor' is defined by <sys/sysmacros.h>.
  For historical compatibility, it is currently defined by
  <sys/types.h> as well, but we plan to remove this soon.
  To use `minor', include <sys/sysmacros.h> directly.
  If you did not intend to use a system-defined macro `minor',
  you should #undef it after including <sys/types.h>.
  [-Werror=deprecated-declarations]
                                minor(sb.st_rdev),
                                ^~~~~
In file included from /usr/include/features.h:397:0,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from ../gnulib/lib/stdio.h:43,
                 from ../../src/util/vircgroup.c:26:
/usr/include/sys/sysmacros.h:88:1: note: declared here
 __SYSMACROS_DEFINE_MINOR (__SYSMACROS_FST_IMPL_TEMPL)
 ^
cc1: all warnings being treated as errors
Makefile:7658: recipe for target 'util/libvirt_setuid_rpc_client_la-vircgroup.lo' failed
make[3]: *** [util/libvirt_setuid_rpc_client_la-vircgroup.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-rawhide/ws/build/src'>
Makefile:5395: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-rawhide/ws/build/src'>
Makefile:2004: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-rawhide/ws/build'>
Makefile:1901: recipe for target 'all' failed
make: *** [all] Error 2
Build step 'Execute shell' marked build as failure




More information about the Libvirt-ci mailing list