See
<
https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/786/...
Changes:
[etrunko] remote-viewer: Prefer ca-cert from display instead of proxy
[etrunko] Workaround inconsistency with REST API
[etrunko] ovirt-foreign-menu: Bypass errors from Host/Cluster/Data Center
[etrunko] remote-viewer: Set admin privileges when connecting to ovirt
[etrunko] wip storage_domain_isattached
[etrunko] user
[etrunko] wip
[etrunko] grab_focus
[etrunko] enums
[etrunko] meson
[etrunko] auth
[etrunko] wip follow
[etrunko] wip async
------------------------------------------
[...truncated 9.34 KB...]
checking for update-mime-database... /usr/bin/update-mime-database
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bash-completion/Makefile
config.status: creating data/Makefile
config.status: creating data/virt-viewer.wxs
config.status: creating icons/Makefile
config.status: creating icons/16x16/Makefile
config.status: creating icons/22x22/Makefile
config.status: creating icons/24x24/Makefile
config.status: creating icons/32x32/Makefile
config.status: creating icons/48x48/Makefile
config.status: creating icons/256x256/Makefile
config.status: creating man/Makefile
config.status: creating mingw-virt-viewer.spec
config.status: creating po/Makefile
config.status: creating src/Makefile
config.status: creating src/virt-viewer.rc
config.status: creating tests/Makefile
config.status: creating virt-viewer.spec
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: Libraries:
configure:
configure: GLIB2: -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -pthread -Wl,--export-dynamic -lgio-2.0
-lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0
configure:
configure: GTK: -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -I/usr/include/harfbuzz
-I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/libpng15
-I/usr/include/uuid -I/usr/include/pixman-1 -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_12
-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_12 -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0
-lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0
-lglib-2.0
configure:
configure: GTK_VNC: -pthread -I/usr/include/gtk-vnc-2.0 -I/usr/include/gvnc-1.0
-I/usr/include/gtk-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
-I/usr/include/libdrm -I/usr/include/harfbuzz -I/usr/include/freetype2
-I/usr/include/fribidi -I/usr/include/libpng15 -I/usr/include/uuid -I/usr/include/pixman-1
-lgtk-vnc-2.0 -lgvnc-1.0 -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0
-lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0
configure:
configure: SPICE_GTK: -pthread -I/usr/include/spice-client-gtk-3.0
-I/usr/include/gtk-3.0 -I/usr/include/spice-client-glib-2.0 -I/usr/include/atk-1.0
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -I/usr/include/harfbuzz
-I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/libpng15
-I/usr/include/uuid -I/usr/include/pixman-1 -I/usr/include/spice-1
-lspice-client-gtk-3.0 -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0
-lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0
-lspice-client-glib-2.0
configure:
configure: VTE:
configure:
configure: LIBXML2: -I/usr/include/libxml2 -lxml2
configure:
configure: LIBVIRT: -I/home/jenkins/build/libvirt/include/libvirt-glib-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -L/home/jenkins/build/libvirt/lib
-lvirt -lvirt-glib-1.0 -lglib-2.0
configure:
configure: OVIRT: -pthread -I/usr/include/govirt-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/rest-0.7 -I/usr/include/libsoup-2.4
-I/usr/include/libxml2 -lgovirt -lrest-0.7 -lsoup-2.4 -lxml2 -lgio-2.0 -lgobject-2.0
-lglib-2.0
configure:
configure: bash completion: yes DIR: /usr/share/bash-completion/completions
configure:
Now type 'make' to compile virt-viewer.
+ /usr/bin/gmake
git.mk: Generating ../.gitignore
/usr/bin/gmake all-recursive
gmake[1]: Entering directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build'>
Making all in bash-completion
gmake[2]: Entering directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/bash-completion'>
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/bash-completion'>
Making all in icons
gmake[2]: Entering directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/icons'>
git.mk: Generating ../../icons/.gitignore
Making all in 16x16
gmake[3]: Entering directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/icons/16x16'>
git.mk: Generating ../../../icons/16x16/.gitignore
gmake[3]: Leaving directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/icons/16x16'>
Making all in 22x22
gmake[3]: Entering directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/icons/22x22'>
git.mk: Generating ../../../icons/22x22/.gitignore
gmake[3]: Leaving directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/icons/22x22'>
Making all in 24x24
gmake[3]: Entering directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/icons/24x24'>
git.mk: Generating ../../../icons/24x24/.gitignore
gmake[3]: Leaving directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/icons/24x24'>
Making all in 32x32
gmake[3]: Entering directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/icons/32x32'>
git.mk: Generating ../../../icons/32x32/.gitignore
gmake[3]: Leaving directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/icons/32x32'>
Making all in 48x48
gmake[3]: Entering directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/icons/48x48'>
git.mk: Generating ../../../icons/48x48/.gitignore
gmake[3]: Leaving directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/icons/48x48'>
Making all in 256x256
gmake[3]: Entering directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/icons/256x256'>
git.mk: Generating ../../../icons/256x256/.gitignore
gmake[3]: Leaving directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/icons/256x256'>
gmake[3]: Entering directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/icons'>
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/icons'>
gmake[2]: Leaving directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/icons'>
Making all in src
gmake[2]: Entering directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/src'>
GEN virt-viewer-resources.h
GEN virt-viewer-resources.c
GEN virt-viewer-enums.h
GEN virt-viewer-enums.c
git.mk: Generating ../../src/.gitignore
/usr/bin/gmake all-am
gmake[3]: Entering directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/src'>
CC libvirt_viewer_util_la-virt-viewer-util.lo
CC libvirt_viewer_la-virt-viewer-resources.lo
CC libvirt_viewer_la-virt-viewer-enums.lo
CC libvirt_viewer_la-glib-compat.lo
CC libvirt_viewer_la-virt-viewer-auth.lo
CC libvirt_viewer_la-virt-viewer-app.lo
CC libvirt_viewer_la-virt-viewer-file.lo
CC libvirt_viewer_la-virt-viewer-session.lo
CC libvirt_viewer_la-virt-viewer-display.lo
CC libvirt_viewer_la-virt-viewer-notebook.lo
CC libvirt_viewer_la-virt-viewer-window.lo
CC libvirt_viewer_la-virt-viewer-vm-connection.lo
CC libvirt_viewer_la-virt-viewer-display-vte.lo
CC libvirt_viewer_la-virt-viewer-timed-revealer.lo
CC libvirt_viewer_la-virt-viewer-session-vnc.lo
CC libvirt_viewer_la-virt-viewer-display-vnc.lo
CC libvirt_viewer_la-virt-viewer-session-spice.lo
CC libvirt_viewer_la-virt-viewer-display-spice.lo
CC libvirt_viewer_la-virt-viewer-file-transfer-dialog.lo
CC libvirt_viewer_la-ovirt-foreign-menu.lo
CC libvirt_viewer_la-remote-viewer-iso-list-dialog.lo
../../src/ovirt-foreign-menu.c: In function
'storage_domain_attached_to_data_center':
../../src/ovirt-foreign-menu.c:634:13: warning: unused variable 'error'
[-Wunused-variable]
GError *error = NULL;
^
../../src/ovirt-foreign-menu.c: At top level:
cc1: warning: unrecognized command line option "-Wno-cast-function-type"
[enabled by default]
CC virt_viewer-virt-viewer.o
CC virt_viewer-virt-viewer-main.o
CC remote_viewer-remote-viewer.o
CC remote_viewer-remote-viewer-connect.o
CC remote_viewer-remote-viewer-main.o
../../src/remote-viewer.c: In function 'ticket_fetched_cb':
../../src/remote-viewer.c:416:26: warning: unused variable 'priv'
[-Wunused-variable]
RemoteViewerPrivate *priv = self->priv;
^
../../src/remote-viewer.c: In function 'vms_fetched_cb':
../../src/remote-viewer.c:459:16: error: 'guid' undeclared (first use in this
function)
g_free(guid);
^
../../src/remote-viewer.c:459:16: note: each undeclared identifier is reported only once
for each function it appears in
In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9:0,
from /usr/include/glib-2.0/glib/gtypes.h:32,
from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from /usr/include/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:23,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from ../../src/remote-viewer.c:26:
../../src/remote-viewer.c: In function 'api_fetched_cb':
../../src/remote-viewer.c:494:35: error: 'api' undeclared (first use in this
function)
g_return_if_fail(OVIRT_IS_API(api));
^
/usr/include/glib-2.0/glib/gmacros.h:379:8: note: in definition of macro
'_G_BOOLEAN_EXPR'
if (expr) \
^
/usr/include/glib-2.0/glib/gmessages.h:585:9: note: in expansion of macro
'G_LIKELY'
if G_LIKELY(expr) { } else \
^
../../src/remote-viewer.c:494:5: note: in expansion of macro 'g_return_if_fail'
g_return_if_fail(OVIRT_IS_API(api));
^
/usr/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro
'_G_TYPE_CIT'
#define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance),
(g_type)))
^
/usr/include/govirt-1.0/govirt/ovirt-api.h:36:36: note: in expansion of macro
'G_TYPE_CHECK_INSTANCE_TYPE'
#define OVIRT_IS_API(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), OVIRT_TYPE_API))
^
../../src/remote-viewer.c:494:22: note: in expansion of macro 'OVIRT_IS_API'
g_return_if_fail(OVIRT_IS_API(api));
^
../../src/remote-viewer.c:498:47: error: 'vm_name' undeclared (first use in this
function)
char * query = g_strdup_printf("name=%s", vm_name);
^
../../src/remote-viewer.c:499:5: error: 'vms' undeclared (first use in this
function)
vms = ovirt_api_search_vms(api, query);
^
../../src/remote-viewer.c: In function 'task_finished_cb':
../../src/remote-viewer.c:519:14: error: 'result' redeclared as different kind of
symbol
gpointer result = g_task_propagate_pointer(G_TASK(result), &error);
^
../../src/remote-viewer.c:512:32: note: previous definition of 'result' was here
GAsyncResult *result,
^
../../src/remote-viewer.c:511:32: warning: unused parameter 'self'
[-Wunused-parameter]
task_finished_cb(RemoteViewer *self,
^
../../src/remote-viewer.c:513:27: warning: unused parameter 'user_data'
[-Wunused-parameter]
gpointer user_data)
^
../../src/remote-viewer.c: In function 'create_ovirt_session':
../../src/remote-viewer.c:559:43: error: 'vm_name' undeclared (first use in this
function)
if (!parse_ovirt_uri(uri, &rest_uri, &vm_name, &username)) {
^
../../src/remote-viewer.c:566:18: error: 'proxy' undeclared (first use in this
function)
g_object_set(proxy,
^
../../src/remote-viewer.c:574:9: error: 'RemoteViewerPrivate' has no member named
'task'
priv->task = g_task_new(self, g_cancellable_new(), task_finished_cb, NULL);
^
../../src/remote-viewer.c:574:5: warning: passing argument 3 of 'g_task_new' from
incompatible pointer type [enabled by default]
priv->task = g_task_new(self, g_cancellable_new(), task_finished_cb, NULL);
^
In file included from /usr/include/glib-2.0/gio/gio.h:131:0,
from ../../src/remote-viewer.c:26:
/usr/include/glib-2.0/gio/gtask.h:43:15: note: expected 'GAsyncReadyCallback' but
argument is of type 'void (*)(struct RemoteViewer *, struct GAsyncResult *, void
*)'
GTask *g_task_new (gpointer source_object,
^
../../src/remote-viewer.c:593:9: error: unknown type name 'OvirtUser'
OvirtUser *user;
^
../../src/remote-viewer.c:600:9: warning: implicit declaration of function
'ovirt_api_get_users' [-Wimplicit-function-declaration]
users = ovirt_api_get_users(api);
^
../../src/remote-viewer.c:600:9: warning: nested extern declaration of
'ovirt_api_get_users' [-Wnested-externs]
../../src/remote-viewer.c:600:37: error: 'api' undeclared (first use in this
function)
users = ovirt_api_get_users(api);
^
../../src/remote-viewer.c:614:13: warning: implicit declaration of function
'ovirt_user_get_roles' [-Wimplicit-function-declaration]
roles = ovirt_user_get_roles(user);
^
../../src/remote-viewer.c:614:13: warning: nested extern declaration of
'ovirt_user_get_roles' [-Wnested-externs]
../../src/remote-viewer.c:614:19: warning: assignment makes pointer from integer without a
cast [enabled by default]
roles = ovirt_user_get_roles(user);
^
../../src/remote-viewer.c:624:5: error: 'vms' undeclared (first use in this
function)
vms = ovirt_api_get_vms(api);
^
../../src/remote-viewer.c:625:39: error: 'menu' undeclared (first use in this
function)
ovirt_collection_fetch_async(vms, menu->priv->proxy,
^
../../src/remote-viewer.c:633:10: error: 'vm' undeclared (first use in this
function)
(vm = OVIRT_VM(ovirt_collection_lookup_resource(vms, vm_name))) == NULL) {
^
../../src/remote-viewer.c:657:44: error: 'display' undeclared (first use in this
function)
g_object_get(G_OBJECT(vm), "display", &display, "guid",
&guid, NULL);
^
../../src/remote-viewer.c: At top level:
cc1: warning: unrecognized command line option "-Wno-cast-function-type"
[enabled by default]
gmake[3]: *** [remote_viewer-remote-viewer.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/src'>
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build/src'>
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-centos-7/ws/build'>
gmake: *** [all] Error 2
Build step 'Execute shell' marked build as failure