See
<
https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-9/1204/dis...
Changes:
[jtomko] Remove virutil.h where possible
[jtomko] tests: include unistd.h instead of virutil.h
[jtomko] util: vircgroup: include unistd.h rather than virutil.h
[jtomko] util: virportallocator: add includes
[jtomko] tools: virt-host-validate: move virutil.h include
[jtomko] Include unistd.h where used
[jtomko] virsh: include virutil.h where used
[jtomko] Remove virutil.h from all header files
------------------------------------------
[...truncated 41.92 KB...]
configure: QEMU: root:root (!!! running QEMU as root is strongly
discouraged !!!)
configure:
Now type 'make' to compile libvirt
+ /usr/bin/make
GEN configmake.h
/usr/bin/make all-recursive
make[1]: Entering directory
'<https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-9/ws/build'>
Making all in .
make[2]: Entering directory
'<https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-9/ws/build'>
make[2]: Leaving directory
'<https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-9/ws/build'>
Making all in include/libvirt
make[2]: Entering directory
'<https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-9/ws/build/include/libvirt'>
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory
'<https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-9/ws/build/include/libvirt'>
Making all in src
make[2]: Entering directory
'<https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-9/ws/build/src'>
GEN util/virkeycodetable_osx.h
GEN util/virkeycodetable_atset1.h
GEN util/virkeycodetable_linux.h
GEN util/virkeycodetable_atset2.h
GEN util/virkeycodetable_atset3.h
GEN util/virkeycodetable_xtkbd.h
GEN util/virkeycodetable_usb.h
GEN util/virkeycodetable_win32.h
GEN util/virkeycodetable_qnum.h
GEN util/virkeynametable_linux.h
GEN util/virkeynametable_osx.h
GEN util/virkeynametable_win32.h
GEN security/apparmor/usr.lib.libvirt.virt-aa-helper
GEN security/apparmor/usr.sbin.libvirtd
GEN access/org.libvirt.api.policy
GEN access/viraccessapicheck.h
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 logging/log_protocol.h
GEN logging/log_daemon_dispatch_stubs.h
GEN locking/lock_protocol.h
GEN locking/lock_daemon_dispatch_stubs.h
GEN admin/admin_protocol.h
GEN admin/admin_client.h
GEN admin/admin_server_dispatch_stubs.h
GEN rpc/virnetprotocol.h
GEN rpc/virkeepaliveprotocol.h
GEN .esx_vi_generator.stamp
GEN .hyperv_wmi_generator.stamp
GEN libvirt_qemu_probes.h
GEN esx/esx_vi_types.generated.typedef
GEN esx/esx_vi_types.generated.typeenum
GEN esx/esx_vi_types.generated.typetostring
GEN esx/esx_vi_types.generated.typefromstring
GEN esx/esx_vi_types.generated.h
GEN esx/esx_vi_types.generated.c
GEN esx/esx_vi_methods.generated.h
GEN esx/esx_vi_methods.generated.c
GEN esx/esx_vi_methods.generated.macro
GEN esx/esx_vi.generated.h
GEN esx/esx_vi.generated.c
GEN hyperv/hyperv_wmi_classes.generated.typedef
GEN hyperv/hyperv_wmi_classes.generated.h
GEN hyperv/hyperv_wmi_classes.generated.c
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/remote_client_bodies.h
GEN remote/lxc_protocol.h
GEN remote/lxc_client_bodies.h
GEN remote/qemu_protocol.h
GEN remote/qemu_client_bodies.h
GEN remote/remote_daemon_dispatch_stubs.h
GEN remote/lxc_daemon_dispatch_stubs.h
GEN remote/qemu_daemon_dispatch_stubs.h
GEN locking/qemu-lockd.conf
GEN locking/libxl-lockd.conf
GEN locking/qemu-sanlock.conf
GEN locking/libxl-sanlock.conf
GEN vbox/virtvboxd.conf
GEN qemu/virtqemud.conf
GEN libxl/virtxend.conf
GEN interface/virtinterfaced.conf
GEN lxc/virtlxcd.conf
GEN network/virtnetworkd.conf
GEN nwfilter/virtnwfilterd.conf
GEN node_device/virtnodedevd.conf
GEN secret/virtsecretd.conf
GEN remote/libvirtd.conf
GEN storage/virtstoraged.conf
GEN remote/virtproxyd.conf
GEN libvirt_access.syms
GEN libvirt_access_qemu.syms
GEN libvirt_access_lxc.syms
GEN admin/libvirt_admin.syms
GEN libvirt_qemu.def
GEN libvirt_probes.h
GEN libvirt_lxc.def
GEN libvirt_probes.stp
GEN libvirt_functions.stp
GEN libvirtd.qemu.logrotate
GEN libvirtd.lxc.logrotate
GEN libvirtd.libxl.logrotate
GEN libvirtd.logrotate
GEN virtlogd.service
GEN virtlogd.socket
GEN virtlogd-admin.socket
GEN virtlockd.service
GEN virtlockd.socket
GEN virtlockd-admin.socket
GEN virtvboxd.service
GEN virtvboxd.socket
GEN virtvboxd-ro.socket
GEN virtvboxd-admin.socket
GEN virtqemud.service
GEN virtqemud.socket
GEN virtqemud-ro.socket
GEN virtxend.service
GEN virtqemud-admin.socket
GEN virtxend.socket
GEN virtxend-ro.socket
GEN virtxend-admin.socket
GEN virtlxcd.service
GEN virtlxcd.socket
GEN virtlxcd-ro.socket
GEN virtlxcd-admin.socket
GEN virtinterfaced.service
GEN virtinterfaced.socket
GEN virtinterfaced-ro.socket
GEN virtinterfaced-admin.socket
GEN virtnetworkd.service
GEN virtnetworkd.socket
GEN virtnetworkd-ro.socket
GEN virtnetworkd-admin.socket
GEN virtnwfilterd.service
GEN virtnwfilterd.socket
GEN virtnwfilterd-ro.socket
GEN virtnwfilterd-admin.socket
GEN virtnodedevd.service
GEN virtnodedevd.socket
GEN virtnodedevd-ro.socket
GEN virtnodedevd-admin.socket
GEN virtsecretd.service
GEN virtsecretd.socket
GEN virtsecretd-ro.socket
GEN virtsecretd-admin.socket
GEN virtstoraged.service
GEN virtstoraged.socket
GEN virtstoraged-ro.socket
GEN virtstoraged-admin.socket
GEN libvirtd.service
GEN libvirtd.socket
GEN libvirtd-ro.socket
GEN libvirtd-admin.socket
GEN libvirtd-tcp.socket
GEN libvirtd-tls.socket
GEN virtproxyd.service
GEN virtproxyd.socket
GEN virtproxyd-ro.socket
GEN virtproxyd-admin.socket
GEN virtproxyd-tcp.socket
GEN virtproxyd-tls.socket
GEN virt-guest-shutdown.target
GEN logging/log_protocol.c
GEN locking/lock_protocol.c
GEN admin/admin_protocol.c
GEN rpc/virnetprotocol.c
GEN rpc/virkeepaliveprotocol.c
GEN lxc/lxc_monitor_protocol.c
GEN remote/remote_protocol.c
GEN remote/lxc_protocol.c
GEN remote/qemu_protocol.c
GEN admin/libvirt_admin.def
GEN libvirt.syms
GEN libvirt.def
/usr/bin/make all-am
make[3]: Entering directory
'<https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-9/ws/build/src'>
CC libvirt_driver_la-datatypes.lo
CC libvirt_driver_la-driver.lo
CC libvirt_driver_la-libvirt.lo
CC libvirt_driver_la-libvirt-domain.lo
CC libvirt_driver_la-libvirt-domain-checkpoint.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-datatypes.lo
CC admin/libvirt_admin_la-admin_protocol.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 admin/libvirt_driver_admin_la-admin_server.lo
CC admin/libvirt_driver_admin_la-admin_server_dispatch.lo
CC admin/libvirt_driver_admin_la-admin_protocol.lo
CC storage/libvirt_storage_backend_sheepdog_priv_la-storage_backend_sheepdog.lo
CC storage/libvirt_storage_backend_fs_la-storage_backend_fs.lo
CC storage/libvirt_storage_backend_logical_la-storage_backend_logical.lo
CC storage/libvirt_storage_backend_iscsi_la-storage_backend_iscsi.lo
CC storage/libvirt_storage_backend_scsi_la-storage_backend_scsi.lo
CC storage/libvirt_storage_backend_mpath_la-storage_backend_mpath.lo
CC storage/libvirt_storage_backend_disk_la-storage_backend_disk.lo
CC storage/libvirt_storage_backend_rbd_la-storage_backend_rbd.lo
CC storage/libvirt_storage_backend_sheepdog_la-storage_backend_sheepdog.lo
CC storage/libvirt_storage_backend_gluster_la-storage_backend_gluster.lo
CC storage/libvirt_storage_backend_zfs_la-storage_backend_zfs.lo
CC storage/libvirt_storage_file_fs_la-storage_file_fs.lo
CC storage/libvirt_storage_file_gluster_la-storage_file_gluster.lo
CC qemu/qemu_shim.o
CC virt_aa_helper-datatypes.o
CC security/virt_aa_helper-virt-aa-helper.o
CC locking/libvirt_sanlock_helper-sanlock_helper.o
CC lxc/libvirt_lxc-lxc_conf.o
CC lxc/libvirt_lxc-lxc_container.o
../../src/security/virt-aa-helper.c: In function 'get_files':
../../src/security/virt-aa-helper.c:1055:43: error: implicit declaration of function
'virHostGetDRMRenderNode' [-Werror=implicit-function-declaration]
char *defaultRenderNode = virHostGetDRMRenderNode();
^~~~~~~~~~~~~~~~~~~~~~~
../../src/security/virt-aa-helper.c:1055:17: error: nested extern declaration of
'virHostGetDRMRenderNode' [-Werror=nested-externs]
char *defaultRenderNode = virHostGetDRMRenderNode();
^~~~
../../src/security/virt-aa-helper.c:1055:43: error: initialization makes pointer from
integer without a cast [-Werror=int-conversion]
char *defaultRenderNode = virHostGetDRMRenderNode();
^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:10971: recipe for target 'security/virt_aa_helper-virt-aa-helper.o'
failed
make[3]: *** [security/virt_aa_helper-virt-aa-helper.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
'<https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-9/ws/build/src'>
Makefile:5958: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory
'<https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-9/ws/build/src'>
Makefile:776: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'<https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-9/ws/build'>
Makefile:669: recipe for target 'all' failed
make: *** [all] Error 2
Build step 'Execute shell' marked build as failure