See
<
https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/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.08 KB...]
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for fork... yes
checking for socketpair... yes
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: -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -lgio-2.0 -lgobject-2.0 -lgthread-2.0
-Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0
configure:
configure: GTK: -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread
-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_12 -DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_12
-lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo
-lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
configure:
configure: GTK_VNC: -I/usr/include/gtk-vnc-2.0 -I/usr/include/gvnc-1.0
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread
-lgtk-vnc-2.0 -lgvnc-1.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0
-lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
configure:
configure: SPICE_GTK:
configure:
configure: VTE:
configure:
configure: LIBXML2: -I/usr/include/libxml2 -lxml2
configure:
configure: LIBVIRT: -I/home/jenkins/build/libvirt/include
-I/home/jenkins/build/libvirt/include/libvirt-glib-1.0 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -L/home/jenkins/build/libvirt/lib -lvirt
-lvirt-glib-1.0 -lglib-2.0
configure:
configure: OVIRT: -I/usr/include/govirt-1.0 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/rest-0.7
-I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -pthread -lgovirt -lrest-0.7
-lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lxml2
configure:
configure: bash completion: yes DIR: /usr/share/bash-completion/completions
configure:
Now type 'make' to compile virt-viewer.
+ /usr/bin/make
git.mk: Generating ../.gitignore
/usr/bin/make all-recursive
make[1]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build'>
Making all in bash-completion
make[2]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/bash-completion'>
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/bash-completion'>
Making all in icons
make[2]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/icons'>
Making all in 16x16
make[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/icons/16x16'>
git.mk: Generating ../../../icons/16x16/.gitignore
git.mk: Generating ../../icons/.gitignore
make[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/icons/16x16'>
Making all in 22x22
make[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/icons/22x22'>
git.mk: Generating ../../../icons/22x22/.gitignore
make[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/icons/22x22'>
Making all in 24x24
make[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/icons/24x24'>
git.mk: Generating ../../../icons/24x24/.gitignore
make[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/icons/24x24'>
Making all in 32x32
make[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/icons/32x32'>
git.mk: Generating ../../../icons/32x32/.gitignore
make[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/icons/32x32'>
Making all in 48x48
make[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/icons/48x48'>
git.mk: Generating ../../../icons/48x48/.gitignore
make[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/icons/48x48'>
Making all in 256x256
make[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/icons/256x256'>
git.mk: Generating ../../../icons/256x256/.gitignore
make[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/icons/256x256'>
make[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/icons'>
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/icons'>
make[2]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/icons'>
Making all in src
make[2]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/src'>
GEN virt-viewer-enums.h
GEN virt-viewer-resources.h
GEN virt-viewer-resources.c
GEN virt-viewer-enums.c
git.mk: Generating ../../src/.gitignore
/usr/bin/make all-am
make[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/src'>
CC libvirt_viewer_util_la-virt-viewer-util.lo
CC libvirt_viewer_la-virt-viewer-enums.lo
CC libvirt_viewer_la-virt-viewer-resources.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-ovirt-foreign-menu.lo
CC libvirt_viewer_la-remote-viewer-iso-list-dialog.lo
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
../../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/lib/x86_64-linux-gnu/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:370:8: note: in definition of macro
'_G_BOOLEAN_EXPR'
if (expr) \
^~~~
/usr/include/glib-2.0/glib/gmessages.h:577: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:491: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:502:5: error: 'vms' undeclared (first use in this
function)
vms = ovirt_api_get_vms(api);
^~~
../../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 {aka struct
_RemoteViewerPrivate}' has no member named 'task'
priv->task = g_task_new(self, g_cancellable_new(), task_finished_cb, NULL);
^~
../../src/remote-viewer.c:574:56: warning: passing argument 3 of 'g_task_new' from
incompatible pointer type [-Wincompatible-pointer-types]
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 {aka void
(*)(struct _GObject *, struct _GAsyncResult *, void *)}' but argument is of type
'void (*)(RemoteViewer *, GAsyncResult *, void *) {aka void (*)(struct
<anonymous> *, 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:17: 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]
users = ovirt_api_get_users(api);
^~~~~
../../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:21: 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]
roles = ovirt_user_get_roles(user);
^~~~~
../../src/remote-viewer.c:614:19: warning: assignment makes pointer from integer without a
cast [-Wint-conversion]
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'
Makefile:941: recipe for target 'remote_viewer-remote-viewer.o' failed
make[3]: *** [remote_viewer-remote-viewer.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/src'>
Makefile:621: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build/src'>
Makefile:483: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-debian-9/ws/build'>
Makefile:411: recipe for target 'all' failed
make: *** [all] Error 2
Build step 'Execute shell' marked build as failure