See
<
https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-10/1204/di...
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 39.17 KB...]
configure:
configure: Windows
configure:
configure: MinGW: no
configure: windres: no
configure:
configure: Test suite
configure:
configure: Coverage: no
configure:
configure: Miscellaneous
configure:
configure: Debug: yes
configure: Use -Werror: yes
configure: Warning Flags: -fno-common -W -Waddress -Waggressive-loop-optimizations
-Wall -Wattributes -Wbool-compare -Wbool-operation -Wbuiltin-declaration-mismatch
-Wbuiltin-macro-redefined -Wcast-align -Wcast-align=strict -Wcast-function-type
-Wchar-subscripts -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch -Wcpp
-Wdangling-else -Wdate-time -Wdeprecated-declarations -Wdesignated-init
-Wdiscarded-array-qualifiers -Wdiscarded-qualifiers -Wdiv-by-zero -Wdouble-promotion
-Wduplicated-cond -Wduplicate-decl-specifier -Wempty-body -Wendif-labels
-Wexpansion-to-defined -Wextra -Wformat-contains-nul -Wformat-extra-args
-Wformat-nonliteral -Wformat-security -Wformat-y2k -Wformat-zero-length -Wframe-address
-Wfree-nonheap-object -Whsa -Wif-not-aligned -Wignored-attributes -Wignored-qualifiers
-Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types
-Winit-self -Winline -Wint-conversion -Wint-in-bool-context -Wint-to-pointer-cast
-Winvalid-memory-model -Winvalid-pch -Wlogical-not-parentheses -Wlogical-op -Wmain
-Wmaybe-uninitialized -Wmemset-elt-size -Wmemset-transposed-args -Wmisleading-indentation
-Wmissing-attributes -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers
-Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar
-Wmultistatement-macros -Wnarrowing -Wnested-externs -Wnonnull -Wnonnull-compare
-Wnull-dereference -Wodr -Wold-style-declaration -Wold-style-definition -Wopenmp-simd
-Woverflow -Woverride-init -Wpacked-bitfield-compat -Wpacked-not-aligned -Wparentheses
-Wpointer-arith -Wpointer-compare -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wpsabi
-Wrestrict -Wreturn-local-addr -Wreturn-type -Wscalar-storage-order -Wsequence-point
-Wshadow -Wshift-count-negative -Wshift-count-overflow -Wshift-negative-value
-Wsizeof-array-argument -Wsizeof-pointer-div -Wsizeof-pointer-memaccess -Wstrict-aliasing
-Wstrict-prototypes -Wstringop-truncation -Wsuggest-attribute=cold
-Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=noreturn
-Wsuggest-attribute=pure -Wsuggest-final-methods -Wsuggest-final-types -Wswitch
-Wswitch-bool -Wswitch-unreachable -Wsync-nand -Wtautological-compare -Wtrampolines
-Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunused
-Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label
-Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value
-Wunused-variable -Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvla
-Wvolatile-register-var -Wwrite-strings -Walloc-size-larger-than=9223372036854775807
-Warray-bounds=2 -Wformat-overflow=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5
-Wnormalized=nfc -Wshift-overflow=2 -Wstringop-overflow=2 -Wunused-const-variable=2
-Wvla-larger-than=4031 -Wno-sign-compare -Wno-cast-function-type -Wjump-misses-init
-Wswitch-enum -Wno-format-nonliteral -Wno-format-truncation -Wframe-larger-than=4096
-fstack-protector-strong -fexceptions -fasynchronous-unwind-tables -fipa-pure-const
-Wno-suggest-attribute=pure -Wno-suggest-attribute=const -Werror -std=gnu99
configure: DTrace: yes
configure: numad: yes
configure: Init script: systemd
configure: Char device locks: /var/lock
configure: Default Editor: vi
configure: Loader/NVRAM:
configure: virt-login-shell: yes
configure: virt-host-validate: yes
configure: TLS priority: NORMAL
configure:
configure: Developer Tools
configure:
configure: wireshark_dissector: yes (CFLAGS='-I/usr/include/wireshark
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread '
LIBS='-L/usr/lib/x86_64-linux-gnu -lwireshark -Wl,--export-dynamic -lgmodule-2.0
-lglib-2.0 -lgthread-2.0 -pthread -lglib-2.0 ')
configure:
configure: Privileges
configure:
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-10/ws/build'>
Making all in .
make[2]: Entering directory
'<https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-10/ws/build'>
make[2]: Leaving directory
'<https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-10/ws/build'>
Making all in include/libvirt
make[2]: Entering directory
'<https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-10/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-10/ws/build/include/libvirt'>
Making all in src
make[2]: Entering directory
'<https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-10/ws/build/src'>
GEN util/virkeycodetable_linux.h
GEN util/virkeycodetable_osx.h
GEN util/virkeycodetable_atset1.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 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 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 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 qemu/virtqemud.conf
GEN libxl/virtxend.conf
GEN vbox/virtvboxd.conf
GEN lxc/virtlxcd.conf
GEN network/virtnetworkd.conf
GEN nwfilter/virtnwfilterd.conf
GEN interface/virtinterfaced.conf
GEN node_device/virtnodedevd.conf
GEN secret/virtsecretd.conf
GEN storage/virtstoraged.conf
GEN remote/libvirtd.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_lxc.def
GEN libvirt_probes.h
GEN libvirt_probes.stp
GEN libvirt_functions.stp
GEN libvirtd.qemu.logrotate
GEN libvirtd.lxc.logrotate
GEN libvirtd.logrotate
GEN libvirtd.libxl.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 virtqemud-admin.socket
GEN virtxend.service
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-10/ws/build/src'>
CC libvirt_driver_la-driver.lo
CC libvirt_driver_la-datatypes.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 virt_aa_helper-datatypes.o
CC security/virt_aa_helper-virt-aa-helper.o
CC locking/libvirt_sanlock_helper-sanlock_helper.o
CC libvirt_lxc-datatypes.o
CC lxc/libvirt_lxc-lxc_monitor_protocol.o
CC storage/libvirt_parthelper-parthelper.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'; did you mean 'virHostdevIsMdevDevice'?
[-Werror=implicit-function-declaration]
char *defaultRenderNode = virHostGetDRMRenderNode();
^~~~~~~~~~~~~~~~~~~~~~~
virHostdevIsMdevDevice
../../src/security/virt-aa-helper.c:1055:43: error: nested extern declaration of
'virHostGetDRMRenderNode' [-Werror=nested-externs]
../../src/security/virt-aa-helper.c:1055:43: error: initialization of 'char *'
from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
cc1: all warnings being treated as errors
make[3]: *** [Makefile:11422: 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-10/ws/build/src'>
make[2]: *** [Makefile:6403: all] Error 2
make[2]: Leaving directory
'<https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-10/ws/build/src'>
make[1]: *** [Makefile:776: all-recursive] Error 1
make[1]: Leaving directory
'<https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-10/ws/build'>
make: *** [Makefile:669: all] Error 2
Build step 'Execute shell' marked build as failure