GitLab
✖ Your pipeline has failed.
 
Project libvirt / libvirt
Branch
master
Commit
7bd86212
tools: avoid unused parameter warning when read...
Commit Author
Daniel Berrange
 
Pipeline #185745638 triggered by Daniel Berrange
had 1 failed build.
Logs may contain sensitive data. Please consider before forwarding this email.
✖ builds
x64-macos-1015-build
[84/1007] Compiling C object 'src/util/ed6d25d@@virt_util@sta/virnetdevmidonet.c.o'
[85/1007] Compiling C object 'src/util/ed6d25d@@virt_util@sta/virnetdevip.c.o'
[86/1007] Compiling C object 'src/util/ed6d25d@@virt_util@sta/virnetdevtap.c.o'
FAILED: src/util/ed6d25d@@virt_util@sta/virnetdevtap.c.o
ccache cc -Isrc/util/ed6d25d@@virt_util@sta -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -I. -I.. -I/usr/local/Cellar/dbus/1.12.16/include/dbus-1.0 -I/usr/local/Cellar/dbus/1.12.16/lib/dbus-1.0/include -I/usr/local/Cellar/gnutls/3.6.13/include -I/usr/local/Cellar/nettle/3.4.1/include -I/usr/local/Cellar/libtasn1/4.16.0/include -I/usr/local/Cellar/p11-kit/0.23.20_1/include/p11-kit-1 -I/usr/local/Cellar/glib/2.64.2_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.64.2_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/glib/2.64.2_1/include -I/usr/local/Cellar/libxml2/2.9.10_1/include/libxml2 -I/usr/local/Cellar/yajl/2.1.0/include/yajl -Xclang -fcolor-diagnostics -pipe -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Werror -fno-common -W -Wabsolute-value -Waddress -Waddress-of-packed-member -Wall -Wattributes -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wcomment -Wcomments -Wcpp -Wdangling-else -Wdate-time -Wdeclaration-after-statement -Wdeprecated-declarations -Wdiv-by-zero -Wduplicate-decl-specifier -Wempty-body -Wendif-labels -Wexpansion-to-defined -Wextra -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wformat-zero-length -Wignored-attributes -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Winit-self -Winline -Wint-conversion -Wint-to-pointer-cast -Winvalid-pch -Wlogical-not-parentheses -Wmain -Wmemset-transposed-args -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull -Wnull-dereference -Wodr -Wold-style-definition -Woverflow -Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wreturn-type -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 -Wswitch -Wswitch-bool -Wtautological-compare -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros -Wvla -Wvolatile-register-var -Wwrite-strings -Wno-sign-compare -Wno-typedef-redefinition -Wswitch-enum -Wno-format-nonliteral -Wframe-larger-than=4096 -fexceptions -fasynchronous-unwind-tables -Wdouble-promotion -Wno-unused-function -DIN_LIBVIRT '-Dabs_top_builddir="/private/var/folders/3y/l0z1x3693dl_8n0qybp4dqwh0000gn/T/cirrus-ci-build/build"' '-Dabs_top_srcdir="/private/var/folders/3y/l0z1x3693dl_8n0qybp4dqwh0000gn/T/cirrus-ci-build"' -MD -MQ 'src/util/ed6d25d@@virt_util@sta/virnetdevtap.c.o' -MF 'src/util/ed6d25d@@virt_util@sta/virnetdevtap.c.o.d' -o 'src/util/ed6d25d@@virt_util@sta/virnetdevtap.c.o' -c ../src/util/virnetdevtap.c
../src/util/virnetdevtap.c:977:39: error: no member named 'ifi_oqdrops' in 'struct if_data'; did you mean 'ifi_iqdrops'?
stats->rx_drop = ifd->ifi_oqdrops;
^~~~~~~~~~~
ifi_iqdrops
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/net/if_var.h:178:18: note: 'ifi_iqdrops' declared here
u_int32_t ifi_iqdrops; /* dropped on input, this interface */
^
../src/util/virnetdevtap.c:982:39: error: no member named 'ifi_oqdrops' in 'struct if_data'; did you mean 'ifi_iqdrops'?
stats->tx_drop = ifd->ifi_oqdrops;
^~~~~~~~~~~
ifi_iqdrops
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/net/if_var.h:178:18: note: 'ifi_iqdrops' declared here
u_int32_t ifi_iqdrops; /* dropped on input, this interface */
^
2 errors generated.
[87/1007] Compiling C object 'src/util/ed6d25d@@virt_util@sta/virnetdevopenvswitch.c.o'
[88/1007] Compiling C object 'src/util/ed6d25d@@virt_util@sta/virnetdevveth.c.o'
[89/1007] Compiling C object 'src/util/ed6d25d@@virt_util@sta/virobject.c.o'
[90/1007] Compiling C object 'src/util/ed6d25d@@virt_util@sta/virpci.c.o'
[91/1007] Compiling C object 'src/conf/6d9256b@@virt_conf@sta/domain_conf.c.o'
ninja: build stopped: subcommand failed.

Build failed: https://cirrus-ci.com/build/5642013297082368
ERROR: Job failed: exit code 1