
See <https://ci.centos.org/job/libvirt+mingw64-build/systems=libvirt-fedora-30/1322/display/redirect?page=changes> 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 31.53 KB...] config.status: creating tests/Makefile config.status: creating tools/Makefile config.status: creating config.h config.status: linking ../GNUmakefile to GNUmakefile config.status: executing depfiles commands config.status: executing libtool commands configure: configure: Configuration summary configure: ===================== configure: configure: Drivers configure: configure: QEMU: no configure: OpenVZ: no configure: VMware: yes configure: VBox: no configure: libxl: no configure: LXC: no configure: ESX: yes configure: Hyper-V: no configure: vz: no configure: Bhyve: no configure: Test: yes configure: Remote: yes configure: Network: no configure: Libvirtd: no configure: Interface: no configure: configure: Storage Drivers configure: configure: Dir: no configure: FS: no configure: NetFS: no configure: LVM: no configure: iSCSI: no configure: iscsi-direct: no configure: SCSI: no configure: mpath: no configure: Disk: no configure: RBD: no configure: Sheepdog: no configure: Gluster: no configure: ZFS: no configure: Virtuozzo storage: no configure: configure: Security Drivers configure: configure: SELinux: no configure: AppArmor: no configure: configure: Driver Loadable Modules configure: configure: driver_modules: no configure: configure: Libraries configure: configure: acl: no configure: apparmor: no configure: attr: no configure: audit: no configure: bash_completion: no configure: blkid: no configure: capng: no configure: curl: yes (CFLAGS='-DCURL_DISABLE_TYPECHECK -I/usr/x86_64-w64-mingw32/sys-root/mingw/include ' LIBS='-L/usr/x86_64-w64-mingw32/sys-root/mingw/lib -lcurl ') configure: dbus: yes (CFLAGS='-I/usr/x86_64-w64-mingw32/sys-root/mingw/include/dbus-1.0 -I/usr/x86_64-w64-mingw32/sys-root/mingw/lib/dbus-1.0/include ' LIBS='-L/usr/x86_64-w64-mingw32/sys-root/mingw/lib -ldbus-1 ') configure: dlopen: yes (CFLAGS='' LIBS='') configure: firewalld: yes (CFLAGS='' LIBS='') configure: firewalld-zone: yes configure: fuse: no configure: glib: yes (CFLAGS='-mms-bitfields -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0 -I/usr/x86_64-w64-mingw32/sys-root/mingw/lib/glib-2.0/include -I/usr/x86_64-w64-mingw32/sys-root/mingw/include ' LIBS='-L/usr/x86_64-w64-mingw32/sys-root/mingw/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl ') configure: glusterfs: no configure: gnutls: yes (CFLAGS='-I/usr/x86_64-w64-mingw32/sys-root/mingw/include -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/p11-kit-1 ' LIBS='-L/usr/x86_64-w64-mingw32/sys-root/mingw/lib -lgnutls ') configure: hal: no configure: libiscsi: no configure: libnl: no configure: libpcap: yes (CFLAGS='' LIBS='-lpcap') configure: libssh: no configure: libxl: no configure: libxml: yes (CFLAGS='-I/usr/x86_64-w64-mingw32/sys-root/mingw/include/libxml2 ' LIBS='-L/usr/x86_64-w64-mingw32/sys-root/mingw/lib -lxml2 ') configure: macvtap: no configure: netcf: no configure: NLS: yes configure: nss: no configure: numactl: no configure: openwsman: no configure: pciaccess: no configure: pm_utils: yes (CFLAGS='' LIBS='') configure: polkit: no configure: rbd: no configure: readline: yes (CFLAGS='-D_FUNCTION_DEF ' LIBS='-lreadline') configure: sanlock: no configure: sasl: no configure: selinux: no configure: ssh2: yes (CFLAGS='-I/usr/x86_64-w64-mingw32/sys-root/mingw/include ' LIBS='-L/usr/x86_64-w64-mingw32/sys-root/mingw/lib -lssh2 -lws2_32 ') configure: udev: no configure: virtualport: no configure: xdr: yes (CFLAGS='' LIBS='') configure: yajl: no configure: configure: Windows configure: configure: MinGW: yes (CFLAGS='' LIBS='-lole32 -loleaut32') configure: windres: yes (x86_64-w64-mingw32-windres) 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 -fexceptions -fasynchronous-unwind-tables -fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -Werror -std=gnu99 configure: DTrace: no configure: numad: no configure: Init script: none configure: Char device locks: no configure: Default Editor: vi configure: Loader/NVRAM: configure: virt-login-shell: no configure: virt-host-validate: no configure: TLS priority: NORMAL configure: configure: Developer Tools configure: configure: wireshark_dissector: no configure: configure: Privileges configure: configure: QEMU: root:root (!!! running QEMU as root is strongly discouraged !!!) configure: Now type 'make' to compile libvirt + /usr/bin/gmake GEN configmake.h /usr/bin/gmake all-recursive gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt+mingw64-build/systems=libvirt-fedora-30/ws/build'> Making all in . gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt+mingw64-build/systems=libvirt-fedora-30/ws/build'> gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt+mingw64-build/systems=libvirt-fedora-30/ws/build'> Making all in include/libvirt gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt+mingw64-build/systems=libvirt-fedora-30/ws/build/include/libvirt'> gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt+mingw64-build/systems=libvirt-fedora-30/ws/build/include/libvirt'> Making all in src gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt+mingw64-build/systems=libvirt-fedora-30/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/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 lxc/lxc_monitor_protocol.h GEN lxc/lxc_monitor_dispatch.h GEN hyperv/hyperv_wmi_classes.generated.typedef GEN hyperv/hyperv_wmi_classes.generated.h GEN hyperv/hyperv_wmi_classes.generated.c 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 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 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 libvirtd.qemu.logrotate GEN libvirtd.libxl.logrotate GEN libvirtd.lxc.logrotate GEN libvirtd.logrotate 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/gmake all-am gmake[3]: Entering directory '<https://ci.centos.org/job/libvirt+mingw64-build/systems=libvirt-fedora-30/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 ../../src/driver.c: In function 'virGetConnectGeneric': ../../src/driver.c:152:31: error: implicit declaration of function 'geteuid'; did you mean 'getpid'? [-Werror=implicit-function-declaration] const char *uriPath = geteuid() == 0 ? "/system" : "/session"; ^~~~~~~ getpid ../../src/driver.c:152:31: error: nested extern declaration of 'geteuid' [-Werror=nested-externs] cc1: all warnings being treated as errors gmake[3]: *** [Makefile:9175: libvirt_driver_la-driver.lo] Error 1 gmake[3]: *** Waiting for unfinished jobs.... gmake[3]: Leaving directory '<https://ci.centos.org/job/libvirt+mingw64-build/systems=libvirt-fedora-30/ws/build/src'> gmake[2]: *** [Makefile:6403: all] Error 2 gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt+mingw64-build/systems=libvirt-fedora-30/ws/build/src'> gmake[1]: *** [Makefile:776: all-recursive] Error 1 gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt+mingw64-build/systems=libvirt-fedora-30/ws/build'> gmake: *** [Makefile:669: all] Error 2 Build step 'Execute shell' marked build as failure