See
<
https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-raw...
Changes:
[berrange] Disable the -Wduplicated-branches warning
------------------------------------------
[...truncated 131.63 KB...]
GEN wchar.h
GEN wctype.h
make all-am
make[3]: Entering directory
'<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-rawhide/ws/build/gnulib/lib'>
CC allocator.lo
CC base64.lo
CC areadlink.lo
CC binary-io.lo
CC bitrotate.lo
CC c-ctype.lo
CC c-strcasecmp.lo
CC c-strncasecmp.lo
CC c-strcasestr.lo
CC careadlinkat.lo
CC cloexec.lo
CC count-leading-zeros.lo
CC count-one-bits.lo
CC md5.lo
CC sha256.lo
CC dirname-lgpl.lo
CC basename-lgpl.lo
CC stripslash.lo
CC fd-hook.lo
CC freading.lo
CC getugroups.lo
CC hard-locale.lo
CC localcharset.lo
CC malloca.lo
CC mgetgroups.lo
CC nonblocking.lo
CC passfd.lo
CC physmem.lo
CC pipe2.lo
CC sig-handler.lo
CC sockets.lo
CC stat-time.lo
CC strnlen1.lo
CC sys_socket.lo
CC tempname.lo
CC glthread/threadlib.lo
CC unistd.lo
CC wctype-h.lo
CC xsize.lo
CC asnprintf.lo
CC fclose.lo
CC fcntl.lo
CC fflush.lo
CC fpurge.lo
CC fseek.lo
CC fseeko.lo
CC getopt.lo
CC getopt1.lo
CC ioctl.lo
CC localtime-buffer.lo
CC mbrtowc.lo
CC mktime.lo
CC printf-args.lo
CC printf-parse.lo
CC strerror_r.lo
CC vasnprintf.lo
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'>
GEN util/virkeycodetable_osx.h
GEN util/virkeycodetable_linux.h
GEN util/virkeycodetable_atset1.h
GEN util/virkeycodetable_atset2.h
GEN util/virkeycodetable_atset3.h
GEN util/virkeycodetable_xt.h
GEN util/virkeycodetable_xtkbd.h
GEN util/virkeycodetable_usb.h
GEN util/virkeycodetable_win32.h
GEN util/virkeycodetable_rfb.h
GEN util/virkeynametable_linux.h
GEN util/virkeynametable_osx.h
GEN util/virkeynametable_win32.h
GEN locking/lock_protocol.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/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 .esx_vi_generator.stamp
GEN .hyperv_wmi_generator.stamp
GEN ../../src/access/org.libvirt.api.policy
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 ../../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.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 libvirt_access.syms
GEN libvirt_access_qemu.syms
GEN libvirt_access_lxc.syms
GEN libvirt_qemu.def
GEN libvirt_lxc.def
GEN libvirt_admin.syms
GEN libvirt_probes.h
Python runtime initialized with LC_CTYPE=C (a locale with default ASCII encoding), which
may cause Unicode compatibility problems. Using C.UTF-8, C.utf8, or UTF-8 (if available)
as alternative Unicode-compatible locales is recommended.
GEN libvirt_probes.stp
GEN libvirt_functions.stp
GEN libvirt_qemu_probes.h
Python runtime initialized with LC_CTYPE=C (a locale with default ASCII encoding), which
may cause Unicode compatibility problems. Using C.UTF-8, C.utf8, or UTF-8 (if available)
as alternative Unicode-compatible locales is recommended.
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-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
Python runtime initialized with LC_CTYPE=C (a locale with default ASCII encoding), which
may cause Unicode compatibility problems. Using C.UTF-8, C.utf8, or UTF-8 (if available)
as alternative Unicode-compatible locales is recommended.
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
Python runtime initialized with LC_CTYPE=C (a locale with default ASCII encoding), which
may cause Unicode compatibility problems. Using C.UTF-8, C.utf8, or UTF-8 (if available)
as alternative Unicode-compatible locales is recommended.
CC secret/libvirt_driver_secret_la-secret_driver.lo
CC storage/libvirt_storage_backend_sheepdog_priv_la-storage_backend_sheepdog.lo
CC storage/libvirt_storage_backend_sheepdog_priv_la-storage_backend.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
CC util/libvirt_setuid_rpc_client_la-virdbus.lo
CC util/libvirt_setuid_rpc_client_la-virerror.lo
CC util/libvirt_setuid_rpc_client_la-virevent.lo
CC util/libvirt_setuid_rpc_client_la-vireventpoll.lo
CC util/libvirt_setuid_rpc_client_la-virfile.lo
CC util/libvirt_setuid_rpc_client_la-virgettext.lo
CC util/libvirt_setuid_rpc_client_la-virhash.lo
CC util/libvirt_setuid_rpc_client_la-virhashcode.lo
CC util/libvirt_setuid_rpc_client_la-virhostcpu.lo
CC util/libvirt_setuid_rpc_client_la-virjson.lo
CC util/libvirt_setuid_rpc_client_la-virlog.lo
CC util/libvirt_setuid_rpc_client_la-virobject.lo
CC util/libvirt_setuid_rpc_client_la-virpidfile.lo
CC util/libvirt_setuid_rpc_client_la-virprocess.lo
CC util/libvirt_setuid_rpc_client_la-virrandom.lo
CC util/libvirt_setuid_rpc_client_la-virsocketaddr.lo
CC util/libvirt_setuid_rpc_client_la-virstring.lo
CC util/libvirt_setuid_rpc_client_la-virsystemd.lo
CC util/libvirt_setuid_rpc_client_la-virtime.lo
CC util/libvirt_setuid_rpc_client_la-virthread.lo
CC util/libvirt_setuid_rpc_client_la-virthreadjob.lo
../../src/util/virtime.c: In function 'virTimeStringThenRaw':
../../src/util/virtime.c:215:9: error: '%02d' directive output may be truncated
writing between 2 and 11 bytes into a region of size between 5 and 21
[-Werror=format-truncation=]
if (snprintf(buf, VIR_TIME_STRING_BUFLEN,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"%4d-%02d-%02d %02d:%02d:%02d.%03d+0000",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fields.tm_year, fields.tm_mon, fields.tm_mday,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fields.tm_hour, fields.tm_min, fields.tm_sec,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(int) (when % 1000)) >= VIR_TIME_STRING_BUFLEN) {
~~~~~~~~~~~~~~~~~~~~
../../src/util/virtime.c:215:9: note: directive argument in the range [0, 999]
In file included from /usr/include/stdio.h:889:0,
from ../gnulib/lib/stdio.h:43,
from ../../src/util/virtime.c:36:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between
29 and 81 bytes into a destination of size 29
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:8532: util/libvirt_setuid_rpc_client_la-virtime.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'>
make[2]: *** [Makefile:5941: all] Error 2
make[2]: Leaving directory
'<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-rawhide/ws/build/src'>
make[1]: *** [Makefile:2109: all-recursive] Error 1
make[1]: Leaving directory
'<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-rawhide/ws/build'>
make: *** [Makefile:2002: all] Error 2
Build step 'Execute shell' marked build as failure