See
<
https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/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.24 KB...]
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/lib64/glib-2.0/include
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -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/lib64/glib-2.0/include -I/usr/include/fribidi
-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/libmount -I/usr/include/blkid -I/usr/include/uuid
-I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -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/lib64/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/lib64/glib-2.0/include -I/usr/include/gtk-3.0
-I/usr/include/pango-1.0 -I/usr/include/fribidi -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/libmount
-I/usr/include/blkid -I/usr/include/uuid -I/usr/include/gio-unix-2.0/
-I/usr/include/libdrm -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/lib64/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: -I/usr/include/spice-client-gtk-3.0 -I/usr/include/gtk-3.0
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/fribidi -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/libmount -I/usr/include/blkid
-I/usr/include/uuid -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm
-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/lib64/dbus-1.0/include -pthread
-I/usr/include/spice-client-glib-2.0 -I/usr/include/spice-1 -lspice-client-gtk-3.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 -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: -I/usr/include/govirt-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid
-I/usr/include/uuid -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/gmake
git.mk: Generating ../.gitignore
/usr/bin/gmake all-recursive
gmake[1]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/ws/build'>
Making all in bash-completion
gmake[2]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/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-fedora-29/ws/build/bash-completion'>
Making all in icons
gmake[2]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/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-fedora-29/ws/build/icons/16x16'>
git.mk: Generating ../../../icons/16x16/.gitignore
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/ws/build/icons/16x16'>
Making all in 22x22
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/ws/build/icons/22x22'>
git.mk: Generating ../../../icons/22x22/.gitignore
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/ws/build/icons/22x22'>
Making all in 24x24
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/ws/build/icons/24x24'>
git.mk: Generating ../../../icons/24x24/.gitignore
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/ws/build/icons/24x24'>
Making all in 32x32
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/ws/build/icons/32x32'>
git.mk: Generating ../../../icons/32x32/.gitignore
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/ws/build/icons/32x32'>
Making all in 48x48
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/ws/build/icons/48x48'>
git.mk: Generating ../../../icons/48x48/.gitignore
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/ws/build/icons/48x48'>
Making all in 256x256
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/ws/build/icons/256x256'>
git.mk: Generating ../../../icons/256x256/.gitignore
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/ws/build/icons/256x256'>
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/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-fedora-29/ws/build/icons'>
gmake[2]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/ws/build/icons'>
Making all in src
gmake[2]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/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-fedora-29/ws/build/src'>
CC virt_viewer-virt-viewer.o
CC virt_viewer-virt-viewer-main.o
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
CC remote_viewer-remote-viewer.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); did you mean 'getuid'?
g_free(guid);
^~~~
getuid
../../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,
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:418: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: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); did you mean 'ptsname'?
if (!parse_ovirt_uri(uri, &rest_uri, &vm_name, &username)) {
^~~~~~~
ptsname
../../src/remote-viewer.c:566:18: error: 'proxy' undeclared (first use in this
function); did you mean 'GProxy'?
g_object_set(proxy,
^~~~~
GProxy
../../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,
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'; did you
mean 'OvirtVm'?
OvirtUser *user;
^~~~~~~~~
OvirtVm
../../src/remote-viewer.c:600:17: warning: implicit declaration of function
'ovirt_api_get_users'; did you mean 'ovirt_api_get_vms'?
[-Wimplicit-function-declaration]
users = ovirt_api_get_users(api);
^~~~~~~~~~~~~~~~~~~
ovirt_api_get_vms
../../src/remote-viewer.c:600:17: 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); did you mean 'app'?
users = ovirt_api_get_users(api);
^~~
app
../../src/remote-viewer.c:614:21: warning: implicit declaration of function
'ovirt_user_get_roles'; did you mean 'ovirt_vm_get_cdroms'?
[-Wimplicit-function-declaration]
roles = ovirt_user_get_roles(user);
^~~~~~~~~~~~~~~~~~~~
ovirt_vm_get_cdroms
../../src/remote-viewer.c:614:21: warning: nested extern declaration of
'ovirt_user_get_roles' [-Wnested-externs]
../../src/remote-viewer.c:614:19: warning: assignment to 'OvirtCollection *' {aka
'struct _OvirtCollection *'} from 'int' 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); did you mean 'GMenu'?
ovirt_collection_fetch_async(vms, menu->priv->proxy,
^~~~
GMenu
../../src/remote-viewer.c:633:10: error: 'vm' undeclared (first use in this
function); did you mean 'tm'?
(vm = OVIRT_VM(ovirt_collection_lookup_resource(vms, vm_name))) == NULL) {
^~
tm
../../src/remote-viewer.c:657:44: error: 'display' undeclared (first use in this
function); did you mean 'GdkDisplay'?
g_object_get(G_OBJECT(vm), "display", &display, "guid",
&guid, NULL);
^~~~~~~
GdkDisplay
gmake[3]: *** [Makefile:973: 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-fedora-29/ws/build/src'>
gmake[2]: *** [Makefile:647: all] Error 2
gmake[2]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/ws/build/src'>
gmake[1]: *** [Makefile:482: all-recursive] Error 1
gmake[1]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-29/ws/build'>
gmake: *** [Makefile:410: all] Error 2
Build step 'Execute shell' marked build as failure