See
<
https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedor...
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 10.71 KB...]
checking for fork... no
checking for socketpair... no
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: -mms-bitfields
-I/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/lib/glib-2.0/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -L/usr/i686-w64-mingw32/sys-root/mingw/lib
-lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lintl
configure:
configure: GTK: -mms-bitfields
-I/usr/i686-w64-mingw32/sys-root/mingw/include/gtk-3.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/cairo
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pango-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/harfbuzz
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pango-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/atk-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/cairo
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pixman-1
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/freetype2
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/freetype2
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16
-I/usr/i686-w64-mingw32/sys-root/mingw/include/gdk-pixbuf-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16
-I/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/lib/glib-2.0/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_12 -DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_12
-L/usr/i686-w64-mingw32/sys-root/mingw/lib -lgtk-3 -lgdk-3 -lgdi32 -limm32 -lshell32
-lole32 -Wl,-luuid -lwinmm -ldwmapi -lsetupapi -lcfgmgr32 -lpangowin32-1.0
-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 -lintl
configure:
configure: GTK_VNC: -mms-bitfields
-I/usr/i686-w64-mingw32/sys-root/mingw/include/gtk-vnc-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/gvnc-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/gtk-3.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/cairo
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pango-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/harfbuzz
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pango-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/atk-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/cairo
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pixman-1
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/freetype2
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/freetype2
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16
-I/usr/i686-w64-mingw32/sys-root/mingw/include/gdk-pixbuf-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16
-I/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/lib/glib-2.0/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include -L/usr/i686-w64-mingw32/sys-root/mingw/lib
-lgtk-vnc-2.0 -lgvnc-1.0 -lgtk-3 -lgdk-3 -lgdi32 -limm32 -lshell32 -lole32 -Wl,-luuid
-lwinmm -ldwmapi -lsetupapi -lcfgmgr32 -lpangowin32-1.0 -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
-lintl
configure:
configure: SPICE_GTK: -mms-bitfields
-I/usr/i686-w64-mingw32/sys-root/mingw/include/spice-client-gtk-3.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/gtk-3.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/cairo
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pango-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/harfbuzz
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pango-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/atk-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/cairo
-I/usr/i686-w64-mingw32/sys-root/mingw/include/gdk-pixbuf-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16
-I/usr/i686-w64-mingw32/sys-root/mingw/include/spice-client-glib-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/opus
-I/usr/i686-w64-mingw32/sys-root/mingw/include/cairo
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pixman-1
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/freetype2
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/freetype2
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/json-glib-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/gio-win32-2.0/
-I/usr/i686-w64-mingw32/sys-root/mingw/include/gstreamer-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/orc-0.4
-I/usr/i686-w64-mingw32/sys-root/mingw/include/gstreamer-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/lib/glib-2.0/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libusb-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/spice-1
-L/usr/i686-w64-mingw32/sys-root/mingw/lib -lspice-client-gtk-3.0 -lgtk-3 -lgdk-3 -lgdi32
-limm32 -lshell32 -lole32 -Wl,-luuid -lwinmm -ldwmapi -lsetupapi -lcfgmgr32
-lpangowin32-1.0 -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 -lintl -lspice-client-glib-2.0
configure:
configure: VTE:
configure:
configure: LIBXML2: -I/usr/i686-w64-mingw32/sys-root/mingw/include/libxml2
-L/usr/i686-w64-mingw32/sys-root/mingw/lib -lxml2
configure:
configure: LIBVIRT: -mms-bitfields
-I/home/jenkins/build/libvirt/i686-w64-mingw32/sys-root/mingw/include
-I/home/jenkins/build/libvirt/i686-w64-mingw32/sys-root/mingw/include/libvirt-glib-1.0
-I/home/jenkins/build/libvirt/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/lib/glib-2.0/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/lib/glib-2.0/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-L/home/jenkins/build/libvirt/i686-w64-mingw32/sys-root/mingw/lib
-L/usr/i686-w64-mingw32/sys-root/mingw/lib -lvirt -lvirt-glib-1.0 -lglib-2.0 -lintl
configure:
configure: OVIRT: -mms-bitfields
-I/usr/i686-w64-mingw32/sys-root/mingw/include/govirt-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/rest-0.7
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libsoup-2.4
-I/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/lib/glib-2.0/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libxml2
-L/usr/i686-w64-mingw32/sys-root/mingw/lib -lgovirt -lrest-0.7 -lsoup-2.4 -lgio-2.0
-lgobject-2.0 -lglib-2.0 -lintl -lxml2
configure:
configure: bash completion: no
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+mingw32-build/systems=libvirt-fedora-30/ws/build'>
Making all in bash-completion
gmake[2]: Entering directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build/bash-completion'>
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build/bash-completion'>
Making all in icons
gmake[2]: Entering directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build/icons'>
git.mk: Generating ../../icons/.gitignore
Making all in 16x16
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build/icons/16x16'>
git.mk: Generating ../../../icons/16x16/.gitignore
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build/icons/16x16'>
Making all in 22x22
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build/icons/22x22'>
git.mk: Generating ../../../icons/22x22/.gitignore
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build/icons/22x22'>
Making all in 24x24
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build/icons/24x24'>
git.mk: Generating ../../../icons/24x24/.gitignore
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build/icons/24x24'>
Making all in 32x32
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build/icons/32x32'>
git.mk: Generating ../../../icons/32x32/.gitignore
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build/icons/32x32'>
Making all in 48x48
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build/icons/48x48'>
git.mk: Generating ../../../icons/48x48/.gitignore
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build/icons/48x48'>
Making all in 256x256
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build/icons/256x256'>
git.mk: Generating ../../../icons/256x256/.gitignore
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build/icons/256x256'>
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build/icons'>
GEN virt-viewer.ico
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build/icons'>
gmake[2]: Leaving directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build/icons'>
Making all in src
gmake[2]: Entering directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/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+mingw32-build/systems=libvirt-fedora-30/ws/build/src'>
CC virt_viewer-virt-viewer.o
CC libvirt_viewer_util_la-virt-viewer-util.lo
CC virt_viewer-virt-viewer-main.o
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
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); did you mean 'guint'?
g_free(guid);
^~~~
guint
../../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/i686-w64-mingw32/sys-root/mingw/lib/glib-2.0/include/glibconfig.h:9,
from
/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0/glib/gtypes.h:32,
from
/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0/glib/galloca.h:32,
from /usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0/glib.h:30,
from
/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0/gobject/gbinding.h:28,
from
/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0/glib-object.h:23,
from
/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0/gio/gioenums.h:28,
from
/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0/gio/giotypes.h:28,
from /usr/i686-w64-mingw32/sys-root/mingw/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); did you mean 'atoi'?
g_return_if_fail(OVIRT_IS_API(api));
^~~
/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0/glib/gmacros.h:418:8: note: in
definition of macro '_G_BOOLEAN_EXPR'
if (expr) \
^~~~
/usr/i686-w64-mingw32/sys-root/mingw/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/i686-w64-mingw32/sys-root/mingw/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/i686-w64-mingw32/sys-root/mingw/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 'tmpnam'?
if (!parse_ovirt_uri(uri, &rest_uri, &vm_name, &username)) {
^~~~~~~
tmpnam
../../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/i686-w64-mingw32/sys-root/mingw/include/glib-2.0/gio/gio.h:131,
from ../../src/remote-viewer.c:26:
/usr/i686-w64-mingw32/sys-root/mingw/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+mingw32-build/systems=libvirt-fedora-30/ws/build/src'>
gmake[2]: *** [Makefile:647: all] Error 2
gmake[2]: Leaving directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build/src'>
gmake[1]: *** [Makefile:482: all-recursive] Error 1
gmake[1]: Leaving directory
'<https://ci.centos.org/job/virt-viewer+mingw32-build/systems=libvirt-fedora-30/ws/build'>
gmake: *** [Makefile:410: all] Error 2
Build step 'Execute shell' marked build as failure